all groups > inetserver asp general > april 2005 > threads for april 22 - 28, 2005
Filter by week: 1 2 3 4 5
Generate Word Doc!
Posted by Adam Knight at 4/28/2005 6:25:16 PM
Can anyone point me in the right direction in relation to
creating word documents on the fly using asp.
I am using SQL Server 2000 as my backend and want to
create word documents containing the data i retrieve.
Cheers,
Adam... more >>
long URLs
Posted by David Shorthouse at 4/28/2005 1:24:29 PM
Hey folks,
Is anyone aware of any sort of asp coding to deal with long URLs? I have a
few asp that pull URLs from fields within a MS db, which then display on a
width-limited table. Is there any way to wrap these long URLs such that my
table doesn't get widened? e.g. wrapping at "/" or some... more >>
Spinner
Posted by Vinod at 4/28/2005 12:38:28 PM
Hi,
I want to know how we can create a time spinner , similar to the the one
which we can
see in Date/Time properties , when we click it.
I want to include it in my asp program.
Thanks in advance
Vinod
... more >>
Design advice
Posted by dthmtlgod at 4/28/2005 8:07:46 AM
I am creating a online help desk for my office. I am attempting to cleanup
my code and I was hoping for a little advice.
I have 30 different categories of requests ranging from the desktop issues
to application issues. I am using submit buttons on one version and a
dropdown/list box on the o... more >>
Byref
Posted by amilani NO[at]SPAM dsi.unive.it at 4/28/2005 7:44:46 AM
Hi everybody, I've tried to use the byref keyword for passing
arguments to subroutines and functions in my ASP pages with VBScript,
but it seems that both byref and byval are irrilevant, as simple
variables and arrays are always passed by value and objects (I tried
dictionary ones) are always pa... more >>
SCOPE_IDENTITY with ASP
Posted by Larry at 4/28/2005 6:19:17 AM
I originally asked this on comp.databases.ms-sqlserver, but they've
referred me here.
I am seeing a problem with an ASP application, where I have 2 tables.
In the first table, the ASP inserts just 1 row and retrieves the
primary key of the new row using SCOPE_IDENTITY. It then uses that
prim... more >>
Scripting.FileSystemObject.CreateTextFile goes out to lunch
Posted by NeilS at 4/28/2005 4:14:02 AM
I'm developing under IIS V5.1 and testing on an ethernet with IIS hosted on
WinXPPro.
I am trying to implement file-upload using a polished version of the
technique published in
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnasdj01/html/asp0900.asp>
IIS goes out to l... more >>
Refresh the Page
Posted by laura at 4/28/2005 12:00:00 AM
I'm doing a page which gathers some text in the form of a text box in a
<form>. This text is saved to a text file, notices.txt and I want to be able
to display the saved text on the page, as soon as they click the SUBMIT
button - is this possible?
At the moment I have a hyperlink called "ba... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
custom error for webservice not working
Posted by Nadagouda at 4/27/2005 9:12:12 PM
hi,
when i type "http:\\localhost\WebService1\Service1.asmx?wsdl="
its giving me http 500 internal error. I want to display myerrorpage instead
of default one.
I tried all the options like
web.config adding customerrors,global.asax getlasterror and IIS edit
properties for this particular... more >>
ASP page won't refresh when changed
Posted by mytrash NO[at]SPAM netcourrier.com at 4/27/2005 7:37:39 AM
Hi !
I just installed IIS on my Windows 2000 system.
I tried to place a .ASP page on my C:\Inetpub\wwwroot directory, and
it seems to work.
However, when I change the page content (the code, or even the text),
the page doesn't seem to refresh... (It doesn't seem to be a IE cache
problem).
I... more >>
Recordsets vs. Arrays?
Posted by SABmore at 4/27/2005 6:26:05 AM
Is there a performance advantage to parsing thru a recordset verus using an
array?
I'm currently trying to populate a listbox by returning data from my
database, then either parsing thru the recordset until I reach the EOF, or
putting the data into an array.
Thanks for your assistance.... more >>
"Cannot download" an excel file from an ASP page
Posted by cajunmaori at 4/27/2005 1:48:45 AM
I am having trouble downloading an excel report generated from our AS
pages. We presumed it was something to do with the SSL certificate w
just installed, so loaded the ForceSSL.inc script from Microsoft an
changed the cache settings by changing this code in our globals.as
file:
Response.Ad... more >>
HTTP 1.1/400 Bad Request
Posted by Drew at 4/27/2005 12:00:00 AM
I have been trying to figure out why I am getting this message... I have an
application that is 20 different ASP pages that works in sequential order
(step1, step2, step3...). After each step the app writes the entered text
to a cookie. This feature is so that if there is a problem, we can s... more >>
Remove Carriage Returns
Posted by Simon Harris at 4/27/2005 12:00:00 AM
Hi All,
I am trying to write a function that will remove all carriage returns from
a
string, so that the string of words can be used as meta keywords.
So far I have:
Function RemoveCR(strText)
strText = Replace(strText,chr(13),"")
strText = Replace(strText,chr(10),"")
strText = Repl... more >>
show all values from my database
Posted by news at 4/27/2005 12:00:00 AM
Hello
I have a problem with show all values from my database into my html page!
Example of my database:
Namn: test.mdb
Table: tblTest
Columns: col1, col2, col3
The thing I want is to search the database for "2005-04-27" in the columns
col1 and col3 but I can only get values from col1 !!!... more >>
\\server\file.ext does not like objFSO.FileExists()
Posted by Bob at 4/26/2005 1:00:42 PM
When a file is local to the ASP application, I can use the following code to
test if the file exists:
Dim strFileName, blnFileExists, objFSO
strFileName = Server.MapPath( "\MyFiles\test.doc" )
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
blnFileE... more >>
recordset issues
Posted by at 4/26/2005 9:29:16 AM
Hi Everyone
Here is my dilemma
I have a database within that, two tables products and images.
They are related by product_id. I have designed it so that one product can have many images associated with it.
My problem however is when I come to build the thumbnail page.
What I would li... more >>
I know this can be done...
Posted by Apple Plexy at 4/26/2005 12:00:00 AM
tearing my hair out here...,
I am creating a site to show artists work. I have a database and can
retrieve and display a list of artisits, other info, and a related image for
each artist - all drawn from the respective entries on the database. What i
would like to do is then use that record to... more >>
Session_OnEnd major problem
Posted by Propin at 4/26/2005 12:00:00 AM
Have a problem with below code in global.asa. Same problem as described in
this news group before, IWAM_machinename did not solve my problem.
Have created the following test code (file is never deleted on my IIS6
Win2003
environment, any idea?):
<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
... more >>
Database Results - Show checkbox
Posted by Graham Taylor at 4/26/2005 12:00:00 AM
I am reading data from an MDB Access database into an ASP page. Four fields
in the database are Yes/No fields, and I want to show those on the ASP page
as check boxes. How do I do this?
The best I've been able to do so far is use some javascript code to print an
"X" if the value in the fi... more >>
Check image height and width
Posted by Shawn at 4/26/2005 12:00:00 AM
Hi,
I have a page where users can upload images, but sometimes the images are
too small. How can get the height and width (in pixels) for an image? I've
seen it done in PHP but never in ASP.
Thanks,
Shawn
... more >>
Active Home Page
Posted by laura at 4/26/2005 12:00:00 AM
I have been trying to produce an intranet for the past few months for a
small company. I'm almost there with it - it has some ASP, some JavaScript
and about 18 HTML pages.
What I need help on right now is this. They want to be able to have a very
short, two sentences maybe, Daily Notice on the... more >>
migration issue with ASP on win 2003
Posted by Chris at 4/25/2005 6:05:03 PM
I'm hoping someone can help me, I've searched the posts with limited results.
I'm migrating an app to a win 2003 boxwith sp-1 and I get:
Server object error 'ASP 0228 : 80004005'
Server.Execute Error
/rock/userlogin.asp, line 60
The call to Server.Execute failed while loading the page.
... more >>
retrieving a zip file from a url using asp
Posted by kelby at 4/25/2005 12:23:38 PM
Hi, I have a zipfile that is created dynamically for me on a webserver.
I have the url of the zip sent as a post value to an asp script on my
website.
In my asp script I need to be able to retrieve the zip file so that i
may extract content from it using an asp zip component.
Any idea how... more >>
Code Not Working
Posted by dthmtlgod at 4/25/2005 11:17:28 AM
OK. Here is my problem. My webserver was running Windows XP professional.
The below code worked as it should, it provided me with the user name.
Set Sys = CreateObject("ADSystemInfo")
Set User = GetObject("LDAP://" & sys.UserName)
userEmail = user.mail
userFname = user.givenname
userLname ... more >>
Hiding ASP source code from EVERYONE!!!
Posted by george NO[at]SPAM pebble.tv at 4/25/2005 9:18:53 AM
I am looking for solutions that would hide my source code from
everyone, users and administrators.
The reason being I have written an ASP application that I want to sell
on to other companies. This ASP application works in conjunction with
an existing C++ application(s) that clients already ... more >>
Application service provider architecture
Posted by J at 4/25/2005 7:47:10 AM
Hi group,
We're developing a hosted application that will be used by hundreds of
client companies, each with its own database. Our first release of this
product separated each customer into its own virtual directory with a copy of
the code (classic ASP/IIS 5). We want to design the next ver... more >>
Debug component used by ASA/ASP?
Posted by Grant Schenck at 4/25/2005 12:00:00 AM
Hello,
I built an MTA which is used from an ASA and ASP pages. The MTA was
developed in VC++ 6.0.
How would I go about debugging into the C++ code?
Thanks,
Grant Schenck
... more >>
Session Not Working On Server 2000
Posted by Duane at 4/24/2005 1:26:58 PM
I am creating a small program for my workplace in asp. It runs fine o
my laptop using XP Pro through IIS. I set IIS up on the server runnin
Windows 2000 Server Standard, have IIS set up identically, and i
doesn't recognize the session variables. Even trying to run i
directly on the server, n... more >>
how to make an ASP page for using the Index server?
Posted by Ben at 4/24/2005 12:00:00 AM
Hi,
I need a search engine for my web. The service Index Server (for web) is
started (win 2K) but i don't know how to make an ASP page for that. I can
make a form like this:
<form ACTION="/asp/search_v2/query2.asp" METHOD="POST">
<table WIDTH="500" bordercolor="#FFFFFF">
<td>Give wh... more >>
bbcode parsing
Posted by Rob Meade at 4/23/2005 10:15:56 PM
Hi all,
Back on the bbcode parsing (again)...
Having a few problems now with nested tags - it would seem that I had
written my test string in a way that worked perfectly with the parser -
until I changed the order of the parser - then it stopped working...
I'm assuming my problem is dow... more >>
Comparing a date field to a date in a form.
Posted by lesjuby NO[at]SPAM anti-spam.iafrica.com at 4/23/2005 9:48:15 PM
"SELECT id, title FROM Businesses WHERE Date_Added >= " &
Request.Form("Since_Date")
This SQL string returns all records from the table Businesses and does
not seem to be able to recognise Request.Form("Since_Date") as a valid
date. The Since_Date value is entered into a form field as
"01-Ja... more >>
Regular Expression Help
Posted by Rob Meade at 4/23/2005 7:37:09 PM
Hi all,
I'm going down the road of learing the pattern matching in regular
expressions, and I'm trying to convert the characters into English in my
head so I can see whats happening...
For clarity with this one...
\[b\]([^\]]+)\[\/b\]
Ok - the first thing I did was break it up - beca... more >>
Help with Arrays (VBScript)
Posted by joe at 4/22/2005 10:41:22 PM
Hello:
I am scratching my head here. I was trying to copy values from a recordset
into an array, but whatever I do,
I keep getting errors. Let me give an example similar to what my code
initially looked like:
'--- sql and recorset creation here ...etc.
Dim MyArray, intTemp
intTemp = 0
... more >>
ASP strange behavior
Posted by Mei at 4/22/2005 11:29:01 AM
Hi,
I'm running ASP under IIS 6 with Tomcat. During the process, Tomcat will
forward to an ASP page with some data and those data will be written to MS
SQL and display some information in that particular ASP page. The Servlet
has no unsafe code. The strange thing is that all the data is ... more >>
Auth_User blank. Please help
Posted by VITA at 4/22/2005 10:51:29 AM
I am trying to use AUTH_USER from request.servervariables but the field is
blank. I am using Windoze server 2003 with IIS5. I know there is a fix
because I did it a long time ago with our old NT server running IIS4 but I
cant remember how I got it to work. We are all authenticated users on our... more >>
|