Visual Basic Q&A

As a software engineer, I focus on .NET, especially asp.net, C#, WCF and so on, and I am also very interested in Search Engine Optimization.

Entries Tagged ‘SymptomsYou’

PRB: Run-Time Error 713 Opening Data Report in Distributed Application

Symptoms
You are distributing a Visual Basic application that includes a data report. After installation, you receive the following error when you attempt to open the data report from your application:

Run-time error ‘713′:Application-defined or object defined error
Resolution
The Data Report run-time file (Msdbrptr.dll) was not included in your setup package.

BUG: Run-Time Error Message -2147417848 (80010108) When Passing Array of Dictionary Objects

Symptoms
You have a Visual Basic ActiveX DLL that has a method that takes an array of Scripting Dictionary Objects as an argument. It may work fine when your Visual Basic client is run in the Visual Basic integrated development environment (IDE) by using this method, but when you run it as a compiled application, you get the following run-time error message:

Run-time error ‘-2147417848 (80010108)’:
Method ‘~’ of object ‘~’ failedThis only occurs when you use late binding to call the method.
Resolution
Use early binding to work around the problem.

FIX: Can’t Have Menu with No Caption Bar/Buttons/Control Box

Symptoms
You can’t add a menu that has no caption, no maximize/minimize buttons,and no control-menu box to a form.
Resolution
This feature is not supported in Visual Basic in Windows version 3.0or 3.1 because of a bug in the Microsoft Windows menu driver thatprevents Windows from painting menus correctly.