Hi, Thanks. I will search for some .NET code. I figured it would be the same, but Visual Basic .NET isn't the same as Visual Basic 6.0.
Thanks, Eddie ----- Original Message ----- From: "Jeff White" <[EMAIL PROTECTED]> To: "CLI Users" <[EMAIL PROTECTED]> Sent: Friday, April 01, 2005 3:03 PM Subject: Re: [cli-users] mod_aspdotnet + Apache 2.0 - Does not parse ASP.NET pages (configured) > > From: "Eddie Kukiela" > > > Here is the source code: > > > <%@ Page Language="VBScript" > > Debug="true" %> > > Dim Connection > > > > Connection = Server.CreateObject("ADODB.Connection") > > Connection.Open("DSN=master") > > > If Connection.Errors.Count = 0 Then > > Response.Write("Connected to DB okay") > > End If > > %> > > The above code is ASP not ASP.NET. > > Search the internet for ASP.NET > database examples in VB.NET. > > http://www.vbdotnetheaven.com/ > http://www.vbdotnetheaven.com/Code/May2004/dbexplorer_vb.asp > > Then try again with mod_aspdotnet. > > By the way, Apache can run the above > code but not written like the above ASP > example. > > You need to use CGI and Windows Scripting. > > Learn to Script > http://www.microsoft.com/technet/scriptcenter/learnit.mspx > > Find a Script > http://www.microsoft.com/technet/scriptcenter/findit.mspx > > Jeff > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]