asp

Do we have any asp vbs complete for vim?

I see a lot of complete for gvim such as php, c , css, but I can't find any complete form aspvbs ...

Can I make a PowerPoint file expire from browser cache?

My website utilizes ASP. I have a link to a PowerPoint file within my website's file structure. The file is replaced every day with an updated version, but when users click on the link, the browser displays the cached version if they have visited before. How can I ensure that the updated version is loaded without asking the user to clear...

How can I make an Access database readable from the web while it is open in MS Access?

I have a website using ASP with an MS Access DB back-end for storing mainly blog posts. My company has a very long software approval process so I am stuck with what I have (i.e. I must use Access). I use server-side javascript to retrieve posts stored in the database using OLEDB calls. Everything works fine except that I cannot read any ...

Setting webserver my site in ASP

I need to set a web server for running my ASP site.(Windows XP) I placed my compleate site in c:inetpub ->wwwroot. Sorry for the delay.. IIS is already there but below error is showing. Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Driver Manager] Data source name not found and no default driver...

Regex to match last space character

Hi there, I need some help. I am looking for a regex that would match the last space character in a string. I am using JavaScript and classic ASP. I have a long string of text which I trim to 100 characters. I would like to remove the last character to avoid a spelling mistake if the trim cuts a word due to the 100 characters limit. re...

C# run Javascript from button click

I have a button on my .aspx interstitial page. When I click it the onClick event fires off and it does a bunch of validations in the code. I have a javascript function that I need to call/run AFTER these validations are performed. This javascript function closes the interstitial page. How can I call the javascript function from my C#...

Is it better to have client (Javascript) processing HTML rather than C# processing HTML?

We are in the process of building a huge site. We are contemplating on whether to do the processing of HTML at server side (ASP .Net) or at the client side. For example we have HTML files which acts like templates for the generation of tabs. Is it better for the server side to get hold of content section (div) of HTML load the appropri...

ASP/VBScript ServerXmlHttp Encoding

I'm pulling an RSS feed from a remote location using ServerXmlHttp: Dim httpRequest set httpRequest = server.createObject("Msxml2.ServerXMLHTTP.6.0") httpRequest.open "GET", "http://www.someurl.com/feed.xml", false httpRequest.send() response.write httpRequest.responseXML.xml However there must be encoding issues somewhere along the l...

Passing data to and from server using XML

I need to design a web site in which data is passed to and from the server using XML. I got it how to transform data from database to XML and then to HTML, but I am not able to find how to pass data from client to server using XML. My webpages are designed using ASP. Is it possible to do pass data from client to server using XML. What ar...

HTML to PDF conversion from hosted ASP classic?

I need to convert HTML to PDF on the fly from a hosted ASP classic page. WkHtmlToPDF is great, but unfortunately requires installation on the server which is not possible in this case. Is there something out there that would do this? ...

Shared data in an ASP.NET application

I have a basic ASP.NET application which is used to request data which is stored on disk. This is loaded from files and sent as the response. I want to be able to store the data loaded from these files in memory to reduce the number of reads from disk. All of the requests will be asking for the same data, so it makes sense to have a si...

How can I verify a PayPal ID?

I have an application writted in ASP with a simple form. The users fill up the form with their PayPal ID to receive money exchanging their points. I want to verify the PayPal ID before they submit the form using some kind of http request. I have looking into the PayPal API but i didn't find anything. Thanks. ...

Sending a file from my application (Indy/Delphi) to an ASP page and then onto another server (Amazon S3)

I have a need to store files on Amazon AWS S3, but in order to isolate the user from the AWS authentication I want to go via an ASP page on my site, which the user will be logged into. So: The application sends the file using the Delphi Indy library TidHTTP.Put (FileStream) routine to the ASP page, along with some authentication stuff ...

drop down not retaining selected value after post back

I'm using classic asp, I have a drop down list that the user selects and then presses submit. After they press submit the drop down list is going back to the default value instead of what they selected. Is there anyway to keep the state of the drop down between post backs instead of it going back to the default? Can post code sample if n...

Error while running ASP site

I have set Data Source(ODBC) for running ASP Site in my local Computer selected Microsoft Access Driver. Now I can run the whole site with out error.But If i apply leave then it will show an error. Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query. /e...

It is possible to upload a file with ajax and percent feedback to an iis 6 server with plain asp support?

Shame on me, but i have a plain asp iis6 server and they want an ajax upload input with percent upload feedback, what should i do? do i ask for .net capabilities? any guidelines or some advice? Thanks for advance ...

asp mvc unit test HttpContext.Current.Cache?

Here is the first part of my controller code: public class ControlMController : Controller { IControlMService _controlMservice; public IList<User> Users { get { if (System.Web.HttpContext.Current.Cache["users"] == null) { System.Web...

How to make <asp:Menu and <asp:DropDownList on one line ?

I've tried this : <div id="xDiv" align="left"> <div id="divX" runat="server" style="margin-left:40px; width: 650px;" align="center"> <asp:Menu ID="Menu3" runat="server" Orientation="Horizontal" Width="100%" StaticSelectedStyle-CssClass="StaticSelectedStyle" Height="52px" ...

How to build multi language website (English and Arabic)?

I have a website, its content is in English. I want to access my website in two languages (or more) English and Arabic. In this case, how do I build my website with these two languages? Can anyone give an example for this or any reference? ...

How to show ToolTips on Values of DropDown Box in Classic ASP?

Hi, Is it possible to show Tool Tip on DropDown Values befor selection one from DropDown, using Classic ASP? Please let me know if there is any solution. Thanks, Suman. ...