Hi All
One of my pages sends invoices and letters by email using CDOSYS. Most are sent successfully, but occasionally the page hangs. I have narrowed the reason down to two causes. either the email address is not liked, normally a Hotmail address, or I have sent too many in a specific time...
Hi All
I am using cdosys to send emails to customers, and up to a couple of months ago, very successfully. These are not junk, but invoices and information individually formatted using html. I have now hit two problems. I understand the reason for these restrictions i.e. to stop bulk emailing...
Hi All
I now have this working. I used the following code.
Col = Col + 1
Dim myLabel As Label = TryCast(Master.FindControl("ContentPlaceholder1").FindControl("lblHead" + CStr(Col)), Label)
myLabel.Text = MyMenu.GetString(4)
As you can see, I was trying to find a control within a contents...
I forgot to say, the error is occurring on the line "myLabel.Text = MyMenu.GetString(4)" and the error message is "Object variable or With block variable not set. "
Steve
This is the full listing of my mark up code
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="ShowVanMenu.aspx.vb" Inherits="htdocs_Lawn_LawnProg_ShowVanMenu" MasterPageFile="Lawn.master" %>
<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<h3> <asp:label...
I have 10 labels in my mark up as follows
<asp:Label ID="lblHead1" runat="server"></asp:Label>
<asp:Label ID="lblHead2" runat="server"></asp:Label>
<asp:Label ID="lblHead3" runat="server"></asp:Label>
<asp:Label ID="lblHead4" runat="server"></asp:Label>
<asp:Label ID="lblHead5"...
Hi All
One of my pages stopped working today with the error
Active Server Pages error 'ASP 0127'
Missing close of HTML comment
/Lawn/lawnprog/Print_invoices.asp, line 497
The HTML comment or server-side include lacks the close tag (-->).
I removed code until the page worked and then added...
Hi All
What I am trying to do is output a message "Holiday" immediately after entering a date using the following JavaScript.
<script type="text/javascript">
var noHols = "<%=iNoHols%>"
function datePickerClosed(dateField) {
var HolArray = new Array()...
Hi
Sorry it took so long to answer you. Had a power supply fail and then a holiday :)
Don't use any register cleaners.
Login with a windows user.
Created a new windows user and that works fine.
Thanks for your help.
Hi All
No problems with windows 8. I quite like it. Upgraded too 8.1 and now get the following problem.
All browsers and email work except IE11 metro. If I go to Charms/Settings/Change PC Settings/Network/Proxy I find that Auto detect is off and Manual settings is on. In the field Address I...
Hi
I am currently running under win 8 pro, using i.e. 10, but I have also tried using XP with chrome and other browsers. My PDF file was created using Word 2007 and saved as a PDF. Once I have opened the above file, all hyperlinks work and I can jump to "updatehistory" as shown above.
Hi All
For some time now, I have been using the following code to open an htlm help file at a certain point
<a href="LawnHelp.htm#updatehistory" target="_blank">What's New</a>
I have now, for various reasons, converted this to a PDF file which I have uploaded. I now use the following code...
I have looked for weeks for an answer to this one. One of my pages shows customer name and address, which the users can then print. As most printers accept envelopes with short edge in first, I want to print landscape. I know I can set the orientation in browser setup, but I am trying to avoid...
Thanks Chris and BDC
My Mistake. Just found out this morning that I am accesing the C drive ON THE SERVER AAAAHH!
All the examples I have read show the C drive so I just presumed it was my PC it was meaning. Sorry for all the trouble I have caused you.
I will have to have a rethink. Just...
Hi Chris
A bit of back ground. I originally created this site for a flower wholesaler in HTML. It runs on a hosting site. (Fasthosts). One of the pages was for special offers, which will be updated quite regularly. I made this page ASP which reads an sql database so he could update the text...
Hi Chris
Don't understand your question. This site is still under test and I am the user. I am trying to upload gif files from my C drive to the server so they appear on the web page. This way, when a new file is uploaded, the web page changes. Eventualy, a user will be able to update there own...
Hi
Have you found the answer yet?
I presume you are going to call vars.asp from a number of places, say from1, from2, from3. If the variable name in each calling asp is the same, say sVar, then simply say var1=request.form("sVar")
Hope thathelps and I am not weeks too late. :-D
Hi All
I am trying to use copy file to upload some files. If I copy from C:\Windows, the copy works. But if I try from a folder called C:\Joda, It doesn't. This is some simple test code I have setup.
<%
dim SourceFile, DestFile, DBconn, fs, fo
Set...
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.