This is how I am doing it and it works. Personal info and specific paths have been replaced. You should be able to figure this out.
I have three buttons on a form; Download, Upload and Move. The code is in three parts. One part per button.
The following removes the file I want to update. This...
tedsmith,
Not sure what you are looking for so I will explain what I am building:
I have a computer that is dedicated to running a program I created that, 4 times a night, queries the web for strong companies that are publicly traded. The program picks the best stock out of a max of 12 stocks...
strongm,
Thank you for setting me on the right path. This gives me what I am looking for:
WebBrowser2.Navigate "http://www.myweb.com/myfile.html"
generates an error when the file is not there.
God bless you! :-)
OrthoDocSoft,
I tried this but realized that something was missing. I Googled a line of the code and came up with one hit. After 30 days an ActiveX object needs to be purchased from a guy who calls himself ChilKat.
Any other ideas?
Thank you.
I am integrating FTP into my program. On the web side I intentionally removed the file I want to download to prepare an error handler in the event this may really happen. When I attempt to download the (missing) file I get the following message box:
Title of the message box: Error Copying File...
strongm,
THANK YOU! [2thumbsup]
I was searching for a more difficult solution to this and it blinded me to the answer. Sometimes a solution is so simple you don't see it looking right at you!
Your valuable time spent helping with this has saved me a lot of time and frustration.
May God bless...
This is something of what the real line looks like:
WebBrowser1.Navigate2 "ftp://mrmajik:password@12.123.210.21//public_html/fpp/menus/picks.html"
Do Until WebBrowser1.ReadyState = READYSTATE_COMPLETE
DoEvents
Loop
Set ftpFolder = WebBrowser1.Document.Folder...
strongm,
Thank you for your reply.
I did not post the string that I use to gain access to my website as I do not want to tell the world the username and password for the site. What I posted is sudo-code replaced for the working code.
It is line that generates the error:
Set ftpFolder =...
I found the code at the bottom of this message here in a thread and for some reason I can't get it to work. I have it pulling in a webpage to the Internet window in my form using this:
WebBrowser1.Navigate2 "ftp://user:password@ftp.site.com"
Do Until WebBrowser1.ReadyState =...
The network is healthy but not perfect. There are two DHCP servers that give us problems from time to time. With an enterprise environment this large (55,000 workstations) I am amazed it works as well as it does.
Thank you,
MrMajik
There are 10 types of people in the world:
Those that...
Thanks to all who contributed on this.
I finally found a workable solution. In the Novell login script I put a command at user login level that runs ipconfig/all <computer name> and saves the result to a network folder all users have access to. This will give me the most current IP address for...
Our DHCP table is a mess and I need a way to create a file on a network drive with either the computer name or IP address as part of the text file name, preferably both. I reseached the ipconfig/all > P:\??? as I am unable to pass the value of a variable to be part of the text file name. It does...
Anger, frustration, anxiety which becomes an annoyance is something that is a part of this. The solution to this problem was so simple I could not see it. The beauty of it is I now have another tool in my mental toolbox that I will keep.
I love this place :-)
Steve
Bob,
This is what I had:
Clipboard.SetText frmMain.MSFlexGrid1.Text
I never tried .Clip at the end of the line as I got frustrated with not being able to figure it out. I thought it was much more difficult than that.
Thanks for posing. Your little line of code deserves a heart-felt Thank...
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.