But, I want to pass some data to be displayed in the pdf file. This software allows to insert some textboxes(with name given to each textbox) in the pdf file and save them.
So, when I open this pdf file through my code, I want some values to be displayed in these textboxes.
Is it possible to use ASP +/ VBScript to automatically fill in certain fields of an HTML form with data generated from what the user typed in another field?
For example, the user needs to input 24 consecutive weeks worth of forecast data. If everything is done manually, they'll have to type in a date for each of the week. I would like the form to automatically fill in the following 23 dates (each one week later than the previous field) after the user fill in the first week's date. How do I do that?
My boss wants me to develop this page so that users can click on a button alongside an employee's page and this will open up the company Expenses Claim Form with some of the fields automatically filled in, pulled from the same SQL database that the webpage gets its info from.
I have been looking this up for *weeks* now, but the only solutions I can see involve the dot net framework, 3rd-party plug-ins or installing the Microsoft ODBC driver for Excel. My boss will not accept any of these solutions, as we are a huge organisation and this has to work accross the entire system. We're stuck with MS Office 2002, Windows XP and SQL Server 2000.
So far the best I can manage is getting the Excel form to open (but without the fields filled in), which I accomplish using the following code:
i need some help to find a way to pas a asp variable in to the ssi include file commend
i have tryde to pass the varible like this:
<!--#include file="sets/<%=a1%>.asp" -->
that didn work for me so i tryed this way instead
a2 = "<!--#include file="sets/cenarion.asp" -->"
<%=a2%>
that didn want to wark either
im little lost how to get this to work im not sure if its even possible .
what im trying to do is pass the A1 varible to the include fille command couse A1 contains the name of the file. A1 gets its info from a request.querystring
I am developing a blackjack game which is multiplayer, multitable game in which 4 users playing on each table. There are 8 tables like this. I am generating random cards through my random card function. Main problem is that I want to track cards for avoiding repitition. I can use application veriable for one table . But how to do for multitable ? We can't track it on session side as well as application side as all tables are in one application.
Can any one tell me how many programming languages are there in the world? I tried to google it but could not really get an exact or complete list of them all.cheers.
I think following code makes just one page Landscape. It restricts the range of document. But I can run this code in asp. How can I convert this macro code to asp code?
I am building a site that offers the purchase of information. Clients can view a limited amount of info then they are able to view each recset in further detail once they purchase it. I am running into difficulties of how to facilitate this. I am using dbquicksite3 to build the ASP (I could do it on my own but it would take much longer). I am using Access 2000 for the DB and this also seems to be limiting me somewhat). I want to keep it simple because it is not a broad reaching website (probably several hundred recsets of purchase info and hopefully several thousand customers). Anyway, the problem is that I have a search for the basic results, I have a basic results page but I cannot figure out how to allow users to access only the pages that they purchase right after they purchase rather than watching my email account and sending the query results back via email. I suppose I could built a 'watcher' app that could parse the email from paypal for the order number and query my DB for the paidinfo/basic info results, combine them and send out an email in response....
Is this the best way? I have a log in but 9 levels does not help considering I have hundereds of recsets of info that can be purchased and if I give access by levels they would be able to view all in that tier.
I have an Access Database consisting of 10 Tables 1,table10. I need to add a new column to an existing table (e.g., table 1) without affecting the existing data in other columns.
How can I add a new column to an existing Table via ASP programming.
Why doesn't anyone ever have problems during the night when i'm not working and can post then? Why do karsh and vlince get to answer every question? And if they have jobs where they can post all day why can't i have their job?
Does no one out there feel like answering? Doesn't anyone program during the night? I know plenty of people that work the 2-10 shift, why don't they post at night? or do we need to wait for college kids to ask how to do their homework again.....It's getting to be that time of year.
What is the best or most used software for programming in ASP and/or ASP.NET? I will mostly use to program web pages. I like to know if Visual Studio .NET will allow me to program web pages using ASP and ASP.NET.
Just started learning ASP, seems like lots of people use VBScript to program with. Though, I have spent the last year learning Java. Just wondering if I can use this to program with? along with its API's ?
Also, is it worth while to learn VBScript ? Is it industry standard or needed? Im guessing it is from the way its the language used in most ASP books. Any insight would be great.
I have 60,000 records and each row/record has one cell that contains additional 100-200 lines of data (tab delimited i believe) .. weird format. So what I need to do is extract those data in that one cell into separate records, duplicating the fields with it.
Lets say i have one record and the record has about 10 columns of data. Column C would contain about 200 additional lines of data. I need to extract that and insert new rows to insert these data into individual records.
My page sends an email using CDO to a username pulled from a database as follows:
With cdoMessage Set .Configuration = cdoConfig .From = "Admin <admin@MyCompany.com>" .To = rs("USERName") & "@MyCompany.com" .Subject = "Notification #" & rs("subject_Num") .TextBody = txtVar .Send End With
this works great so long as USERName isn't garbage. If there are bad characters in it that IIS doesn't like, it get an error '8004020f' at the .send line.
I was wondering if there was an easy and / or publicly available code snippet that could check the user name for special chars. Ideally, it would email me if there was a problem with the USERName rather than just strip the bad chars out and send it to whatever is left.
Formulae exist in an Excel spreadsheet, linked to a Word document (a standard letter that extracts the results from the Excel cells). We want user online to fill in a web-based form, these data to be processed according to formulae in Excel sheet and then a standard document (Word or similarly formatted) is emailed to the person containing just the results from the Excel cells. At no point will the person have access to original Excel or Word files.
The Excel and Word documents will change frequently.
It is desirable if there is a way to simply upload the Excel and Word docs and the online form and all other aspects of the system will change automatically to reflect these changes.
1. Person fills in form 2. Server processes data from that form and generated answers 3. Person is emailed a standard document with the answers in place
I have a problem with landscape pages in word document. I am creating a word document using asp programming. I want to set n. page as a landscape. But I can not do it.
for example I want to set first 3 page as a portrait then 4th pag landscape and then 5th page as a portrait again.
There is a code like ....
objWord.Application.Selection.PageSetup.Orientatio n = 1
But it set all pages as a landscape.
I just want to set only the active page as a landscape.
There is a macro option like makes landscape this point forward not all document. But I can not do this in asp programming.
i ask you to explain what is object oriented programmind and how to use it in ASP. what is its advantages?can i take some documents of you suggest.
i want to learn object oriented programming. i am already using functions in asp alot. i thinkobject oriented programming means Class for ASP. but what are differences betweenfunction and class.
I will save the word document in file system of server. following macro code makes just first page landscape. "wdSectionBreakNextPage" starts new section but I dont know How I ca convert this macro code to asp?
I try to make just page landscape others are portrait in as programming. I can do this by word macro but not by asp...
if anyone knew of a good book or website that explained in detail how to program a good username and password protection script for a website. It doesn't have to be anything great, just something that is a little secure and works.
For the past couple of months we've been developing a fair number of sites and sub-sites for an intranet site using a mix of JScript and VBScript.
Personally I disklike ASP and consider it an inferior scripting environment compared to Perl, PHP or Java, and the only reason I consented to work on this project was that I could use JScript (hello!.. real hashtables, exception handling etc.).
The problem we're having at the moment, is that one developer only does VBScript, and I will only write large amounts of code if I use JScript. But various aspects of the sites are merging, and we're having problems passing varbles two and from VBScript and JScript. One hacked up solution i've used is as follows: Code:
I always heard the term "data/database driven programming" model in ASP database, SQL programming, and web programming circles. But I don't quite sure what does it mean? Does it mean the web software's responds are based on data request from the user? Just like in Windows, we call it "event-driven programming" model because the windows program's responds based on user's responses? That's why we call "data driven programming" ?
Is it possible in ASP to have an Auto Fill option? For instance, if I am typing in a name and I type in the first few characters, can ASP recognize a similar name in the database and begin filling in the rest of a possible match?
ive got an online system which allows people to enter info into a database about an absence request they have - at the same time this emails the person in charge of absences.
The form is setup now but to make it easier i want to alter the "Name" and "email" fields so they require no filling in ie - a staff members name will be chosen from a drop down list (ive done this bit fine) and then once this is done the relevant email for this person is automatically placed in the email field. This bit i am struggling with - anyone any ideas how this can be done??
I do not have too much experience developping ASP.NET. I need to fill a dropdownlist with all the color of the system, I know how to do it by hands, one by one. : But there are like 200 hundred colors, then
I am currently developing a web form for the transfer of assets between departments, which will store information in an Access database. I currently have the form created and I am working getting the transaction processing portion of it going.
Basically, there is a minimal amount of information that needs to be entered into the form and I would like the rest of the information to auto-fill. So for instance, I would enter the asset number of the asset to be transferred, and said asset's serial number and description would fill in automatically. I have go this working in Access, but I'm at a loss for how to do it with ASP.
I think that I need the script to execute after a change is made to the AssetNo field, but I have not been able to get it to work how I want. Code:
I have created a word template(.dot) with several bookmarks but know I don't know how to fill this information from the asp page. I have to retrieve the information from the database and fill the information in the word document Code:
I would like to make a form that multiple people can access and update at same time with their web browser. The form would have fields that each wouldfill in and I would like for all to see what the others fill in. Is there an automatic way or would they have to refresh?
I am setting up a asp page so that a database can be added, updated, and deleted from, when the user choses to update and already existing record is there a way to search and get the information to fill the form with the current information so then you can just change what needs to be and click update.
I am still also trying to figure out how exactly to make the sql statements for the update and delete buttons.
I have an asp page right now and I want to fill a drop-down list with information like a persons name from an xml file. Once the user picks a person from the drop down list I want it to go back to the xml file and load the information about the person into textboxes. Does anybody have an example for something like this in asp?