Relative Path VB 6.0

Not a fan of Visual Basic, but I have to complete the assignment. So I just found out that when you connect to Database and eliminate the drive like this:

\folder\database.mdb

Your application will become semi portable. You can move it to different drive as long you stay on the same folder.

Of course there are plenty of ways to do the relative path like app.path or something like that. I don’t know, haven’t learned it yet. Like I told you, not a big fan of Visual Basic.

Just a quick fix…

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s