W William Gower May 11, 2004 #1 I need to create a com object that displays a Winform. This com object will be referenced from a VB 6 app.
I need to create a com object that displays a Winform. This com object will be referenced from a VB 6 app.
W William Gower May 11, 2004 #3 Ok since last time, I have create a form in VS .net called frmOrganize. I created a class Public Class Organize Dim FrmOrganize1 As FrmOrganize public sub new end sub public sub Show FrmOrganize1.Show end sub end class I build a dll. I use regasm to register it and it is registered as Myproject.Organize In VB6, I add a reference to the .tlb. I then call dim frm set frm = Myproject.Organize frm.show I get the error cannot create a file when the file already exists. What am I doing wrong?
Ok since last time, I have create a form in VS .net called frmOrganize. I created a class Public Class Organize Dim FrmOrganize1 As FrmOrganize public sub new end sub public sub Show FrmOrganize1.Show end sub end class I build a dll. I use regasm to register it and it is registered as Myproject.Organize In VB6, I add a reference to the .tlb. I then call dim frm set frm = Myproject.Organize frm.show I get the error cannot create a file when the file already exists. What am I doing wrong?