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 strongm 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: *

  1. shawnnason

    Timer question

    Figured it out: StartTime = Timer <things happen> FinishTime = Timer Totaltime = FinishTime - StartTime
  2. shawnnason

    Timer question

    chiph - That's fine idea, but I need to be able to measure in milliseconds. Now() olny give me seconds. Any other ideas? - Shawn
  3. shawnnason

    Timer question

    All - I want to see how long it's been since I started a timer until an event happens. Is there way to do something along the lines of: timer1.interval = 10000 timer1.enabled = true <other stuff happens> timer1.enabled = false leftovertime = timer1.timeleft text1.text (leftovertime) Or...
  4. shawnnason

    Enable/Disable Keyboard

    Why not just make the form take up the whole screen and then set form1.enabled = false
  5. shawnnason

    Setting up a Default Font for Visual Basic Forms

    Yes, just click on the font box for form1 and select the fornt, style, and size you want. Then everything you create will be that way. If you want to change an item, then change that one item and the rest will remain in the font you set for form1.
  6. shawnnason

    Are thing to fast

    More like &quot;mine is smaller than yours is&quot;
  7. shawnnason

    Arguement acceptance, shell command

    Where can I find the various values returned by the shell command?
  8. shawnnason

    Arguement acceptance, shell command

    I have written a VB application that performs registry upgrades. I now want to modify it so that the program can be run remotely. I would like to be able to run, from a remote machine, a VB application that uses the shell &quot;net use&quot; command. I want to allow the remote user to make a...
  9. shawnnason

    Using senddata on a type

    I have created a type as follows: [code] Public Type MyData command as string numval as integer capbility as string End Type [\code] When I then try to send this type using the SendData facility of WinSock, I get an error box which says: Complie Error: Only user-defined types...
  10. shawnnason

    Removing modules

    scorpio66 - No, the .vbp file is not read only, it is archive. for now I am just commenting out the whole module. - Shawn
  11. shawnnason

    Removing modules

    I tried the right click and remove option already. When I right click, the only options that are active are View Code, Add, Dockable, and Hide. When I tried the higlight, click View method, I don't see a remove option.
  12. shawnnason

    Removing modules

    How do I remove a module from a project? I added a module then realized that I ddn't really want the module in there, and now am stuck. Shawn
  13. shawnnason

    Are thing to fast

    I don't recommend this for everyone but....I still run my 120 mhz Pentium with a 2 gig hard drive and 32 megs of ram at home. Yeah, I rock with my 28.8 modem too.
  14. shawnnason

    Winsock RemoteHost problem

    SIRLUIS - I've seen references to Winsock arrays, but have never really thought about doing that. Can you give me an idea of how I'd make and use such an array? I am guessing that I'd declare the array, make some kind of counter, and use that counter to reference the member of the array I...
  15. shawnnason

    Winsock RemoteHost problem

    MadLarry - I want to be ready to listen as startup, but if nothing happens and I want to connect, then I will close down the socket and reopen with a connect call. So, it loos like all I need to do is move the tcpClient.RemoteHost to after I close and it should work. - Shawn
  16. shawnnason

    Winsock RemoteHost problem

    When I say RemoteHost, I mean that I set the host that I am connecting to. My subsa look like this: Form Load: [code] Private Sub Form_Load() ' The name of the Winsock control is tcpClient. ' The Winsock control is embedded in the form. ' Note: to specify a remote host, you can use ' either...
  17. shawnnason

    Winsock RemoteHost problem

    I am trying to write an application that will connect to different computer at run time by specifiying, in a text ox, the name of the computerto which I want to connect. I am using Winsock for this. I know that I can use the &quot;friendly&quot; name or the dotted noation. I have my form...
  18. shawnnason

    simple vb app needed

    Sure it's easy to do. Do this (note, this uses IE): 'Option Explicit Public WithEvents Explorer As SHDocVw.InternetExplorer Public NavigateFile As String Private Sub Command1_Click() NavigateFile = &quot;C:\directory\where\your\file\is&quot; nf = Dir(NavigateFile) If nf <> &quot;&quot...
  19. shawnnason

    Package and Deplyment Wizard

    I tried to ask this in Application Deployment forum, with no result. so, I am cross-posting here, hoping for some help... When I use the Package and Deployment Wizard to create a package, I am getting an error. When I install the package and setup.exe is run on the target machine, I get the...
  20. shawnnason

    Package and Deployment error

    When I use the Package and Deployment Wizard to create a package, I am getting and error. When I install the package and setup.exe is run on the target machine, I get the following three msgboxes: Invalid command line parameters. Unable to continue --- Setup was not completed successfully...

Part and Inventory Search

Back
Top