|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Active Server Pages (ASP) Programming Discussionmicrosoft.public.inetserver.asp.general
open "filename.txt" for input not working
Seth Darr -
15 Apr 2006 10:09 PM - 9 messages
I'm working on migrating an Classic ASP/VB6 COM application from an NT Server with IIS<6 to an virtual machine running Windows Server 2003 and IIS 6. I've worked through most of the obvious problems resulting from ...
Local web server for classic asp
Roland -
15 Apr 2006 8:56 AM - 16 messages
I have a computer running Windows XP home edition and i would like to have a local web server for testing my classic asp pages. What would u advice to me ? thx Roland ...
Posts from Form providing Bizzare Results
Billy -
15 Apr 2006 4:22 AM - 2 messages
I'm using the POST method to submit a simple form html page with yes/no and checkbox fields to an asp response page which stores the values in a new dim string, then uses it to build a new table using ADO. I'm ...
Diagnosing ASP_0147 errors
CB -
15 Apr 2006 12:29 AM - 6 messages
Does anyone know of a resource for diagnosing ASP_0147 errors that appear occasionally in server logs? They hit my server in bunches, on rare occasions, for about an hour at a time. Any advice appreciated. ...
Querystring related
abcd -
14 Apr 2006 11:43 PM - 2 messages
I am making request to my asp page as http://localhost/test/test.asp?id=mike this works great query string value is retrived as "mike" whereas when I give the URL like this http://localhost/test/test.asp?id=%aaa ...
Error in CreateFolder()?
anjelone -
14 Apr 2006 6:30 PM - 11 messages
Hi. When I use CreateFolder() to create a folder with a space at the end, it creates the folder successfully, but still errors out with a "Path not Found" error. For example: <% Dim strCurrentPath strCurrentPath = "c:\test folder \ If Not oFO.FolderExists(strCurrentPath) Then ...
Repeat Entry in db
Simon Gare -
14 Apr 2006 4:39 PM - 7 messages
Hi I have a booking page that the user enters 2 addresses date and time etc what I need is the option for the user to select multiple date entries for the same journey or maybe multiple days ie they want to travel the same ...
Is This "AJAX"?
blueapricot416 -
14 Apr 2006 4:27 AM - 7 messages
I have some javascript in a standard HTML page that uses the ubiquitous "XMLHttpRequest" to send data to a remote ASP page. If that page "answers back" by sending a string using a simple Response.Write, which I then use in the original HTML page to ...
hidden fields
HockeyFan -
14 Apr 2006 12:53 AM - 4 messages
I know that <input type="hidden" fields are used within a form, but do <ASP:HiddenField s have to be in a form to be used? I've got a VB-based (codebehind) that catches the click event of a button on ...
WindowsIdentity.GetCurrent()
Roger -
13 Apr 2006 8:52 PM - 2 messages
I have a desktop and laptop for development. Both are xps and both are sp2 and both are update to date with security patches. On my desktop when I run the LogonUser api function call. It will create a windowsidentity object and whom I am attemptting to log in as, but if I look ...
help with if statement. searching for jpg or gif
Zen Masta -
13 Apr 2006 6:58 PM - 11 messages
Original code: <% img_name=rs("ISBN") & ".jpg" if CheckPath(img_name)=true then%> <IMG src="../images/70pixelsTall/<%=rs("ISBN")%>.jpg" width="50" height="70" border=0> <% else %> <img src="../images/70pixelsTall/noimage70.jpg" width="50" height="70" ...
Web Based Install from ASP Page
Prabhat -
13 Apr 2006 3:19 PM - 8 messages
Hi All, How ca I write a asp page that will handle web based Install? Is it possible or I need to go for some 3rd party Software for this, If Yes what is the Best to use with ASP? ...
permission denied error
sidewinder -
13 Apr 2006 1:45 PM - 1 message
Hi I have one dll (A.dll) calling another dll (B.dll). both these dlls are registered using regsvr32 and are lying in the windows\system32 path. I am using a winxp machine. My asp webapplication is hosted on this machine. ...
Validate Incomming Request from Other Site
Prabhat -
13 Apr 2006 11:26 AM - 1 message
Hi all, only if it is requested from a another site "[link]" with one ID as parameter (may be querystring - Encrypted). Even the page1.asp should not get open of requested from within the mysite.com. ...
overflow error
vir -
13 Apr 2006 4:51 AM - 5 messages
we use an E-office application where server is SQL server 7.0 and client side its MS access In our VB program we use ASP to synchronization and update client database from server and each table is updated afresh . This program was ...
File Overwrite - What does Windows do first?
ukwebguy -
13 Apr 2006 4:25 AM - 1 message
Hi, I'm using Persits ASP Upload to upload files to a simple document management application running on Windows Server 2003. At the moment I've set the OVERWRITEFILES property to FALSE so every time a file is updated ie the same file is uploaded, the filename is extended by a ...
Re: CreateTextFile Excel file formetting problem
Scott -
12 Apr 2006 10:01 PM - 1 message
What does the ReplaceForShow() function do? What type of data is being placed in the column? ...
Chinese characters into ASP variables
idistech -
12 Apr 2006 5:23 PM - 1 message
I have an application that can read and write chinese characters,
without problems, into a SQL Server DB.
Now i need to translate labels inside ASP pages from english to
chinese.
I put chinese translation into a file that i include in my forms.
But, when I try to use response.write to display labels in chinese
characters I obtain only strange other characters.
The same mechanism works well in english.
I have really few time and no idea how to solve this problem.
Include file (Labels_CN.txt) is
<%
f01_lbl01="日由ä¸å›½ç¤¾ç§‘文献"
f01_lbl02="日由ä¸å›½ç¤¾ç§‘文献"
f01_lbl03="日由ä¸å›½ç¤¾ç§‘文献"
f01_lbl04="日由ä¸å›½ç¤¾ç§‘文献"
f01_lbl05="日由ä¸å›½ç¤¾ç§‘文献"
f01_lbl06="日由ä¸å›½ç¤¾ç§‘文献"
%>
ASP file is:
<% Session.CodePage = 65001 %>
<!-- #include file="Labels_CN.txt" -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
</head>
<body bgcolor="#ffe131" leftmargin="10" marginwidth="0"
marginheight="0">
<center>
<table>
<tr>
<td align="center">
<a href="......"><%response.write f01_lbl01 'Users Manager
%></a>
</td>
</tr>
.......
Any help will by appreciated
-------------------------------
Carlo Bassi ...
Microsoft JScript runtime (0x800A01AD)
emfinkk -
12 Apr 2006 4:30 PM - 3 messages
Everything was working fine. I installed a bunch of Windows Updates and now I can no longer create ActiveX objects on 2 different Web Servers (1 Server2000, 1 Server2003). I have reinstalled MSxml3.0 SP7 and re-registered my msxml.dll's. I find a lot of reference to this ...
Using Library
A.Dagostino -
12 Apr 2006 3:45 PM - 2 messages
hi everyone i have developed a library in vb6 to import an excel file ftom client to a sql 2000 table on the server.This object must run at server. How can i create this object on a web asp page? ...
string mod.
news -
12 Apr 2006 1:56 PM - 4 messages
hello, Can someone show me how I can make this to happen!? 1. This is my string: small_testpic.jpg 2. I need the output: testpic.jpg Thanks // Nils ...
Session Variable for Shopping Cart
TRB_NV -
12 Apr 2006 8:50 AM - 6 messages
I'm losing information from my Session when I change pages or start the same page over again. I simplified the code so the example is really clear. The sample code that follows is supposed to generate a random number and put it ...
Stupid Question...
chakachimp -
12 Apr 2006 8:04 AM - 3 messages
How does one send an email via a DIFFERENT SERVER in c#? I'm doing so with the following code: dim schema schema = "[link]" set objMessage = Server.CreateObject("CDO.Message") set objConfig = Server.CreateObject("CDO.Configuration") ...
ASP Problem on uploading file into SQL 2005 DB
Monica -
12 Apr 2006 7:41 AM - 1 message
I have a problem with uploading file into SQL 2005 DB using IIS 6.0 webserver, this code was working in SQL 2000 Db and IIS 5.0. Can you please help me to see what the problem is. ...
asp problem in uploading to SQL 2005 db
Monica -
12 Apr 2006 7:25 AM - 1 message
I have a problem with uploading file into SQL 2005 DB using IIS 6.0 webserver, this code was working in SQL 2000 Db and IIS 5.0. Can you please help me to see what the problem is. ...
Has anyone tried to apply MVC to write ASP (not .Net) programs?
littlebeam -
12 Apr 2006 1:14 AM - 3 messages
Has anyone tried to apply MVC to write ASP (not .Net) programs? Any good reference? Thanks ...
Help creating a database driven breadcrumb trail
Red -
11 Apr 2006 10:11 PM - 2 messages
Hi, Can someone give me a starting point, as I can't figure this out myself. I want to create a breadcrumb trail on a site, but instead of being generated by cookies or a directory structure, it needs to be database ...
asp pages not running on xp pro localhost
w blann -
11 Apr 2006 8:53 PM - 4 messages
I have a desktop with XP Pro that happily runs my ASP pages via localhost and a laptop also with XP Pro that won't. A very simple web page without any ASP in it will run as page.htm but not as page.asp; XP Pro is running ...
Opening Multiple Connections
Mike C -
11 Apr 2006 8:52 PM - 6 messages
Hi. I'm trying to pull information from two databases on the same server and use that information on my web form. Not sure how to reference two separate databases. Any suggestions would be fantastic! Thanks. Dim _Ds As New DataSet ...
Not working?????
Matt -
11 Apr 2006 8:29 PM - 8 messages
why isn't this working??? I get an 'Expected end of statement' error on last line <!-- #include file="adovbs.inc" --> <% function SetCheckbox(arg) if arg then SetCheckbox="checked" ...
Opening Database & ASP Page Update Same Time
Jess -
11 Apr 2006 4:51 PM - 5 messages
Hello, There's an access database on an iisserver and asp makes updates to it. The database got moved to a newer server. The users used to be able to open the database and use the asp pages at the same time. Now when the database is ...
How to reduce image file size?
Parrot -
11 Apr 2006 1:33 PM - 4 messages
Is there any routine I can call to reduce the size of an image file after uploading a file from a client. I am looking to reduce file sizes programmatically using C# in my web page after uploading. I know that ...
Alert and disable
news -
11 Apr 2006 12:03 PM - 2 messages
Hello, How can I check if the file is an JPG within my form?? If the file is JPG then the submit button should be enable, if not the submit button should be disable!! Can someone paste any samplecode!! //Nils ...
Re: Any Active-X object supporting Drag and drop upload?
shibu_alexis -
10 Apr 2006 11:04 PM - 1 message
Eilsa wrote: Let me try
--
shibu_alexis
------------------------------------------------------------------------
Posted via [link]
------------------------------------------------------------------------ ...
Help with code
mwagoner -
10 Apr 2006 9:55 PM - 7 messages
Currently I have a query that brings all the information i need except for one piece found in another table. My current query looks like: strConnect = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=\\CALSJ1\PMAPPS\pmdata.mdb" Set objRecordset = Server.CreateObject ("ADODB.Recordset") ...
Classic ASP and COM / COM+ / DCOM examples
Blue Streak -
10 Apr 2006 8:42 PM - 7 messages
Hello, folks! Does anyone have URLs to some good tutorials / examples of usign Classic ASP with COM, COM+, etc? TIA... ...
Weird error when creating a .CSV file with VBScript on IIS6.
timstu -
10 Apr 2006 8:34 PM - 7 messages
Hi all, thanks for your help in advance. I have a page that creates a .CSV file that has been migrated over to Windows Server 2003 from Windows 2000 Server. It worked fine before I moved it, but now when it creates the .CSV file, and you open it, the ...
Display True/False Value in Checkbox
mwagoner -
10 Apr 2006 6:01 PM - 3 messages
I am trying to display the value of a true/false value in my table through the use of the following: <input type=checkbox name=FieldLabCheck value=" & objRecordset("FieldLaborSuper") & "></input> it doesn't work though.... what am I doing wrong??? ...
HTTP.Open - Permission Denied error
fniles -
10 Apr 2006 3:59 PM - 4 messages
In our ASP page, we call XMLHttp to download XML files. When calling our page using localhost (localhost/myWebSite/myPage.htm), it works, but when calling using the IP address of the web server (xx.x.x.xxx/myWebSite/myPage.htm), I got "Permission denied" error in the ...
Search in a TEXT File
Prabhat -
10 Apr 2006 3:35 PM - 2 messages
Hello friends, I have one TEXT file that I use to log download information from website. The file will have unique Login ID for the downloads. When the user will come for next time for download the LOG entry should go under the same ...
Host Problems with ShellApplication object
jholmes1 -
10 Apr 2006 2:26 PM - 1 message
I have been using the ShellApplication object in an ASP script to retrieve some file characteristics that the FileSystem object does not access (this is one of my clients' sites on a commercial host, running IIS 6.0). The script ran perfectly for about 6 months, then began returning ...
Changing the current region of asp.net Account
Christian Robert Schulz -
10 Apr 2006 1:33 PM - 3 messages
How can I change the culture/region of the machines ASPNET Account??? In code, I can set it for the threat manually by using system.threading.thread.currentThread.currentUICulture, but there must be a way to do it global on the machine: Plesk allows to change this for the ...
How to LOG Download Info in <A> TAG
Prabhat -
10 Apr 2006 12:22 PM - 2 messages
Hello friends, Currently I have one asp page which opens after the proper ID entered by user and it generate <A> tag with application software download link. When the user click on the link (which is pointed to the actual physical file ...
How can i download serveral files on one go?
JimmySlam -
10 Apr 2006 9:35 AM - 2 messages
I have lots of files and i need to download them using an easy way. I only cany think how to getting the files , file by file. is it a quiker way to to this like downloading a foler o compressing them and downalod the compressed ...
Passing data via XMLHTTPRequest... How do YOU do it?
Noozer -
10 Apr 2006 3:15 AM - 8 messages
I've been doing some reading about "AJAX" and it sounds pretty interesting. While I can make it work, it seem like I'm doing much of it the "hard way". I was wondering what kind of code that others use to pass data via ...
Creating a ZIP file
JimmySlam -
9 Apr 2006 8:56 PM - 2 messages
How can i create a ZIP file from a folder (full of files) of the server.? ...
CDOSYS error
sivaswamimail -
9 Apr 2006 4:57 AM - 3 messages
Hi I was using CDOSYS to send email. But the smtp error was showing a relay error how to find the same error from asp ? Please reply ...
Network Persmissions Write to Text File
Jess -
9 Apr 2006 2:56 AM - 2 messages
Hello, I have an asp page that writes to a text file. Can someone tell me what the correct permissions should be on the network - so it's safe from various users coming in to manipulate any files? ...
|
|||||||||||||||||||||||