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

    Building a dynamic SQL statement based on contents of an array

    Hi, After years and years of procrastinating I have finally decided to bite the bullet and convert my ASP classic code to PHP. Some bits are relatively straightforward but I am having real problems understanding how best to work with the results of sql queries. In ASP classic I can dump the...
  2. emozley

    Calling a function with a fileUpload form

    Hi I have a page which lets me upload files using HTML5/JavaScript. Files get uploaded after being dragged and dropped. This part is working very well. <!DOCTYPE html> <html> <head> <title>dnd binary upload</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">...
  3. emozley

    Sending email with ASP classic

    Hi Although the code is ASP I am posting in the IIS forum as the code works on my Windows 2003 server but not my Windows 2008 server with IIS7. My code is as follows: Set myMail=CreateObject("CDO.Message") myMail.Subject="Test Email" myMail.From="Ed Mozley <xxx@xxx.com>" myMail.To="Ed...
  4. emozley

    Outlook addin ItemAdd event not being triggered

    Hi, I wrote an Outlook macro to make sure an email was filed in the correct sent items folder. To distribute it to all staff it seems the best way to do this is to convert it to an Outlook add-in which I am attempting to do in Visual Studio 2010. The problem is that the ItemAdd event is not...
  5. emozley

    Reading RSS feed

    Hi I am trying to read an RSS feed with the following: Set xmlDOM = CreateObject("MSXML2.DOMDocument") xmlDOM.async = False xmlDOM.setProperty "ServerHTTPRequest", True xmlDOM.Load("http://www.bwbllp.com/events/feed/") Set itemList = xmlDOM.getElementsByTagName("entry") For Each...
  6. emozley

    GPO scripts best policy

    Hi I have a folder on a server where I keep all my software installs. So for Java for example I have the .exe and a little batch file which runs that .exe with various parameters. If I want to set up a group policy to install Java on all machines when they are turned on should I put a...
  7. emozley

    Building a menu with hyperlinks

    Hi, I have a table in my database that contains an id and a Title field. id | Title ---------- 1 Golf 2 Football 3 Rugby I want to list all the records but displayed in a table which is going to be my left hand menu. Each item on my menu needs to be a hyperlink which contains the id...
  8. emozley

    Inserting images with jQuery

    Hi I have found some code to insert images onto a canvas using jQuery. Now I am trying to figure out if it's possible to add extra info the the images inserted - width, height, title, id. Any ideas? var canvas = $("#c"); var c = canvas[0].getContext("2d"); var path =...
  9. emozley

    Putting a canvas in a div

    Hi, I have a page with 4 divs - a header, left, right and footer. Left and right are held in another wrapper div. I am trying to draw a grid in my right div but am not quite sure how to this. My code so far is as follows: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC...
  10. emozley

    Calling a function to format text C#

    Hi, In my .aspx page I have some code to display some data from a SQL query: <asp:Label ID="EventDetailsLabel" runat="server" Text='<%# Eval("EventDetails").ToString().Replace(Environment.NewLine,"<br />") %>' CssClass="upcomingevents_details" />...
  11. emozley

    Waiting for a div to exist before populating

    Hi The link is as follows. <span class="text1" style="cursor:pointer;" onclick="closeDetailsActivePopup(); editSignatureForm(<% = DetailsActive(0, i) %>); waitForDetailsPreviewDiv(); refreshDetailsSet(<% = DetailsActive(4, i) %>, <% = DetailsActive(2, i) %>); "><% = DetailsActive(5, i) &...
  12. emozley

    Waiting for a div to exist before populating

    Hi I have a link which runs an AJAX request which opens a DIV that contains an HTML form that contains other divs. I then run call a second javascript function which populates the form. What I have discovered is that unless I have some kind of pause the function that populates the form comes...
  13. emozley

    Imports query

    Hi, I am trying to import the functionality contained within the DbConn.vb section of code I pasted in. There is a line that says Namespace DataConnection Does this not create it? Thanks very much Ed
  14. emozley

    Imports query

    Hi, In my code file I have a line: Imports DataConnection The word DataConnection is underlined in green and it says it can't be found. I have a file called DbConn.vb which contains the following: Imports Microsoft.VisualBasic Imports System.Data.Odbc Imports System.Data Imports...
  15. emozley

    Ping to see if machine is on

    Hi I have a VB.NET program that audits the software on a PC and also detects it's operating system. I have found that if it tries to audit a PC that is switched off the program can get stuck so I have tried to ping a machine first and if it's unresponsive to move on to the next PC. Generally...
  16. emozley

    Running a procedure on a loop

    Hi I have got some code that returns a list of all applications installed on a PC. I am now trying to run it across all PC's on my network by loading all of my PC names into a SqlDataReader and then looping through that. What I am finding is that the procedure is being called before the last...
  17. emozley

    Multi line sql

    As simple as that! Well spotted thank you. Ed
  18. emozley

    Multi line sql

    Hi I am trying to execute a IF NOT THEN...BEGIN....END statement stored in a string in VB.NET but am not having much luck. It says there is an error at "BEGIN": strSQL = "IF NOT EXISTS(SELECT * FROM AppsCheck_Apps WHERE ApplicationName='" & InstalledPrograms(i).DisplayName & "' " _...
  19. emozley

    Building a folder tree from a database

    Thanks very much! Incidentally I had a go and got this far. It was an adaptation of a recursive search through physical folders. The fileSystem object had a subfolders property so I created a little function to do something similar. I have commented bits that were either not working or I...
  20. emozley

    Building a folder tree from a database

    Hi Chris, Sorry I've just re-read your message and wanted to clarify - when I said "building a folder tree" I meant displaying a tree in HTML with subfolders indented. Thanks Ed

Part and Inventory Search

Back
Top