all groups > inetserver asp general > march 2006 > threads for march 22 - 28, 2006
Filter by week: 1 2 3 4 5
Connect to SQLServer 2005 on different server
Posted by BenM at 3/28/2006 3:27:01 PM
I have to connect to two SQLServers in my script. One server is local, the
other is remote.
I am using ODBC for the local connection:
pasConnStr = "Driver={SQL Server};" & _
"Server=(local);" & _
"DataBase=PAS"
And I have tried various connections to the remote ... more >>
Streaming file to user: 'File could not be opened'
Posted by CJM at 3/28/2006 3:19:44 PM
[Apologies for previous half-post: I regularly mistype some kind of key
combo that submits the post]
I have a page on our intranet that is supposed to stream an Excel sheet to
the user. I'm using pretty standard code:
sFilePath = sFileDir & sFilename
Response.AddHeader "content-dispositi... more >>
Stream file to user:
Posted by CJM at 3/28/2006 3:09:57 PM
I have a page on our intranet that is supposed to stream an Excel sheet to
the user. I'm using pretty standard code:
... more >>
file system object doesn't work in virtual path?
Posted by mbosco51 NO[at]SPAM hotmail.com at 3/28/2006 1:42:28 PM
Hi. I have a virtual path setup in order to give my web server access
to a file on my app server. I am using the file system object to check
for the existance of the file and if it exists, it has to validate the
file date.
The problem is I can't seem to find the file. I can successfully che... more >>
Progress bar in asp while file is downloading
Posted by shil at 3/28/2006 11:39:07 AM
Users can view mpeg movies from my website. When users who don't have
DSL, it takes longer time to launch windows media player and play the
movie. There is no indication to the users that file download is going
on. To them it appears hung.
Is there any way to show progress bar on the page whil... more >>
SQL question....
Posted by fuelvolts NO[at]SPAM gmail.com at 3/28/2006 7:46:34 AM
Website in question: http://econweb.tamu.edu/graduate-beta2.asp?yr=0
I want to show all of our Ph.D. students in multiple tables according
to years of experience. Right now the code I have only shows the last
group since it is the last call to the database in the code (there are
4 others befo... more >>
DropDownList Control Functionality
Posted by Matt at 3/28/2006 7:39:04 AM
Hi. I'm using VS2005 and working with the Dropdownlist control on an ASP page.
My dropdownlist has several thousand items, all integers, ranging from 1000
to 80000 (these represent different company acocunts). With that many items,
I would like the user to be able to not only choose from th... more >>
asp program trying to open ms access 97 database on network fails
Posted by jannordgreen NO[at]SPAM gmail.com at 3/28/2006 4:37:10 AM
I try to run http://localhost/scroller/scrollertest.asp in my IE 6
browser.
The asp program tries to connect to a MS Access 97 database.
The program works when the database is sitting on any local drive, but
when I put it on a network drive I get this error message:
Error Type:
Microsoft... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
xml object
Posted by J.D. at 3/27/2006 11:11:34 PM
I have an xml data that I want to store in a database.
I want the following fields
1. Account-id
2. order-number
3. first-name
4. last-name
5. address-line
6. address-line-2
7 city
8, state
9 postal-code
10 total-points-spent
11 the list of items that were purchased which are in the se... more >>
Using treeview.htc results in DLL initialization error
Posted by itmanager at 3/27/2006 7:38:01 PM
We are using Microsoft's treeview.htc control to display a tree control in
our .NET application.
When displaying the tree, the browser returns the error:
Dynamic Link Library (DLL) initialization routine failed
pointing to the following line in treeview.htc:
if(oItem.filters.length>0)... more >>
Modify asp page according to Monitor resolution.
Posted by Sivaswami Jeganathan at 3/27/2006 7:20:49 PM
Hi
I created an asp page
it looks different when looked from an 1024x768
than
it looked on 800x600 resolution. how to control
this
any idea ???
--
Sivaswami Jeganathan
... more >>
Setting Dropdown list on Page Load
Posted by jeffmagill NO[at]SPAM gmail.com at 3/27/2006 11:15:57 AM
Hello everyone,
I have what I thought was a simple script but I cant figure it out.
Anyway, I want to set the selected item of a drop down list with
information i am recieving from request.querystring. Seems like this is
a case of when learning asp.net first is a hindrance to what i want to
d... more >>
Open Excel File with ASP
Posted by jnb0012 NO[at]SPAM unt.edu at 3/27/2006 10:50:26 AM
I am creating a webpage and have a form where a visitor will choose a
day, month, and year. I want to pass the data from the form into an
asp page which will process it and put it into a string and open the
excel file requested. The excel file to open will depend on the day,
month, and year ch... more >>
ASP CDOSYS SMTP Email attachments are being corrupted
Posted by rschaeferhig at 3/27/2006 9:38:02 AM
I have an ASP page that uses CDOSYS to send a simple HTML format email with a
PDF attachment. When I open the PDF attached to the email it shows up as a
blank page. I log into the web server console and open the same PDF in the
source directory and it opens fine. I run a binary comparison of t... more >>
asp cade breakpoints does not stop code execution
Posted by Rea at 3/27/2006 8:37:01 AM
Hi eb
I set some 'Stop' statements and also visual breakpoints
in asp code (vbscript).
I am doing that in Microsoft Script debugger.
Than I refresh the original page and expect execution to halt
at these breakpoints but unfortunatly it does not..
I had allowed script debugging in both iis home... more >>
How to encrypt an asp file source code?
Posted by iweb at 3/27/2006 7:24:58 AM
Hi,
we have an Enterprise Application on ASP and MS SQL 2000. Would like to know
if I can convert the asp app to an exe or encrypt / encode / hide the source
code so that no one accessing the server can touch / modify / copy the same!
Kind Regards,
Akshay Shah
Mumbai, INDIA.... more >>
Very slow to load .asp website
Posted by sommes at 3/27/2006 1:30:36 AM
It's only happen on .asp website, what's the problem?
Thank you
... more >>
Using the Response object to download files
Posted by Roger Withnell at 3/26/2006 11:11:42 PM
I'm using the Response object download files from an SQL Server table to the
client browser.
Having set the content type and AddHeader, I use Response.Write and the file
opens in the browser.
How do I get the ubiquitous panel, Open or Save this file to appear so the
use has this choice? ... more >>
ASP to Word
Posted by Joe at 3/26/2006 7:45:14 PM
SGkuDQoNCkknbSB1c2luZyBBU1AgdG8gcHVsbCBpbmZvIGZyb20gYSBkYXRhYmFzZSBhbmQgb3Bl
biBpdCBpbiBXb3JkLiAgRXZlcnl0aGluZyB3b3JrcyBmaW5lIGJ1dCBJIHdhbnQgdG8gc3BlY2lm
eSB0aGUgcGFwZXIgc2l6ZSB0byBiZSBMZWdhbC4gIElzIHRoaXMgcG9zc2libGUgb3IgYW0gSSBz
dHVjayB3aXRoIExldHRlciBzaXplPw0KDQpUaGFua3MNCg0KSm9l
... more >>
base64 image embedded in xml return document, how to extract?
Posted by Chris at 3/26/2006 4:29:18 AM
If this is not the right place to post, please someone direct me to the
correct place.
I'm having problems extracting the binary data that's included in an xml
response back from a server. It's an embedded PDF file that's been base64
encoded. I've got it narrowed down to to a single node ... more >>
Re: Setting option value to session var
Posted by Mark J. McGinty at 3/25/2006 11:35:25 PM
"Dave Anderson" <GTSPXOESSGOQ@spammotel.com> wrote in message
news:u8XvQieTGHA.5172@TK2MSFTNGP12.phx.gbl...
> Mark J. McGinty wrote:
>>>> Thank you Evertjan! I'll give it a try. How about clearing
>>>> the form field values, any ideas on that?
>>>
>>> "form field values" are a clientside con... more >>
ICS not working
Posted by Dhamziel at 3/24/2006 11:28:25 PM
Hello,
I would like to apologize if thread does not belong here, but I dont
see where else I could post this.
I get my internet connetion from a friend's router, so I already have
my IP, subnet mask, default gateway, dns; on my xp pro computer:
IP 192.168.abc.def
Subnet Mask ... more >>
ASP, Javascript and parsing
Posted by Martin Walke at 3/24/2006 2:51:01 PM
Hi all,
Can someone help me out here? I'm been using ASP and VBScript for some years
but have just ventured into the realms of using server side Javascript and
apart from hitting various niggerly problems, this one baffles me.
This is a very simplistic example of the problem.
<%@ Langua... more >>
CreateTextFile Excel file formetting problem
Posted by clemorama NO[at]SPAM yahoo.com at 3/24/2006 11:25:43 AM
Hi All,
I am having problems with serving an excel file to client web browsers.
I am creating a tab delimited .xls from a recordset. Below is the .asp
code.
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open strConn
Set objRS = Server.CreateObject("ADODB.Recordset")
strSQL =... more >>
Message Box At Any Time
Posted by Ben at 3/24/2006 10:28:02 AM
Hello,
I am trying to convert a windows app to a web app and I have come accross a
problem I was hoping someone could help with.
Im creating a page where the user inputs some values and presses 'submit'.
I have the code done for the click even of the submit button, however I need
to cre... more >>
how to send email from an asp page ?
Posted by Sivaswami Jeganathan at 3/24/2006 12:00:00 AM
how to send email from an asp page ?
--
Sivaswami Jeganathan
... more >>
write from FLASH SFW file to ACCESS via ASP
Posted by aa at 3/24/2006 12:00:00 AM
Is it possible to write from FLASH SFW file to ACCESS via ASP as they write
to MySQL via PHP ?
... more >>
how to use logout button in asp
Posted by Sivaswami Jeganathan at 3/24/2006 12:00:00 AM
Hi I am having 3 asp (not ASP.NET ) page handling
sessions.
i have a button in the 2nd and 3rd page for
logout.
how to logout of the given page .
--
Sivaswami Jeganathan
... more >>
how to handle more than one submit buttons
Posted by Sivaswami Jeganathan at 3/24/2006 12:00:00 AM
how to handle more than one submit button's
request in an
asp page.
ie........
multiple web pages are leading to a single asp
page atlast.
i want to distinguish between the web pages that
are
posting.
--
Sivaswami Jeganathan
... more >>
How can I copy files to a web folder using ASP+VBSCRIPT
Posted by Julien at 3/23/2006 12:49:30 PM
Hello,
I have some files located in a file server and managed by a SQL database
from a web based interface using ASP + VBSCRIPT technology.
I need to automatically copy those files to a web folder.
I that possible?
Thanks.
... more >>
Option Explicit causing VBScript error
Posted by John Kotuby at 3/23/2006 10:59:25 AM
Hi all,
I am simply trying to include the Option Explicit declaration at the top of
an ASP page and am getting an error:
Error Type:
Microsoft VBScript compilation (0x800A0400)
Expected statement
/transferkey.asp, line 2
<!-- #INCLUDE FILE="adovbs.inc" -->
<% Option Explicit %>
<S... more >>
how to use Request.Form("fieldname")?
Posted by Rich at 3/23/2006 9:07:34 AM
Hi,
I was experimenting with some basic sample asp code but can't get it to work
correctly:
this is bgselector.asp which works OK - you add the name of a basic color
like blue, green, yellow and call another asp called backcolor.asp where I
have the problem:
bgselector.asp
----------... more >>
HTTP/1.1 500 Server Error
Posted by MSUTech at 3/23/2006 7:16:39 AM
Help....
I am NOT running asp.NET ... on this IIS Server ... (Windows Server 2003) ..
I am just running ASP ...
all of a sudden I have started to receive this error... but, the weird thing
is that there is NO RECORD of an ERROR or WARNING in the EVENT VIEWER in
either the Server running ... more >>
SIMPLE asp shopping cart
Posted by verb13 NO[at]SPAM hotmail.com at 3/23/2006 6:50:34 AM
I am trying to find an ASP shopping cart with the following properties:
-free
-unlimited number of product categories
-as simple as possible (only few asp pages)
I have seen many carts and I am so confused. Can you help me? Please
don't suggest a page like this:
http://www.aspin.com/home/webap... more >>
issues with MSXML2.FreeThreadedDOMDocument
Posted by s_m_b at 3/23/2006 4:52:53 AM
Using w2k advanced server (test system is standard server)
"Set objXML = Server.CreateObject("MSXML2.FreeThreadedDOMDocument")
objXML.async = False
objXML.setProperty "ServerHTTPRequest", True
objXML.Load
("http://news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss091.xml")
If objXML.par... more >>
Delete ASP Multidimensional Array
Posted by nospam NO[at]SPAM nospam.com at 3/23/2006 12:00:00 AM
I'm fairly new to ASP and must admit its proving a lot more unnecessarily
complicated than the other languages I know. I feel this is because there
aren't many good official resources out there to help do the most basic
things.
One of the "basic" things I haven't been able to find out how t... more >>
Locking a table to stop duplicate updating
Posted by Roger Withnell at 3/23/2006 12:00:00 AM
I have a framed website.
I plan to include in default.asp a routine to check if the annual
subscription is due from the records in the People table.
If so, then the routine would send emails to those who are due and update
the table that this had been done, so that it is only done once.
I... more >>
Test if file exists before displaying with XMLHTTP
Posted by Giles at 3/23/2006 12:00:00 AM
I have a left menu that is accessed and displayed via XMLHTTP (it resides on
the same server). Some sections of the web site don't have a "menu.asp", so
a "Page Not Found" page is returned, which doesn't look great in the menu
column.. Is there a way to know if a page exists before using
xml... more >>
Debugging a webMethod ? How
Posted by Peter Stojkovic at 3/23/2006 12:00:00 AM
USING VS 2003 and VS 2005
I have written a WebMethod.
Everything is working properly.
My Question:
Is it possible to DEBUG row by row through the code ??
Peter Stojkovic
... more >>
ASP w/Captcha form field drops last value in field upon submission?
Posted by Scott Gordo at 3/22/2006 3:49:29 PM
I have an asp submission form using Web Wiz Captcha. When the form
submits, it seems to occasionally drop the last value from the captcha
field. The field size is 12, as is the maxlength. The values placed
into the field don't get to more than 6 or 7 letters.
I know this isn't much information... more >>
Request.form("max")
Posted by abcd at 3/22/2006 3:00:53 PM
I can get the value on the form at the server side by using
Request.form("max")
when max field is disabled I dont get value. For GUI and business logic
purpose I have disabled some fields with the values, but when I update
Request.form does not return me anything for disabled fields.
Ho... more >>
Booking script
Posted by MarcusB at 3/22/2006 2:32:04 PM
Hi,
At our place we have Video Projector which people use to book. So far we
have on paper booking system.
I need some help in writing asp (web application) which will help us in
booking procedure. The application should look when projector is not
booked display calendar or list free times.... more >>
highlight text and right click on it for a custom context menu
Posted by Abdalla at 3/22/2006 1:55:27 PM
Dear All
I have a project on making a UI of a Web page that allows users to:
1. select any text by highlighting it, and
2. do some action on it by right-clicking on the highlighted text and choose
an action among those options presented by the context menu items that
appears.
3. send the ... more >>
RC4Encryption Base64Decode Problem
Posted by jdhavo NO[at]SPAM yahoo.com at 3/22/2006 12:51:52 PM
I have a password field stored in a database that was stored using
asp.net webservice code like this:
RC4Encryption(Base64Decode(mailPWD), PWD.Trim)
I would like to know if there is a way to decode the password in
Classic ASP?
Thanks in advance.
... more >>
Help on ASP SQL date format problem
Posted by mewanalwis NO[at]SPAM hotmail.com at 3/22/2006 1:59:23 AM
Dear Friends,
I have a rather strange problem which invloves SQL server and ASP. The
problem is this.
I have an ASP application which use a SQL server. it saves date values
with MM/dd/yyyy format. the SQL server and every other computer is
configured to MM/dd/yyyy format in reginol settin... more >>
HELP! Formmail email page won't work after Windows 2000 update
Posted by Rico at 3/22/2006 1:52:32 AM
Hello,
I'm using formmail.asp which is an emailing utility. Basically, the user
fills out a request page, clicks "Submit" and the page posts to formmail.asp
which emails the user information.
I'm running IIS5 on a Win2k server box and recently ran the Windows Updates
(the last time I do... more >>
Send valuies with Form
Posted by Dax at 3/22/2006 12:46:34 AM
Hi,
I want to create a shopping cart.
I have an asp page where I compile some fields and I want to show them
in a second asp page.
strtable = strtable & "<tr>" &_
"<td width=""51"" bgcolor=""#0488EC""><font
color=""#000000"">CODICE</font></td>" &_
"<td bgcolor=""#0... more >>
|