de4ws 0 Report post Posted December 16, 2004 I need help making a config screen for a code saving program that i am working on. The program is supposed to save the codes on the comp in form of .docThat part works fine, the next part however i need help with.How do i make it so when someone else dls it, it know where to save it (i have code that save it to MY computer, and that is not the same on every computer) I am thinking a config screen, but where would THAT be saved to.... Thanks Share this post Link to post Share on other sites
Galahad 0 Report post Posted December 20, 2004 If I get you correctly, You want to save programs configuration somewhere, but You don't know where it will end up?Try something like this: Dim cfgdir As String[/br]Dim cfgfile As String[br]cfgdir = App.Path[/br]If Right(cfgdir, 1) <> "\" Then cfgdir = cfgdir & "\"cfgfile = "my.cfg" This code will save 'my.cfg' file in your programs folder, where ever it is. Hope it helps. Share this post Link to post Share on other sites