Priniting from Browser

200 byte By seema_v at 2007-11-22 13:13:39
I have an issue with how to print adobe pdf file from browser using asp or scripts or applets. If anyone could please help me out with this. It will be a great favour.<br/>Thanks a lot in advance

Global.asa problem

371 byte By rosenpetrov at 2007-11-22 13:13:40
Hello.Can you tell me where to put the file global.asa.I put it into directory where my file default.htm stays, but i think that the IIS do not loads global.asa. One more question: i type in global.asa this: Session("MyVariableName") = "some text"Is it correct to type this outside of Session_Start...

Word - Explorer

366 byte By AndFanci at 2007-11-22 13:13:41
Hallo! Is there a way to control an application's instance (like Word) executing on a client, from vbscript or javascript, using GetObject? Reading the Net MSDN Documentation i found that explorer disallows the usage of GetObject for security reason (and that's ok) but do you know another...

beginner vbscript question

771 byte By forty7 at 2007-11-22 13:13:42
I have an activex control on my form, and I want to handle it's events with vbscript. I'm using visual interdev, and I've set the default client scripting language to vbscript. For some reason when I try to use the script window to add an event for my object it gives me this (removed...

Button detection

589 byte By DJS at 2007-11-22 13:13:43
Trying to make an ASP page that contains a submit button. The button will reload the page.The question is...Is there a way to detect if the page was reload from this button click?Alternate question ...If there are two buttons that both reload the page, is there a way to detect which button, if any,...

Web Parts

71 byte By 10346 at 2007-11-22 13:13:44
Hi<br/>Any pointers to building web parts?Basically using IE.<br/>Thanx

Connection Problem with Progress Database

990 byte By mpaithankar at 2007-11-22 13:13:45
We are trying to connect ASP to Progress Database. But we are not able to connect. We have tried following connection strings :"Provider=MSDASQL.1;Persist Security Info=False;Extended Properties=""DSN=;DB=DatabaseName;OIDP=TCP;OIDS=oibservice;OIDH=HostName;DBAM=Direct;DBPR=TCP;DBPA=Database Path ;DB...

Session state

375 byte By edmondthieffry at 2007-11-22 13:13:46
When I use session objects in the vb class of my webform likeDim language As Integer = CInt(Session("language"))I get the following error although I have ENABLESESSIONSTATE = "true" in my aspx page directive:You need to add an enablesessionstate page directive in order to use the Session object and...

ASP Calling Oracle Stored Procedure

1968 byte By Rama Mamidi at 2007-11-22 13:13:47
Hi GurusI am trying to call a Stored Procedure written in Oracle, from ASP. And can you check and let me know the syntax. I am always encountering the problem saying that the procedure doesnot exist.I tested the same stored procedure from SQL Editor which is fine.the description of the Stored Proced...

Firing query on server side and accessing the recordcount on client side

