The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 path and filename
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Marcel Spillker

Germany
Posts

Posted - 06/03/2008 :  06:14:34 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): Origin 8 SR1 v.8.0773
Operating System:XP

Hello!

Id like to show the filename and the path on my graph.
for this I use the following expressions in VBA:
OriginApp.Execute ("text1.text$ = \v(" & strPath & strName & ".opj)")
ebSaveFileName = OriginApp.LTStr("%Y") + OriginApp.LTStr("%G")
OriginApp.Execute ("text2.text$ = " & "\v(" & ebSaveFileName & ".opj)")
It works fine!
But in Origin the text is shown without the "space" between the letters.
For example:
path + filename = A:\BB bb\CCC ccc.opj
Origin Text will be:
A:\BBbb\CCCccc.opj
Is it posible to show the text in the right way?
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000