PDA

Click to See Complete Forum and Search --> : VBCE Error


manofsteel00
Nov 12th, 2009, 08:40 AM
Hello all! I have a question for you. Upon opening my embedded Visual Basic 3.0 program, that has been working correctly for 3+ years, for pocketPC I receive the following error message:

"Errors during load. Refer to 'C:\Projects\Bar Code Scanner Project\MasterLabelScan\frmMain.log' for details"

Below is the contents of the log:

Line 431: Class VBCE.CommandButton of control cmdCancelPick was not a loaded control class.
Line 453: Class VBCE.CommandButton of control cmdScan6 was not a loaded control class.
Line 477: Class VBCE.CommandButton of control cmdLogout was not a loaded control class.
Line 499: Class VBCE.Label of control lblPrevScanCaption was not a loaded control class.
Line 527: Class VBCE.CommandButton of control cmdScan5 was not a loaded control class.
Line 550: Class VBCE.CommandButton of control cmdScan4 was not a loaded control class.
Line 573: Class VBCE.CommandButton of control cmdScan3 was not a loaded control class.
Line 596: Class VBCE.CommandButton of control cmdScan2 was not a loaded control class.
Line 619: Class VBCE.Label of control lblPrevScan was not a loaded control class.
Line 647: Class VBCE.Label of control lblCaption was not a loaded control class.
Line 675: Class VBCE.CommandButton of control cmdScan was not a loaded control class.
Line 698: Class VBCE.CommandButton of control cmdExit was not a loaded control class.

When I open the eVB development environment, I notice that I no longer have the ability to create command buttons, labels, or text boxes. These objects usually are available by default.

When I go to references to add a reference, I recieve an error message stating, "Error acessing system registry".

I have asked fellow coworkers, and surfed the web but to no avail. Can someone point me in the right direction as to what may be causing me not to be able to use command buttons, labels, and text boxes in eVB 3.0?

Thanks!

si_the_geek
Nov 12th, 2009, 08:48 AM
The issue seems like an installation problem (which would require re-installing eVB), but the error message makes it seem much easier than that - it seems that you are not running eVB as a user with Admin rights, which you need to do.

To do that, right-click on the shortcut for eVB and select "Run as Administrator" (if it isn't shown, hold shift while right-clicking).

manofsteel00
Nov 12th, 2009, 09:27 AM
Thanks Si! I've verified that I'm running eVB as an administrator. So I guess the best alternative would be to reinstall; however, I have lost the install CD. Do you know where I could buy another copy? Thanks!

si_the_geek
Nov 12th, 2009, 10:21 AM
I'm almost certain you can't - it hasn't been officially available for several years (due to legal issues I think), even if you are an MSDN subscriber (and we have access to almost everything, all the way back to Windows 1!).


Due to the age and inefficiency of eVB (which has been unsupported since about 2003), I would recommend using VB.Net instead, which is fully supported and creates faster (and higher quality) programs.

Unfortunately the Express edition doesn't support 'Compact' projects (which is what you need for PocketPC etc), so you would need to get one of the paid editions... I'm not sure which ones support it tho.

The downside of this is that you would need to re-write a large percentage of the code in your program(s).

manofsteel00
Nov 13th, 2009, 09:46 AM
Hello, I was able to find an installation CD for embedded Visual Basic 3.0, and the SDK for the Symbol 2800 PocketPC. I have everything working EXCEPT the ScanControls. Symbol created two proprietary DLLs: one called ActiveScan.dll, and the other called ActiveScan2800m.dll. When I try to reference these in my program a receive the following error messages:

Line 29: Cannot load control Scan1; license not found.
Line 96: Cannot load control Scan2; license not found.
Line 163: Cannot load control Scan3; license not found.
Line 230: Cannot load control Scan4; license not found.
Line 297: Cannot load control Scan5; license not found.
Line 364: Cannot load control Scan6; license not found.

How can I get a hold of the license?

Here's my delimma: One computer can do the Scan Controls, but NOT Command Buttons, Text Boxes, or Labels, and another computer CAN do the Command Buttons, Text Boxes, and Labels, but not the Scan Controls.

If they were the same computer I'd have no problem :)

si_the_geek
Nov 13th, 2009, 10:24 AM
"license not found" errors tend to be caused by an installation issue for those components - so it seems to me that the installation of those items didn't work properly.