when making a component (ocx file) of the combo box, and the wear components of the user control, then I compile it into ocx files. Once finished I include the components of it into the main program. then I do click and drag the combo box to the form, but that happens there is an error message "object variable or with block variable not set", what is causing it.
Meanwhile, when I compile the component made no errors at all
please help to enlighten thank you for your help
It's been a while since I've done vb, but as I recall that is just a generic error indicating some class is not present that it needs to load. I've encountered it in the com and classic asp context in the past and usually I debug it by going into the system event log in windows and looking though the errors to see if some more useful context shows up (such as which class cannot be found). This is off the top of my head, but I want to say it would be in the application events log.
I'll let others chime in here with hopefully some more useful debugging info for you.
ok heres the thing as i know it.
ill just relate to how ive come across the same error and hadndled it in excel vba.
when for instance i want to declares a range then put something in it, ill dimension it just as a range, but then i use variables like row and column number to set it. Without setting it i get the error..
After setting it, no error.
To set it, i use the statement like set xrange = activesheet.cells(x,y) where x and y are integers
i hopethis helps u eko. im looking into the same thing and if need be ill be still here.
I Developed application in C# with crystal reports and created setup file in third party (Advance) Installer.When i installed my application on client system application is working but ...