Welcome to Dream.In.Code
Become a VB Expert!

Join 149,909 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,196 people online right now. Registration is fast and FREE... Join Now!




exe instalin w/o database?

 
Reply to this topicStart new topic

exe instalin w/o database?, usin Package And Deployment

rookieLP
31 Dec, 2007 - 01:41 PM
Post #1

New D.I.C Head
*

Joined: 1 Sep, 2007
Posts: 26


My Contributions
well i created my exe n used the Package And Deployment Wizard to make a .cab file so dat all d controls will get installed on any pc usin my exe...
it did get installed but it generated errors cuz d database file didn't get copied there..... how do i do this?????

i went thru tis post "how does one duplicate an executable " where Martyr2
used this code
CODE
FileCopy "c:/blahblah.exe", "c:/blabblah-copy.exe"

is dat wat i got2 use?
den i'll need it to copy the datrabase 2 d current selected location and refer d Cd drive path.
User is offlineProfile CardPM
+Quote Post

born2c0de
RE: Exe Instalin W/o Database?
31 Dec, 2007 - 10:33 PM
Post #2

printf("I'm a %XR",195936478);
Group Icon

Joined: 26 Nov, 2004
Posts: 4,029



Thanked: 38 times
Dream Kudos: 2800
Expert In: 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions
Which Database are you using? MS-ACCESS, MySQL, Oracle or something else?
If it's an access file, you can include the .mdb file into the setup file itself.

For Oracle, you can't 'copy' a database file. You'll need to dump the contents of the tables you need into file and import them into the Oracle Database on the User's machine.
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Exe Instalin W/o Database?
1 Jan, 2008 - 11:09 AM
Post #3

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 9,483



Thanked: 161 times
Dream Kudos: 9075
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
If its other than MS Access, the only thing you should need is the connection string to the database, and you should have that coded into your application in a secure way. As long as the address of the database server doesn't move or change, your application should work.
User is online!Profile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 01:35PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month