This is the code I use and it works fine on XP, 98, etc.
MainPrintDialog.Document = MainPrintDocument
If MainPrintDialog.ShowDialog = DialogResult.OK Then
MainPrintDocument.Print()
End If
The call to show it returns the integer 2 (cancel) and never shows the dialog. In fact, I so...
It seems to me that the mousewheel operates on the numericupdown control with a fixed increment of 3 no mater what increment is set for the control.
Is there a way to 1) control the increment change, or 2) simply disengage the mousewheel from having any effect.
I notice that the mousewheel...
When using an standard icon with MessageBox.Show on the Windows XP platform there is no sound (dings). That's great and its an improvement over the MsgBox() command which always made sounds whether you wanted them or not. But now I find that MessageBox.show does make sound when ran in Vista...
I am trying to minimize furture dependence on 32 bit with my current vb.net (VS2005 with .Net 2.0 x86) program in order to facilitate a possible future migration to 64 bit. I am curious as to whether the Microsoft.Win32 reference is compatible with 64 bit. For my program, that reference...
My application is self signed with a strong key. I don't remember the password. After 2 years of running and compiling perfectly, visual studio 2005 suddenly demanded to know the password for the strong key in the project before it would compile. Its never happened before but now it won't...
I am curious as to the memory available for use when using vb.net with managed memory. Our application uses large arrays. We noticed that when there is an out of memory error and we reduce the size to just barely fit, then the same setup will also run on machines with much less installed...
I posted this question about a year ago Thread796-1330328 and didn't get any responses. Maybe someone else has ran across it by now. How does one turn tooltips on and off for the MenuStrip drop down items and their sub drop down items?
The following:
MenuStrip1.ShowItemToolTips = False...
On one application vb.net 2005 I cannot get the menu strip(MenuStrip tool) to remain docked at the top of the form. In both design mode as well when running, any other panel or toolbar dock setting to the top simply replaces it and moves it down. Even a panel docked to the side overlaps the...
I am unable to easily turn tooltips off on the drop down items for the vb 2005 menu strip. The main control:
MenuStrip1.ShowItemToolTips
just controls the showing of tool tips on the top level strip items but has no effect on the drop down items or their sub items. I have found no means to...
I have converted an application from vb.net 2003 to vb.n et 2005. The menus still use the older tool MainMenu. Does anyone know an easy way to convert the older menu tool to the new MenuStrip tool. My menus on several windows forms are quite extensive and I would like any new ones I create...
I have two different Windows Applications each include an installation project. All installations settings are identical between the two as far as I can tell but the installation behavior is different. In one, the program is completely installed during installation. In the other, an install...
I have a Verisign Authenticode Digital code signing ID (.spc and .pvk key files) from Verisign which I purchased for $499.00. In VB.NET 2003 I could simply enter these key file path names and the corresponding time stamp URL in the setup project properties dialog and the MSI file is...
I found this question has been asked in FAQ before (thread796-1070862) but not answered as the questioner provided no code. So I ask it and provide the code below.
Question: "Why does VB.Net (2005) give a Warning "Inappropriate use of overload keyword in a module"?. Checking online help and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.