dll question

dll question

Anonymous
Not applicable
341 Views
5 Replies
Message 1 of 6

dll question

Anonymous
Not applicable
I have a dll file that I've used in one of my exe project. I review some aspects of my dll component and I recompile it. Me exe file now gives me an error message like this: Run-time error '429': ActiveX component can't create object I know there is way of setting some properties either in dll or in the project to avoid this type of error, and can't find out where how. Can someone help me (tell me how) to setup dll or project properties, so dll file upgrade(s) will not require project recompilation? Thanks
0 Likes
342 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable
This has been the bane of my existence for some time now. It was explained very nicely to me why it happens by Frank O but the long and short of it is that you have to reset the reference to your DLL since the unique ID has been modified. I've tried creating an add-in to clear missing references and reset them so I could at least be spared the process of doing this but the AutoCAD VBA IDE didn't want to perform the oVBIDE.ActiveVBProject.References.Remove method. Sorry I can't be of more help. Please let me know If you come up with a solution. Best regards, Dale "Sa Mite Samite" wrote in message news:40731d90$1_2@newsprd01... > I have a dll file that I've used in one of my exe project. I review some > aspects of my dll component and I recompile it. Me exe file now gives me an > error message like this: > > > > Run-time error '429': > > ActiveX component can't create object > > > > I know there is way of setting some properties either in dll or in the > project to avoid this type of error, and can't find out where how. Can > someone help me (tell me how) to setup dll or project properties, so dll > file upgrade(s) will not require project recompilation? > > > > Thanks > >
0 Likes
Message 3 of 6

Anonymous
Not applicable
I was intensivelly testing all option under 'Project Properties' and, one option worked; although I don't know why anf how. Help on this VB topic ('Project Properties') is very poor and never get changes from VB 5th version. I change the 'Version Compatibility' option to 'Binary Compatibility' under the 'Component' tab. I would like to know the reason why "binary" works and "no compatibility" doesn't. "Dale Levesque" wrote in message news:4073334a$1_3@newsprd01... > This has been the bane of my existence for some time now. It was explained > very nicely to me why it happens by Frank O but the long and short of it is > that you have to reset the reference to your DLL since the unique ID has > been modified. I've tried creating an add-in to clear missing references and > reset them so I could at least be spared the process of doing this but the > AutoCAD VBA IDE didn't want to perform the > oVBIDE.ActiveVBProject.References.Remove method. > > Sorry I can't be of more help. Please let me know If you come up with a > solution. > > Best regards, > > Dale > > "Sa Mite Samite" wrote in message > news:40731d90$1_2@newsprd01... > > I have a dll file that I've used in one of my exe project. I review some > > aspects of my dll component and I recompile it. Me exe file now gives me > an > > error message like this: > > > > > > > > Run-time error '429': > > > > ActiveX component can't create object > > > > > > > > I know there is way of setting some properties either in dll or in the > > project to avoid this type of error, and can't find out where how. Can > > someone help me (tell me how) to setup dll or project properties, so dll > > file upgrade(s) will not require project recompilation? > > > > > > > > Thanks > > > > > >
0 Likes
Message 4 of 6

Anonymous
Not applicable
I found very usefull topic at: http://www.microsoft.com/msj/0100/versioning/versioning.aspx "Dale Levesque" wrote in message news:4073334a$1_3@newsprd01... > This has been the bane of my existence for some time now. It was explained > very nicely to me why it happens by Frank O but the long and short of it is > that you have to reset the reference to your DLL since the unique ID has > been modified. I've tried creating an add-in to clear missing references and > reset them so I could at least be spared the process of doing this but the > AutoCAD VBA IDE didn't want to perform the > oVBIDE.ActiveVBProject.References.Remove method. > > Sorry I can't be of more help. Please let me know If you come up with a > solution. > > Best regards, > > Dale > > "Sa Mite Samite" wrote in message > news:40731d90$1_2@newsprd01... > > I have a dll file that I've used in one of my exe project. I review some > > aspects of my dll component and I recompile it. Me exe file now gives me > an > > error message like this: > > > > > > > > Run-time error '429': > > > > ActiveX component can't create object > > > > > > > > I know there is way of setting some properties either in dll or in the > > project to avoid this type of error, and can't find out where how. Can > > someone help me (tell me how) to setup dll or project properties, so dll > > file upgrade(s) will not require project recompilation? > > > > > > > > Thanks > > > > > >
0 Likes
Message 5 of 6

Anonymous
Not applicable
And here: http://www.vbsight.com/BinaryComp.htm "Sa Mite Samite" wrote in message news:407344ee$1_1@newsprd01... > I found very usefull topic at: > http://www.microsoft.com/msj/0100/versioning/versioning.aspx > > > "Dale Levesque" wrote in message > news:4073334a$1_3@newsprd01... > > This has been the bane of my existence for some time now. It was explained > > very nicely to me why it happens by Frank O but the long and short of it > is > > that you have to reset the reference to your DLL since the unique ID has > > been modified. I've tried creating an add-in to clear missing references > and > > reset them so I could at least be spared the process of doing this but the > > AutoCAD VBA IDE didn't want to perform the > > oVBIDE.ActiveVBProject.References.Remove method. > > > > Sorry I can't be of more help. Please let me know If you come up with a > > solution. > > > > Best regards, > > > > Dale > > > > "Sa Mite Samite" wrote in message > > news:40731d90$1_2@newsprd01... > > > I have a dll file that I've used in one of my exe project. I review some > > > aspects of my dll component and I recompile it. Me exe file now gives me > > an > > > error message like this: > > > > > > > > > > > > Run-time error '429': > > > > > > ActiveX component can't create object > > > > > > > > > > > > I know there is way of setting some properties either in dll or in the > > > project to avoid this type of error, and can't find out where how. Can > > > someone help me (tell me how) to setup dll or project properties, so dll > > > file upgrade(s) will not require project recompilation? > > > > > > > > > > > > Thanks > > > > > > > > > > > >
0 Likes
Message 6 of 6

Anonymous
Not applicable
This is the original post from Frank. It addresses your question. http://groups.google.ca/groups?q=dll+reference+%22autodesk.autocad.customization.vba%22+author:Frank+author:Oquendo&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=0C606399886E9E42B992C2100D0EAA2F%40in.WebX.maYIadrTaRb&rnum=3 "Sa Mite Samite" wrote in message news:40733cb6$1_3@newsprd01... > I was intensivelly testing all option under 'Project Properties' and, one > option worked; although I don't know why anf how. Help on this VB topic > ('Project Properties') is very poor and never get changes from VB 5th > version. > I change the 'Version Compatibility' option to 'Binary Compatibility' under > the 'Component' tab. I would like to know the reason why "binary" works and > "no compatibility" doesn't. > > > > "Dale Levesque" wrote in message > news:4073334a$1_3@newsprd01... > > This has been the bane of my existence for some time now. It was explained > > very nicely to me why it happens by Frank O but the long and short of it > is > > that you have to reset the reference to your DLL since the unique ID has > > been modified. I've tried creating an add-in to clear missing references > and > > reset them so I could at least be spared the process of doing this but the > > AutoCAD VBA IDE didn't want to perform the > > oVBIDE.ActiveVBProject.References.Remove method. > > > > Sorry I can't be of more help. Please let me know If you come up with a > > solution. > > > > Best regards, > > > > Dale > > > > "Sa Mite Samite" wrote in message > > news:40731d90$1_2@newsprd01... > > > I have a dll file that I've used in one of my exe project. I review some > > > aspects of my dll component and I recompile it. Me exe file now gives me > > an > > > error message like this: > > > > > > > > > > > > Run-time error '429': > > > > > > ActiveX component can't create object > > > > > > > > > > > > I know there is way of setting some properties either in dll or in the > > > project to avoid this type of error, and can't find out where how. Can > > > someone help me (tell me how) to setup dll or project properties, so dll > > > file upgrade(s) will not require project recompilation? > > > > > > > > > > > > Thanks > > > > > > > > > > > >
0 Likes