forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Get file info...

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Wed Jul 31, 2002 8:05 pm    Post subject: Get file info... Reply with quote

For this post, I really have two questions:

1) How can I make it so that when I right click a file (such as a .txt or other extension), I have an option such as "Edit with MyProgram"?

2) When the user clicks "Edit with MyProgram", how do I get the info of which file they are trying to open, for example, the name of the file.

Thanks Smile ,

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Wed Jul 31, 2002 8:52 pm    Post subject: Reply with quote

Do you mean in the context menu of Windows? If so, I do have a way.
I can make you a custom DLL (the only one I know how to make Smile ) that
will allow you to add to the context menu of Windows. You can then add
your own commands to the context menu that will run a VDS program.

You should then be able to get the file info from using the @file()
function.

If you would like that, you can send me an email.

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Wed Jul 31, 2002 9:01 pm    Post subject: Reply with quote

Yes, like when you right-click on a file in explorer...

I saw a way with the registry a long time ago, maybe on the old board, I don't know where it is...

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Wed Jul 31, 2002 10:03 pm    Post subject: Reply with quote

Garrett explains it all in this topic:

http://www.vdsworld.com/archive/index.php?page=topic&board=2&topic=870

Tommy
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Wed Jul 31, 2002 10:54 pm    Post subject: Reply with quote

Here's a thread where I learned some reg/menu stuff
(among other things) at another site. There's several
pages in the thread...

http://forums.techguy.org/t85508/s27129d0be20aa6b4008df45723c3a47e.html

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Wed Jul 31, 2002 11:39 pm    Post subject: File Info... Reply with quote

Thanks for the tips! Very Happy

I think this may be just what I needed!

Thanks again,

FreezingFire

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group