Click here to Skip to main content
15,891,033 members

Comments by Adwaitam (Top 16 by date)

Adwaitam 19-Jun-14 17:59pm View    
Thanks Ashok...I will give a try on this tomorrow since working on some other problem as of now. But I do remember the link from MSDN for your solution -

http://msdn.microsoft.com/en-us/library/ms404263.aspx[^

Thanks for your reply.
Adwaitam 18-Feb-13 9:00am View    
I used the VB decompiler to decompile the dll. Both the old one and the new one.
I don't know why the startup class in my dll is not the same as old dll and the my dll does't contain the class itself, I guess.

Following is the structure:

old DLL: following is a part of native code
Type=OleDll
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#........\WINDOWS\SYSTEM32\STDOLE2.TLB#OLE Automation
Class=clsDeal; clsDeal.cls
Class=clsAudit; clsAudit.cls
Module=mRoll; mRoll.bas
Class=clsPDA; clsPDA.cls
Class=clsContract; clsContract.cls
Startup="clsDeal"
IconForm="clsDeal"
HelpFile=""
ExeName32="GMSAutoRoll"
Name="GMSAutoRoll"
Title="GMSAutoRoll"
VersionCompanyName="Duke Energy Field Services"
MajorVer=6
MinorVer=4
RevisionVer=3

new DLL(the one which I have created): following is a part of native code

Type=OleDll
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#........\WINDOWS\SYSTEM32\STDOLE2.TLB#OLE Automation
Module=mRoll; mRoll.bas
Startup="clsRoll"
IconForm="clsRoll"
HelpFile=""
ExeName32="GMSAutoRoll"
Name="GMSAutoRoll"
Title="GMSAutoRoll"
VersionCompanyName="Duke Energy Field Services"
MajorVer=6
MinorVer=4
RevisionVer=3

I tried by keeping the version same as well as different different.</pre>
Adwaitam 13-Feb-13 15:29pm View    
hey SA...I guess we are distracting from the topic here...it will be great if you can suggest some tricks to solve this problem...I respect the way of thinking you have but this is not the issue at the moment.
Thanks.
Adwaitam 13-Feb-13 12:14pm View    
we are passing the progid like "GMSAutoRoll.clsRoll" as a parameter..but still having above mentioned issue
Adwaitam 13-Feb-13 3:34am View    
hey SA,
The existing application is in VB6 only and its huge one. So just solving the one or two issues rather suggesting complete migration. I know that VB6 sometimes make u work hard...but at this moment the point is in battling against VB6 only...:)