Hi,
I have a Windows 2k3 Web Edition server (dedicated server with a hosting company) running a few sites some of which send auto generated emails to customers. I occasionally get delivery failures for these messages and spotted a clue in one of them today - the message was rejected with the...
Paul,
Try encoding your date variable using the following function before passing it to SQL:
function EncodeDateForSQL(dDateVar)
EncodeDateForSQL = "'" & Day(dDateVar) & "-" & _
MonthName(Month(dDateVar), true) & "-" & _
Year(dDateVar) &...
Hi,
I'm writing an NT service in VB6 (using the NTSVC.ocx control). The service installs, starts and stops fine, and I've got a user interface for settings which is accessed via an icon in the system tray which again works fine. The problem I have is that when the workstation logs off...
Joe,
Try Request.ServerVariables("REMOTE_USER") - I had a few problems when trying to pick up user NT accounts and this was the only one that worked!
Regards,
Ben
Eric,
You need to double up the apostrophes in the string and then they will be encoded properly. Try the following:
value = <%= "'" & Replace(Session("PastCoName1"), "'", "''") & "'" %>
Alternatively you could do this when storing the...
Hi,
Try this:
(asp code....)
%>
<script language=JScript>
document.title='<%= strTitle %>'
</script>
<%
(more asp code....)
where strTitle is the title you want to use, defined somewhere further up in your code.
Gary,
You will only need to set up one DSN on the server. Re-create the DSN under System DSNs in the ODBC Control Panel, ensuring that the database you are using is on the same server or one networked to it. As the ASP script is run on the server and not the client you will not need to make...
I installed Win2K professional as a second OS alongside Win ME, and so had to re-install software I wanted to use in Windows 2000, however some software (such as MS Office) came pre-installed on my pc and I didn't get the installation disks. Does anyone know of any way that I can register these...
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.