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...
Interesting article which has some more ways of adding keys that I will try and that may keep the project from getting stuck on a key that seems unremovable. The first step however is un-keying the project so that the old key is gone for good. Seemed like there was no way to do this but by...
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...
My calculated memory usage is the nominal byte usage of the type for each element in a square array. My test program optionally does the test with single or double types. The same MB value occurs with either type, although the array is larger with single type, so it is clearly a memory limit...
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...
Of course, I am using a simple form1 with just the menu strip object and a tooltip object to study this issue. Thats the way I have tried to resolve this question for quite some time. Thank you for your advice.
I am set up to turn tool tips on and off at run time after the form is displayed. The tooltips will turn on at off for the top level items of the menustrip but not for the dropdown items. Was your success for dropdown items?
That does't work either. In fact that is the way the tooltips on all the other controls on the form are controled except for the ToolBar control which has its own own showtooltips method. The MenuStrip control seems to be similar to the ToolBar control and has its own showitemtooltips method...
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...
You are right setting the menustrip with "Send to Back" places it in the priority postion for docking so it is not displaced by other docking commands.
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...
The programs have no affect at all on each other. The first one fully installs and does not attempt to install on its first start nor thereafter.
The second program re-installs on first start only, but not thereafter and it works fine thereafter. In fact, when after installing and BEFORE...
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...
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.