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 Chriss Miller 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: *

  • Users: Papa Bear
  • Content: Threads
  • Order by date
  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

    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"...
  4. 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...
  5. 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()...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. Papa Bear

    javascript variable in asp

    Hi All I have the following script in an ASP page which is activated by a button onclick. function Updatedate(var1,var2) { var D1 = Date.parseExact(document.getElementById("DateID"+var1).value,"d/M/yyyy"); var n = <%=sysRS("gap"+var1)%>; var D2 = D1.addWeeks(n); var D3 =...
  11. Papa Bear

    Space disappearing in Cookie

    Hi All I am trying to store a string in a cookie with a space in i.e. "abc 123". When I retrieve the string, the space has gone i.e."abc123". This is the code used to store. <script type="text/javascript"> function BlurName() { alert("hello" + document.getElementById("IdSearch").value)...
  12. Papa Bear

    Connecting to mySQL database

    Hi All I have got a web site running OK for 3 years using a DSN to connect to a mySQL database. I am no tying to connect DSNless, but get "500 - Internal server error." NO other message. Can any body see what I am doing wrong! The second line worked untill yesterday when my hosting company...
  13. Papa Bear

    Adding all system fonts to a drop down select box.

    Hi All I want to allow my users to select a font from a list of available fonts on there system. The selected font will then be stored on a database for future use. I appreciate the list will be quite long, but will not be used very often as the stored name will be used in a style statement. I...
  14. Papa Bear

    Emailing some text with a checkbox

    Hi All I have set up a string filled with HTML code including a few checkboxes. The reason I have used a string is that I can response.write it so user can see it, then if required I can send an email using this string in HTMLBODY parameter. (jMail) here is a snippit of code. if...
  15. Papa Bear

    Putting a variable in a style statement

    Hi All I have the following line in an ASP page <tr><td style="text-align:center;font-size: xx-large;color:green"><%=CompanyRS("Company_Name")%></td></tr> This prints the company name at the top of an invoice. What I would like to do is replace the word 'Green' with...
  16. Papa Bear

    Adding gif and jpg files to an email.

    Hi all I am trying to send invoices by email. The main text works fine by building up an HTML string using all the fonts and spacing required. My problem is inserting a company logo at the top. It is being sent as an attachment and not inserted into the body of the email. Extracts of the code...
  17. Papa Bear

    Output to WORD

    Hi All I am outputting a report to word using the comand line DoCmd.OutputTo acOutputReport, "stdletter", acFormatRTF, "stdlet.rtf", -1 stdletter being a report with the customer address at the top then "Dear name" two lines down. This works fine except that when the user moves the cursor...
  18. Papa Bear

    Encrypt

    Is there an easy way to encryp/decrypt a string in access 2000.
  19. Papa Bear

    Get Computer Name

    How can I get the computer name in access 2000. I want to stop poeple copying my program onto another computer. Or do you know any other better way.

Part and Inventory Search

Back
Top