He said,
"Let me know if you download it, so I can take it back off the server"
Obviously it is off the server now, so of course the link is dead.
Crystalinity
He said,
"Let me know if you download it, so I can take it back off the server"
Obviously it is off the server now, so of course the link is dead.
Try using DOS no-more-than-8.3 notataion, e.g.
[code]
Debug.Print Dir("c:\progra~1\visio\f*.*")
----------------------------------------
Crystalinity
|
/| _/_|_\_ Pure
\ | / Silicon
\|/ Data
|
Sendkeys, anyone?
Set Timer.Interval 'and timeout in milliseconds
Private Sub Timer_Timer()
SendKeys "%F x" 'or whatever exit keys the program requires
SendKeys "exit"
End Sub
The only problem with this is if the user removes focus from your 16-bit program.
Crystalinity
However, Winsock can be used for email if one connects to 127.0.0.1:25.
Never heard of JMail
What is it?
Crystalinity
----------------------------------------
Crystalinity
|
/| _/_|_\_ Pure
\ | / Silicon
\|/ Data
|
Thanks for the advice ;-)
This is exactly what I am trying to do. Sorry to have posted so much code, but it probably won't happen again as (joy of joys!) I have discovered the Split() function :-)
Crystalinity
No, as a lot of programs notify if an email is being sent via MAPI, which makes your program look messy and unprofessional.
Crystalinity
P.S. I recommend Winsock.
Sorry, don't quite get you...
You have a VB5 program and want to convert it to VB6, or you want to hack your copy of VB5 and turn it into VB6? If the former, you should be able to use the same source, unless it's particularly complex; most VB5 functions and key words are also in VB6. I started...
How about doing onKeyUp and check for ctrl, then check for V, and if they are both there setting the textbox's Text property to ""? That should fix the ctrl+v problem. I've still got to give the other some thought...
Crystalinity
Complex task is right. You'd have to make a database of every possible English word or phrase, and its VB equivalent. This would be a nightmare.
Prepared to take about 20 years?
Crystalinity
P.S. In 10 years, VB will probably be obsolete. VB6 definately will. My advice: FORGET IT.
P.P.S...
Alternatively, you could use Winsock. I now love Winsock, it's got to be one of the most powerful controls built into VB.
Private Sub Form_Load()
Winsock1.RemotePort = 1001 ' or other availabe port
Winsock1.RemoteHost = 127.0.0.1 ' address assigned by default to localhost
Winsock1.Connect...
Check if a certain file exists at Form_Load(), then if it doesn't, store the time in a file at Form_Unload(). If it does, load the time from the file and subtract it from the current time. This way you can find out how much time has passed since the last time the program was run, and make...
I created a project composed of two executives - a server designed to run silently in the background and display message boxes at a signal from a client.
Server.exe is composed of:
AdvServer.frm:
VERSION 5.00
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.