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...
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.
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 "net use" command. I want to allow the remote user to make a...
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...
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.
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.
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...
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
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...
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 "friendly" name or the dotted noation. I have my form...
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 = "C:\directory\where\your\file\is"
nf = Dir(NavigateFile)
If nf <> ""...
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...
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...
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.