431 byte By vinod kadam at 2007-11-22 13:13:48
Hello,I want to fire a query on server side(the method to fire the query on server - i know it).After that, i want to use the Recordcount got from the query result(i don't know how to make it possible to access that on client side) on the client side. I want to make this happen using only one a...

ASP help

822 byte By rosenpetrov at 2007-11-22 13:13:49
I have a big problem with global.asa file.File contents is :SCRIPT LANGUAGE=VBScript RUNAT=Server Sub Session_OnStart Session("var1") = "some text" Session("DatabasePath") ="some_path_to_DB" End subSCRIPT' i typed SCRIPT coz the board do not accept ' other, but in my file it is correct...

session_onend

155 byte By loveenya at 2007-11-22 13:13:50
i have declared a session("name") and then closed IE directly. <br/>would u pls tell me if session("name") is empty or keep its old value in session_onend?

iis and request content

295 byte By robertsamanek at 2007-11-22 13:13:51
hi,<br/>i have the following question: how can i log the FULL request content on iis? i.e. with all headers, separators etc? (i'm using iis4 on nt server). of course, i tried it via ms network monitor, but this way is not the best one for regular use...<br/>thank you, <br/>robert

ActiveX and ASP, how to interact?

167 byte By Kain at 2007-11-22 13:13:52
How can i recieve message from activeX control and lauch a asp page? I d like to lauch a web page in asp after a choice in my activeX menu, how cani do that? Thx a lot

TemplateControl

81 byte By edmondthieffry at 2007-11-22 13:13:53
Anyone any experience with the TemplateControl class? Any examples available? Thx

WSH & ASP

324 byte By raju_n at 2007-11-22 13:13:54
Hi,I am creating a .vbs file using Windows Scripting Host to create objects in VBScript. How do I execute this .vbs file on click on some button in an ASP Page. Can I do this? Dim bValid, objShell Set objExcelApplication = WScript.CreateObject("Excel.Application") MsgBox "Hi" & Err.Description...

DSN

321 byte By amulay at 2007-11-22 13:13:55
Hi,I want to set a DSN on my local machine pointing to a Access database located in some folder at my web site.eg.www.xyz.com/Data/abc.mdbHow do I do it .... I can definately set a DSN pointing to a SQL Server database located at my web site then why not with Access .....regards,Amulay...

Cant Debug on Server

628 byte By shub2079 at 2007-11-22 13:13:56
When I try to debug my ASP+ application written in VB.NET using Visual Studio 7.NET beta 1 I get an error that says that the development environment is unable to automatically attach to the server.The error mentioned that I may not have permission to debug on the server, but the username I'm co...

checking for error code

819 byte By miki watts at 2007-11-22 13:13:57
Hi! i'm not sure if this is the location, but i found nothing else... i have this code in vbscript:' get mapping of location id to location nameFunction mapIDName(mapType,id) dim locMap if strcomp(mapType,"locations",1)=0 then set locMap=domDoc.selectsinglenode("index/locations/location[@...

Design Question

647 byte By forty7 at 2007-11-22 13:13:58
I starting a new ASP project. I'm going to need several session variables. I'd like set up some constants to identify these variables. From what i've read so far, it seems that i should use a #include:session_consts.incconst ROLE_1 = "role_1"const ROLE_2 = "role_2"const ROLE_3 = "ro...

Searching local filenames and returning them as links

180 byte By glutus at 2007-11-22 13:13:59
I'm trying to create a search functionality that looks for specific files (by filename and date) and lists the results as links on a web page. Does anyone know how to do this?

Execute SQL Script

112 byte By dinibs at 2007-11-22 13:14:00
Hi All,<br/> How to execute a SQL script on Oracle8 database<br/> Using ADO. <br/>Regards<br/>Dinesh

Transaction Handling..

607 byte By gabbarsing at 2007-11-22 13:14:01
we have to support transactions in our ASP based application.What we do is we have most of the database stuff implemented in COM (using VB). DML operations are handled in COM we just pass the SQL query as a string to COM method and then that method is handling the database interaction.The issue whic...

Problem in IE 5.5

904 byte By vinod kadam at 2007-11-22 13:14:02
I have a code which does the following on some event://Code starts herevar thepostform = document.createElement("Form");thepostform.id = "formToBePosted";var newElement1 = document.createElement("Input");newElement1.id = "one";newElement1.name = "CC";newElement1.value = "abc";newElement1.style.displ...

calling stored proce of progress database from ASP page

61 byte By prajiv at 2007-11-22 13:14:03
How to call a progress database stored procedure from ASP/VB?

calling stored proce of progress database from ASP page

61 byte By prajiv at 2007-11-22 13:14:04
How to call a progress database stored procedure from ASP/VB?

How to group recordsets in ASP page

1198 byte By goddess_spanky at 2007-11-22 13:14:05
I want to out put my recordset so that there are grouping levels, I have my SQL statement so that there is already grouping and order by clauses, but how do i get it to display this way without repeating the group headers each time?My output current is like thissite, senior, tm, associate, login, ca...

help !

567 byte By jusstujoo at 2007-11-22 13:14:06
Deareat All,can anybody tell me how to make a database connection.?? To make it very precise... i mean, i want my .mdb file on the remote server and i want my application to take a username and pwd and check it into the remote database and reply +ve if its there or not. i have done this using an ODB...

Force an Asp+ Application To Shut Down

98 byte By AndFanci at 2007-11-22 13:14:07
Hallo!!!<br/>How can i force an ASP+ application to shutdown from C# code? Thankyou for your help!

Problem with ASP Page Caching

202 byte By GameGuy at 2007-11-22 13:14:08
For some reason I have this page that is cached and will not expire. I tried using Expire, ExpireAbsolute and neather one worked. any info out how to get a page to not cach it's self would be great

QueryString

139 byte By cnjcrosby at 2007-11-22 13:14:09
Does anyone know if you can verify whether or not a QueryString variable was passed before trying to use it?<br/>Thanks for your help!

Where can I get PWS downloadable

264 byte By Deepak Kotian at 2007-11-22 13:14:10
Hi, <br/>I am new to ASP. I have learnt from<br/>someone that an IIS server or PWS(Personal Web Server) is needed for ASP.<br/>Can anyone help with the exact url/site for downloading PWS. I have only Windows 95 OS.<br/>Thanks and Regards<br/>Deepak

Can we run ASPX files on WIN 98 ?

201 byte By ojala at 2007-11-22 13:14:11
My machine is a Windows 98 machine and i run PWS in my machine so that it supports ASP pages, i have .NET framework also in my machine can i run my ASPX files in the same ? If yes, how can i do that ?

datagrid and add new

419 byte By danasp at 2007-11-22 13:14:12
I noticed a strange problem with datagrid. I'm trying to add a new record to my database. If I put submit button and input fields inside the datagrid it doesn't run. If I put it outside the datagrid , it runs. The whole datagrid is inside a form (in-place editing works fine). I just need t...

asp problem

257 byte By jesse mph at 2007-11-22 13:14:13
I'm creating DSN-less connection for microsoft access and I have problem with the SQL execution (to add and delete data)<br/>The following message is shown when I run that asp page.<br/>"Operation must use an updateable query. "<br/>What does it means?

refreshing a web page witha database update

393 byte By ccampbell at 2007-11-22 13:14:14
I am creating a web page tied to a database. I want to be able to have the web page refresh each time there is an update from the Database. (In other words, it would be like the database is pushing the command to the web page to refresh each time that someone updates the DB) Does anyone know how...

JavaScript Code help!

731 byte By paragvshah at 2007-11-22 13:14:15
hi friends ,I need your help for some javaScript code which has follwing functing.I have two multiple line text boxes.One of which contains multiple items, user has to select one or More otems from this box then there is a ADD or ADD ALL button to add selected or ALL feilds from first Multiline box...

ASP and SQL

1575 byte By boccio at 2007-11-22 13:14:16
Hi all,I have a problem communicating with database wheninserting is involved.I tried executin following script on Win98 Machine with PWS 4.0 and it works just fine, but....option explicitdim useractiondim dsn,sql,conn,rsdim fname,lname,teluseraction=request("action")select case useractioncase "add"...

USERNAME

229 byte By DJS at 2007-11-22 13:14:17
Is it possible to get the name of the person logged onto the computer and the computer name from an ASP page. If so how?<br/>I can get the IP address with REMOTE_ADDR server variable, but need more than just that.<br/>TIA<br/>DJS

ASPExec/Run batch file from ASP page

327 byte By jackofalltrades at 2007-11-22 13:14:18
I'm trying to use this dll via asp. I installed it last year on an NT2000server and got it to work. I can't get it to work on a new system.Basically I need to run batch file that compresses multiple files/directories into one file for downloading using tar/gzip.Any suggestions?Thanks....

include

606 byte By devpro at 2007-11-22 13:14:19
Hi,in ASP I use to include files where I have global functions and routines that I want to be able to call from any page. I also have global variables that I want to share from any page.Is this still possible in ASP.NET? Can I use the Include instruction?2) Is it a good way to use global variables a...

Set up a HTTP server

510 byte By john_h_zheng at 2007-11-22 13:14:20
I want to explore some internet stuff. In my office, I have two computer, both have Windows NT 4.0 workstatioin. The two computer can see each other via our company LAN.What I want to do is to make one of them a HTTP server so that I can practise both client and server site programming. How should I...

Databinding to individual webcontrols

227 byte By edmondthieffry at 2007-11-22 13:14:21
Ho do you bind data to a specific input box by vb code without writing directly to its text property and without having to read out its value after submit? For datagrids and lists alike its easy, but they are not forms alike...

DTC Recorset problems

879 byte By PedroES at 2007-11-22 13:14:22
HiI'm writting a web site and i decided to use for the first time Desig Time Controls (DTC). All was going ok until today: I have a page on which the server writes a table with some data it gets from the database. After that, when a button is pressed I fire a server side event (with DTCs you ca...

inserting into a sql database

890 byte By kmckil.ca4 at 2007-11-22 13:14:23
Hi, I've got a stored procedure to insert a username and password into my user table in my database. When I call this stored procedure from my ASP page, I get the following error:Microsoft OLE DB Provider for ODBC Drivers error '80040e14' [Microsoft][ODBC SQL Server Driver][SQL Serve...

Running Asp+

148 byte By srajar at 2007-11-22 13:14:24
how can get in to IIS<br/>in windows2000<br/>i have enabled Administrative tools <br/>even though i'm not getting IIS <br/>RajaRathinam.S.

Search in listbox

214 byte By Annie Thomas at 2007-11-22 13:14:25
I am writing an ASP program, using vbscript. I want to make a search in a listbox with a textbox, similar to the one in windows, help where it scrolls down to the closest match as you type in what you want to find.

Return Problem

108 byte By astrahhan at 2007-11-22 13:14:26
In a form, when you press "return" sometimes fuctions as "submit" button and sometimes as refresh. Any idea?

asp login page - having problems

1428 byte By kmckil.ca4 at 2007-11-22 13:14:27
Hi,I've got a page login.asp to allow users to view info in a database, but I can't get it to work. Here's the code://SP to find out the correct password for the username entered. objCmd = Server.CreateObject("ADODB.Command"); objCmd.ActiveConnection = objConn; objCmd.CommandText...

CSS for DataGrid?

813 byte By devpro at 2007-11-22 13:14:28
Hi,I have many pages that use the DataGrid control. I'd like to use a style sheet to set their properties, in order to have only one file to update when I want to change the colors/font. I know that I can link a CSS in this way:head> style> .DataGrid {font:x-small Verdana, Arial, sans-s...