|
-
Jun 1st, 2000, 06:51 AM
#1
Thread Starter
Fanatic Member
Does anybody know how to make it so, when u click on a file an option will be there to scan it.. with your program? Is there something u need to add into the Windows Registry to do that, or some kind of ini file? I have absolutly no clue how to approach this.
Anybody know? Please help
Thank you in advance!
ok, so... windows takes 1 minute to search for a file on my PC yet google.com takes 1 second to search the entire internet? 
-
Jun 1st, 2000, 06:59 AM
#2
Yes, there is a certian Root where you add it. I will go look for it and get back to you when I find it.
-
Jun 1st, 2000, 07:10 AM
#3
Try this root
CLSID\Directory\shell\MyKey
In the key MyKey there shuld be a data called (default) and you should set the value of it to whatever you want it to say...
I'm not really sure if it'll work on your computer...I'm also not sure how it all works, but try it. I have to go right now, but tomorrow, i'll see if i can get it to trigger your App.
-
Jun 1st, 2000, 08:10 AM
#4
_______
I will live forever or die traying.
Little typo I do believe >>>>>>
Should be:
I will live forever or die trying.
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Jun 1st, 2000, 10:19 AM
#5
transcendental analytic
I'm not sure what you guys were talking about but HeSaidJoe, do you mean rightclick in explorer, as a FileType, Then in the menu you click open with your app?
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jun 2nd, 2000, 01:52 PM
#6
Thread Starter
Fanatic Member
Yes, when you right click on a explorer item...
u know how when u install winzip.. when u right click on an item in explorer it will give u an option to zip it.
Im traying to recreate the same effect except scan the selected file.
And yes, u are correct with the typo. Im gonna go change that right now.
ok, so... windows takes 1 minute to search for a file on my PC yet google.com takes 1 second to search the entire internet? 
-
Jun 2nd, 2000, 05:35 PM
#7
transcendental analytic
There's a recent thread called filetypes, go search for it
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jun 3rd, 2000, 12:41 PM
#8
Thread Starter
Fanatic Member
I havefound it but it dosen't tell me anything. I dont even know how to add an item (without any submenus).
All i want is to shell it to my program, and somehow get the file or files that i need to scan.
Whenever i was looking at the registry settings some of them had {18723490817-} ect. in it. I dont know even know how to approach that. Is that hex or something?!?!
ok, so... windows takes 1 minute to search for a file on my PC yet google.com takes 1 second to search the entire internet? 
-
Jun 3rd, 2000, 01:00 PM
#9
In the HKEY_CLASSES_ROOT Hive of the Registry, locate you Extensions Application Name Entry, then Add the items you want to appear on the Context Menu to the "Shell" Key, add a "Command" Key to each item you add in which you store the EXE path and name in the {Default} value, i.e.
Code:
HKEY_CLASSES_ROOT
Some.Application
Shell
Open
Command - (Default) = "C:\SomeApplication.exe %1"
Scan
Command - {Default} = "C:\ScanApp.exe %1"
In this exampe any file with an Extension that reference's the "Some.Application" key will have "Open" and "Scan" on it's context menu.
- Aaron.
-
Jun 4th, 2000, 03:24 AM
#10
Thread Starter
Fanatic Member
Thanks that works prefectly. But, whenever i select more then 1 file, it opens more then 1 of my progams. Is there any way to make it send the parameters to my program in one single string?
eg. So it wont execute
open my.prog /Fileselected
open my.prog /fileselected
open my.prog /Fileselected
But instead it will do this
open my.prog /Fileselected1 /Fileselected2 /Fileselected3
Any ideas?
ok, so... windows takes 1 minute to search for a file on my PC yet google.com takes 1 second to search the entire internet? 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|