Drawing Page Properties

Is it possible to grab the title of the page and echo it somewhere in your asp document? Does ASP have a premade variable to grab this?

View Replies


ADVERTISEMENT

Page Properties

I ve probably a very simple question but i really can't find an answer. I d like to know in an ASP page what is the URL of the page, the full URL invoked by the client to get the page. I looked in the server object but i did not find.

View Replies View Related

Drawing

I wish my asp code to automaticly draw a line betwen two pixel on my photo in asp code, is it posible and how?

View Replies View Related

Drawing Graphs

I have managed to succesfully return data from a database with an SQL SELECT string, and now I was wondering if there is a simple way to graph the data?

Does ASP have any objects that will help out with graphing, or would I have to to draw it out manually?(if that could be done). Or should I not try to do it myself and look at a 3rd party solution for graphs?

View Replies View Related

Drawing Graphics/images

Looking around, theres a bunch of pre-made utilities out there for ASP that make graphs and charts. I guess they often just write binary image data on the fly, and they output the image. You can even say something like <img src="blah.asp">.

My problem is, I want to write images on the fly, but I dont need graphs or charts. I just want to have custom images created based on database data.

So my question is what are the underlying methods that these graphing utilities use to write this binary data? Can I write my own utility? I know PHP has a library to do this exact thing (GD Library). Does anybody know of an ASP equivalent?

View Replies View Related

Visio 2002 Drawing

I have a web application built in ASP 3.0 that uses data from SQL Server 2000 to generate Visio 2002 drawings, save the drawings to a file on the webserver and then send that file to the browser. We've successfully installed and ran the application with Windows 2000 server, Windows Server 2003 (Web Edition and Enterprise), Windows 2000 Professional, and Windows XP and with SQL Server 7 and 2000.

Now we've attempted another installation (IIS on Win2K AS and SQL 2K on Win2K AS) and we get no response from Visio. The Visio process is being started on the server, but it appears as if nothing happens after that. The administrator of the web server cannot end the process through the task manager either, which is rather puzzling. The script also does not seem to be timing out, even though we have a script timeout set for 30 seconds in the global.asa file.

View Replies View Related

Aspx Return System.drawing.image

I have aspx page, and this page go to another aspx i have that this second aspx return a image, how the first page can received the object system.drawing.image.

My code is that:

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
Response.Buffer = True
Dim lImage As System.Drawing.Image
lImage.FromFile(Request("Path"))
Response.End()
End Sub

It's OK?

And how I can view the image in the first page?

View Replies View Related

How To Show A System.Drawing.Bitmap As An Image In ASP

I have a System.Drawing.Bitmap object in memory, now i want to show it as a normal picture in my ASP web page.

View Replies View Related

Image Properties: How To Get,

I am wondering if it is possible to get more information on files then just
name, date, size etc..

Specific, I want to know what dimension (x and y pixels) an images has.

Can this be done by ASP. Do I need a component? Are there free components
out there?

View Replies View Related

Retrieving Url Properties

Is there a way in asp to retrieve part of the URL and use it

say the url was

http://localhost/site/craig

is there anyway of retrieving the word craig so to use it in the page

This is because i could have other addresses that are for example

http://localhost/site/Jon

where i need to retrieve the word jon

View Replies View Related

Retrieving Properties

How to retrieve "Last modified" & "FileName" from all files in a specific folder (called MyDocs) and display on the ASP page?

eg. (in MyDocs folder)
- MikesWork.doc
- MyResume.xls
- HouseExpenses.xls

Situation
Let's assume that i just modified MyResume.xls file and save it today(10/30/2003) on my computer, then i upload it into the internet. On my asp page, i want to show all files Filename (Last Modified) in MyDocs folder.
eg.
Your Documents
1. MikesWork.doc (last modified 10/24/2003)
2. MyResume.xls (last modified 10/30/2003)
3. HouseExpenses.xls (last modified 9/15/2003)

