|
-
Jun 23rd, 2000, 08:37 AM
#1
Thread Starter
Addicted Member
Dont you hate it when you figure something out and the next day when you try to do it again you cant!!! he he he.
That's my problem...
I m trying to use the shell command to open my clipboard (win98) ....here's the syntax
Private Sub Command1_Click
Shell "C:\Programs\accessories\clipboard.exe"
End Sub Can Anyone tell me what am doing wrong?
Thanks :0)
NewBee Vbeer6.0()
Working model edition messes with my MIND! hee hee
End Sub
-
Jun 23rd, 2000, 08:44 AM
#2
Fanatic Member
What error do you get. I can get it work the way you have it (with the change in the path of Clipboard exe file - make sure you have it right)
Code:
'//Looks like this on my machine
Shell "C:\windows\Clipbrd.exe"
-
Jun 23rd, 2000, 08:52 AM
#3
Thread Starter
Addicted Member
The error i would get is "file not found"....
Do i have to specify the entire filepath? or can i just type it in this way for the clipboard
Shell "c:\windows\clipboard.exe"?
thanks.
-
Jun 23rd, 2000, 07:30 PM
#4
transcendental analytic
Since that worked yesterday, maybe you actually lost your file.
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 23rd, 2000, 11:03 PM
#5
Fanatic Member
Sounds like you've screwed the path to me!
Your path looks like the start menu position.
Mine's in C:\windows\system32\clipbrd.exe
So this software of yours should search for it before using it otherwise it won't work on many systems.
OR
as it's only 100k distrute another copy in the app path.
potentially dangerous I suppose but I wouldn't hard code that path.
maybe you just spelled clipbrd.exe "Clipboard.exe" and it's not there.
Paul Dwyer 
Network Engineer
Aussie In Tokyo
Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)
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
|