all groups > inetserver asp general > october 2004
Filter by week: 1 2 3 4 5
Auto Closed
Posted by Daniel at 10/31/2004 7:21:22 PM
Dear all, do anyone kow how to make a window explorer closed tiself like
after 1 min? I think I rem there is such function available but I had
forgotten the function/code...
Regards
cheers
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get re... more >>
rolling last 10?
Posted by Alistair at 10/31/2004 1:26:28 PM
hi peoples and masterful gurus (a little bit of grovelling never hurt
anyone...apart from the sore knees)
I'm after a little bit of advice on how to do something.
basically a history of the last 10 pages viewed or the id of the last 10
visitors to a page, but how do I make this "rolling"
... more >>
Pop Up Form Size
Posted by GitarJake at 10/30/2004 9:22:19 PM
Hello All,
I have an asp app that uses several pop up forms. They are supposed to be
larger forms, but on some machines, all using IE, they display a lot smaller
than they should be. Here are some of the behaviors that I am experiencing:
* It doesn't seem to matter what resolution the ... more >>
command problem
Posted by Savas Ates at 10/30/2004 6:13:04 PM
it doesnt work still
Arguments are of the wrong type, are out of acceptable range, or ...
<!--#include file="conn.asp"-->
<%
Set cmd=server.CreateObject("ADODB.Command")
cmd.CommandType=4
cmd.ActiveConnection=baglantim
cmd.CommandText = "st_myfriends"
cmd.Parameters.Append
cmd.CreateP... more >>
ADOX... Unknown runtime error
Posted by Ivan Debono at 10/30/2004 5:44:59 AM
Hi,
I keep getting an Unknown runtime error on line 3 below:
1 If oField.Type <> 136 Then 'adChapter
2 If Right(oField.name, 3) = "_id" Then
3 For Each oKey In oTable.Keys
4 If oKey.Type = 2 Then 'adKeyForeign
5 ... more >>
Important Media Player
Posted by D at 10/29/2004 11:00:03 PM
Dear all, anyone know how i can place a media player on my asp page to
allow user to listen to sample songs, etc? or anyone know where to find
the code?? Thanks
Regards
cheers
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it... more >>
Dynamically Change Codepage?
Posted by Alex at 10/29/2004 9:31:44 PM
Dear all,
I am now creating an CMS which support 3 languages (English, Traditional
Chinese and Simplified Chinese). The user can change their languages
dynamically; however, I would like to know how can I change the codepage (<%
code=936%>) dynamically? THank you for all of your help.
A... more >>
Function call not working, please help!
Posted by Chris Michael at 10/29/2004 6:55:28 PM
Hello everybody,
Newbie here. I've been working on this for the last two days and I can't
figure out where this problem is. I think it's something so obvious, but I
can't see it!
OK, firstly in a very simple page (please see
www.intomobiles.com/test3.htm - it just displays the code that ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
ODBC Driver error
Posted by Ivan Debono at 10/29/2004 6:47:08 PM
Hi everbody,
Getting this strange error all of a sudden.
Microsoft OLE DB Provider for ODBC Drivers. error 80040e21
ODBC driver doesn't support the requested properties.
and the line is:
tRST.Open "SELECT id FROM " & sTable & " WHERE " & sField & " = '" & vValue
& "'", oConn, adOpenKe... more >>
Urgent: Embed mp3 in email from asp page
Posted by Targa at 10/29/2004 5:13:58 PM
Anybody know how I can embed an MP3 into an an email sent from an asp page?
Using CDONTS and IIS5. Ive tried it as a attachment and sending in HTML
format with the mp3 embeded in the page but niether work.
TIA!
... more >>
Problemi With Exchange Server 2000 SP4 and CDO
Posted by Roberto at 10/29/2004 3:08:19 PM
Hi,
I have Windows Server 2003 + IIS 6.0 with all the security
patches released by Microsoft installed until Today.
I have an ASP page that calls a method of an object installed under COM +
<%....
Set ObjMsg = CreateObject("ObjName","ClassName")
ObjMsg.Recipient = .....
... more >>
Time Zone Conversion
Posted by JJ at 10/29/2004 2:40:26 PM
Hi,
Is there an asp component anywhere which will convert a GMT time in the past
to a different time zone e.g. EST?
You can't just take the hours off as there is often daylight saving hours to
take into consideration.
Thanks
JJ
... more >>
Setting Importance....having issues ! ! !
Posted by Jason Kistler at 10/29/2004 1:40:39 PM
I am having some serious issues trying to set the "importance" of an ASP
email. I am using the CDO.Message object. Here is the code:
<%
Dim recipients
recipients = Request.Form("Jason") & Request.Form("Debbie")
Dim Groups
Groups = Request.Form("Sales") & Request.Form("FieldServices") &... more >>
Collection object in ASP
Posted by Ivan Debono at 10/29/2004 11:45:49 AM
Hi,
How is it possible to instantiate an new collection in asp serverside??
Thanks,
Ivan
... more >>
ASP/SQL error message
Posted by Micromanaged at 10/29/2004 11:40:10 AM
Getting the following error message:
Error Type:
ADODB.Recordset (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are in
conflict with one another.
/safedevelopment/Credit/FairIsaac.asp, line 20
From this code:
Set cn = Session("cnn")
Set rstPhones = Serv... more >>
Rename File with FSO
Posted by tom at 10/29/2004 10:04:40 AM
Hi lads -
got an issue with renaming a file. I'm actually using the FSO method
'MoveFile'.I did try to do my best, but doesn't want to work.
this is the code:
Dim fso
set fso = Server.CreateObject("Scripting.FileSystemObject")
fso.MoveFile Server.MapPath("/document/&session("nome_file")&"... more >>
Closing Recordsets
Posted by James at 10/29/2004 9:31:24 AM
Quick question about closing recordsets and connection objects. We're in
the process of rewriting a TON of bad code. None of it is even remotely
tabbed properly, it's impossible to read half the time and it never closes
connection objects or recordsets. Unfortunately, I've been assigned the
t... more >>
IIS4 TO IIS6 APP. MIGRATION
Posted by JORGEMAL at 10/29/2004 8:17:03 AM
I migrated a VID6 application from Windows NT 4 to Windows 2003 Server (IIS4
to IIS6) which was developed using ASP and VBScript and I now I am getting an
error message as follows:
Microsoft OLE DB Provider for Visual FoxPro error '80004005'
There is not enough memory to complete this opera... more >>
IMG tag not displaying image
Posted by David C at 10/29/2004 7:43:26 AM
I have ASP (classic) code that writes out a table and sets the <img....> tag
with a virtual directory source, e.g. src='/test/imghold/xyz.png', and the
images do not appear on the IE page. The code is from a production site
that works fine. We just duplicated the web site to one named test and ... more >>
For Loop
Posted by D at 10/29/2004 4:40:11 AM
Dear all, got a problem stuck here...
Given:
Title No_of_Download
A 6
B 8
C 9
D 10
E 0
F 1
I wanna display 5 result from the above table starting from the most no
of d... more >>
syntax issues
Posted by shank at 10/28/2004 7:19:48 PM
I have the following. I've tried swapping the " and ' in and around and
can't get the right syntax.
<%
varA = "<a href=" & "article.asp?id=" & (rsHead.Fields.Item("ID").Value) &
">Article</a>"
%>
My end results are: Type mismatch: '[string: "<a href=article.asp?"]'
Can someone lend a ... more >>
Trimming filename and paramters from a URL (output from DB)
Posted by Simon at 10/28/2004 4:47:25 PM
Hi there.
I seem to be a flurry of questions here recently, thanks for you help all,
but ... got another question here.
I am storing URL in a database for a 'sort of' directory type website.
The <a href> is built from the recordset of URL's which is all working no
problem, easy stuff.
... more >>
pure asp way to get image width and height
Posted by Nancy Drew at 10/28/2004 3:51:37 PM
does anybody know of a way to get an image width and height without using a
custom dll? we have aspJPEG on the server, and there are methods to fetch
image width and height with that, but it only works with JPEG and i need to
get dimensions for gif and png, too.
tks
... more >>
CAN YOU RECOMMEND A COMPONENT LIBRARY I CAN PURCHASE
Posted by CyberSpider at 10/28/2004 3:26:19 PM
Hi;
My company is finally making the move to program in ASP.NET for our web
application stuff. We need to purchase a suite of components. Can anyne
recommend a very good component library. We are looking for things like
GRID, CHARTS, VALIDATION TOOLS, etc.
Thanks in advance for your help... more >>
Multiple Email Recipients depending on Value
Posted by dmiller23462 NO[at]SPAM yahoo.com at 10/28/2004 6:52:14 AM
So here's my problem.....I need to set up different email
distributions based on which option in the following Select form has
been chosen....For instance if "Putaway" is chosen it needs to email
User1@here.whatever and User4@here.whatever but if "Loaded" is chosen
it needs to email User2@here.w... more >>
Delete key\value pairs from a cookie
Posted by roxana.turcu NO[at]SPAM scop.ro at 10/28/2004 6:35:31 AM
If I have a cookie with 'key/value' pairs, how would I delete a
specific 'key/value' pair while preserving the remaining pairs? I
tried to do something like:
cookie(key)=""
but it didn't seem to work. I do not want to expire the cookie, just
to delete the specified key. I'm working in javasc... more >>
ASP sessions expiring prematurely
Posted by mail NO[at]SPAM jazzis.com at 10/28/2004 4:49:26 AM
I recently moved an application from W2K / IIS5 to W2K3 / IIS6.
In the new environment user sessions expire after 2-3 minutes? I can't
find any solution to this, although I found quite a few references to
this problem on the web. Help anybody?
Thanks in advance.
Adam... more >>
CDO.Message.1 (0x80040220) The "SendUsing" configuration value is invalid.
Posted by CK at 10/28/2004 12:50:06 AM
Hi All,
I have this problem when try to send a mail by Using
CDO.Message. I got the info from the web, said it may the problem where, the
IIS SMTP setup incorrectly.
My question is How i can know my SMTP was setup correctly? And
how to test it? I did see all the "mai... more >>
Upload File / Component?
Posted by Alex at 10/27/2004 11:31:46 PM
Dear all,
I am now creating an Content Management System which support 3
languages (English, Tranditional Chinese and Simplified Chinese). Before I
use the component (aspSmartUpload) to help me uploading photo and files. It
works for English and Traditional data; for Simplified Chines... more >>
ASP + Dll
Posted by info NO[at]SPAM 1972.com.ar at 10/27/2004 4:50:10 PM
I have to make my own dll (a compiled class made in Visual Basic 6)
for my College, and I have no idea of how to do that.
The class (DLL) should do have methods for make a backup of an access
mdb file, and restore it too.
Then call this DLL from ASP, and use those methods (ex. thedll.backup
a... more >>
Export data to letters
Posted by Andrew at 10/27/2004 4:03:50 PM
Hi Experts,
I have a DB containing many records of customers' info. How can I pull these
data to the MS Word mail merge letters containing the header (name, address,
etc) and contents (description 1, 2, 3,...) page by page per record? Thanks
a lot.
Andrew
... more >>
List all employees
Posted by JP SIngh at 10/27/2004 2:51:14 PM
Hi All
I have a table which stores the employee details. The format of the table is
below
EmpNo _ Integer
FirstName - Text
Lastname - Text
ManagerNo - Integer
What I would like to do is to display in a tree structure all the employees
reporting to a particular employee.
For example... more >>
superimposing a pic on a pic when the data is dynamic
Posted by Astra at 10/27/2004 2:08:40 PM
Hi All
I know the subject may sound weird so hopefully the below will explain.
1) I'm creating an estate agent web site, which will display a 1 x jpg pic
and say 4 text descriptions for each property from a DB using ASP .
2) Another aspect of shall we say the property's properties is that ... more >>
Is there NO ONE that can help with this error?
Posted by gm at 10/27/2004 12:58:02 PM
This is a repost... starting to feel invisible here... does no one know?
How do you get a web app to not show the 'page has expired...' error and
refresh and requery when you hit the back button after submitting a form? I
just want the old data to still be displayed in the form so the user can... more >>
English Language CD
Posted by FloridaJoe at 10/27/2004 12:42:43 PM
My set of .NET 2003 CDs has 2 .net cds; 1 prerequisite cd; plus msdn. I get
to a certain point in the installation and it prompts me for the English
Lanaguage CD and I don't know what this is. I bought the set from someone
who didn't want them any more - did I not get one of the CDs?
Thanks in... more >>
session_OnEnd dans le global.asa never fired
Posted by Olivier SOW at 10/27/2004 11:40:36 AM
Hi,
I have this code in the global.asa file:
Sub Session_OnEnd()
Set oFso= CreateObject("Scripting.FileSystemObject")
Set oFileTxt= oFso.OpenTextFile("c:\debugS.txt", 8, true)
oFileTxt.WriteLine Now()&" SESSION END "&session.sessionId
Set oFso= nothing: Set oFileTxt= nothing
End Sub... more >>
cookie question
Posted by middletree at 10/27/2004 10:54:25 AM
I use a browser cookie on an Intranet application. On one certain page, it
checks to see what someone's network name is, then if they are in a certain
department, it redirects them to a particular page. If in other departments,
it redirects them to another page.
Here's the code:
===========... more >>
Server.Execute does not work on 2003
Posted by David C at 10/27/2004 10:32:07 AM
We moved an ASP application from Win 2000 server to Win 2003 server and now
the Server.Execute method does not work. It gives me ASP 0228 error. What
gives? Thanks.
David Chase
... more >>
Dynamic updates
Posted by Dev880 at 10/27/2004 9:47:02 AM
I need to know if I should use asp.net or Java for this. I would like to use
asp in general.
I need to have a function check to see if a variable is true or false and
update an icon. But I want it to either check when updated or every 3
seconds. I suppose it has to be somewhat client side ... more >>
Good Family Portal System?
Posted by kirk NO[at]SPAM mailinator.com at 10/27/2004 9:30:31 AM
Here's what I want:
1. Simplicity. I basically want to be able to post news on the front
page, similar to a blog.
2. Good Image Gallery. I would like something that is simple to
navigate and supports captions.
Bonuses:
1. Random picture module on home page
2. The ability for visitors ... more >>
Cache in old ASP
Posted by Jose Marciano at 10/27/2004 5:53:04 AM
Hello.
Could someone tell me the way(s) of doing cache in old ASP pages?
What i really wanted was to keep in cache for some time the HTML generated
by an ASP page (something like the "@OutputCache" directive of .NET).
Thank you in advance.
Jose Marciano
... more >>
Invoke Web Service from classic ASP
Posted by MK at 10/27/2004 3:01:11 AM
How can I invoke web service from a classic ASP page? As I
know I cannot use HTTPGet or HTTPPost protocal if the
service is built under .net framework 1.1 (security
issue).
Thanks in advance.... more >>
CSV Download
Posted by Simon Harris at 10/26/2004 10:58:59 PM
Hi All,
I have created a script which connects to a SQL DB, runs a query, writes the
results out to a file (Using FSO) then presents the user with a link to
download the CSV.
As the file contains sensitive data, I dont want to leave the file on the
server, and I dont want to rely on the us... more >>
Dowloading
Posted by Sten Larsson at 10/26/2004 8:53:52 PM
How can I allow downloading a file on the server to a different file name on
the client?
I already have uploading, and I use aspSmartUpload with no problems. To
avoid file name clashes, I rename the files when stored on the server. When
the user downloads, I want to restore the original file n... more >>
IIS ins't running
Posted by Dave Neve at 10/26/2004 8:53:09 PM
Hi
I have just installed IIS on my computer as I want to look at asp.dot
The CD provided by Microsoft at a trade fair says that if IIS is installed
correctly, then if I type in an explorer
http://myip
or
http://mycomputername,
then I should get two windows up on the screen.
But al... more >>
ASP to XMLSocket to Flash
Posted by shawn NO[at]SPAM rampagetechnology.com at 10/26/2004 7:05:29 PM
I have an XML Socket Server running and I can easily get Flash to send
from flash-to-xmlsocket-then-back-to-flash and vice-versa But what I
want is to have an ASP page to take a small chunk of XML and send it
to an XML Socket Server so the server can post the information to a
client running a fl... more >>
Align text in my drop down menu?
Posted by danieloconnor NO[at]SPAM dbt.net at 10/26/2004 2:35:16 PM
Hello all,
I am getting records from a db and displaying the records to the user
through a drop down menu in an asp page.
Each record has 6 fields and I need to display them all to the user in
the drop down.
The problem is that the fields contain values of all different lengths
and the col... more >>
Arguments are of the wrong type
Posted by Erica at 10/26/2004 1:03:06 PM
I'm getting the following error:
ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in
conflict with one another.
/shop/results.asp, line 15
line 15 is the recordset open line. Can someone please help
if isnull(session("whois")) ... more >>
Parent Paths
Posted by news.microsoft.com at 10/26/2004 1:01:24 PM
If I've enabled Parent Paths (PP) in IIS, but have installed the URL Filter
and disallowed ".." and "../" within links, am I covered from the
vulnerabilities of PP's?
This allows me to use PP's in #Include statements, but doesn't allow
visitors to use PP's in their links to access directories ... more >>
Managing locations
Posted by Astra at 10/26/2004 12:18:34 PM
Hi All
I know this is a strange request, but I currently creating an estate agent
type site and I noticed on somebody else's (big company - not interested in
little old me!!) that they give the user the option to see property results
that are 2, 5, 10 miles, etc away from the location that I c... more >>
|