all groups > inetserver asp general > april 2004 > threads for april 15 - 21, 2004
Filter by week: 1 2 3 4 5
cross frame security
Posted by HL at 4/21/2004 11:51:01 PM
I have a page using iframe to get a page abc.htm
Is there anyway I can prevent other people from using the same method on their website by using iframe to get my page abc.htm?
... more >>
Tree menu
Posted by Rob at 4/21/2004 7:04:48 PM
I have a website that does not have a database associated with it. The
original version of the web site had a menu on the left side of the screen
that was very simple. As the years have passed, the menu has grown and is
getting more complicated -- many sections, subsections, subsubsection,
etc... more >>
parse text field
Posted by Bennie Sanders at 4/21/2004 5:47:37 PM
Hello,
I have a text file with 142 lines, each line beginning with a job number
and a line number, like this:
"9426 1"
"9426 2"
through 9426142
I've used the left function to extract the 9426 but how can I separate
what's left over? The right function isn't returning the remain... more >>
apostrophes in SQL statement
Posted by Rob Meade at 4/21/2004 5:39:08 PM
Hi all,
Ok - I kinda new the golden rule, if there's an apostrophe in a bit of text
you wanna write to the SQL server database, just double it up - marvellous -
has been working for ages - nicely!
Today however this appears not to be the case..
I have a page where the user enters text in ... more >>
Response.write RecordSet values
Posted by Fawke101 at 4/21/2004 4:17:02 PM
Hi there,
I have a page that response.writes a table if certain conditions exist,
What i am trying to do is write a table that also has a text box that
displays a recordset value, is this possible??
***
Response.Write("<input name=Date type=text id=Date>")
what i want is =
Response.Wr... more >>
Error with reponse.write
Posted by CD at 4/21/2004 4:04:35 PM
I have code from a book that appears work except for the writing the
reuslts. I am querying AD and writing the results. I get the error:
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch
/adlookup/results.asp, line 89
Which is the line> Response.Write "<TD>" & adoReco... more >>
Remove domain from request.servervariables("LOGON_USER")
Posted by Dave Karmens at 4/21/2004 3:37:27 PM
How can I remove the domain name and the \ from
request.servervariables("LOGON_USER") ?
Remove everything up to, and include the \ ...... more >>
Mini search engine (call center)...
Posted by A. Nonymous at 4/21/2004 3:16:35 PM
Hello,
I have developed a call tracking system for a small call center
utilizing an ASP server and an MSSQL server where the call center reps use
IE6 to enter in details of calls though the company's intranet system. I
have also made a search engine that basically uses a dynamic stored
p... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Email Attachment (ASP/VBScript/Access)
Posted by RJ at 4/21/2004 2:48:37 PM
I would like to generate an email that contains a 'people.txt' attachment.
The attachment is dynamically generated consisting of a list of names from
an Access database. Is this possible to do without first having to save a
file to disk, or without installing any additional DLLs? My host will not... more >>
Secure Folders
Posted by Armando at 4/21/2004 1:33:51 PM
Hi,
Here's my scenario: I have a website which is designed to only allow
authenticated users to browse. The authentication is done through a simple
asp script to check a database for a valid username and password. If it's
good it sets a session variable to allow the user to browse. In this web... more >>
line feed and carriage return
Posted by aa at 4/21/2004 12:49:44 PM
In a database of I have text splited into new lined by pressing ENTER, =
and wanted these new lines be preserved in HTML, what do I need to =
replace with <br/> in the recordset?... more >>
How to work as asp freelance programmer?
Posted by tradingmarkets NO[at]SPAM bol.com.br at 4/21/2004 12:09:21 PM
I'm having trouble starting and getting into new
projects, because, I dont have a network yet.
I'm trying to get at least one project, then if I make it well but not
charging TOO much, they may recommend my services.
I tried ads on the paper but didnt seem to work, I only
got one response and w... more >>
Looping through form objects - syntax question
Posted by sean at 4/21/2004 11:31:20 AM
HI There,
I am trying to loop through a form collection, each of the form textfields
has a different index number but the same name. What's the easiest way for
me to get the values from each one? I have tried the following but it's not
working at all,could somone help me out with the syntax pl... more >>
Database hyperlink problems
Posted by Fawke101 at 4/21/2004 11:29:11 AM
Hi there,
I have an SQL database that has a description column containing a
description of the field and in some cases hyperlinked words that point to
another page, so when the column is displayed in ASP it will be displayed as
a hyperlink.
I am writing an admin tool in ASP that edits this ... more >>
CDONTS problem (attaching images)
Posted by Poppy at 4/21/2004 9:56:53 AM
I am sending an html email using the following code :
code:-----------------------------------------------------------------------
-------
dim myMail
set myMail = Server.CreateObject("CDONTS.NewMail")
ImagePath = Server.MapPath("images\mailer")
ImagePath = ImagePath & "\"
'myMail.AttachUR... more >>
ASP treeview example needed
Posted by karl.rhodes NO[at]SPAM keywave.com at 4/21/2004 9:03:18 AM
I am trying to build a treeview from a sql server database view.
the number of child nodes can go up to 10 deep but whenever a user
click on the plus or minus to open a node then the node opens. if the
user clicks the name of the node, at any level, the name of the node
is taken and appended to ... more >>
calculate value on exit field
Posted by jochen scheire at 4/21/2004 7:57:12 AM
Hello,
Is there a way I can calculate a field in a form based on another field in
the same form. When clicking submit, both values should be posted to the
next page. I want to be able to type in a value in one field, and
automatically in a second field the value*1,36 should appear.
Thx in a... more >>
MS Access Query Search Fails on Boolean
Posted by jt at 4/21/2004 7:51:17 AM
I have a query that I would like to search on where my field is a boolean.
This is the error and the sql statment below,
Error: No value given for one or more required parameters.
SQL : SELECT * FROM [tablename] WHERE Red-Flag = True
Appreciate any help on this, since I am new to SQL.
... more >>
ASP and IIS6
Posted by IIS 6 Admin at 4/21/2004 7:20:09 AM
Well, let's see.
I have a complex ASP application running smoothly on W2k
and even on XP Pro, with a data model on SQL2k.
I have a brand new box, with server2k3, and IIS6.
I've made the same configuration as in IIS5 in this new
IIS6 and I received a complete set of error messages just ... more >>
showmodaldialog and ASP
Posted by Newt at 4/21/2004 3:36:02 AM
I'm using showmodaldialog, the URL for which is an ASP page. The ASP does some processing, and sometimes during the ASP processing, an error occurs, which I trap. The user can then close the ASP page and use an option to fix the error. When the user then reopens the modal dialog, the same error stil... more >>
Spelling Completion or Code completion in ASP?
Posted by ziggs at 4/21/2004 12:07:08 AM
I have an option box with 50 plus words. When a user tabs to this
field, I would like the user to have the ability to type in the first
few letters of the word and have the field go to the appropriate
value. For example, if values like Jack, Linda, Mark, Melanie,
Melinda, Mona, Nancy, etc were... more >>
Simple question regarding INPUT html tag
Posted by MDB at 4/20/2004 6:31:04 PM
I built a simple ASP page that looks up part numbers in an Access database
The page populates a drop down control ( a basic INPUT html tag ) with part numbers
This drop down contains over 1000 part numbers and is very difficult to use
Is there any way I can make the drop down editable
I can type... more >>
OT: Helpdesk/Asset-tracking applications
Posted by CJM at 4/20/2004 5:42:06 PM
Are there any recommended free/cheap Helpdesk/Asset-tracking applications
out there? I'm obviously think ASP/SQL, but I'm not discounting other
solutions (eg. PHP/MySQL etc).
I'm obviously checking through all the usual sources (ASPIN.net, 4Guys,
15Seconds etc), but I'm looking for recommendat... more >>
Inner Join question
Posted by Robin at 4/20/2004 4:34:30 PM
I've never done an INNER JOIN before, so I'm just trying to figure it out.
The following is giving me this error:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[MySQL][ODBC 3.51 Driver][mysqld-4.0.15-max-debug]Unknown table 'owners' in
field list
/db/cust2.asp, line 16
... more >>
need help with a select and order problem
Posted by dano272 NO[at]SPAM yahoo.com at 4/20/2004 4:00:46 PM
I have a forum running on ASP that allows people to set how many days
they want to see of messages (cutoffdate). The board is set up with
the following select statement - "SELECT * FROM Forum WHERE
DateCreated > cutoffdate ORDER BY ThreadID, FieldSortCode" The
threadid is a sequential number ... more >>
HTTP_REFERER avoidance?
Posted by Dave Anderson at 4/20/2004 3:47:08 PM
I have had the misfortune of having to debug a problem with a vendor
application, and have determined that the problem was caused by the
existence of the HTTP_REFERER header.
Assuming I want the user to reach http://server/app.dll?qsinfo, each of the
following causes the app to function correc... more >>
HOWTO: Force the SaveAs Dialog Box For Downloads
Posted by Dan Sikorsky at 4/20/2004 2:03:28 PM
How do I force the "Save As" dialog box so the client can save the file into
the folder of their choice?
The following code should work, according to Microsoft, but downloads the
file into the body of the browser window:
<%
Dim Stream
Dim Contents
Dim FileName
Dim FileExt
Const ... more >>
loop recordset adding fields to data dictionary
Posted by JT at 4/20/2004 1:01:44 PM
how can i loop through all the fields in a recordset adding a collection of
name/value pairs to a data dictionary where name is the field name and value
is the field value. this is what i have so far (not working, of course..)
this is will only be used for one row recordsets.
dim d
set d = C... more >>
querying a disabled value
Posted by Rahul Chatterjee at 4/20/2004 12:56:47 PM
Hello All
I have a text box <input type=text value="<%=something%>" name="text1"
disabled> on an asp page which I am querying out (trying to) in a
subsequent page using request.form - I guess it doesnt work with variables
that are marked as disabled.
Are there any alternatives to querying ... more >>
php functionality in asp?
Posted by [ + 2 0 r p 3 ] at 4/20/2004 9:10:39 AM
hello all,
i got into asp as a hobby, its not something i do for a living just
something i enjoy. anyway, at the moment i dont really have any projects on
so ive come up with the idea of going through the functions list of php and
creating this these same functions for use in asp.
now, my f... more >>
COnvert word document to html on server
Posted by Andrew Banks at 4/20/2004 9:05:28 AM
Is it possible to upload a word document to the web server and convert it to
HTML server side? I'd then be looking to either store in a DB or save as a
HTML file in a folder on the server.
I'm fine with the saving/inserting to the DB but really want to know if I
can convert word to HTML on the... more >>
ASP Caching, how does it work?
Posted by larrybud2002 NO[at]SPAM yahoo.com at 4/20/2004 8:25:49 AM
I've tried to read up on ASP Caching in IIS 5, and have some questions
about.
Can someone tell me exactly WHAT is cached? Is it the output of the
page? If so, how can this be benefitial since ASP is dynamic.
I've always thought that ASP 3 was interpreted, so there's no
compiling going on.... more >>
Debugging: String or binary data would be truncated
Posted by Lord Merlin at 4/19/2004 10:08:28 PM
I hope someone can help me with this:
This error gets generated from one of my client's sites, which records a
lot of info via forms. It happened today, when someone tried to make a
comment about a company, yet it's the only time that this error was recorded
while doing a capture. My client h... more >>
How to create GUOD using ASP?
Posted by Jonas S. at 4/19/2004 8:33:47 PM
I need to create a QUID in the pure ASP.
I know - it's possible use VB using CoCreateGuid from OLE32.DLL
Private Declare Function CoCreateGuid Lib "OLE32.DLL" (ptrGuid As GUID) As
Long
Is possible to achieve the same result just in ASP?
... more >>
send xml request string using HTTP protocol?
Posted by Matt at 4/19/2004 8:10:57 PM
The ASP page needs to send XML request string to another ASP page when the
user clicks submit button, I wonder how to get started because when user
click submit button, it will send the form to page2.asp.
<form action="page2.asp" method="POST">
Name: <input type="text" name="fname">
//etc.. c... more >>
network traffic, then set
Posted by igi101 NO[at]SPAM hotmail.com at 4/19/2004 5:23:37 PM
How do I do the above??
I need to keep track of all the packets sent out from my computer, or
receaved by my computer and log the ip and date...
I have a few ideas, but don't know where to go from there.
- using windows Performance monitor to log network traffic, then set
that to dump to ... more >>
Writing to a file "Bad file mode"
Posted by Doug Parker at 4/19/2004 5:13:29 PM
Hi -
I need to write to a file. I get the "Bad file mode" error when I run the
script below. I understand that this is a permissions issue. Since I'm
working with a shared server, I apparently can't login and change file
permission settings. I called the tech support for the host I'm working... more >>
restart iis 6
Posted by GTrevize at 4/19/2004 4:30:06 PM
hi everybody
i got a server on windows 2003 enterprise whit iis6.0
often i got to restart iis services, because the files i modify stay on
cache...
there is any configuration i missed?
... more >>
Consolidate asp pages
Posted by Terri at 4/19/2004 2:50:43 PM
I have 3 asp pages.
Subscribe.asp passes form input to a page that processes the form data with
<form method="POST" name = "form1" action="ProcessSubscribe.asp">
ProcessSubscribe.asp checks to see if the form input already exists in a
table. If the data exists the page is redirected with Res... more >>
problem with deleting object...?
Posted by Mikael Hellström at 4/19/2004 2:31:44 PM
Hi.,
I get this error when i am trying to close my object after this operation!
What can be wrong?
Regards Mikael
Error Type:
ADODB.Recordset (0x800A0E78)
Operation is not allowed when the object is closed.
My code
<%@ Language=VBScript%>
<!-- #include file ="./connectionStr\conStr.in... more >>
Weird Select object problem
Posted by neilnewton001 NO[at]SPAM yahoo.com at 4/19/2004 2:20:34 PM
Hi,
I have an asp form which, against my better judgement, I filled with
seven select objects, a couple of text boxes, and seven checkboxes.
The form also passes upwards of 20 querystrings.
The problem is that sometimes the form sometimes calls itself (e.g.
in case of errors). It ends u... more >>
New to using ASP
Posted by apgoodb NO[at]SPAM yahoo.com at 4/19/2004 12:56:08 PM
I think this should be quite easy; however, I am having problems. I
want to build a page that takes information from an SQL query and puts
the names in a list box. From this box the user can select which
"Market" they wish to use and then they can select one of a few links
to different reports... more >>
Numbers to words
Posted by Rahul Chatterjee at 4/19/2004 11:13:25 AM
Hello
Does any one know of any utility in asp which would convert the numbers
entered in to words - eg 20 would convert to twenty.
Thanks
... more >>
Help: Hidden value missing in request.form
Posted by J. Alan Rueckgauer at 4/19/2004 10:42:55 AM
I have an <input type="hidden"> on a form that has its .value set in
client-side script called from another asp in an <iframe> on that page.
When the form is posted back to the server, the field shows as being in the
form items collection, but the value is an empty string. The other <input>s
fr... more >>
scripttimeout
Posted by Rahul Chatterjee at 4/19/2004 9:39:54 AM
Hello All
I have 2 web pages. The first page is on a different domain with a page
containing links to another domain where the bulk of my code resides. The
first page contains session variables which times the script. If the time is
exceeded and the session variables are cleared, the page redi... more >>
Russian, Unicode and ASP
Posted by James Lattanzio at 4/19/2004 9:36:56 AM
Dear Anyone,
I have an ASP file that must print a letter in multiple languages,
including Russian and Korean. When I put the Russian characters in the asp
page and then try to save the file, Visual Interdev objects and tells me to
save the file as a Unicode ASP file. I do this, but then wh... more >>
hide path to .pdf files
Posted by James at 4/19/2004 9:36:20 AM
i am using adostream to push my pdf files to my customers but it pops up a
save/open dialog box.how can i make it so that it just opens the pdf as if
they where browsing to the direct path of an pdf file. p.s. i use this code
to hide the direct path so that the users can't try gessing other pdf f... more >>
Problems moving to IIS 6
Posted by Jason Barnett at 4/19/2004 8:42:43 AM
We have been running a website on a Windows 2000 server (with IIS 5) and are
trying to migrate to Windows 2003 (with IIS 6). ASP pages that once worked
on the old server do not work on the new one. The pages appear, but
incorrectly -- textbox fields don't show, buttons aren't their correct size... more >>
Incorrect filename in Acrobat 6.0 when saving PDF from ASP
Posted by vegard NO[at]SPAM mail.com at 4/19/2004 6:36:45 AM
This question includes both ASP (VBScript) and Adobe Acrobat/Reader
6.0. But I think the problem lies within Acrobat. If the ASP is
wrong, please tell me how to correct it.
Our web server controls access to pdf-documents with ASP pages. I use
the ADODB.Stream object to transfer the pdf (acc... more >>
Redirect to unc path folders fails when "Show HTTP Friendly Error Messages" checkbox is checked for IE.
Posted by Praveen Bengeri at 4/19/2004 3:51:04 AM
Hi All
I am seeing this weird problem wherein a Response.Redirect to a unc path (say for ex: "\\someserver\share") fails (doesn't load, throws standard dns error page) when "Show HTTP Friendly Error Messages" checkbox is checked in Internet Explorer
i.e. say i have a simple asp page redirect.asp w... more >>
Problem with data access
Posted by S N at 4/19/2004 12:43:43 AM
i had a working site with iis5 winxp professional on a p4 machine.
suddenly i am having problems with and the asp pages which have some
updating commands for the database. the update commands dont work and i get
one of the following error messages. i have tried restarting the computer
and have a... more >>
Problem with accessing table in access database
Posted by S at 4/19/2004 12:41:17 AM
i had a working site with iis5 winxp professional on a p4 machine.
suddenly i am having problems with and the asp pages which have some
updating commands for the database. the update commands dont work and i get
one of the following error messages. i have tried restarting the computer
and have a... more >>
Application Recommendations Needed
Posted by John at 4/18/2004 10:30:16 PM
Hi
I am looking for a site like http://www.ginger6.com/, where users can select
a pc but can also customise spec before placing the order. Would appreciate
if someone can recommend such an app.
Thanks
Regards
... more >>
insert statement
Posted by dave at 4/18/2004 4:52:54 PM
hi
i m writing query to insert records..
INSERT INTO (field1) values('I don't care')
field1 is nvarchar type data...
but i m getting error becoz of "'" between dont..
whts r the alternatives to solve this...??
thanx
dave... more >>
ASP pages does not display
Posted by Fahad at 4/17/2004 11:22:12 PM
I am using Windows 2003 server and IIS 6.
I can view .htm but when i try to view asp pages nothing
appears.
No response i get from ther server.
I can not view all asp pages.
The pages are working fine at sometimes of the day but
sometimes are not working.
What is the problem an... more >>
ASP & IIS vs Ms.Exchange?
Posted by Gorgo at 4/17/2004 8:29:13 PM
Hellow
What I want to do is to send e-mail from my asp page thru ms.echange server.
Does anybody know how to do it ?
- Ms.Exchange and IIS are working on diffrent machines.
- I have special account on MS.exchange with I can use to send e-mail-s
thanks for any information and link about ... more >>
Help w/ ASP page?
Posted by Cliff at 4/17/2004 7:03:07 PM
I've written a simple ASP page which forwards an incoming request to another
server. I'd like to add a variable to the request and have it appear in both
the POST and the GET when forwarding the request. Any ideas how to do this?
Here's the script:
<%@language=JScript%>
<%
var objSrvHTTP=... more >>
Auto-Press Button
Posted by Al at 4/17/2004 10:34:54 AM
How to Hit the Submit Button via loading the page.?
Explain:
I have page with username and Submit button
the value of the username is hardcoded in asp page
but i do not want the user to click on the submit instead
i like to have such a page as a link that they click
and go to asp page with s... more >>
HTTP Error 404 when try to run asp
Posted by WhatEver at 4/17/2004 7:28:04 AM
Hello all,
when i try to run asp page i get this error "HTTP Error
404", am runing IIS6 on Windows server 2003.
thanks
... more >>
Naviation with drop-down menues
Posted by yn at 4/17/2004 5:34:13 AM
I am looking for a navigation system (vertical and horizontal) with
drop-down menues for my web site. Is there ane code or component that
anybody can recommend?
... more >>
Accessing another computer's administrative shares
Posted by Birthday at 4/17/2004 1:38:06 AM
Hi, I try to make an ASP application that can access to other computer's
administrative shares like (c$, d$) in the network. There are computers that
have XP Professional or 2000 installed in the network. All the computers
have "administrator" account and password for this account. I try to make ... more >>
ASP web hackers
Posted by mustcomment2003 NO[at]SPAM yahoo.com at 4/16/2004 8:32:16 PM
I have done tests for form hacking and ASP.
I can use IE to save a page locally, which has a form, to the hard
drive (file/save) then change the "action" property to the qualified
url and submit the form.
The action page picks up the POST or GET http string and works with
it...
Can any... more >>
VBscript parsing in IIS
Posted by tolik168 at 4/16/2004 6:37:01 PM
I have the ASP page
<%@ Language=VBScript %>
<%
Option Explicit
Response.End
A = b
%>
On some servers I get parsing error on some I don't
Error says that variable A is not defined.
This is understandable but the script is not even supposed to get to
= b
line
because of Respon... more >>
sending email from asp
Posted by Doug Parker at 4/16/2004 4:14:05 PM
I need to send an email from web page. This is the easist thing to do =
in PHP, but in my limited experience with ASP, everything is more =
difficult. That may very well be because Verizon is the host I have to =
deal with, but nevertheless, I hate life right now and I'm losing time =
(=3Dmone... more >>
Text box value
Posted by TLowe at 4/16/2004 3:51:45 PM
Hello
Will the text box default value always yield a value? When evaluating each
form item, text boxes are evaluated as having a count even though its the
blank default value with nothing entered. The same is not true for other
elements like a check box. They show a count of none if they are ... more >>
asp numeric values
Posted by Rahul Chatterjee at 4/16/2004 3:04:18 PM
hello all
I am displaying values retrieved from a database using asp in text boxes. Is
there any way to right justify the values in the text box and also have them
in 2 places of decimals
Please advise
Thanks
... more >>
calling java from asp
Posted by Mattias at 4/16/2004 2:21:03 PM
I wonder if anyone knows if it is possible to call a method in a javaclass from asp NOT using Microsoft's JVM. (I must use Sun's JVM for some reasons). If you know I would be thankful for an example how it's done.... more >>
List Box value >> display text1,2,3,4,5 etc.
Posted by Fawke101 at 4/16/2004 1:33:27 PM
Hi there,
I need a page where a user selects a value from a menu/list box, and a
certain part of a form is dislpayed.
Ideally (probs the easiest way for me) is to create 1 form with all the text
boxes etc and then when a user selects a value from the initial list box the
relative boxes are di... more >>
LDAP and asp
Posted by TomB at 4/16/2004 12:12:49 PM
I'm trying to browse our Active Directory.
I found the following on a website
<CODE>
Set oRootDSE = GetObject("LDAP://RootDSE")
Set oDomain = GetObject("LDAP://" & oRootDSE.Get("DefaultNamingContext"))
Call EnumOUs(oDomain.ADsPath)
Sub EnumOUs(sADsPath)
Set oContainer = GetObject(sAD... more >>
thousand seperator for a number
Posted by eddie wang at 4/16/2004 11:48:09 AM
I have a number 12345. How to add thousand seperator for the number to
become 12,345? Thanks.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
type mismatch when caculating
Posted by eddie wang at 4/16/2004 10:50:17 AM
The following caculcation will result type mismatch:
boe_net=oil_net+oil_gross .
Here is the value:
oil_net: 69997
oil_grss: 84651
Here is the code:
strSQl = "SELECT nvl(ROUND(SUM(A.NET_STD_PB_VOL)),0) OIL_NET,
ROUND(SUM(A.GROSS_STD_PB_VOL)) OIL_GROSS,
NVL(ROUND((SUM(A.NET_STD_PB... more >>
CALLING AN ACCESS REPORT BY ASP PAGE
Posted by yervant.mungan NO[at]SPAM eurocopter.com at 4/16/2004 9:36:11 AM
I created a report by access and i would like call this
report bye asp page.
Somebody could help me?
Thanks a lot.... more >>
type mismatch when caculating
Posted by eddie wang at 4/16/2004 9:28:03 AM
The following caculcation will result type mismatch:
boe_net=oil_net+oil_gross .
Here is the value:
oil_net: 69997
oil_grss: 84651
Here is the code:
strSQl = "SELECT nvl(ROUND(SUM(A.NET_STD_PB_VOL)),0) OIL_NET,
ROUND(SUM(A.GROSS_STD_PB_VOL)) OIL_GROSS,
NVL(ROUND((SUM(A.NET_STD_PB... more >>
r there ne gud opensrc ecommerce systems with product management?
Posted by mark | r at 4/16/2004 9:26:56 AM
Are there any good open source ecommerce (basket and payment) systems with
product management around? im having a hard time finding one
mark
... more >>
Need to open a new browser window, not a new window
Posted by Gordon at 4/16/2004 8:21:04 AM
Can anyone tell me how to open a new browser, not window, to a link provided below
http:\\chl3939\exchange\%Userid
I need to open the OWA in a new browser so when a user exits, the passwords are not cached because the browser session is closed, but the old one with the original link page will st... more >>
Limiting number of tries in a quiz (ASP not ASP.net)
Posted by bj117 NO[at]SPAM mailcity.com at 4/16/2004 7:14:39 AM
I want to limit the number of tries an individual has at a question in
an online asp quiz to two. I cannot write to the user's hard drive.
I understand that this is possible to do using session cookies (not
that desireable since the powers that be get very nervous with even
the mention of a co... more >>
NT Authentication with ASP
Posted by baranidharan NO[at]SPAM coolgoose.com at 4/16/2004 5:38:08 AM
Hi
I am creating an intranet site. I want to display the name of the user
who has logged into the user. In case of Anonymous users i want to
fill their name as 'Guest'. I tried the following code.
<%
if Request.ServerVariables("REMOTE_USER") = "" then
Response.Write ("Welcome Guest")
e... more >>
UTF8-Detection on the server?
Posted by Sven at 4/16/2004 1:41:07 AM
Hi
I'm using a .NET client application that does requests to a VB6-server application hosted in an ASP page (the page simply created the object and calls a method passing the asp scripting context as a reference)
When using the ASP scripting context to get a query string variable containing an U... more >>
Best way to INSERT
Posted by Luis at 4/15/2004 9:05:51 PM
Which of the following two examples is the faster/better way to do a
sql insert from an asp page?
SQLINSERT = "INSERT INTO test ( fname ) " _
& "VALUES (" _
& " '" & fname & "' " _
& ")"
or
SQLINSERT="INSERT INTO test (fname) "
SQLINSERT=SQLINSERT & "VALUES (
SQLINSERT=SQL... more >>
asp problem in IIS5.1
Posted by vamsi at 4/15/2004 8:10:05 PM
Hi All,
I have windows XP with IIS 5.1. My IIS is working fine
with HTML Pages.but it is not working with ASP pages. if i
select a .html file as initial document it is working
fine. but if i select a .asp file as inistial document it
not working. I am getting the following error.
... more >>
badly formatted .mp3 when forcing a download in ASP using Content-Disposition...
Posted by mike_mccarthy NO[at]SPAM mindspring.com at 4/15/2004 6:03:37 PM
Hello all,
I wanted to see if anyone was having the same problems as me playing
an .mp3 file after forcing a download from and IIS server using ASP
and the following code:
<%
Response.ContentType = "audio/mpeg"
Response.AddHeader "Content-Disposition", "attachment;
filename=test.mp3"
%>
... more >>
Is this safely unique?
Posted by Ted at 4/15/2004 4:35:12 PM
As I don't have access to a GUID component on our shared ASP server, I need
to generate "unique" key for each order line in a basket table for an
eCommerce site.
I am using the following in Session_OnStart in the global.asa: -
session("UniqueOrderID") = session.sessionID &"D" & cdbl(Now())
... more >>
File transfer from a client to the server
Posted by Johnd at 4/15/2004 4:20:18 PM
I am looking for a way to transfer a file from a clients machine to the web
server. I have used the tag:
<input name="NCRPIC" type="file" id="NCRPIC">
to get the file name and path on the local client, Now I need to transfer
it to the server so that i can save it in a folder for future refer... more >>
server.mappath, permissions at the root of the drive
Posted by Blake at 4/15/2004 2:48:15 PM
We are using the server.mappath method. The folder structure looks like
this:
D:\inetpub\wwwroot\appfolder\admin\file.asp
NTFS permissions on D:\ are set up to allow 'admins' and 'system' full
control on D:, nothing else (I removed the everyone/full long ago). The
wwwroot folder has NTFS ... more >>
Compatibility between IE and Netscape...
Posted by Ruskin at 4/15/2004 1:56:05 PM
Is this a compatability issue, or am I missing something obvious... I have
the following link (not exactly the same, but you get the idea);
<a href="mailto:joe.bloggs@microsoft.com">Spam Microsoft</a>
If I am running;
a. Netscape Communicator with Netscape Mail
- Link works perfectly
b. ... more >>
accessing files on another computer
Posted by Rosanna at 4/15/2004 1:41:30 PM
I'm pretty new to ASP, so please bear with me...
I'm setting up an ASP web page that includes listing the
files in a folder (which are hyperlinked so
the user can open the files). This folder is located on
another computer so on my webserver, I've got a mapped
drive to that folder called ... more >>
(var).EOF
Posted by Robin at 4/15/2004 1:33:45 PM
I have a select statement that is stored in a variable. How can I tell it
to do something until it reaches EOF.
This is the code I have:
set rs1 = conn.execute("Select * From table where tableID =" &session("ID"))
set rsUnique = conn.execute("Select DISTINCT userID from table2 Where
tableID ... more >>
Displaying Line Breaks from a memo field
Posted by RH at 4/15/2004 12:59:47 PM
I have this code:
snip---
strWBody=strWBody & "<p><b>Details of Sale:<b><br>"
&recordset.fields("Details")&"<br>"
response.write strwbody & "<br><hr>"
snip---
I am writing everything to a strWBody because I have a bunch of fields to
test for empty data. Those I don't want to show up.
Bu... more >>
executing a page on another server?
Posted by Gary Contois at 4/15/2004 11:40:32 AM
Here's a crazy request. Would it be possible for my ASP to be able to
execute an ASP on another server then return back to the page. I know that
the Server.Execute command does it locally but I am interested to see if
there is anyway my request could be done.
Thanks,
Gary Contois
gcontois@me... more >>
generate, reset an order number daily
Posted by Doug Parker at 4/15/2004 10:51:24 AM
I have a client that needs me to generate and order number for each order
processed. They want the number to be something like "X24106W1" with the
"1" at the end being the number of the order processed in the day. So in
"X24106W1" the "1" means that it's the first order of the day. ""X24106W2"... more >>
Recording dynamic data
Posted by TLowe at 4/15/2004 10:21:32 AM
I have a series of elements (textbox, checkbox, radio,etc) that are named
dynamically in a for loop. The number of elements on the page is set by the
user and is variable. There can be one or many. I would like to use the
data from the elements (name, choice etc) to update the database with ... more >>
asp, cdo and attachments
Posted by mrb22_50322 NO[at]SPAM yahoo.com at 4/15/2004 5:26:27 AM
Im working on an asp page that retrieves a message(s) from my inbox. The
problem im having is getting to the attachment object. My final goal
is to save the email into a database along with the attachment(s).
Here is the code I have so far.
Thanks.
<%@ LANGUAGE=VBScript %>
<% Option Explici... more >>
nested repeaters with javascript for checkbox toggling
Posted by Machi at 4/15/2004 3:11:03 AM
let say i created nested repeaters in HTML page of a particular Web Form. Parent repeater dubbed :
"parentRepeater", child Repeater dubbed "childRepeater" . Within "parentRepeater" and "childRepeater", i
defined a checkbox respectively. In Code-Behind, i will dynamically generate parent-child re... more >>
|