Config

free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > VB Programming

Config

de4ws
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 .doc
That 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.... tongue.gif Thanks

Reply

Galahad
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:
CODE
Dim cfgdir As String
Dim cfgfile As String
cfgdir = App.Path
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.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. asus eax700-x/td/128m/a,driver - 863.01 hr back. (1)
  2. asus eax700-x/td/128m/a,download - 863.08 hr back. (1)
Similar Topics

Keywords : config


    Looking for config

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for config

*MORE FROM TRAP17.COM*
advertisement



Config



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE