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...
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">...
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...
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...
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...
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...
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...
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 =...
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...
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" />...
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...
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
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...
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...
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...
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 & "' " _...
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...
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
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.