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...
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 =...
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...
I have the right mouse click menu working and am able to copy the contents of one cell of an MsFlexGrid.
Private Sub mnuCopy_Click()
Clipboard.Clear
Clipboard.SetText frmMain.MSFlexGrid2.Text
End Sub
I want to copy a range of cells so they can be pasted into Excel. Is this possible...
I can't remember how to add the menu for the right-click mouse button as I want to copy data from a MSFlexGrid to the clipboard.
Thanks in advance.
MrMajik
I have been coding in VB for years and now have a need to do something a little different. I want to create a script that will go to a MSN website, click a pull down menu from that website and select a choice from the pull down menu. This copies data into the clipboard and is a part of the MSN...
Rather than keep building a form to open and save files there must be a way to call the File | Open feature that most Windows programs use. In the examples that came with my VB6 suite there is an example but it is not all there. It is missing the function that the code is calling. Any ideas...
On my spreadsheet I have 50 buttons I created. The only thing unique to the procedure for each button is the active cell it points to. I know VisualBasic 6 allows you to make an array of objects and identify each object with an index value. Can something like this be done with Excel so I don't...
Using a pull-down menu I am trying to get one of the menu items to open an Excel spreadsheet.
Why won't this work?
Dim myFile As Variant 'used to open the spreadsheet file
Private Sub mnuMySpreadsheet_Click()
myFile = Shell(App.Path & "\My Spreadsheet.xls", 1)
End Sub
Thank you.
Is it possible to get VB6 to take a screen shot of a web page and save the image to a file? I am trying to get the code to do the same thing as pressing the Alt-Print Scrn keys do and then save the captured image as a bitmap, jpg, gif, etc. The quality of the file is not an issue.
I tried...
I want to go to a yahoo website and pull down historical stock prices for several stock symbols using WebBrowser1.Navigate.
WebBrowser1.Navigate will go to the yahoo site and I am able to save the webpage text to a text file by using
WebBrowser1.Document.body.innerText
However, I am only...
We have a small In/Out board (database) that we use to track where everyone is at. The db program is in two parts-the Front-end client that everyone uses and the back-end database. The front-end is the Access form that is linked to the back end on our network.
The problem is when a change is...
I can't find the Timer control in Access. Do you know where it is?
Thank you,
MrMajik
There are 10 types of people in the world:
Those that understand binary and those that don't.
On an In/Out board using Access 2002:
I have a form that is linked to a couple tables on our network. Is it possible to have some code run on the server side database at 12:05 AM that will compare dates? If a date in the table is yesterday's date I want the date deleted.
I considered having...
I would like to add a feature that would make the main form of my Access program aware of who the person is that opened the database.
Can Access be aware of the user ID (or login name) that a person used when they logged into the workstation or network domain?
Thank you,
MrMajik
There are...
I am making an In/Out board and want to add radio buttons for In and Out. However, when I add these to the subform and then run the form every radio button in the subform moves to In when I click just one In The same happens when I click the Out radio.
Is it possible to add a...
Using VB6...
I have a process running that generates 5 text files every minute of the day, 24 hrs a day. This generates a huge amount of files. Only files that are > 0 in size are worth keeping. Most files are empty.
Do you know how to delete a bunch of files solely by their file size? I only...
I want to be able to have my users download a file from the Internet and have it land in a specific location. For exapmple;
C:\Program Files\WebFiles\
Is it possible to do this without the usual "Save As..." box appearing? This box assums you know how to navigate to a directory and not all of...
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.