Objects Vs. Classic

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.

View Replies


ADVERTISEMENT

Objects In ASP

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..

View Replies View Related

ASP Objects

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.

View Replies View Related

COM 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".

View Replies View Related

Objects Set To Nothing

anyone have better information on IIS 5.0 memory behaviour on setting objects to nothing?

Connections and recordsets of course should be set to nothing, but should for example XMLNode object be set to nothing?

View Replies View Related

Com Objects

I have a object which I declare as a application object "gObj".

I need to use "gObj" with all sessions. I need "gObj" to have access based on the user's id. Is this possible without creating multiple gObj's?

Code would be something like:

Application_OnStart
set gobj = Server.Create( "someDll" )

gobj.uname = "somename"
gobj.port = 1234
gobj.pwd = "pwd"

View Replies View Related

Different Objects For ObjCDO. ?

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.

View Replies View Related

BLOB Objects

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 ?

View Replies View Related

Objects Events

I build a ATL object that is used in an ASP page.
Can I insert events inside this ATL object?
ATL is builded in C++

View Replies View Related

Destroying All Asp Objects

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

View Replies View Related

Not Visible Objects

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>

What can I do that

View Replies View Related

Storing Objects

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?

View Replies View Related

Asp Built In Objects

1) can any one tell me what are built in objects in ASP 3.

in asp 2 it was
request
response
session
application
server
object context object

2)what are asp variables ?

View Replies View Related

Import Objects In Asp?

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!

So... How do I do to access this floor() method?

I tried to write:

<%Imports System.Math %>

but it doesn�t seem to do the trick.

View Replies View Related

How Can I Retreive Ole Objects From DB

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.

View Replies View Related

Creating Objects

Set obj = Server.CreateObject("")

can the above statement be used to create any objects other than a recordset?

View Replies View Related

Intrinsic Objects

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.

View Replies View Related

Create OLE Objects

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?

View Replies View Related

Display Objects

I want to have a little box on my asp login panel. I want to be able to display the following

Number of databases
Number of tables
Number of users (logins)
Time/Date of last update
Last user logged in

How can I go about doing this? What code do I need?

View Replies View Related

Session Objects

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.

View Replies View Related

Textstream Objects

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.

View Replies View Related

Server Objects In ASP

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:

View Replies View Related

Destroying Asp Objects

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 .

View Replies View Related

FSO And MSXML Objects

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.

View Replies View Related

Lifetime Of ASP Objects

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:

View Replies View Related

ASP Classic

I have just moved an ASP Classic website to a new hosting company that has a
number of .NET components available. The website works fine after the move
with one exception. We were creating PDFs using ASPPDF for ASP but now it
looks like only ABCPDF.NET is available.
My knowledge of ASP.NET is very limited at this time and I am planning on
converting the site to ASP.NET soon but I really need to get the PDF working
as soon as I can.

View Replies View Related

Classic ASP And VSS

I am trying to add a Visual InterDev project to Visual Source Safe 6d.

Normally I just go up under Project | Source Control | Add to Source Control
and I can load the project to VSS but now when I try to add the project to
VSS I get the error:

"Cannot establish source control for the Web Application. The server does
not have a source control system installed on it, or the user name is not
recognized."

I am on a workstation which has VSS installed. VSS is also installed on the
web server istself. I atttached to the VSS database as "admin" and under
my own user name but I continue to get the same error.

What could be wrong? Perthaps I am using the wrong version of VSS. Is
version 6d compataible with Visual InterDev? Or do I need an earlier
version?

View Replies View Related

Classic ASP

I am developing on WXP SP1 with VS.Net 2003 and VS6 installed. I cannot get
my localhost webserver to render any classic ASP pages. ASP.Net and standard
HTML works.
If I request an ASP page from localhost the browser hangs for several
minutes before just doing nothing. The status bar says the website is found
but nothing is ever downloaded.
I have verified the mappings in the IIS manager and I have re-registered the
ASP.DLL. I am now at a complete loss.

View Replies View Related

Classic ASP And IIS 6.0

The following code works on IIS 5.0 on a Windows 2000 server.

Response.Clear Response.ContentType = "application/rtf" Response.AddHeader
"content-disposition", "inline;filename=letter.rtf" response.write l_strBuffer

But on IIS 6.0 running on Windows 2003 server we get an error.

"Internet Explorer cannot download <file name>.
Interner Explorer was not able to open this Internet site. The site is
either unavailable or cannot be found. Please try again later."

After increasing the AspBufferLimit attribute in the metabase.xml, we were able to resolve the issue.

Is there any other way to resolve this without modifying the metabase.xml?

View Replies View Related

Classic ASP In VS.net

Can you develop Classic ASP pages using VS.net?

View Replies View Related

ASP Classic

I want to rename the file which i just uploaded it on the server.I want the code that do this.

View Replies View Related

Classic ASP And IIS 7

I'm migrating a classic ASP site from IIS 6 to IIS 7 and I'm finding some minor problems that I'm assuming are IIS 7 config related. The problem I'm concerned with right now is that when I run the asp pages, they have lost all their image and CSS links. Functionality is fine (that is I can query the DB, update records, etc) but all graphic features have been lost. how to solve this issue?

View Replies View Related

Blocked Session Objects

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.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved