Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » get application path
get application path [message #9440] Tue, 08 May 2007 14:38 Go to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
When i use this code:

String AppPath = GetFileDirectory(GetExeFilePath());
PromptOK(AppPath);


i got an output like this:

c:path1path2path3


this is the complete path without backslashes. How can i get the complete applikation-path with backslashes?

Michael
Re: get application path [message #9441 is a reply to message #9440] Tue, 08 May 2007 14:51 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

michael wrote on Tue, 08 May 2007 08:38


this is the complete path without backslashes. How can i get the complete applikation-path with backslashes?


Write
PromptOK(DeQtf(path))
. All Prompt like functions use qtf string to display the text and some specials chars like slash are eaten by qtf parser.
Re: get application path [message #9442 is a reply to message #9440] Tue, 08 May 2007 15:49 Go to previous messageGo to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
Ok, thanks. This means the path is correctly saved in my variable AppPath but only transformed by PromptOK?

Michael
Re: get application path [message #9456 is a reply to message #9442] Tue, 08 May 2007 20:51 Go to previous message
zsolt is currently offline  zsolt
Messages: 693
Registered: December 2005
Location: Budapest, Hungary
Contributor
PoromptOK accepts formatted text in QTF format. So you can put bold, italic, etc texts, tables and many nice things in your message boxes. You can study QTF format using help in theide.
You can edit QTF files with uword.
Previous Topic: DocEdit MaxChars
Next Topic: Little change to DropList
Goto Forum:
  


Current Time: Fri Mar 29 02:49:19 CET 2024

Total time taken to generate the page: 0.02645 seconds