Is there a way to dynamically add drill down lists and input boxes to the HTML page. For example if the user clicks in a button it adds a new line contains one drilldown list + two input text boxes?
We are storing images into the SQL database with the column type of "Image" using Access and it is storing all of the images as "OLE Object". I am trying to spit out the binary data of the Image part of the OLE Object to an asp .net page so I can view it as a jpeg image.
I have found many tutorials for setting the response.contenttype and then response.binarywrite the byte[] of binary data, but the problem is that the binary data isn't just the image, but rather an OLE Object which is the image plus a bunch of metadata. I need to somehow decode the OLE Object to extract JUST the jpeg image from it for outputting as a byte[] array.
I was working with filesystemobject in asp. When i give filesysstemobject.copyfile the system will be gogin searching indefelty and IIS will get crash.. Why this pblm occurs..
I would like to know if someone has already exchange ASP objects by SOAP with the SOAP Toolkit 3.0 ? Is-it possible ?Because, I have to connect, with ASP, to a Web Service and send to him array of objects.
I'm so glad i finally found a web development forum! It's been a while and it's not easy to find. Until someone recommended this site to me.
Enough about that... I really want to learn about COM objects and don't really know where to go to find out about such things.
If someone could direct me to the right place, i'd be extremely grateful.
I've already learned ASP and PHP (though i have to admit that i am not an expert and I don't think i'll ever be one), but i aim to be a "jack of all trades".
I've created a simple pop-up form that takes the required info and sends it via e-mail. Right now, I've got the From E-mail, the To E-mail, the Subject, and the TextBody. It works, and it's fine, but I'd like to spruce it up a little so I can make it more personalized. Can I add other objects? I've been searching for a general reference online that lists all my choices for ObjCDO, but can't find anything, and any ideas of my own ("FirstName", "Comments", etc.) have been shot down as not being supported.
I have stored a .gif and jpeg file in the database as the BLOB object. Now I am trying to create a report which displays that gif file along with another information. Is there a way I can display the BLOB objects on the page without having to use any crystal report tool or anything ?
I have a website with a large collection of pages. Many of these dynamic pages use multiple objects created via the Server.CreateObject method. There are filesystem objects, recordsets, browsertype objects, you name it. I need a script that will loop through all of the objects and Set them = Nothing to destroy them.
I imagine the script would be somewhat like this.
For Each obj In ServerObjects If IsObject(obj) Then Set obj = Nothing End If Next
I created a label, a textbox and a button when i build the webform and try to see it with the explorer it only show the label
The other 2 objects (textbox and Button) at the Visual Basic.Net editor at the properties are visible and in the code i have <asp:TextBox id="TextBox1" runat="server" Width="122px"></asp:TextBox>
I've read that you shouldn't store objects in Session variables. I've read these reasons: - The object takes up memory that may not be freed until the session times out. Better to create the object only when you actually use it. - Causes poor performance because the thread that created the object has to service all requests for it. Assuming I can live with the memory and performance implications (a big if, but let's assume it for a minute), what other reasons are there?
I have a problem with including an object in my asp page. I�ve translated an algoritm I found that was written in javascript and it needs a method, floor(), from System.Math to work.
in javascript you can just write Math.floor(x+1) but it seems asp doesn�t automatically include that Math object. It�s a little weird since the method Round() can be used withour any includes of any kind and thats a part of the Math object!
Can i get any asp sample codes to retreive photo's from access database For instances:To get codes on your pages Response.write...... similiar for images.
I have scripts on a server that awhile back had new option/server packs installed (to accomodate security and net framework issues) and my classic asp date references "Date()" and "Now" will sometimes flip flop the formatting of the date from 10/3/2003 to 3/10/2003 (european mode).
What would be a good way to use an include file to perhaps an asp.net date object, or where would I find a good reference to using an aspx file to calculate and display the date properly so that I can avoid this flip flop snafu of the date formatting.
ISessionObject is created each time When any ASP Page is started executing and destroys on the page ends (not session end) while the session state (data) is originated already somewhere from where ISessionObject fetches.
When user Request another page the ISessionObject is again constructed and the data from original location is loaded from there.Same with IApplication type object & IScriptingContext object.
I've a client-server application written in Access. Some of the codings make use of OLE so that the Access application creates a Word document on the fly and fit in relevant values.I'm examining if using ASP pages can do similar function (to create and manipulate OLE objects)?Anybody knows if ASP can do?
I'm creating a small program in Dreamweaver. The first screen is a login screen that contains a form, which asks for the users Email address and a password. The form is called 'login' which contains 2 fields, email: (called 'login') and password: (called 'password').
Anyway, to cut a long story short, I've managed to do all the authorisation stuff. A back-end database which contains a table called 'users' has all authorised emails and passwords. So when a user logs in, the login criteria is checked against the email/password in the Microsoft SQL database table, if it matches, they are redirected to the user account page.
At the top of the user account page I want it to say "Welcome! <Insert user email address here>" I know it may have something to do with session objects which are passed on but I have no idea how to program it.
What I'm trying to do is take a really long text file and just pull out key lines in the file based on the first word on the line to create a new text file with just the lines I select for written.
I'm comfortable with the opening and creating textfile part, but how would I scan through the source file and only readline when I hit line that starts with a keyword, then append that to the new file and keep going until the next keyword or file end? That's what I can't figure out.
I am calling a variable from flash to my ASPpage. the variable is a string. I do all the variable substitution in flash so all that is outputted to ASP is the string to a file on the server.
All variables pass (according to flash) but the ASP page just hangs. Code:
I have a website with a large collection of pages. Many of these dynamic pages use multiple objects created via the Server.CreateObject method. There are filesystem objects, recordsets, browsertype objects, you name it. I need a script that will loop through all of the objects and Set them = Nothing to destroy them. I imagine the script would be somewhat like this.
For Each obj In ServerObjects If IsObject(obj) Then Set obj = Nothing End If Next .
I need to dynamically include documents stored in my own website. The website is coded in ASP. As far as I know there are two common options: File Sytem Object versus and the MSXML Objects. Which one of the two would be less of a resource hog for IIS ?
the documetns I want to include are stored in the server where the website resides, not on another webserver. Otherwise I'd have no choice but to use msxml.
I am on page page1.asp and I have a reference to an ASP Vbscript object. I need to use Server.Execute("page2.asp") and want to pass a reference to this object using a session variable. Code:
I have a password system on my site using session("login") = "" to assign a username that sticks with them once their password, etc. has been verified.
This session object then disappears as soon as they change page, I think because the lengthy free host's url is masked by a swish paid for one.
IE displays a privacy report icon at this point, presumably objecting to the fact that a cookie is being placed from a site who's url is not in the address bar.
I need to ba able to update records of my database via a user-input form. I have some scripts that uses the Persits objects, such as PersitsUpload.1, that allows to do that.
But, since I am hosting my programs somether that the server does not have persits objects my program fails. What is the equivalent PersitsUpload.1 objects in ASP which allow upload, edit/delete/create new records from user inout via form? Or is there a better way to do this?
I am using the below code to try and make sure a file exists before it is uploaded. When the below code runs and it does the fso.FileExists check, if strValue equals C:TestTestFile.txt, is the code looking on the web server or is it looking on the users machine to see if the file exists?
set fso = createobject("Scripting.FileSystemObject")
for each strValue in Request.Form("lstAttachments") If fso.FileExists (strValue) then Found = true Else Found = false End if next
The reason I ask is I assumed the code could look on the user’s machine. Is this possible? If not, I assume the logic a programmer needs to follow is first upload all files that need to be uploaded and then do the exists check. Is this correct?