how to get the size of a jpeg image ?
How can I get the height and width of a jpeg image ?
Thank you for help me.
Emmanuel Tag: Permission denied on ASP Page Tag: 274422
number of columns
Hi,
How can I know the number of columns of the .csv files? I want to import
them to the database.
Thanks.
Atse Tag: Permission denied on ASP Page Tag: 274412
download path
Hi,
While my wwwroot is under C:\inetput, how can I make URL pointing to the
downloadable files on D:\download\myfile?
Do I have to use download COM? If yes, which one is recommended for free?
Thanks for any idea? Tag: Permission denied on ASP Page Tag: 274411
page remembering old values ...?
Hello people,
once again I am here to ask you for your help. This time I am working on
an online shop for a hospice, I am trying to set up a page which gathers an
order from a shopping cart, (this bit works) then asks the user to fill out
a form supplying their name and address etc for delivery of the items they
have bought. It works fine if you enter a surname never before entered, but
if you enter a surname that has been used before, rather than passing across
the data that you type in to the form, it just pulls up the old values???
I have come across this once before and remember that there is a line you
can type in the top of the ASP page which clears the old data and make the
page only use the new values, I think it is :
<%
Session.Abandon
%>
but if I use this I am worried that I will also lose the shopping cart
values, so where should I place this line, on the very first page that the
visitor will load, or somewhere else, can anyone please help??
Thanks again. Tag: Permission denied on ASP Page Tag: 274395
auto execute form
Hi,
is there some code i can use to automatically execute some HTML form code
when a page is loaded ?
Thanks,
Brian Tag: Permission denied on ASP Page Tag: 274389
OLE DB Connection Problems
Hi Guys
One of you kindly confirmed what the true OLE DB syntax is for an ASP > ADO
> Access DB with password, but I'm struggling to parse this in my ASP page.
FYR, I have it as follows:
strDSN="""Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &
Server.MapPath("mydb.mdb") & ";Jet OLEDB:Database
Password=kitkat"",""admin"","""""
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Mode = 3
oConn.Connectionstring = strDSN
oConn.Open
But when I execute the above I get:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name too long
The path name for the DB is spot on, as it works with the ODBC variant, but
I think it has something to do with my 200 quote marks!
Can u help??
Rgds
Laphan Tag: Permission denied on ASP Page Tag: 274387
Need help using asp
All,
Current Im develop a program that using web page to connect to Oracle.
My difficulties was:
1) How to retrieve the information in tnsnames.ora and put into all
connection string into a option list to let user choose accordingly ?
2) After using had choosen the connection then a username and passowrd
page will appear to let user key in the username and password, if verify
is ok then proceed to do other stuffs else put back to login page to let
user retry.
I had tried and tried but still cannot, can someone please help me.
Thanks in advance
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! Tag: Permission denied on ASP Page Tag: 274385
Ever tried to set cookie expiry date using JavaScript?
Hi all.
I'm trying to set a cookie expiry date but my script is JS (JavaScript). I've
tried
Response.Cookies("Test").Expires = Date();
Response.Cookies("Test").Expires = Date().toLocaleString();
Response.Cookies("Test").Expires = Date().toString();
Response.Cookies("Test").Expires = Date().toUTCString();
none works. I've seen what bothers IIS is the day name when assigning the expiry
date: "7 février 2004 11:57:57" is ok while "samedi 7 février 2004 11:57:57"
produces an error "Invalid type".
Ok, I could switch to VB Script (which I think I'll do because of the ease of
doing it in that language). But I'd like to know if there are well-known tricks
on using IIS/ASP and cookies expiry date in JavaScript. It seems IIS object
model is unable to recognize (or handle) JavaScript dates...
Might sound a stupid question but I'd like my script to be as platform
independent as possible. Why? I'm running a French version of Windows 2000/IIS5.
I might have to host my web on an English version. Or whatsoever. I wouldn't
like to triturate the date string for it depends on the current locale. If
JavaScript cannot be used without modifying the string I'll switch to VB script.
Thanks for any hint or suggestion.
Vince C. Tag: Permission denied on ASP Page Tag: 274384
manipulate forms collection
Hi
Is there a way to manipulate (ie change) the items in the forms
collection. I simply want to get rid of the infamous apostrophe in input
from a form, replace ' with ''. I had hoped to be able just to make the
change and then put it back into the Form.item. Is there a way to do
this?
If not, would the best way to save the result be to build an array,
which is then used instead of the forms collection?
My programming is not making progress at the moment due to lack of time,
so I want to find out the simplest solution
Mats
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! Tag: Permission denied on ASP Page Tag: 274383
confused about access / sql database / sql server / php !! .. help please
i am running a website on Windows 2000 server with ASP 3 webpages and
Access 2000 database. (with a hosting company)
traffic is slow at this time but expect to grow. lately i have been
reading about sql database and sql server, specially this article:
http://www.aspfaq.com/show.asp?id=2195
will someone help me understand:
1. with *SQL Server*, do i keep my current Access 2000 database and
ASP pages?
if not, then -
a. what sort of DB i will need? (we r a non profit, so need
inexpensive things)
b. will ASP pages need be redesigned? how big/difficult is that
transition?
2. if i start using *SQL database*, then which SQL database?
3. Where does *mySQL* fit in this scene?
4. What do i do with my current ASP webpages?
5. i guess, i will need an SQL server if i have to use SQL database?
any recommendations for a cheaper hosting company? Tag: Permission denied on ASP Page Tag: 274378
random word generator
Hello folks...
this is my first post in here. I'm new to ASP having done all my previous
work in Flash and bog standard HTML. Only been learning for a couple of
weeks.
anyway...I have been building a guestbook type page, but as with quite a lot
of guestbooks and stuff some of the comments that get placed are not exactly
suitable, and tracking people down is a little difficult.
maybe you all can think of much better ways but remember I'm a newbie and am
working my way through..
so...
I have a form where people sign up to become a member..they select their
name and password etc and can log in, but this is completely anonymous....
so..I got an email script set up and working (took me a long time to figure
that one out!!!) and connected to a dbase, The user gives me his email addy
and name and a random number is generated, stored as his password and the
password is mailed to him,...thus if he doesn't give me a corect email addy
he doesn't get his password and therefore can't sign in or post nasty
comments..
But a number password isn't really all that and I would prefer to have a
random word generated.
is this possible??
again, being a newbie and not very up on what I can/can't do...I thought of
the following...
1) Store a bunch of words in a text file with a space between each one
2) Read in this file and store it as a variable
3) Trim off a random number of characters from the start of the text
4) Then search for the next space (which would be the beginning of the next
complete word)
5) The next space after that would then mark the end of the word
6) count the characters between the two spaces to give me the word length
7) and then select that number of characters and then I have a randomly
selected word!!!
I can't see why it wouldn't work as it seems logical to me, but maybe
someone (Ray seems to be the god of ASP (I've been reading here for a couple
of weeks and he seems to know everything!!!!)... can tell me otherwise?
many thanks Tag: Permission denied on ASP Page Tag: 274373
add parameter
Hello.
I am trying to pass three parameters using this code in an asp page to an
xsl page.
I keep getting the following error:
Microsoft VBScript runtime error '800a01a8'
Object required: ''
/account.asp, line 114
Any ideas what I am missing?
Chuck
Dim oXmlsrc, oXml, oNode, oXslsrc, oXsl, newXML, re, oXslTmpl, oXslProc
Set oXmlsrc=CreateObject("MSXML2.DOMDocument.4.0")
Call oXmlsrc.setProperty("ServerHTTPRequest", True)
oXmlsrc.async=False
Set oXslsrc=CreateObject("MSXML2.FreeThreadedDOMDocument.4.0")
Call oXslsrc.setProperty("ServerHTTPRequest", True)
oXslsrc.async=False
Set oXslTmpl = Server.CreateObject("MSXML2.XSLTemplate.4.0")
'On Error Resume Next 'debugging code
'If Request.Form("name") = "" Then
Call oXmlsrc.load(sVerifyUrl)
'Response.Write "<!-- " & oXmlSrc.xml & " -->" 'debugging code
newXML=oXmlsrc.xml
Set re=new regexp
re.pattern=" xmlns.+?>"
newXML=re.replace(newXML,">")
Call oXmlsrc.loadxml(newXML)
Call oXslsrc.load("https://www.abc.com/account.xsl")
'End If
Set oXslTmp1.stylesheet = oXslsrc
Line 114 <<<<<<<<<<
Set oXslProc = oXslTmpl.createProcessor()
oXslProc.input = oXmlsrc
Call oXslProc.addParameter("accountnumber", ud_CSN)
Call oXslProc.addParameter("customername", ud_CustomerName)
Call oXslProc.addParameter("username", ud_UserName)
oXslProc.Transform()
sOutput oXslProc.output
'oXslsrc.selectSinglenode("//@select").text= "'" & ud_CustomerName & "'"
Response.Write oXmlsrc.transformNode(oXslsrc)
Response.Write sOutput
Set oXslProc = Nothing
Set oXslTmpl = Nothing
Set oXslsrc = Nothing
Set oXmlsrc = Nothing Tag: Permission denied on ASP Page Tag: 274372
replace words with bold words
Hello
I was wondering if you guys could help me solve this using reg exp,
i have a searchpage and a variable keywords that holds a number of words.
e.g
keywords = "test car goose"
.....
<%
do until rs.eof
%>
<%=rs("text")%>
and i was wondering if you guys know how to make the words test, car and
goose bold if exists in rs("text")?
/Lasse Tag: Permission denied on ASP Page Tag: 274370
cant get #include to work in .asp file.
I'm new to html and web coding, this is a simple one -
appreciate your help!
I'm attempting to get my browser bar links to reside in a
single .asp file to avoid multiple additions to pages
when I add a page to the site. I've done a lot of
reading and surfing, believe I know how to do it, but
can't get it to work.
I've installed IIS on my machine running XP pro, and have
created two .asp files, one called default.asp, the other
navigation.asp
both pages browse OK separately, but the navigation page
text does not appear within the default page at all (like
it's not getting "called" - here's the cut down code.
<html>
<head>
<title></title>
</head>
<body>
<% %>
<p>
This is the default page (filename default.asp)
<p>
<!- #include file="navigation.asp"->
</body>
</html>
-----------------
<html>
<head>
<title></title>
</head>
<body>
<% %>
This is the browser page (filename navigation.asp)
</body>
</html>
------------------
Thanks for your assistance
Regards
Greg Tag: Permission denied on ASP Page Tag: 274363
MS, YOU ARE A DISEASE
Whether those trojans or virues appear in this group,
hidden on my machine, in your disks, in your downloads,
in your Software, in your Patches, in your shrink wrap,
in your Financial Report, on your ballot, or whereever.
=======
There was reason to put you in the section of
new or other species.
======
Gues that was premature.
--------------
Why don't you just get lost. Tag: Permission denied on ASP Page Tag: 274346
number to string
Hi,
When I select a filed from a txt or csv file, and display on the ASP, the 16
digit of barcode number (9876543210123456) becomes to 9.87654321012345E+15.
How can I make it display the original. Thanks
Atse Tag: Permission denied on ASP Page Tag: 274341
Single Unicode Character - How many Bytes?
I've got a single Cyrillic character delivered from a db field to my script,
which displays correctly in my UTF-8 web page. This is the "backwards P"
which has the Unicode value of &H042F
But when I read it for writing to a file, what I see is a 4-byte value of
&HD0 00 AF 00 .
Can someone explain what's going on here? Thanks, all.
AS Tag: Permission denied on ASP Page Tag: 274337
Adding more font colors to word?
Basically, I would like a bigger variety of colors to have for fonts in
messenger.
Anyone know where/how I can do this?
DEVBuilder.org, http://www.DEVBuilder.org
ASP,ASP.NET,VB.NET,PHP,Java,and SQL Support, all in one place. Tag: Permission denied on ASP Page Tag: 274335