VB6 accessing VB.NET SF User Control and/or SF Form


Author
Message
Tim Dol
Tim Dol
StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)StrataFrame User (412 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
I need to develop a new SF WinForm or User Control that can be accessed from our VB6 application. What is the best way to do this and how would you call it or access it from vb6.

Here is what I have done so far...

I created a SF Business Object Library Project and made it COM Visible. I then added a SF User Control and placed a few controls on it for testing. I created one public property on the user control.

I then created a VB6 app and using the VBControlExtender, I was able to Add the user control to my form and make it visible, although only a few controls appeared. (Haven't figured out why yet).  I can't seem to set the public property on my user control. I get a out of memory error.

Anyway, just wanted to know if there is a better way to launch a form and pass some values to the user control or form. I will be doing this quite a bit as we migtrate all our apps to vb.net.

Thanks,
Tim

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search