Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
M

mjay2004

@mjay2004
About
Posts
5
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Javascript ASP problem
    M mjay2004

    Thanks for the help I got rid of the js file and just embedded the javascript into my asp page in the end and it works great.

    Web Development javascript data-structures help question

  • Javascript ASP problem
    M mjay2004

    I need to populate this javascript using asp this is my code var ImageList = new Array( // Name, URL ["fhfg" , "logo.jpg"], ["Logo 2 Over", "logo_over.jpg"] ); Its in a .js file is there any way to input asp code in a js file? or something like that.

    Web Development javascript data-structures help question

  • Microsoft.Jet.OLEDB.4.0 vs. Microsoft Access Driver
    M mjay2004

    I've been getting a problem with asp error 0113 I know you can change the Server.ScriptTimeout but i was wondering if theres a difference when using these two drivers and if this could be also making my code get errors??? heres the codes for two simple pages which is best to use? <%@LANGUAGE=VBScript%> <% Dim adoCon Dim rs Dim strSQL Set adoCon = Server.CreateObject("ADODB.Connection") adoCon.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("jet.mdb") Set rs = Server.CreateObject("ADODB.Recordset") strSQL = "SELECT jet.* FROM jet" rs.Open strSQL, adoCon %> <% = rs("Text") %> <% rs.Close Set rs = Nothing adoCon.Close Set adoCon = Nothing %> or <%@LANGUAGE=VBScript%> <% dim Conn, sConnection, rs Set Conn = Server.CreateObject("ADODB.Connection") sConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & Server.MapPath("jet.mdb") & ";" & _ "Persist Security Info=True" Conn.Open(sConnection) set rs = conn.Execute("SELECT * FROM jet") %> <% = rs("Text")%> <% rs.close Set rs = Nothing Conn.close Set Conn = Nothing %> Thanks

    Web Development help visual-studio sysadmin security question

  • Changing Date/Time
    M mjay2004

    Could anybody help me... Im trying to get the time +23 hours i've got this so far but i don't need the date just need the time <% 'Get the current date/time Dim dtNow dtNow = Now() 'Will display the date/time 23 hours from now Response.Write DateAdd("h", 23, dtNow) %> Outputs 10/03/2005 16:11:43

    Web Development help

  • Request QueryString Problem??
    M mjay2004

    Hi, i'm trying to attach my querystring to some email script so that it attachs the image and emails it. My querystring would be /send.asp?name=images/logo.jpg and heres my script <%@ Language=VBScript %> <% Dim name name=Request.QueryString("name") %><% If Len(Request.Form("txtEmail")) > 0 then Dim objMail Set objMail = Server.CreateObject("CDONTS.NewMail") objMail.From = "info@4guysfromrolla.com (4GuysFromRolla.com)" objMail.Subject = "Email attachment demo" objMail.AttachFile Server.MapPath ("name") objMail.To = Request.Form("txtEmail") objMail.Body = "This is a demo on sending an email with an attachment." objMail.Send Response.write("Mail was Sent") 'You should always do this with CDONTS. set objMail = nothing End If %> **Enter your email address:** "> Any help would be great thanks

    Web Development help com sysadmin tools question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups