Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: MrMajik
  • Order by date
  1. MrMajik

    How do deal with an Error when no number is provided

    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...
  2. MrMajik

    How do deal with an Error when no number is provided

    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...
  3. MrMajik

    How do deal with an Error when no number is provided

    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! :-)
  4. MrMajik

    How do deal with an Error when no number is provided

    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.
  5. MrMajik

    How do deal with an Error when no number is provided

    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...
  6. MrMajik

    FTP upload and download using WebBrowser1

    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...
  7. MrMajik

    FTP upload and download using WebBrowser1

    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...
  8. MrMajik

    FTP upload and download using WebBrowser1

    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 =...
  9. MrMajik

    FTP upload and download using WebBrowser1

    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 =...
  10. MrMajik

    Write IP and login_name to file

    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...
  11. MrMajik

    Write IP and login_name to file

    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...
  12. MrMajik

    Write IP and login_name to file

    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...
  13. MrMajik

    Copy MsFlexGrid data from more than one cell

    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
  14. MrMajik

    Copy MsFlexGrid data from more than one cell

    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...
  15. MrMajik

    Copy MsFlexGrid data from more than one cell

    BobRodes, Can you post a snipit of the code you got to work to copy a range of cells selected by the user? Thank you.
  16. MrMajik

    Copy MsFlexGrid data from more than one cell

    I am able to get the contents of a single cell to copy to the clipboard a hard coded range of cells to copy to the clipboard. I am unable to get a range selected by the user when the mouse is used to select a range. What I keep getting the the content of the first cell of the range selected. Is...
  17. MrMajik

    Copy MsFlexGrid data from more than one cell

    Thanks guys for the ideas. Both are workable so I will try both and see which one fits best. :-) Thank you, MrMajik There are 10 types of people in the world: Those that understand binary and those that don't.
  18. MrMajik

    Copy MsFlexGrid data from more than one cell

    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...
  19. MrMajik

    Right-click menu

    I posted this in the wrong forum. Posting it in VB for Apps forum. Thank you, MrMajik There are 10 types of people in the world: Those that understand binary and those that don't.
  20. MrMajik

    Right-click menu

    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

Part and Inventory Search

Back
Top