asp

How do I parse an XML file that's on a different web server?

I have a list of training dates saved into an XML file, and I have a little javascript file that parses all of the training dates and spits them out into a neatly formatted page. This solution was fine until we decided that we wanted another web-page on another sever to access the same XML file. Since I cannot use JavaScript to parse a...

Simple ASP/ASP.NET question. Getting a value from an HTML text box

I have this in my ASPX page: <input id="MY_LAST_FOCUS" name="MY_LAST_FOCUS" type="text" runat="server" /> In the Form Load of my VB.NET code behind I have this: Dim s as String = Request("MY_LAST_FOCUS") Why is s always empty even though the MY_LAST_FOCUS HTML text box has text in it? ...

removing special characters in asp

hi, I want to identify special characters and remove that special characters from my string or a word for example O'neil - i want to remove (') from this word. Muñoz, A. Patrick - i want to remove above character of n (ñ) similarly i want to remove all special characters from my strings. I want to do this in asp How can i do thi...

why does Integrated Windows Authentication fail when clients access off the network

My background is not with web applications so this problem is hard for me to explain easily. First I'll try to describe the setup. Client setup:-Only browser that is effected is IE 6-8 (Firefox, chrome, opera, and safari all work fine) -A user will try to access our web application from a company laptop that is not connected to our netwo...

Creating a content management system for dedicated use

I've been trying to create a specialised CMS, as none of the current open-source ones fit my needs for this project. I did my research on Google, tried multiple times but haven't got very far with this project. I'm trying to create a CMS for a TV/episode guide which is similar to this where records expire and delete from the database a...

Dynamic paging using divs and Javascript

I have a recordset loop that creates a table, and every 9 items it wraps a div around them so basically looks like: <div> <table>rs1, rs2 ----> rs9</table> </div> <div> <table>rs10, rs11 ----> rs18</table> </div> etc... Now, I want it so at first only the first div is showing and the others are hidden, but I have ASP loop that genera...

How to send email with more than one attachments in classic ASP?

how to attach more then one files and then send mail using ASP Technology.. Not with ASP.NET so please guide me.. and I want to send this mail when page load... so where should I write... Thanks in advance ...

Drop-Down List Filled with Images in ASP.NET?

How do I make a drop-down list that is filled with image items? I want to be able to see a list of images in the list with text titles, be able to select one exclusively, and have the text title appear in the selection box on top of the list. Does anyone know how this can be accomplished? ...

running an exe in asp

Hi, I have an ASP site(not asp.net, old asp) which executes some lines on the server-side. I want to run an exe in the server side code, but i'm not familiar with asp programming - the site I got was already built, i just need to add this little code and that's all. I think the ASP code is in VB as it's very familiar to VB and has the s...

Mail is not sent if Attachment is there in classic asp

i have written coding of mail..and its successfully delivers but if i have attached a file then it's not working. Coding.. strHost = "mysmtphostname" Set Mail = Server.CreateObject("Persits.MailSender") ' enter valid SMTP host Mail.Host = strHost Mail.Username = uname Mail.Password = password Mail.IsHTML = True M...

How to decompress/inflate an XML response from ASP

Can anyone provide some insight into how i'd go about decompressing an XML response in classic ASP. We've been handed some code and asked to get it working: Set oXMLHttp = Server.CreateObject("MSXML2.ServerXMLHTTP") URL = HttpServer + re_domain + ".do;jsessionid=" + ue_session + "?" + data oXMLHttp.setTimeouts 5000, 60000, 1200000, 1200...

asp code for upload data

hello everyone i have this code for uploading an excel file and save the data into database.I m not able to write the code for database entry. someone please help <% if (Request("FileName") <> "") Then Dim objUpload, lngLoop Response.Write(server.MapPath(".")) If Request.TotalBytes > 0 Then Set objUpload = New vbsUpload For lngLoop ...

saving excel content to a database through asp

Dim SQLStr SQLStr = "INSERT ALL INTO TABLENAME " for each file in filCollection file_name = file.name path = folderObj & "\" & file_name Set objExcel_chk = CreateObject("Excel.Application") Set ws1 = objExcel_chk.Workbooks.Open(path).Sheets(1) row_cnt = 1 'for row_cnt = 6 to 7 ' if ws1.Cells(row_cnt,col_cn...

Swap image with jquery and show zoom image

Hi there, On my site I have an Classic ASP page that shows 4 thumbnail product images that when clicked on swap the main image. This part is working okay. However, on the main image I'm also trying to use the jQZoom script. The zoom script works for the most part, except that the zoomed image always displays the zoom of the first image...

ASP, sorting database with conditions using multiple columns...

First of all, I'm still working in classic ASP (vbScript) with an MS Access Database. And, yes I know its archaic, but I'm still hopeful I can do this! So now to my problem: Take the following table as an example: PROJECTS ContactName StartDate EndDate Complete Mitch 2009-02-13 2011-04-23 No Eric 2006-10-01 2008-11-15...

oRecordset in ASP.NET mySQL problem

I have this mySQL code that connects to my server. It connects just fine: Dim MyConString As String = "DRIVER={MySQL ODBC 3.51 Driver};" & _ "SERVER=xxx.com;" & _ "DATABASE=xxx;" & _ "UID=xxx;" & _ "PASSWORD=xxx;" & _ "OPTION=3;" Dim conn As OdbcConnection = New OdbcConnection(MyConString) conn.Open() Dim MyCommand As New Odb...

Changing display style in a Page

I am using a DetailsyView which needs to have some fields hidden until there are some selections made. I was looking the way to do this via the following: Apply a class to the BoundField Controls that I need to hide. Change the display style to 'none' in the class programmatically in the OnLoad method. On the Prerender method check if...

How know if an iframe content is empty or not?

I need know if this page returns something, because this page have a login in ASP and my server is a PHP. ...

classic asp - response.redirect and response.write problem

Hi People, The problem if someone types into the search box a location it goes through to that location page but if they type in a location thats not found or they dont type anything in I need it to redirect back to the homepage (index.asp) and display "whoops we couldnt find that" in the search box (input field) This is the vb Ca...

connecting to database with asp in windows 7

I have windows 7 64bit and I can't connect to database it gave me http 500 error any one can help me ? also I have windows vista ...