clockwork3orange
Member
- Joined
- Oct 20, 2006
- Messages
- 21
- Programming Experience
- Beginner
I was wondering how you can set a relative DB location in vb 2005. Right now I have an exact location of
I would like to be able to trasport this aplication to other computers. If I do so this location will be incorrect. Is there a syntax I can use so it will look in a relative location?
I have a field in the datase which is the location for pictures. Can I also make those relivtive locations?
If I package this application how do I set it so that it will pull my database and pictures and put them so they are in the right relative locations?
VB.NET:
MyCon.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\UNH\CS 623\projects\ASAP.mdb"
I would like to be able to trasport this aplication to other computers. If I do so this location will be incorrect. Is there a syntax I can use so it will look in a relative location?
I have a field in the datase which is the location for pictures. Can I also make those relivtive locations?
If I package this application how do I set it so that it will pull my database and pictures and put them so they are in the right relative locations?