yes im kinda new to vb and hoping someone can help me, i'v tried google with no luck.
so i am creating a database program using access SQL statements to load the data, everything works perfictly except i cant figur out how to upon first install of the program the user selects the databass file location which is then saved to a string for good, iv tried messing around with the openfiledialog and it works i just dont know how to code it to only run once at install of the program so my connections string file location is saved and the database connects thanks for your help!
heres the code
cnAnime_movies.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0 ;Data Source=" & strFileLocation
where strFileLocation is going to be where ever the user selects the accdb file on install iv looked a little bit into install classes but not sure how that works thanks much!
-Chris