all groups > inetserver asp general > september 2004
Filter by week: 1 2 3 4 5
post form data to ASPX with VBA
Posted by mehlin at 9/30/2004 11:49:23 PM
I am a novice with respect to ASP.NET, and I would
appreciate any pointers on how to use VBA (from within
EXCEL) to post form data to a .aspx. file on a website,
and download an associated data file. Essentially I am
trying to emulate Internet Explorer functionality, wherein
data is entere... more >>
Sending Zip file from Database problems
Posted by Frostillicus at 9/30/2004 11:33:07 PM
I'm trying to get an ASP to return a zip file to the remote browser from an
Image (BLOB) field in SQL Server 2000 but Internet Explorer keeps saying:
Cannot open C:\Documents and Settings\Frostillicus\Local Settings\Temporary
Internet Files\Content.IE5\U7GXENGF\file[1].zip
The URL to open th... more >>
ASP/Javascript
Posted by Hugh Welford at 9/30/2004 11:30:59 PM
Hi
I am trying to use a 3rd party javascript function that checks a UK post
code. Can anyone tell me the syntax for calling a javascript function from
ASP in such a way as to capture the true or false return.
Thanks Hugh
... more >>
ASP & Active Directory
Posted by Hermes at 9/30/2004 7:14:53 PM
Hi all,
We have a web page which validates users againt active directory (kinda),
Effectively the code we use will check the user's password and if successful
creates some session's for what access they have in the internal site. We
have noticed though that the query against the LDAP doesn... more >>
Permission denied: 'GetObject'
Posted by CJM at 9/30/2004 5:41:53 PM
I'm building an ASP app that uses Windows Authentication (IWA).
I have an authentication routine that assesses if & how the user can use the
application (see code snippet below). Users of a particular group have full
permissions (configured via IIS) and all other users have read/execute
permi... more >>
Execute EXE with an ASP
Posted by Just1Coder at 9/30/2004 1:42:00 PM
I recently moved an app over to IIS 6 from IIS 5. Everything works
great! I use ASPExecute to run an .exe - but it doesn't fire. It just
sits in the process window. Doesn't do anything. Is IWAM, or IUSR or
both required to run it?... more >>
Tracing modified cookies
Posted by Darin at 9/30/2004 8:09:11 AM
I hope this is the appropriate discussion group...
To update a cookie that already exists in the request, I'm calling
Response.Cookies.Add(...) The debugger indicates that Response.Cookies then
contains one object, as I expected.
When I enable pageOutput tracing, however, the Cookies Coll... more >>
Inserts HTML line breaks before all newlines in a string
Posted by Chris Mach at 9/30/2004 8:02:11 AM
Hey,
If i'am writing a post in a "textarea" and i use the ENTER (newline) on =
my keyboard it comes as a line break <br> in my post on the forum.
PHP uses "nl2br", but what is the ASP solution for this?=20
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (ht... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
XML parsing using ASP
Posted by VK at 9/30/2004 5:52:15 AM
Dear All:
I have an issue trying to parse response from xml document, for that
matter I don't receive back response.
I am trying to integrate UPS e-commerce online tool into our web site,
this tool calcuates the rates and services and returns back all the
different shipping rates.
Below ... more >>
Barcode Scanner
Posted by Rajani at 9/30/2004 4:29:03 AM
I have tickets printed with barcode. When i scan that code is placed in a
text box of my form. How can i read from the scanner and put it in a specific
text box?
Or i directly want to insert into database. This is my actual requirement.
I tried at many sites. I didnt get reply. I am expe... more >>
Dates
Posted by John Smith at 9/30/2004 4:28:10 AM
After moving a small web app to Win2k3 / IIS 6 the date is being
displayed as DDMMYYYY, rather than MMDDYYYY. Can I change something in
the regional settings to correct this? Or do I have to change the source?... more >>
MS Access DSN-Less Connection with UserName & Password
Posted by A P at 9/29/2004 3:49:58 PM
I receive error when connecting to MS access DB with password.
Microsoft JET Database Engine error '80004005'
Could not find installable ISAM.
/lpo/common/cnlocalpo.asp, line 4
Here is my string:
cst = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\AccessDB\LocalPOData.md... more >>
ASP connect to News server?
Posted by Gram at 9/29/2004 1:51:25 PM
Hello, can anyone tell me if it is possible to use asp to connect to a
news group, such as this?
Thanks for any help or ideas,
Gram... more >>
Caching Problem
Posted by CJM at 9/29/2004 1:09:46 PM
I have an application that I'm developing that generates a PDF from an HTML
page. The quotation.htm page is generated manually, but will be automated in
the finished version. It is processed in PDFTest.asp using an off-the-shelf
PDF component, which creates Test.pdf.
I am having problems with ... more >>
Createobject of '(null)' caused exception C0000005
Posted by wk6pack at 9/29/2004 1:04:05 PM
Hi,
I'm getting this error on my asp page intermittently. One day it is fine,
another day, it crashes a lot. I have searched the web and microsoft on
this and they say it is a recordset assigned to a session variable.
I dont assign any record sets to session variables in my code. I assign... more >>
ASP SQL query error with data types
Posted by David McManus at 9/29/2004 12:02:24 PM
I am trying to use a query to filter SQL Server 2000 records by a date
value.
Here is relevant columns in my database table (tblContent):
title [nvarchar]
starting [smalldatetime]
.... and here is my query:
Query = "SELECT title FROM tblContent WHERE starting = '" & date & "'"
I've d... more >>
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
Posted by Savas Ates at 9/29/2004 11:47:56 AM
in asp page
im getting this error how can i solve it..
yesterday the codes work but i setup visual studio 6.0 now it doesnt
works..
... more >>
SSL Certifcate
Posted by Meelis Lilbok at 9/29/2004 11:42:03 AM
Hi
How to....
Clear SSL Cache after authentiaction with user cert.?
Problem is where one user is authenticated on web(ASP) page and logs out,
when
next user clicks on "Log in" link, IE wont ask user cert. and uses cert. in
cache!
To close browser window after logout is not very good s... more >>
Determine type of Value
Posted by Shahid Juma at 9/29/2004 10:17:30 AM
Hello All,
This may be a trivial question, but I was wondering how can you determine if
a value contains an Integer or Float. I know there is a function called
IsNumeric, however you can't determine what type it is.
Thanks for the help,
Shahid
... more >>
display multiple input boxes based on results
Posted by Joey at 9/29/2004 10:01:06 AM
Say a customer inserts into a sql database field (NUMINSERTS) the number
6.
On the following page, I want to build a table that displays 6 input
boxes, since the customer said they wanted 6 text boxes.
I will then insert the data from the 6 text boxes back into another sql
database table.
... more >>
pulling plain text into something I can work with
Posted by middletree at 9/29/2004 7:40:23 AM
The site, which is almost finished, is at
http://site234.webhost4life.com/crgmdal7/
If you click most of the links in the gold nav bar, they will take you to
various places within the site. But if you select the one called "Loads", it
takes you to http://www.crgm06.com/aval.txt, which I have o... more >>
Keeping Track Of User Navigation For Titles
Posted by Colin Steadman at 9/29/2004 6:19:37 AM
Suppose you have a site structure that looks like this:
|--Countries.asp
| |
|--Region.asp
| |
|--Cities.asp
| |
|--Population.asp
You start at the Countries page with a list of Countries.
If you click on UK, the site would take you to the Region
page an... more >>
Too few parameters. Expected 1. - Problem with asp/access
Posted by kbrad at 9/29/2004 5:15:06 AM
I am using the following code in asp to select some data from an access db.
recSel is defined and set further up my webpage, as is rsUpdate User.
I cannot work out how to get past this error message
Too few parameters. Expected 1.
Can anyone see the problem?
strSQL = "SELECT tblUserDetails.... more >>
Select OnAction in ASP?
Posted by Johan Christensson at 9/29/2004 2:20:18 AM
Hi.
I'm woundering if it's possibel to transfer a OnAction value from a
drop-down box in an ASP page without having to use Java code?
I mean something like this:
<%
Sub resposeprocess
some code,......
End Sub
%>
<Select name="DropDownMenu onAction="responseprocess">
<Optio... more >>
File Input Problem, please help, specific to XP SP2
Posted by Alon Zilkha at 9/29/2004 1:49:44 AM
Hi All,
I just noticed a problem with Internet Explorer on Service Pack 2 of Windows
XP and it is driving me insane!! I would greatly appreciate it if someone
could help me out...
I have a basic asp file (test.asp) with the following code:
----------------------------------------
<%
Res... more >>
Help with Server.MapPaths - aaaaaahhhh
Posted by Laphan at 9/28/2004 10:13:05 PM
Hi All
Sorry to be irate, but the whole concept of Server.MapPaths really has me in
a tiswas!!
In order to confirm once and for all, could you please advise me on the
following:
1) There is no difference in putting '/' or '\' in the Server.MapPath param,
eg Server.MapPath("/fred/test.asp... more >>
Split() function gives type mismatch
Posted by Alan Silver at 9/28/2004 9:57:38 PM
Hello,
I have been having problems with some blindingly simple ASP that fails.
I have the following code ...
Dim sAds, sAdverts()
sAds = "1" & vbTab & "Ferret" & vbTab & "Furry" & vbCrLf
sAds = sAds & "2" & vbTab & "Gibbon" & vbTab & "HAiry" & vbCrLf
sAds = sAds & "3" & vbTab & "Vole" & v... more >>
Executing a command line applications...
Posted by Brad Pears at 9/28/2004 4:10:22 PM
Can someone give me some sample code on how one would go about executing a
command line "command" from within an ASP form?
We need to run an application called GnuPG which allows us to encrypt an
email.
Preferably some documentation directly on this would be good but any other
docuemtnation... more >>
ASP Page as Remote Function call from Javascript
Posted by Martin Waller at 9/28/2004 2:18:38 PM
Hello,
I've been playing with the idea of just how to use an ASP page to provide a
remote function call. In an ideal world this would be a web service but how
can you do it if restricted to ASP 3.0 ?
Idea 1 was to write an ASP page that accepted arguments using the classic
?X=1&Y=2 type of ... more >>
Secure Information
Posted by Alain at 9/28/2004 1:29:10 PM
Hi,
I've an ASP page in wich the customer write his card number for the payment.
How can I make this information secure when it's sent to the server?
Thank you.... more >>
asp & xls
Posted by tom at 9/28/2004 1:02:46 PM
hello lads -
got a problem; I made a file that should write down a report into the excel
cells.
the issue is not coming from the sql or summat, but from excel file cannot
convert
the date properly.
if I decided to select 2 dates: the starting date(August for istance) and
the finishing date o... more >>
Slow Intranet performance apparently due to CAB file
Posted by NEtsdpace news at 9/28/2004 11:23:35 AM
I've developed an Intranet app that among other things creates form letters
using a VB dll, via a cab file, to access Word functions. It works perfectly
and performs well when asked to create the Word documents.
However my problem is that it takes >30 seconds for the initial page to
display. ... more >>
Global.asa
Posted by Shahid Juma at 9/28/2004 11:12:35 AM
Hi,
I placed my global.asa file into a subfolder in the wwwroot folder. It
doesn't seem to work when I try to use the sessions that have been declared
there.
Any ideas?
Thanks,
Shahid
(remove the words "REMOVETHIS" when replying to email address)
... more >>
Conn as session var?
Posted by Des Perado at 9/28/2004 11:05:36 AM
I have just tried this, and it works:
Global.asa contains:
sub Session_OnStart
set Session("conn")=Server.CreateObject("ADODB.Connection")
dsntemp="driver={sql Server}; server=master1; database=db1; uid=sa; pwd=;
dsn=;"
session("conn").Open dsntemp
end sub
and in any asp:
sql="selec... more >>
Unix Time Stamp
Posted by Shahid Juma at 9/28/2004 10:42:41 AM
Hi,
I am trying to replicate the Unix Timestamp,specifically the function
mktime() in Vbscript, ASP. I have the following so far:
ThisTime = DateSerial(2004, 9, 27) + TimeSerial(0, 0, 0)
response.write DateDiff("s", "12/31/1969 00:00:00", ThisTime)
This returns the timestamp: 1096329600,... more >>
enable debugging from the client side
Posted by simpsoro NO[at]SPAM webster.edu at 9/28/2004 9:16:30 AM
How do you enable debugging so that people see it from the
client side? I have gone in to properties, clicked on edit
www service, clicked on the home directory tab, clicked on
the configuration button, clicked on the app debugging tab
and then checked the box that says enable ASP client-sid... more >>
Indexing Service returns bad texts in asp-solution.
Posted by Martin Emanuelsson at 9/28/2004 8:32:04 AM
Hello.
I have a problem with a small asp-solution that searches for documents with
indexing service. For some files in the search result I get "bad text"
returned, such as
******************************************************
I$OYDURSURGXFWVSURGXFHGLQ0H[LFR/DERUDWRU\5HSRUW/DERUDWRU\2UGHUHU5H... more >>
Strange problem w. missing recordset column (SQL + ASP)
Posted by bluubekt NO[at]SPAM hotmail.com at 9/28/2004 7:55:43 AM
I'm having a really weird problem. When running the SP below in query
analyzer the calculated column "Subscribed" is returned as expected:
-------------
CREATE PROCEDURE get_mailinglists(
@intCustomerID AS int
)
AS
SET NOCOUNT ON
SELECT GenreID,GenreName,
(CASE
WHEN
... more >>
Adding a timestamp to a filename
Posted by kbrad at 9/28/2004 6:39:01 AM
I am uploading files to my webserver using an asp upload script and would
like to add a timestamp just before they are saved to the server.
This would mean that filename.txt on my server would be uploaded to the
webserver as filenameYYMMDDhhmmss.txt or something similar.
Can anyone advise how... more >>
ASP Session
Posted by Adil Akram at 9/28/2004 4:57:17 AM
I've developed a shopping cart app in ASP, to secure transaction by SSL, it
've put only the checkout page in SSL but all other pages i.e. product, cart
etc remains on non SSL connection. How can I track user session from non SSL
to SSL checkout page as the SessionID changes when shifting to SSL ... more >>
cdonts javascript problem
Posted by Savas Ates at 9/27/2004 7:07:24 PM
im sending email with cdonts.. my mail format is html format..
and also in my mail code there are html and javascript codes. i open my mail
with outlook it works..
but im sending it to hotmail or yahoo emails the browser doesnt interpret it
writes javascript codes like a text on screen. how c... more >>
Password on specific file
Posted by Lars Thomsen Nielsen at 9/27/2004 2:01:30 PM
I have made a secure website which you can only get access to
with right username and password. On this webpage I have some
links to some pdf-files, but how can I avoid people from getting
the file if they are not logged on first? As it is now they can
easily get the file if they just know the e... more >>
HTTP_REFERER when redirected
Posted by Agoston Bejo at 9/27/2004 11:18:24 AM
I understand that Request.ServerVariables("HTTP_REFERER") is empty when the
page is redirected.
Does that mean that it is also empty when redirected on client side? (Such
as location.href = ...) Actually, I do that and all I get in HTTP_REFERER is
"http://[servername]" . Is this the same problem... more >>
Permission denied on Zindex after XP SP2
Posted by JohnDpatriot at 9/27/2004 10:34:33 AM
After installing XP SP2 on my machine, I continually get the Script
Error permission denied when I attempt to adjust the Zindex of an object
on the page . see below
document.getElementById(document.getElementById('CurrentLayer').value).style.zIndex=1;
Before XP SP2 this app worked, and st... more >>
redirect to new server?
Posted by js at 9/27/2004 9:46:25 AM
Hi, I have several sites in my old server, I want to retire the old server.
During the DNS change, it will take about 2 days. how can I redirect the old
traffic to the new server, and make sure header information (i.e. the URL)
will get redirected as well so that the new server will know which
a... more >>
Call VBA subroutine from ASP
Posted by WC Justice at 9/27/2004 9:27:15 AM
I am currently using an Access 2000 database as the back end of an ASP
website that is under development. I have some vba code that generates a
Word document from within Access and saves it in a folder that makes it
available for download over the website. Can I execute this code from ASP?
F... more >>
displaying a Calendar from Exchange - Public Folder
Posted by Tom Petersen at 9/27/2004 9:01:27 AM
Is there a way to display a calendar created in a public folder? We are
using Exchange 2003 and have an intranet and I would like to pull the daily
view form the calendar and display it at the bottom of my daily
announcements page.
Thanks!
... more >>
ASP and ActiveX control client side - 101
Posted by Stephanie Stowe at 9/27/2004 8:18:35 AM
Hi. I have never worked on a project that requires IE. So I have done the
vast majority of my work server side, delivering cross-browser compliant
HTML to the client. I am working on a bug fix to a system that is a munch of
ASP, ASP.NET with hard-core client side JScript, VBScript (client-side) a... more >>
Redirect Timer
Posted by Dom Fairlie at 9/26/2004 8:58:06 PM
How do i make an ASP page redirct to another ASP page after 15 seconds?
Your help would be very much appriciated.
Thanks
Dom
... more >>
ASP Session, Cookies and SSL
Posted by Adil Akram at 9/26/2004 3:18:37 PM
I have created a site shopping cart in ASP.net.
I am using ASP session object's SessionID on non SSL connection to track
session.
While adding products to cart DB I insert product and SessionID in table.
All products and cart status pages are on non SSL connection.
On checkout to get secure... more >>
|