If you mean to add items to a menu from code -there is a way.
First you have to create a menu using the menu editor.
Create for example a menu item named mnuArray.
Set the index to 0 - that's how you create an array of menu items.
In code you can add as many elements as you like using Load...
Everything is possible.You have to set properties for your Custom Control to pass the ID from the container form and another propery to pass the results back.
You should keep the Custom control as a project only untill you finish debugging it and making changes in it. Then you compile it as an...
If you want to UNLOAD the form, after the user cancels the InputBox, you have to do Unload Me or whatever you do to cancel the form. If you have code in a cancel button on your form, try this:
Private Sub Form_Load()
'......
TheValue = InputBox("Prompt", "Title"...
Another suggestion -
Investigate the string you insert: To check the first character include this line just before Select statement and look in debugger window for the ascii code. It may be something else, not space(33) that prevents Trim to do what you expect.
Debug.Print Asc(strDef)
Hope...
Sorry to ask you, but did you check in components instead of references. You add ocx's there usually. You may have it already there, may be another version.
This is an option, but I am afraid the other application would not work. We'll see. Actually I decided to upgrade to Graphics Server 5.5, but then I wonder if his application using 4.5 would work...
Object57
Hi,
Graph32.ocx failed to register during installation of a VB6 application.
We found Graphs32.ocx in the Windows\System on the target machine.
The work around (copying the right dll's and exe into C:\Windows instead of C:\Windows\System directory) helped to regiter Graph32.ocx , but the...
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.