Wrox Programmer Forums
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 17th, 2005, 03:00 PM
Registered User
 
Join Date: Mar 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trouble with ADODC ctrl

Dear Friends

I have an VB6 application with has a DataGrid Control and ADODC Control which is datasource for Datagrid control.
Adodc control loads some records in the datagrid at the load time.

I packed the application and made an executable. This executable runs fine on the computers which have VB installed on them and loads the records in datagrid at load time as supposed.

If I try running same executable on the computer which donnt have VB installed, the records didnt get loaded in the datagrid at load time but other parts application runs fine.

What I understand is that some file/s are missing on the computers which dont have VB installed on it. I tried coping all .OCX files into the WINNT/system32 folder but it didnt helps.

It will be great if someone let me know, which files are needed for getting Adodc Ctrl and DataGrid Ctrl work on the computers which dont have VB installon them.

Thanks
Nav

 
Old June 17th, 2005, 03:14 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi there..

no runtime error?? no code 429 error??

only copying the ocx will not do the trick.. you also need to register it..

why not use the deploy and packge wizard to deploy your full aplication..

also can you verify that your app has not on error resume next trapping??? b/c that will do exactly what you are telling...


HTH

Gonzalo
 
Old June 17th, 2005, 04:11 PM
Registered User
 
Join Date: Mar 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear Gonzalo

first Thanks for quick reply

Let me explain what I was doing until now.
I was deploying full application on the shared drive on the server using the wizard and when I try to open the application at the computer(which dont have VB installed on it) from the shared drive, It gives me error saying some .OCX files are missing. Then I copied those .OCX files on the computer and application starts running fine(doing most of things) except loading records in DataGrid through Adodc control datasource.

After reciveing your reply, I tried to deploy application directly on the computers(insted of server). The Datagrid/Adodc problem get resolved but it started giving a (code 429 error, ActiveX component cant create object) problem on some other part of application which was working fine previously.

My app dont have any error resume next trapping.
how can i register the OCX files?
wht code 429 error signifies?

Thanks
Nav



 
Old June 21st, 2005, 09:19 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi there..

you can found error 429 explain everywhere... to register a component you need to use regsvr32.. but always try to make the deploy to register the component so you can deploy your app. anywhere...

HTH

Gonzalo





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with ADODC and Access fm2005 Pro VB Databases 5 June 11th, 2007 07:20 AM
ADODC PROBLEM cnkumar74 VB Components 0 February 16th, 2007 03:27 AM
adodc and flexgrid! smileii VB Databases Basics 6 October 18th, 2006 01:33 PM
Adodc records navigation prognoobie VB How-To 1 May 6th, 2004 01:39 PM
Datagrid and ADODC cindy Beginning VB 6 1 November 11th, 2003 04:28 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.