I'm trying to use ASP to write a mailto: link that will compose the entire email from form data. The ASP code is pretty simple:
<%@LANGUAGE="VBSCRIPT"%>
<%
Dim strEmail
strEmail="Name: " & Request.Form("name")
strEmail=strEmail & "%0DAddress Line 1: " & Request.Form("address1")...
Problem resolved. The line that reads:
sourceTbl.Rows.Add(charge())
Should've read:
sourceTbl.Rows.Add(charge(0), charge(1), charge(2), charge(3), charge(4), charge(5), charge(6), charge(7), charge(8), charge(9), charge(10), charge(11), charge(12), charge(13))
I thought you could just pass the...
I'm writing an app to parse a device log file and insert the data into a database. As it processes new rows from the device I'd like to simply display them on screen in a datagrid. At first i was trying to build the grid on the fly, but everything seemed to say that it would be easier to build a...
...but if you meant to use "elseif" (without the space) it doesn't."
And I did. As well as muttering off into the distance when I realized I was stumped by a misplaced space. You guys rock. Thanks.
Yeah, the includes are just reusable chunks that build the default connection and recordset(s). I'm using the same includes in other pages w/o issue. And I double checked them just to be sure.
Okay, I'm stumped. This is real simple stuff, but I can't find the error and need another pair of eyes. Getting error "Microsoft VBScript compilation error '800a03f6'|Expected 'End'|/it/timesheet2.asp, line 110" Line 110 is the line at the end terminating the ADO connection. I've been looking...
Okay, I'm stumped. This is real simple stuff, but I can't find the error and need another pair of eyes. Getting error "Microsoft VBScript compilation error '800a03f6'|Expected 'End'|/it/timesheet2.asp, line 110" Line 110 is the line at the end terminating the ADO connection. I've been looking...
Beowulf005,
What exactly are you trying to accomplish? Do the general login users need access to network resources (files/printers) or just connectivity (to see the Internet)? If it's the former, the brute force solution is to create a share just for the general login's documents, and make sure...
I have two PC's with internal PCI WiFi cards, maybe 10 ft from an access point on the other side of a cinderblock wall (AP2). I also have another access point a distance away (AP1) that is visible to network cards even though it supports another area. For these particular PCs, AP2 is usually at...
I'm thinking about having a custom mobo made and I realized that there were a couple of interconnects that I'm not clear on. Any help would be appreciated.
1) I need to have an imaging sensor integral to the finished machine. So assuming that I spec out a CMOS "camera on a chip" I've...
Win 2K, Office 2K SP1, P4 Compaq Deskpro with 256MB RAM and 15GB free on C:, running on a NT LAN/WAN, certified 100M 10BT all around. Outlook will just hang every couple of minutes. I checked the app and/or error logs, nothing. CPU is almost idle during the hang and memory usage doesn't...
Just finished upgrade from Exchange 5.5 to 2K. Having a problem with 1 machine, but of course, it's the boss's machine. Win 2K, Office 2K SP1, P4 Compaq Deskpro with 256MB RAM and 15GB free on C:, running on a NT LAN/WAN, certified 100M 10BT all around. Outlook will just hang every couple of...
I forgot to mention you'd need to change your function or sub to accept an argument:
public function buton(controlname)
msgbox controlname
'i.e. display the name of the clicked button
end function
Try this:
Create the form in code. Then use the CreateEventProc method to assign the following code to an event of each command button:
Call yoursub(Me.ActiveControl.Properties("Name"))
This will cause whatever event you assign it to to fire the name of the control to the subroutine...
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.