Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 11:21:59 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  How to get the loaded filename?
Pages: 1   Go Down
Print
Author Topic: How to get the loaded filename?  (Read 1674 times)
0 Members and 2 Guests are viewing this topic.
CNC-Steuerung
Active Member

Offline Offline

Posts: 52


View Profile
« on: January 04, 2008, 03:50:42 PM »

Hi,

is there any possibility to get the actual loaded filename as string in VB?

That would be a help for displaying if long pathnames does exist in your system, or for the
very nice "percent complete" function as descripted in another thread...

Thanks and regards,

Wolfram


Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« Reply #1 on: January 04, 2008, 04:20:58 PM »

Dim a string variable called "Filename" then set it = to your pulled in filename.
Logged

Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
CNC-Steuerung
Active Member

Offline Offline

Posts: 52


View Profile
« Reply #2 on: January 04, 2008, 04:44:46 PM »

Thanks for your fast reply,
but Ive doesnt understand it, sorry.. Huh

The file is loaded and displayed. The whole file/pathinformation is displayed in
the "file" - label, placed on the screen with screen4...

regards,

Wolfram




* m3-filename.png (24.06 KB, 257x252 - viewed 267 times.)
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« Reply #3 on: January 04, 2008, 10:51:00 PM »

sorry,

   You will probably have to do a C++ plugin to get the File that is loaded varible.
scott
Logged

Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
jogyz
Holding

Offline Offline

Posts: 1


View Profile
« Reply #4 on: June 20, 2008, 02:33:52 AM »

Hello,

Function FileName()

covers name and path of the current file.  Smiley

Regards,
Jörg
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!