windows

C# form app system account

Is it possible to run a windows form application or a console application under system account... Like asp.net application can run under system account by changing machine config file . This is to give more privileges to the program ... ...

MVC/MVP framework for .NET WinForms applications

Does anybody know a useable MVC/MVP framework for enterprise WinForms applications? Before there was User Interface Process Application Block for .NET. But it is not longer under development since Windows Workflow Foundation has been released (which also will be completely rewritten with .NET 4.0). Maybe i am not up-to-date, but i seem...

Default Windows Languages?

Hi. Is there some default Windows scripting language that comes pre-installed on XP and Vista (Similar to how OS X comes with Python and/or Linux comes with Perl)? I am aware of Batch scripting but I am hoping for something a little more robust. Thanks note - I am on a Linux box so if you guys could give your 2 cents on the Window...

What appid should I use with netsh.exe ?

The netsh command wants an appid (see here) : netsh http add sslcert ipport=0.0.0.0:8000 certhash=0000000000003ed9cd0c315bbb6dc1c08da5e6 appid={00112233-4455-6677-8899-AABBCCDDEEFF} I've not been able so far to understand how I'm supposed to know the GUID netsh wants me to provide. Any hints? ...

ASSIGN win XP commandline output to variable

i would like to translate a following script from linux shell to Windows XP shell GPSID=$(awk '/GPSID/ {print $3}' gora.RTK ) awk -v variable=${GPSID} 'BEGIN {printf "Numer seryjny : " variable,$1}' >>out.txt The second line has been translated; the problem is with defining a variable that contains shell output in windows :-( ...

Where do you keep your code?

Your code is of course checked into a repository somewhere, but where do you keep your working copy/copies? C:\Program Files isn't right, as it's for installed packages. My Documents somehow doesn't seem right, eithera My Code folder next to My Music and My Pictures? Dumping in C:\ is messy, but seems to be "working" for other people ...

How to go about designing a lightweight GUI for Windows?

I am looking to create a very lightweight GUI front end in Windows. It's supposed to do a simple task - when a hot key combination is pressed it opens up a text box. Any text can be pasted in and then saved with a simple text box. I am looking to avoid any menu bar or toolbars at all. What would be the ideal GUI library to create some...

How bad is the following snippet?

My question is simple: how bad is the following snippet of code? How would you do it? CancelEventHandler _windowClosing; private CancelEventHandler WindowClosing { set { clearEventHandlerList(); this.Closing += value; _windowClosing = value; /* * if calling the method with null parameters, * it will set ...

Python - Test directory permissions

In Python on Windows, is there a way to determine if a user has permission to access a directory? I've taken a look at os.access but it gives false results. >>> os.access('C:\haveaccess', os.R_OK) False >>> os.access(r'C:\haveaccess', os.R_OK) True >>> os.access('C:\donthaveaccess', os.R_OK) False >>> os.access(r'C:\donthaveaccess', os...

VS2008 DBML designer and Windows 7

Not sure if anyone has noticed this yet but if you run Visual Studio 2008 with the DBML (not sure about EF yet) under Windows 7 the tables will disappear when you hover over them. Looking for a fix so I thought I'd ask everyone since I've seen it asked in comments but not as a question yet. EDIT I've filed a bug with Microsoft. Anyon...

Is there a simple way to change the text of the 'Open' button on the windows file dialog to 'Select'?

We're using the file picker dialog to allow users to add documents into our application. The word 'Open' doesn't make a lot of sense in this case. Thanks. ...

What is the best subversion GUI based for someone who has never used subversion before?

I use visual studio 2005 so intergration is a must. Thanks ...

why can't i change my regional settings?

for about 2 hours i've been trying to find solutions on how to change my advanced regional settings(the one for language used in non-unicode programs) ..because everytime i try to change the language ...the system gives me an error that says: Setup was unable to install the chosen locale. Please contact your system Administrator. So wha...

Creating a web shortcut on user desktop programmatically

There are quite a few resources for programmatically creating .lnk type shortcuts to files and programs on the desktop but I'm wondering how to create a shortcut to a web URL. From what I can gather, the web URL shortcut is a text file ending in .URL and contains a ini-like definition such as: [InternetShortcut] URL=http://www.google.c...

How to Install Satchmo in Windows?

I'm working on a Django project that's slated to be using Satchmo for its e-commerce aspects. I'd like to install it on my Windows Vista machine but some of the cPython modules it needs can't be compiled or easy_installed. Has anyone been able to get Satchmo working on Windows, and if so, what additional steps does it take over the ins...

How to add a virtual driver like CD Emulation in Windows Explorer

I'm not familiar with kernel driver development, so I want to know if there are other easy ways to add a virtual driver like CD Emulation in Windows Explorer. ...

How to Overcome Errors Thrown by mmsystem.h

Hi, I am not able to get out of these simple bugs, but would be great full if some one could answer to weed out from these errors. I included windows.h and some other necessary headers but couldn't able get out of it. Snippet of errors: error C2146: syntax error : missing ';' before identifier 'MMVERSION' error C4430: missing type sp...

Runtime dependency for std::string concatenation

std::string sAttr(""); sAttr = sAttr+VAL_TAG_OPEN+sVal->c_str()+VAL_TAG_CLOSE; else where in the code I have defined const char VAL_TAG_OPEN[] = "<value>"; sVal is a variable that is retrieved off of a array of string pointers. This works fine in most of the system, windows and linux. However at a customer site, where to my belief...

x86 assember - illegal opcode 0xff /7 under Windows

Hi overflowers I'm currently developing an x86 disassembler, and I started disassembling a win32 PE file. Most of the disassembled code looks good, however there are some occurences of the illegal 0xff /7 opcode (/7 means reg=111, 0xff is the opcode group inc/dec/call/callf/jmp/jmpf/push/illegal with operand r/m 16/32). The first guess ...

When my application throw an error, windows error dialog shown

I developing windows form application in c#.net. Sometimes my program throw an error, windows error dialog shown (Please tell Microsoft about this problem, Send error report, Dont sent, bla bla...). I dont know why this dialog shown. What happening on my program? ...