Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Papa Bear

    Sending emails using CDOSYS

    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...
  2. Papa Bear

    cdosys alternative

    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...
  3. Papa Bear

    Update text of many labels

    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...
  4. Papa Bear

    Update text of many labels

    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
  5. Papa Bear

    Update text of many labels

    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...
  6. Papa Bear

    Update text of many labels

    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"...
  7. Papa Bear

    Have I got too many if's

    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...
  8. Papa Bear

    Checking input date agains a file of holidays

    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()...
  9. Papa Bear

    8.1 Proxy settings

    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.
  10. Papa Bear

    8.1 Proxy settings

    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...
  11. Papa Bear

    Viewing PDF files

    I am calling it from an ASP page, and thought it was the way I was calling.
  12. Papa Bear

    Viewing PDF files

    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.
  13. Papa Bear

    Viewing PDF files

    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...
  14. Papa Bear

    Printing Landscape

    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...
  15. Papa Bear

    copyfile some times works!

    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...
  16. Papa Bear

    copyfile some times works!

    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...
  17. Papa Bear

    copyfile some times works!

    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...
  18. Papa Bear

    Change a variable based on form submission

    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
  19. Papa Bear

    copyfile some times works!

    PS. I have also tried with another folder C:\Dell, and this does not work either. Steve
  20. Papa Bear

    copyfile some times works!

    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...

Part and Inventory Search

Back
Top