Hello Guest it is April 23, 2024, 04:54:50 PM

Author Topic: How to get the loaded filename?  (Read 4641 times)

0 Members and 1 Guest are viewing this topic.

How to get the loaded filename?
« 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


Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: How to get the loaded filename?
« Reply #1 on: January 04, 2008, 04:20:58 PM »
Dim a string variable called "Filename" then set it = to your pulled in filename.
fun times
Re: How to get the loaded filename?
« Reply #2 on: January 04, 2008, 04:44:46 PM »
Thanks for your fast reply,
but Ive doesnt understand it, sorry.. ???

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

regards,

Wolfram


Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: How to get the loaded filename?
« 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
fun times
Re: How to get the loaded filename?
« Reply #4 on: June 20, 2008, 03:33:52 AM »
Hello,

Function FileName()

covers name and path of the current file.  :)

Regards,
Jörg