natetrost's Q&A profile
Visual C# Mutex.Dispose() - Does it release the mutex?
Does anyone know if disposing a System.Threading.Mutex object will call ReleaseMutex() for the object automatically. I'm assuming not, but I can't find anything explicit in the documentation. Does anyone know Yes it does. Mutex inhires the WaitHandle class that contains a Dispose method. WaitHandle.Dispose calls the WaitHandleProtector.Close method that releases it. ...Show All
Visual C++ can not find Windows CE 4.2 update 843373
There is a potential buffer overflow with the SetWindowText function for windows CE.NET. I went to the article on this and followed there download link but can not find the update for the ARM4 processor. the file I am looking for is named Wincepb42-040714-kb843373-armv4.exe. Has anyone been able to find this update Or does anyone have any insight on where I might find it The following a ...Show All
Smart Device Development How to make a phone call on Device Emulator
I download the sample "CallEvents" and it work fine with PPC 2003 Emulator. "SendCallEvents" automaticly open the PPC 2003 Emulator and connected. How can I do to use this sample on WM 5.0 Emulator How to make a phone call on Device Emulator without wavecom I want to use virtual radio WM 5.0 Emulator ...Show All
Windows Forms webbrowser html events vs.2005
greetings, this code works for vs.2003, how is this done with vs.2005 beta 2 Dim doc As mshtml.HTMLDocument = DirectCast(webBrowser1.Document, mshtml.HTMLDocument) ' Cast to the interface that defines the event you're interested in Dim docevents As mshtml.HTMLDocumentEvents2_Event = DirectCast(doc, mshtml.HTMLDocumentEvents2_Event) ...Show All
Visual C# running an app in the background
i recently developed an app using C#. this app prints using officee 2003, and when it does the office opens and prints, however i need the office to run in the background without appearing to the user. any suggestions Yes.The behavior it's ok.By calling a .doc only by it's filename you firstly fire 1 process which is Explorer (the shell actually) which receives your settings (hidden etc etc)).Explorer will match the extension and fire ...Show All
Visual C++ Can't define Indexer property
After recompiling the following code with VS 2005 Beta 2, an C# assembly can't calling the indexer. //C++: [System::Reflection::DefaultMember( "Parameter" )] public __gc class NativeObjectConfigurator : public System::Collections::ArrayList { public : __property ParameterInfo* get_Parameter( int index); __property ParameterInfo* get_Parameter(System::String* name); }; //C#: NativeObjectConfigurator no = ...Show All
Smart Device Development Snap to Grid
I have a PDA app form up and have fields and buttons on it. I am trying to line things up the way I want them but this stupid VS2005 thinks it knows better and is snaping things all over the place. I've turned off the grid and the snap functions in the Tools options but obviously Microsoft felt the need to put it somewhere else as well. You know, just to complicate things and waste as much of my time with stupid stuff as possible. Ca ...Show All
Visual Basic developing a flash player!
anybody know any tutorial for playing flash files on a windows application (visual basic)... I pretend to make a custom player and playlist... please help... http://www.google.com.au/search hl=en&q=vb.net+flash+player&meta = Looks like there are a few options. ...Show All
Visual Studio 2008 (Pre-release) How to asynchronously display an image
If in my window xaml I have something like: ... <Image Source="http://www.slowserver/image.jpg" Width="20" Height="20" /> The window will be loaded and suddendly the application will freeze while the image is downloaded. After the image is displayed the application becomes responsive once again. How can I workaround this issue Is there an easy way to load the image in the background Thanks ! ...Show All
Windows Forms activation error: IndexOutOfRangeException
Hi! I've been having trouble with ClickOnce apps that reference other projects. In these cases, I get an IndexOutOfRangeException activation error (shown below) when I attempt to install it. Not every reference to another project causes this error, but many do. It seems to happen most when I use project references (rather than file DLL references). And most worryingly, even when I remove th ...Show All
Visual Studio VS could not copy a support file: *.vshost.exe to output directory
I am getting this error or one that says the process can not be started because a file is locked; almost everytime I hit F5. My setup VS2005 Pro RTM with WinFX and DirectX 9 October. Does anyone know how to fix this (I tried the fixes for this seen in Beta 2 but it did not fix this issue Thanks, blair I turned that &@%^$ thing off in my projects, in the Project Designer's Debug Ta ...Show All
Visual C# Changing icons in existing toolbar
I am having hard time trying to replace icons in an existing application that has a toolbar. The icons are placed under "img" directory. When I replace an old icon with a new one and build\start my project, I don't see the new icon. Can somebody let me know what am I doing wrong Thanks a lot! try { this.ExecutingAssembly = System.Reflection.Assembly.GetExecutingAssembly(); this.FormResources = new System.Resources.ResourceManager( "MyApp.MyAppF ...Show All
Windows Forms Context Menu Problems
Hi, On my main form, I have a ListView, which has items added to it during run-time. In the designer properties, the ListView's context menu property is set to a context menu I have created; the properties of this have not been changed except the adding of items to the menu. When I run my application, if the user right-clicks on the ListView, the context menu is not displayed. Does anyone know how to solve this problem Also, does any ...Show All
Visual Studio Adding a New XML TextDocument
Hi, I'm new the extensibililty interfaces and have managed to figure how to dynamically add a new TextDocument to the application's Documents collection. I was wondering how to create a new XML document -- meaning the XML editor is managing the new document window Thanks very much. - Erik If the file contains XML, then the XML editor will automatically detect that it is an XML file and open it. Add a schema reference to the XML ...Show All
Windows Forms How to programatically select a TabPage
Hi, How do I programatically select a TabPage I have a TreeView on the left of my screen and a TabControl filling the right hand side of the screen. When a TreeNode is single clicked or selected, I want the "View" TabPage (on the TabContr ...Show All
