all groups > inetserver asp general > november 2003 > threads for friday november 14
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Conditional Statement
Posted by Andrew Banks at 11/14/2003 6:02:31 PM
I've got the following VB in an ASP page and can't see why it won't work
<% if Request.QueryString(Failed=="N")%> The Failed variable is N <% else
%>The failed variable is not N<% end if %>
I'm calling the page as thepage.asp?Failed=N
Any one?
... more >>
Oder by Rnd() isn't random
Posted by Andrew Banks at 11/14/2003 5:19:30 PM
I'm trying to order a recordset randomly. I've tried the following
ORDER BY Rnd(ProdID) - ProdID is my primary key
I've read that this will be random but will always return the same random
order. I've also read that using the following should resolve this
ORDER BY Rnd(Timer()) - this still... more >>
slq script
Posted by Jeff Clark at 11/14/2003 4:34:50 PM
Hey everyone,
I am looking for one of those generate-a-sql-statement scripts.
I just need it to look at a database, and list the fields.
Then the guy can select the fields with check boxes.
and the sucker will generate a sql statement.
Crityeria and a group by would be nice.
I don't feel... more >>
CDONTS
Posted by hugh Welford at 11/14/2003 3:43:10 PM
Hi...I am currently trying to have the CDONTS facility activated by my
web-host (it has previously worked very well with another host, and is
crucial to the site).
I have received the following reason for it not working : " there is already
an e-mail server running on the server and when I try... more >>
Catch Nulls and blanks?
Posted by jason at 11/14/2003 3:27:45 PM
How does one accurately catch NULL or blank fields in ASP....it appears this
If statement does not appear to be able to catch it...why is this...I appear
to have covered all the necessary conditions but it does not seem able to
pick it up:
If IsNull(Owner_ID) or Owner_ID="" or IsEmpty(Owner_ID... more >>
International Input/Output
Posted by Frank Bridge at 11/14/2003 2:24:42 PM
I hope somone can offer some advice. I have built a database accepting
information through ASP from clients in UK, Germany France and Russia. I set
the ASP codepage to 65001 and the charset to UTF-8 and thought this would be
enough to present the information from the different sources correctly.
... more >>
Create, Delete virtual directory with ASP
Posted by bodanon NO[at]SPAM lycos.com at 11/14/2003 2:03:49 PM
I am trying to write code to create and delete a virtual directory with ASP 3.
If it is not possible, then how could I do the same with a physical folder.
any help is appreciated.
Thanks in advance... more >>
problem with mid() function
Posted by Joeandtel at 11/14/2003 1:36:15 PM
'When I create a single character string
var str = "A"
'convert to ascii
num = asc(str)
Response.Write num ' 65 shows up
'when I have a whole string
str = "hello"
str = mid(str, 1, 1) ' return 'h'
num = asc(str)
'I get an error:
Invalid procedure call or argument: 'asc'
What can be done ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Create new user using IIS/ASP
Posted by Ohaya at 11/14/2003 1:11:06 PM
Hi,
I'm running IIS5 on a Win2K server, and I want to have an ASP page that
creates new users. I have some simple code to test this, but am getting
a "500" error when I run it.
The ASP looks like:
<%
strDomain ="Foo.com"
strUser ="Foo1"
' Create new user with password
Set oDomain... more >>
session variables losing information with IIS 4.0 and I.E. 5.0
Posted by Pam Downey at 11/14/2003 12:41:50 PM
How can I resolve the issue of session variables losing
information with IIS 4.0 and I.E. 5.0? I changed the
regsitry setting Microsoft suggests but that did not work.
Thanks, Pam... more >>
Boolean variable concatination problem
Posted by asim at 11/14/2003 12:14:31 PM
Hi
if a declare a variale say
Dim Flag
and assing it to true a boolean value
Flag = True
and if i try to concatinate it with another string like
mystr="<my-str>" & Flag & "</my-str>"
and if the machine is non english the mystr will contain something like
<my-str>that language... more >>
a question about save the word document to database
Posted by lee_j at 11/14/2003 10:36:39 AM
Hi,
I have a question below.
In the Sql server 2000 I store some word documents.Then I get the data
from the database
through the asp code and display the word document in IE.The ContentType is
"application/msword".
My question is how to save the word document which is edited to the
d... more >>
newsgroups
Posted by Mike D at 11/14/2003 10:20:58 AM
Is it just me or are the newsgroups only accessible via
http?
Mike... more >>
Printing On the Server
Posted by Bradley M. Small at 11/14/2003 10:05:28 AM
Hi --
I have an ASP (not .Net) web application that needs to Print Server Side.
In response to let's say Orders being placed, the server would perhaps print
the pick sheets to some printer in the warehouse.
This is purely hypothetical application description as the actual
application is m... more >>
ASP query expression
Posted by Marco Alting at 11/14/2003 8:18:47 AM
Hi,
is it possible to have a replace() function in an SQL query? I need to use
something like that to be able to sort my "sequential-numbers", which are
actually textfields like this:
98.1
98.10
98.2
98.3
98.4
What I want is to query these numbers, convert them by removing the dot wit... more >>
insert CSV into access
Posted by hellojoost NO[at]SPAM hotmail.com at 11/14/2003 7:05:11 AM
Hi,
I use the following code to insert the data from my CSV into an access
database. But now I want the script to UPDATE the courses id they
already exist (so when the COURSENUMBER is known in the table),
otherwise he has to add just a new record.
How can I do this?
Thanks!
Joost
<%... more >>
RegExp Replace Method causes Access Violation
Posted by Alex at 11/14/2003 6:18:08 AM
Hi group,
I am using the VBScript RegExp object from an ASP-Page and
I got
the following debugger output, when calling the Replace()
method:
"First-chance exception at 0x77e97c5c in inetinfo.exe:
0xC0000005: Access
violation reading location 0x0000400c."
Otherwise the code is run... more >>
See the internet update
Posted by Ackermann at 11/14/2003 5:18:52 AM
Microsoft User
this is the latest version of security update, the
"November 2003, Cumulative Patch" update which fixes
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three newly discovered vulnerabilities.
Install now to help p... more >>
Beginner question
Posted by tvr1729 NO[at]SPAM yahoo.com at 11/14/2003 1:25:42 AM
Hi,
I have an odd problem.
The updates on my asp files are not reflected
in the browser.
Till recently everything was working fine.
Today I installed new updates on my windows 2000. After all the cached
asp contents are appearing and the updates are not getting refreshed.
I dont know... more >>
Web Enable an MFC application
Posted by Nitin at 11/14/2003 1:04:22 AM
Hi Everyone,
I have developed an MFC application using VC++ 6.0. The
application has been properly packaged and installed in a
directory. e.g C:\NMS
The directory consists of the main executable (NMS.exe)
and ceratin dependent executables (client.exe, server.exe
etc.)
Problem:
I ha... more >>
|