all groups > inetserver asp general > december 2006
Filter by week: 1 2 3 4 5
Whistling in the wind
Posted by Trevor L. at 12/31/2006 2:21:04 PM
The subject says it, I think.
I have a hit counter on my page below
The code is
<b>Hit Counter: </b><!--#include file='_fpclass/hit_count.inc'-->
where '_fpclass/hit_count.inc' is
<%
'Dimension variables
Dim fsoObject 'File System Object
Dim filObject 'File Ob... more >>
Converting Recordset to CSV
Posted by Michael at 12/31/2006 11:30:31 AM
After reviewing the internet I did not find strong and simple example that
transfer recordset to simple CSV file.
Thanks for any help
... more >>
Rewrite rule
Posted by Lupus at 12/31/2006 3:06:22 AM
Hello everybody
In apache I used a feature called a "Rewrite rule" inside a .htaccess
file to process the URL :
i.e. http://www/mypage.html => http://www/page.php?page=mypage
Now I'd like to do a similar action on a IIS server with ASP (not
..net)...
Can anyone tell me how you can do thi... more >>
possible to store server side scripts on sql server?
Posted by User at 12/30/2006 1:54:05 AM
HI,
i intend to save some asp scripts on the server.
eg: i store this script on the server
<%="hello"%>
i save this under table "table1" , column name "title"
then i proceed to write out the server script:
set rs = conn.execute("select title from table1")
response.write rs("title"... more >>
Problem with loop
Posted by Kim at 12/29/2006 4:54:49 PM
Hi, why doesn't this work inside a loop, gives me the wrong "kontrollnummer"
(increases it as the loop goes on)
<%
Dim kontrollnummer
Dim raknare
Dim Summa
Dim referens
referens = (rs_faktura.Fields.Item("customer_ID").Value) &
(rs_faktura.Fields.Item("bill_ID").Value)
Dim... more >>
creating random teams?
Posted by Jeff at 12/29/2006 2:34:06 PM
het gang. Happy Holidays and stuff.
Here is what I am wanting to do, but need some guidance as hwo to start in
the right direction.
using sql db on ms server
i have players sign up for a tourney. easy
when the tourney begins, i want it to set teams. i have a number in the db
that tel... more >>
Copy ASP variable to clipboard using Javascript
Posted by zakhirn NO[at]SPAM gmail.com at 12/28/2006 3:44:02 PM
Hello,
I have a search function that is reading companies from a database via
ASP and spitting out the results. I have various fields of each company
in variables and I want to be able to create a link that uses
Javascript to copy the address to the clipboard.
I know there is the javascript... more >>
CDOSYS forms
Posted by Basr at 12/28/2006 1:21:48 PM
My provider removed suddenly the CDONTS from the server. Now I have to
change my forms and I have to use the CDOSYS functionaltity
Till now I used one script that could do the work with one page. I could
send all my forms to that page and this page conveyed all the input by
email.
Now I wa... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Error: 'HTTP/1.1 500 Internal Server Error'
Posted by Chuck B at 12/28/2006 12:05:05 PM
I just installed IIS 5.1 and Visual Studio 2003 with .NET 1.1.
I'm having a problem starting an ASP.NET project. Everytime I select an
template from the IDE I get the above message.
I set up a default.htm page and the IIS server appears to be working. It
just won't let me start a new VS pr... more >>
Image Resize in ASP
Posted by Michael at 12/27/2006 4:29:52 PM
Hi.
I need code that simply resize image with same ratio. My server has ASPImage
1.5 component. Other techniques is appreciated.
Michael
... more >>
error on my .asp code HELP PLEASE!
Posted by Coby Herd at 12/27/2006 2:14:22 PM
I keep getting the error message -
Error Type:
Microsoft JET Database Engine (0x80004005)
Unrecognized database format 'c:\inetpub\wwwroot\blog\db\blog.mdb'.
/blog/admin/Default.asp, line 14
and I have no idea what to do about it. Can anybody help me or send me in
the right direction?
... more >>
Help with Updating Multiple Records via Looping
Posted by pmarisole at 12/27/2006 11:54:36 AM
This is the first page......
<select size="1" name="Q1_<%=i%>" onChange="calc(<%=i%>)">
<option selected value="<% =rsScores("Q1")
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value=... more >>
How to Redirect User to Originally Viewed Page After Login?
Posted by vunet.us NO[at]SPAM gmail.com at 12/27/2006 8:13:52 AM
Imagine: user clicks the link which brings him/her to a secure page
(let's call it page "X") which requires login session.
If user is not logged in, he/she is redirected to a login page.
Question: how can I make user get redirected back to that original page
(names "X") which threw him/her to lo... more >>
ASP Access Denied error
Posted by marijuanated NO[at]SPAM gmail.com at 12/27/2006 3:29:39 AM
Hi,
I am getting the following error while trying to access an ASP page.
Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
/hypoccs/Report/PFR85.asp, line 15
The call to Server.CreateObject failed while checking permissions.
Access is denied to this object.
... more >>
http authetication
Posted by User at 12/26/2006 12:00:00 AM
Are there ways to do http authetication?
Or able to emulate .htaccess
For eg: User reach a directory, there will be a pop up asking the user to
enter a user id and password
pls advise. Thanks
Posted Via Usenet.com Premium Usenet Newsgroup Services
-------------------------------... more >>
Restrict page to open by date????
Posted by Marce Poulin at 12/25/2006 10:33:01 PM
I'm trying to find out how I can make a page to be restricted to open
between Saturdays 12:05 pm until Sundays10: pm... and that.. EVERY WEEK...
is there any way at all to do this or is it just simply impossible.???
thanks
... more >>
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
Posted by Videotron at 12/24/2006 10:29:20 AM
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Not a valid password.
This is an error I got after reinstalling windows and server IIS. I looked
all over the Internet but could not find out how to resolve this. Until I
fell upon ... more >>
problem opening asp page
Posted by John at 12/23/2006 7:53:15 PM
hi Everybody,
I just made a simple web site using Frontpage 2003 with a simple MS Accesss
database.
IF I try to open the asp page in a browser by typing
http://localhost/mysite/db.asp it opens just fine
However if I try to opeb it by typing c:/mysite/db.asp I get the following
error m... more >>
ASP code not displayed on web browser
Posted by LetMeDoIt at 12/23/2006 6:41:16 PM
Greetings,
I just installed ASP and enabled the Web Server Extensions and still
cannot get any ASP code to execute.
I added some html code to test and all html code is executed fine, but
once the asp section is reached, blank is displayed below the html
code. I then scaled back and created ... more >>
Need help clarifying use of VBxxx for creating webpages ...
Posted by brooksr at 12/23/2006 4:37:46 AM
I know VB5/VBA very well but have not used VB to create web pages but
need to do so.
Can someone explain the purposes and differences between VBScript and
VB.NET to create web pages?
Also where do Visual Web Developer Express Edition and Microsoft
Frontpage fit into the picture?
It seems... more >>
any ways to clear form cache or prevent user from pressing the back button
Posted by User at 12/22/2006 10:15:37 PM
Hi,
Are there ways to let browser forget about the previous submitted form data?
Or prevent user from pressing F5 to submit the same form again
Or prevent user from presising back on the browser?
Please advise.
Thanks
Posted Via Usenet.com Premium Usenet Newsgroup Services
-... more >>
looking for mod 10 script
Posted by Rob at 12/22/2006 9:05:33 AM
I'm looking for a mod 10 script that you know to work well. I have googled
and found a few different ones but I would like a 2nd opinion. If you can
please link me to a mod 10 script that you have used/implimented I would
appreciate it.
Ideally I would like a vbscript over javascript so we ... more >>
How to prevent my client to delete file in our web server
Posted by Chris at 12/22/2006 4:47:59 AM
We have offer a web space to hosting our client website. We offer them to
upload asp files to their web space. How can I prevent the client from
uploading asp files that will harm our web server. For example, deleting
files in our server using Scripting.FileSystemObject to delete our system... more >>
sql question
Posted by Jen at 12/22/2006 12:00:00 AM
Hello. I have a sql statement that should get all the records that match a
specific criteria; every record are assigned a textvalue like 12_2006 (as
for example this particular month, december 2006). I also have a drop-down
menu on this page where to filter which month should be shown on the p... more >>
Retrieve Images stored in OLE Objects to ASP page
Posted by zachhale NO[at]SPAM gmail.com at 12/21/2006 3:55:28 PM
We are storing images into the SQL database with the column type of
"Image" using Access and it is storing all of the images as "OLE
Object". I am trying to spit out the binary data of the Image part of
the OLE Object to an asp .net page so I can view it as a jpeg image.
I have found many tuto... more >>
LoadPicture - problem!
Posted by Iulian Ilea at 12/21/2006 7:18:55 AM
Hello!
I've created a PDF report and trying to load a picture using
LoadPicture fucntion. It works fine on my computer but it gives an
error on some other computers - permision denied, or something similar.
Code:
----------
Dim myImg, fs
Set fs= Server.CreateObject("Scripting.FileSystem... more >>
split array twice and do a multiple insert
Posted by clayalphonso NO[at]SPAM yahoo.com at 12/20/2006 11:27:51 AM
Here is the code:
<%
dim testArray, testArray2
dim Conn, rs
dim sSQL, sConnString
'response.write request.form("sel1")
'testArray = split(request.form("sel1"),",")
'for each gidstuff In testArray
'Response.Write gidstuff & "<br />"
'next
'define the connection string, specify database
... more >>
Print - Size of Page
Posted by Mangler at 12/20/2006 10:43:28 AM
This is probaly a dumb question but I cant find the answer. I need to
print some data to a label from a web page. The label is 2.25" x 1.25"
and when the page is printed the printer spits out 2 pages. I assume
the page can be sized but I dont know how. Can anyone give an example
or refer me ... more >>
fileupload and insert in db
Posted by fredd00 at 12/20/2006 10:08:29 AM
Hi
I'm looking for tutorials on how to upload a file (.doc or .pdf) ,
insert in database and retreive from database.
i'm using pure asp and sql 2000
Thanks
... more >>
Server.execute command inside global.asa
Posted by Michael at 12/19/2006 3:41:53 PM
Question. Is it possible to run Server.execute command inside global.asa
file. if it is where. Inside Application onstart? Another ideas appreciated.
Michael
... more >>
Textarea outside of loop
Posted by Jen at 12/19/2006 12:00:00 AM
Hi. I have this problem that I think should be easy but have been struggling
with this for days.
I have a list based on a recordset from a database. This list consists of
records meeting a certain criteria and at the bottom of this list i have a
button that inserts all these records to a´noth... more >>
Sample aPplication using Skype API
Posted by G at 12/19/2006 12:00:00 AM
Hello,
I want to a develop a small application using Skype API using ASP.
I want to know the user who is in online in my website.
please give a pieace of code
Thanks in Advance.
Bye
G
... more >>
Problems with getting file text stream
Posted by Stefan Dase at 12/18/2006 2:06:12 PM
Hello everybody!
I'm not very experienced in ASP but have to extend a colleague's site.
One page enables users to add new action-items to our database. After
inserting the record it have to send an email to the responsible worker
with title and description.
I tried to read the message b... more >>
preventing session variables from going null
Posted by javelin at 12/18/2006 1:38:10 PM
In ASP classic pages, I want to know if it's possible to prevent
session variables from becoming zero length strings? I have tried
setting the Session.Timeout to a large value, but alwas, after 20
minutes, my session variable times out. I also tried setting the
session timeout in IIS manager to ... more >>
Changing domain blows up just about everything...
Posted by geneb at 12/18/2006 8:44:03 AM
I'm having a domain change foisted upon me and the test I did resulted
in every last ASP and
ASP.Net script stopping cold. Nothing but plain old html worked.
Is there a FAQ or some other document available that outlines what has
to be done when the
IIS server machine is disconnected from one... more >>
moonpig - how do i use custom fonts in wysiwyg
Posted by mark r at 12/18/2006 4:25:27 AM
im interested in replicating how moonpig.com 's card editor works. in
particular how you can display a custom server side font in a wysiwyg
editor - i know moonpig uses .net but can this be accomplished using
plain ol' asp ?
mark
... more >>
Dinamically Declare variable in ASP
Posted by Michael at 12/17/2006 6:34:34 PM
Hi. I am trying to declare variables based on DB column.
I have a table with 2 columns:
"varname" and "varvalue".
values for example:
varName: 'varPhone'
varValue: '450-111-2222'
During the looping I'd like to declare on asp page variables that taken from
varname column and assign values... more >>
URL-to-PDF converter
Posted by shank at 12/15/2006 5:36:48 PM
Anyone have a cheap URL-to-PDF converter server solution?
Cheapest I found starts at $400... ouch!
thanks
... more >>
jmail
Posted by Mangler at 12/15/2006 11:30:40 AM
I am running into a wierd error while using W3jmail. The error is:
Error Is:
jmail.Message (0x8000FFFF) The message was undeliverable. All servers
failed to receive the message
/reclaim/app/email/WA_Universal_Email/JMail_VB.asp, line 126
The thing that is wierd about it is the fact tha... more >>
looking for free forum/bb in asp to grab
Posted by digger440uk at 12/15/2006 7:52:30 AM
I've got a need for a bb/forum to implement on my site. I would like it
to be reasonably modern looking - with search facilities, avatars, sigs
etc but i already have users registering in another part of my site. I
would like to use a forum where i can modify the code easily so i can
register th... more >>
Update form field from vbscript sub
Posted by Michael McGrew at 12/15/2006 7:03:48 AM
I have a asp form that has a dynamic drop-down box that a user selects
a value from. Once the user makes a selection I use the onChange event
to capture the selection and pass this value to a vbscript sub. The sub
then makes a adsi query using this value to retrieve additional
information. This ... more >>
Sending the generated report via mail
Posted by mrajanikrishna NO[at]SPAM gmail.com at 12/14/2006 11:20:18 PM
Hi friends,
I am generating a shipment order booking. For this, I am generating
a report which contains the container details. And another report from
another file, generating the packing list.
These two report are from two different pages. I want to send these two
reports together by mail... more >>
Update a row within a loop with "Order By"
Posted by Vanessa at 12/14/2006 4:25:01 PM
Here is my loop and it runs fine:
----------------------------------------------------
sSQL = "SELECT * FROM STORE_ITEMS"
Set DataRec = DB.execute(sSQL)
if not DataRec.EOF then
do while not DataRec.EOF
SKU = trim (DataRec("SKU"))
ITEM_ID = trim(DataRec("ITEM_ID"))
...
...
upd... more >>
ASP connect to dot net SOAP webserivce
Posted by Raymond at 12/14/2006 3:56:47 PM
Hi All,
Can any one point me how I can use classic ASP to connect to a dot net SOAP
webserice?
The other company has set up dot net webserivce with web address like this:
http://domain_name/webservice/service.asmx
with method Login, that can take userid and password, then sends back an
... more >>
asp running on a portable device to retrieve data offline
Posted by bajopalabra at 12/14/2006 12:40:56 PM
hi
i need to retrieve data with a portable device
inside a building that don't have wireless network
i need to run some application/page/whatever
saying "person name" and a "[check box]" for true/false
wich device (the most inexpensive) could i use ?
can ASP help ?
--
atte,
Hernán
... more >>
impersonate aspnet user with windows desktop application
Posted by ebbflow at 12/14/2006 11:23:33 AM
I've seen explainations on how to impersonate a non aspnet user when a web
page is called within an web application, but I have a different
impersonation issue.
I have a windows desktop application (not a web app) that is used by our web
administrator to control some of the web application'... more >>
XMLDOM PROBLEM ON WIN2003
Posted by at 12/14/2006 12:00:00 AM
It works perfect on my Win xp machine but when i upload the page into my
server which is win2003 it returns 0
What is the possible cause of it ?
Dim xml
Set xml = Server.CreateObject("MSXML.DOMDocument")
xml.async = False
xml.setProperty "ServerHTTPRequest", True
xml.load (http://www.x... more >>
upload image to FTP
Posted by G at 12/14/2006 12:00:00 AM
Hello Friends
How are you?
I came with a problem near you.
I want to upload a image to my ftp, iam getting this below error. i have a
code which is working in my local system, i have an idea that we need to
provide permissions to upload(like username password) but where we have to
provide... more >>
Reading the Response object
Posted by pmangesh at 12/13/2006 12:17:12 PM
Is it possible to read the contents of the response object? Basically, if one aspx page calls on another using Server.Execute() method and the called page simply does its processing and writes an XML using Response.Write, when we come back to the first page, can the XML be retrieved instead of being... more >>
Dynamic Select and onChange
Posted by Michael McGrew at 12/13/2006 9:04:05 AM
I have a Dynamic drop-down box that is populated based on a ADO query.
This works fine. I want to capture the users selection and assign it to
a variable for use in another query. I am using the onChange event to
try and capture the users selection but it always passes the last entry
in the drop... more >>
|