I know it has to do with fso or something close to it... but totally have no idea (zero) of its logic or how it works. Please help me by giving me with full example.

View Replies View Related

Field Properties

Can anyone help with the following:
I wrote an ASP script with allows me to select an MS Access database
from a folder, and it shows the tables in this database. If I click a
table, the fields are displayed. And then I have a button to create a
HTML form to suit this table.
My problem is, fields that are essential.I would like to mark
appropriate form fields as 'essential' . Is there any way I can get the
attributes of a field, so I know if it will accept null values?

View Replies View Related

Object Properties

Is there any way to list all the properties that an object has? For example if I do a CDO.Message object and call it NewMail. Is there anyway I can find the properties of that the object supports. IE NewMail.From, NewMail.To etc

View Replies View Related

File Properties

I want to ask are there any other ways to get the file properties such as file name, path, date created... other than using 1. FileSystemObject or 2. file upload with encType="multipart/form-data".

For FileSystemObject, I can get it work in my local computer but not on the server(coz the server are not mapped to the network drive).

And for case 2, although I can use HTTP_CONTENT_TYPE to retrieve form values but I think I cannot use request.form("aa").count or request.form("aa").item(i) to get select option values.

View Replies View Related

Excel Properties

I am in need of knowledge about how to control the properties. By properties, I mean font, hyperlink, and color information. I'd like the spreadsheet to have the same data as the HTML page it's getting the data from, but in a different format.

I have been searching in several places, including the Excel Help files, but cannot find any info on how to do this. I'm not asking anyone to tell me how to do this; just looking for where to find out how to do this.

View Replies View Related

Transaction DDL Properties

According to Access my ADO connection has a value of 16 for the Transaction DDL property. Does anyone know what this equates to? I've found this page -

http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/adosql/adoprg04_83jt.asp

But it doesn't tell me which constant this relates too, and I haven't been able to find an answer at Google either.

View Replies View Related

Validate: Formobj Has No Properties

i am getting this error message when i validate my page and it is

Error: formobj has no properties
Source File: /sellgiftnum.asp?
Line: 55

and line 55 is this one
var obj = formobj.elements[fieldRequired[i]];

Can someone tell me whats wrong with it .....

View Replies View Related

Gathering Image Properties

I've uploaded an image to the server and was wondering if there is any possible way to get the dimensions of the image through ASP.

dim iWidth, iHeight, iType
sub ImgDimension(img)
dim myImg, fs
Set fs= CreateObject("Scripting.FileSystemObject")
if not fs.fileExists(img) then exit sub
set myImg = loadpicture(img)
iWidth = round(myImg.width / 26.4583)
iHeight = round(myImg.height / 26.4583)


but I keep getting problems with the loadpicture.

View Replies View Related

Retrieving Field Properties

How can I retrieve the default value and allowzerolength property of all the fields in my table? I'm using ADO.

View Replies View Related

Excel Cell Properties

Is it possible to set a cell property in Excel from an ASP page. We have numerical data that is taken from a database and then displayed in Excel. I would like ideally all the data to be set at 2 decimal places, is there anyway of setting this from the ASP page?

View Replies View Related

Accesing Office Document Properties With ASP

Does anyone know of a way to access the document properties of an office
document using ASP? I need to be able to read things like the Title,
Author, and Comments fields and pull that information into a web page.

View Replies View Related

How To Assign Object Properties From XML Content?

Before there was XML my world was in order, I would once a year write some small ASP script, it would perhaps take me all weekend, but it was doable, now the devil has entered my life, in form of an XML file ... Code:

View Replies View Related

Setting Session Cookie's Properties

I want to set the asp session id path property. How can I do that?

I mean, asp session id is stored in a cookie and like any other cookie it should have properties (or attributes), how can I control it?

View Replies View Related

Header Properties In The Crystal Reports Viewer.

I want to dislay a query from a database in asp, with the crystal reports viewer.

i can see the report in the CR viewer, but the headings are overlapping each other.

what kind of properties do you have for the report header? Or does somebody know the
sollution? Code:

View Replies View Related

Error - ODBC Driver Does Not Support The Requested Properties.

I am taking my first crack at writing some ASP and have no clue as to what this error is pertaining to. I will be in your perverbial debt for ever!

----------------------------------------------------------------------------

The error I am getting is:

Microsoft OLE DB Provider for ODBC Drivers error '80040e21'

ODBC driver does not support the requested properties.

/agentlookup.asp, line 8

-----------------------------------------------------------------------------

And here is the code it is referencing: Code:

View Replies View Related

File Properties :: Find Out The Width And Height Of An Image File

is there a way, using asp, to find out the width and height of an image file?

View Replies View Related

Upload File To Server And Get File Properties

I would like to add a facility to my web page which allows users to upload basic files (word, excel, text, gif, jpg etc) to the server.

I know there's a facility to do this using HMTL forms, but I don't know how to handle the file on the server side.

What I think I need is an ASP file running some code to manipulate the filesystemobject, allowing me to receive the file and store it in the filesystem on the server. It would be nice to access some of the file properties too (name, type etc).

I've seen a few custom components online which allow you to do this, but I can't depend on installing them. I need to be able to script it myself.

View Replies View Related

ASP Read The Execl Cell's Data, Web Page Created From Excel2000 -- Save As Web Page

I created a web page from Excel2000, using "Save as web page..."...Publish
function. then, I moved htm file to my IIS web server. Then I added a form control, and submit button.

How can get the data on the excel file using ASP from server side?
For example, the value of Cell(1,2), Cell(2,3)....

View Replies View Related

Display Aspx Page Or Reporting Services Page In User Control

What I want to be able to do is create a user control that will display an
entire page page within it. Does anyone know how to do this or better yet
have any same code?

View Replies View Related

How To Transfer A Data Display On 1st Page To 2nd Page Upon Clicking On The Link

I like to know how to write this specifc function on ASP where the user eg: display a set of records on the webpage. Example the data are ID, Name and address.

Lets say i display the data on the webpage and i set the Name as the <a href>. So when i click on the name, it will move to another page with the id of the specific name. Code:

View Replies View Related

An ActiveX Control On This Page Might Be Unsafe To Interact With Other Parts Of The Page ...

I have an ActiveX control in my ASP page that has not been signed yet, so currently just for testing I set the Security for Intranet to "Low". When I run the ASP page on my machine (the IIS is in my machine), I have no problem, except the page prompted me with "An ActiveX control on this page might be unsafe to interact with other parts of the page. Do you want to allow this interaction?"

But, when I run the ASP page on another machine (even though the other machine is also a development machine that already has the ActiveX control and I set the Security for Intranet to "Low"), it did not prompt me the above message, and I got an error when accesing any method of the AX control (e.g Object doesn't support this property or method 'myAXControl.method').

Is this because I have to create a CAB file and mark the AX control as safe for scripting ?To create a CAB file for this AX control, do I need to create my own VB AX
Control project that contains this control and then create a cab file for this VB project ?

View Replies View Related

On Session_OnStart() Getting Fired When Going From Page To Page At The Same Level As The Global.asa

This is a standard ASP application that has several pages at the root
withthe global.asa. I set a session variable session("accountid") =
"123456" within an asp page and then response.redirect to the next page and
immediately response.write session("accountid") and I get back nothing.

But if I set a session variable session("accountid") = "123456" within an
asp page and response.redirect to a page in a sub directory and immediately
response.write session("accountid") I get back 123456 on the screen.

View Replies View Related

Including Inverted Commas To Specify Page Elements While Page Is In ASP

I am having a problem with a site that I am developing - my aim is for it to validate as XHTML Strict however, I am running into a couple of problems validating it; in my Response.Write ASP script, I am not including " 's to define page element tags as they keep throwing up errors in the page. Code:

View Replies View Related







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