I have a WPF C# program where I attempt to delete certain characters from a text box at TextChanged event. Say, for instance, the dollar sign. Here is the code I use.
I think you can not set the middle 4 parameters to be NULL, as it returns an empty current_mode variable. Looks like it is stated in MSDN too that they cannot be NULL. I had to...
Okay so I found the solution to the second part of my problem (not defined problem). I had set the wrong SDK version, so first corrected it in Start Menu > All Programs > Microsoft Windows SDK 7.1 >...
In my C++ Win32 program I want to set the current Display Settings to "Extend" mode. I Googled and found out that SetDisplayConfig() is the way to go forward in Windows 7 (I'm on Windows 7) but now I...
I have done pretty much all my programming using C# and very much a newbie to C++. However now I have to convert to C++ and is finding it a bit difficult. For example, I wrote a pretty simple program...
I did try all the enum values before coming here actually. As stated in my previous reply, there is no Environment.SpecialFolder.CommonDesktopDirectory in .NET 2.0 unfortunately. I have to use either...
Thanks Danny.
I'm using .NET 2.0 framework and in it there is no such enum as Environment.SpecialFolder.CommonDesktopDirectory. I hear they've added the feature in .NET 4.0 though.
Actually I'm a bit confused with this. When I add the [Active DS IIS Namespace Provide] COM object, it places two items inside my References section. They are namely,...
I am working on a Setup program which creates a .msi file. There is a CustomAction program associated with it which is written in C#. There are three COM object references made in this CustomAction...
What I meant was, there is the likely scenario of user having had his driver letters changed at installation time. So if I were to hardcode the path and run the setup on such a computer it'll ruin...
I am required to create a Desktop shortcut to a specific folder from within my C# program. I have two requirements.
1) On the Desktop of Current User
2) On the All Users Desktop
Chris, actually I found out that "FirewallAPI.dll" can in fact be used in XP and older OS as well. It is "hnetcfg.dll" that causes the problem in Vista.
Thanks Chris.
Yes you can check the OS version that way, but the problem is not that. To this program to work the NetFwTypeLib object is needed. However, in Vista environment it resides in...
It works fine. However, I am encountering a problem that needs to be solved. That is, the "NetFwTypeLib" object resides in hnetcfg.dll in XP while it is inside the FirewallAPI.dll in...
I have a service (say BS.exe) written using C# of which the installer is created using Wix and C# (which means it has a Custom Action program associated with the Wix installer program as well). Now,...