I had a similar problem using the command line interface for WinZip. I ended up hardcoding the double quote " and that seemed to fix the problem.
Try something like this
const kPkzip = "pkzip "
dim strSource as string
dim strDest as string
strSource = Chr(34) &...
I've figured out what was going on. Looks like a known bug in VB. I was able to change the border style of the from from FixedDialog to FixedSingle.
http://support.microsoft.com/default.aspx?scid=KB;en-us;q189741
Thanks,
Dave
Well the search feature is down on Tek Tips so don't blast me too much if this has been answered.
What I've done: Set a form's ShowInTaskBar property to false and then use a message box inside this form.
What Happens: The main window (the one with ShowInTaskBar property set to true) displays...
I'm working on a good sized project and I am having problems raising an event. So I've just created a little test program to work it out. The code seems to work correctly except I never receive the event in my form??
'------------------
' The CLASS
'------------------
Public Event...
I'm trying to figure out how to duplicate an effect like one in Outlook. In outlook if you select Tools/Accounts the Add button has a arrow (right facing triangle) in it. Any ideas on how to insert something like that into a command button??
Thanks,
Dave
There is no "One Line" of code to do this in VBScript. You'll have to ReDim your array then loop through the array backwards moving each element to the next higher location in the array. When you reach the location you want to put your data stop and write that data.
i.e.
sub...
You simply have to provide the full path. i.e.
WshShell.Run """c:\Program Files\Procomm\Procomm.exe"""
Use the """ if you've got a space in your absolute path.
Dave
The first problem I see is having the parentheses around your path. You don't need that in VBScript if you are just calling a sub/function and not expecting a return value.
You can add the double quotes to the beginning and end to fix the space problem. ie.
objShell.run...
Thanks for the help. I've found to ways for this to work successfuly.
Either:
objIE.document.forms(0).Airline(0).click
objIE.document.forms(0).Airline(0).checked=true
Thanks,
Dave
I'm writing a VBScript to navigate to a secure site and log in. The log in process has a radio button to select which part of the company you are with and 2 fields one for employee id and your password.
I can launch the IE object and navigate to the logon page and enter my employee id and...
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.