Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: PowerBuilder
Expertise: Beginner
Jun 26, 1998

Edit a line in an INI or AUTOEXEC.BAT w/out a Head

Question:
How can Powerbuilder do a Setprofilestring to a file that does not have a header and does not need one?

Answer:
You will need to check if the files exists. If it does not exist, then open the file and write a blank line to the file. Then the INI SetProfileString command will work fine.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date