invalid data source error in my thesis project

Reply

Join Date: Aug 2007
Posts: 47
Reputation: locsin is an unknown quantity at this point 
Solved Threads: 0
locsin locsin is offline Offline
Light Poster

invalid data source error in my thesis project

 
0
  #1
Aug 30th, 2007
Hi

I am COMPUTER SCIENCE STUDENT.

I created thesis project with a report using VB6 datareport and Access2000. The report works fine on my machine, but when i presented this to my instructor an error "Invalid Data Source" occurs when I installed the application on other machines without visual basic system. My instructor give me another chance to solve this problem and submit it again. Anyone can help me to solve this?
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 2
Reputation: lady_lily is an unknown quantity at this point 
Solved Threads: 0
lady_lily lady_lily is offline Offline
Newbie Poster

Re: invalid data source error in my thesis project

 
0
  #2
Mar 1st, 2008
i guess you should have to install vb6 on that machine... or else try to locate your path if its on the same drive...
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 537
Reputation: choudhuryshouvi is an unknown quantity at this point 
Solved Threads: 49
choudhuryshouvi's Avatar
choudhuryshouvi choudhuryshouvi is offline Offline
Posting Pro

Re: invalid data source error in my thesis project

 
0
  #3
Mar 2nd, 2008
Originally Posted by locsin View Post
Hi

I am COMPUTER SCIENCE STUDENT.

I created thesis project with a report using VB6 datareport and Access2000. The report works fine on my machine, but when i presented this to my instructor an error "Invalid Data Source" occurs when I installed the application on other machines without visual basic system. My instructor give me another chance to solve this problem and submit it again. Anyone can help me to solve this?
first of all you need to bundle your project into a self-executable setup package before you can use it in a machine having no copy of visual basic installed. you can use the Package and Deployment wizard to accomplish this task. Visit this thread if you don't know how to create a setup package :-
Problem in running application on another computer
scroll down and find reply #8. the whole thing was described there.

and for your report, this is not a problem of your program. its a lack of vb6 itself to find the physical location of the database if its target is changed. when that nasty error dialog shows up just replace the location with your current physical location in the target machine(where u have installed the application) of your database. you have to do this once. click ok to save and then everything will run like butter.

regards
Shouvik
Last edited by choudhuryshouvi; Mar 2nd, 2008 at 11:54 am.
Shouvik_The_Expert_Coder
Have a problem? Don't worry just give me a call and I'll fix it for you.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC