web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Unhandled Exception in converted VB6 app

(0) ShareShare
ReportReport
Posted on by 5

The conversion utility runs against the VB6 code without any issues, and the project will compile to an EXE in VS 2005.

At runtime, the app won't load.

 If I run the code in debug mode, I get an unhandled exception error on a line in the Solomon.vbtools.vb file:

Public Sub SetAddr(ByVal LevelNbr As Short, ByVal TableNameStr As String, ByRef bTableName As SolomonDataObject, ByRef nTableName As Object)

'--the code halts here:

SolomonKernelExports.SetAddr(LevelNbr, TableNameStr, bTableName, nTableName)

End Sub

 The error reads:

Invalid property type System.Object for property Value.  The following types are valid: String, Short, Integer, Double

Any ideas how to work around this?

Thanks,

 Sammy

*This post is locked for comments

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans