ADODC and win2000/WinXP 
Author Message
 ADODC and win2000/WinXP

hi,
I have some problem making one of my software to work.
I code in VB, version 6, a software that need an ADODC control.
On my system, i can use the debug version ( while i code ) and the release
version ( the executable file ).
On the other system, when the screen that hold the ADODC control is open,
there's an error message telling "Variable not set". and the software wuit.

Is there anything thing that need to be update on Windows 2000, and on
Windows XP.

I update the MDAC, to version 2.6 and 2.7 SP1 ( none of them make it work ).

Thanks.



Mon, 18 Jul 2005 01:05:52 GMT  
 ADODC and win2000/WinXP
Robert,

I think you copied only executable file to your target PC. Right? To be able
to run your application, you also need to distribute and register all DLL
files, which are involved into your application. ADODC control is in another
DLL file and needs to be distributed as well. What you need to do is to run
Package & Deployment Wizard, which is a part of Visual Studio, and prepare
installation of your application. PDW will compact all required files into
installation package, which you could run  to install your application

--
Val Mazur
Microsoft MVP


Quote:
> hi,
> I have some problem making one of my software to work.
> I code in VB, version 6, a software that need an ADODC control.
> On my system, i can use the debug version ( while i code ) and the release
> version ( the executable file ).
> On the other system, when the screen that hold the ADODC control is open,
> there's an error message telling "Variable not set". and the software
wuit.

> Is there anything thing that need to be update on Windows 2000, and on
> Windows XP.

> I update the MDAC, to version 2.6 and 2.7 SP1 ( none of them make it
work ).

> Thanks.



Mon, 18 Jul 2005 02:06:05 GMT  
 ADODC and win2000/WinXP
Thanks a lot.

I were thinking we can simply copy file and registering them.
It's so easy using the deployment package...


Quote:
> Robert,

> I think you copied only executable file to your target PC. Right? To be
able
> to run your application, you also need to distribute and register all DLL
> files, which are involved into your application. ADODC control is in
another
> DLL file and needs to be distributed as well. What you need to do is to
run
> Package & Deployment Wizard, which is a part of Visual Studio, and prepare
> installation of your application. PDW will compact all required files into
> installation package, which you could run  to install your application

> --
> Val Mazur
> Microsoft MVP



> > hi,
> > I have some problem making one of my software to work.
> > I code in VB, version 6, a software that need an ADODC control.
> > On my system, i can use the debug version ( while i code ) and the
release
> > version ( the executable file ).
> > On the other system, when the screen that hold the ADODC control is
open,
> > there's an error message telling "Variable not set". and the software
> wuit.

> > Is there anything thing that need to be update on Windows 2000, and on
> > Windows XP.

> > I update the MDAC, to version 2.6 and 2.7 SP1 ( none of them make it
> work ).

> > Thanks.



Mon, 18 Jul 2005 03:34:04 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Different behavior between Win2000 and WinXP Pro

2. Win2000--> WinXP (Compile question)

3. How can i use INDEX in ADODC - Como usar indices em ADODC

4. File Open/Save dialog in Access 2000 running on Win98, Win2K and WinXP

5. Automation code not working under WinXP

6. WinXP

7. MAPI, CDO, WinXP & Outlook 2k - Internet Only

8. VBA problem using RDO on WinXP or 2000 with Excel97

9. Excel 97 on WinXP Pro, early bound problems in VB

10. Running VB 6.0 application on WinXP

11. Porting Excel 2000 Toolbars in Win98 to Excel 2002 in WinXP

12. How to check mode in Outlook in WinXP?

 

 
Powered by phpBB® Forum Software