Hi tsuji I really appreciate your help. I've been striking out on this. If no checkboxs are checked it works fine, but if more than 1 checkbox is checked only 1 checkbox value is appended to the url.
Here's what I have:
[code]
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<script...
How can I submit the form to a different url with the checked values?
For example, if checkbox1 and checkbox2 checked
action="http://www.yahoo.com?&checkbox1.value&checkbox2.value
Not sure if this is the right forum to post this, please excuse me if not.
what I'm trying to do is append the value of a checkbox when checked to the form action url.
So for example, if checkbox1 and checkbox2 is checked then action="http://server/webfile.asp?blah&blah&ABC=123&DEF=456"...
I am a newbie using RegEx but what I want to do is delete 3 lines in a text file (ie. headers). The header always starts with the text "1PAGE" so I'm assuming this is what we want to match.
Here's what the header contains.
1PAGE 1 RPT-978 'delete this line
DATE 12/06/04 'delete this line
0PLAN...
The generic Exception only works. I want to prompt the user to download files if files are not found. What am I doing wrong?
Catch es As FileNotFoundException
MessageBox.Show("Download files off of network?", "File(s) Not Found!", MessageBoxButtons.YesNo, MessageBoxIcon.Question...
Hi, It seems simple enough but I can't figure it out. I would like to have "Please wait..." appear into a richtextbox immediately after Button1 is clicked. The code that I have displays "Please wait..." AFTER the subfunction is done.
Here's what I have so far.
Private Sub Button1_Click(ByVal...
...sender As System.Object, ByVal e As System.EventArgs) Handles cmdLoadTextBox.Click
Try
With OpenFileDialog1
.Filter = "Rick Text File(*.rtf)/*.rtf/" & "Text files (*.txt)/*.txt/" & "Word Doc (*.doc)/*.doc/" & "All files/*.*"
Me.OpenFileDialog1.Multiselect = True
If .ShowDialog() =...
...= False 'set to true to see Word open up.
Dim aDoc
Dim tempFilename As String
oWord.Application.ScreenUpdating = False
'aDoc = Dir("c:\test\*.doc")
aDoc = Dir(strPathName & "\*.doc")
Do While aDoc <> ""
'oWord.Documents.Open(FileName:="c:\Test\" & aDoc)...
...= False 'set to true to see Word open up.
Dim aDoc
Dim tempFilename As String
oWord.Application.ScreenUpdating = False
'aDoc = Dir("c:\test\*.doc")
aDoc = Dir(strPathName & "\*.doc")
Do While aDoc <> ""
'oWord.Documents.Open(FileName:="c:\Test\" & aDoc)...
...files to .rtf.
PLEASE HELP.
[code]
Dim aDoc
Dim tempFilename As String = "c:\test.txt"
'Application.ScreenUpdating = False
aDoc = Dir("c:\test\*.doc")
Do While aDoc <> ""
Documents.Open(FileName:="c:\Test\" & aDoc)
' strip off .doc from the name
tempFilename = Left(aDoc, (Len(aDoc)...
Thanks for the tip Chip.
here's how I accomplished it.
Dim proc As New Process
' Provide the name of the application or file.
proc.StartInfo.FileName = "C:\usr\print-arg.plx"
' Specify the arguments.
Dim myVar As String = "From VB.NET to PERL. THIS IS SO COOL!"
' we can set this to text...
Hi,
I need help with converting word .docs to .rtf's.
I can do one-to-one but I need to do many-to-many.
Here's what I have so far:
[code]
Private Sub Command1_Click()
Const FORMAT_RTF = 6
Const FORMAT_TEXT = 2
Const NO_PROMPT = 2
Const OPEN_FORMAT_AUTO = 0
Dim word_server As Object '...
I need a VB.NET program to see an "exit status" from the Perl program. Basically, we need to know if the Perl programs can signal to the VB.NET program whether
succeeded or failed. How can I do this?
...how to make use of regex. I want to parse a text file and get the data after a pattern match is found.
But here's the problems I am having:
* Only the 1st word after the pattern match gets returned.
* Employee's Name: and Last Time: doesn't get returned.
* The beginning and end of the...
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.