•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 374,612 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,448 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1140 | Replies: 7
![]() |
•
•
Join Date: Mar 2006
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
First of all, let me say I am new to this forum.
It has been a while since I attempted any programming. I have used vb.net, HTML, vbscript, and javascript in the past.
Here is my problem.
I am wanting to make a web page with pictures, under the picture will be a checkbox. At the bottom of the page there will be a print button. The pictures on the site(which is an intranet) actually represent excel(.xls) files. If a checkbox is checked, when the print button is pushed it will print that file. I want to keep it simple.
Is this possible? If so, can I get an example.
Thank you.
It has been a while since I attempted any programming. I have used vb.net, HTML, vbscript, and javascript in the past.
Here is my problem.
I am wanting to make a web page with pictures, under the picture will be a checkbox. At the bottom of the page there will be a print button. The pictures on the site(which is an intranet) actually represent excel(.xls) files. If a checkbox is checked, when the print button is pushed it will print that file. I want to keep it simple.
Is this possible? If so, can I get an example.
Thank you.
•
•
Join Date: Mar 2006
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
Basically, I am wanting the print button to call a function like:
<input type="button" value="Print" name="btnPrint" onClick="printfiles()">
in the function
if Checkbox1.value = True then
print.file("c:\test.xls")
if Checkbox2.value = true then
print.file(c:\test2.xls")
is this possible?
If so can someone through me some code, with formatting to test out.
Thank you again
<input type="button" value="Print" name="btnPrint" onClick="printfiles()">
in the function
if Checkbox1.value = True then
print.file("c:\test.xls")
if Checkbox2.value = true then
print.file(c:\test2.xls")
is this possible?
If so can someone through me some code, with formatting to test out.
Thank you again
•
•
Join Date: Dec 2004
Location: Lincoln Park, Michigan
Posts: 1,744
Reputation:
Rep Power: 7
Solved Threads: 107
•
•
Join Date: Mar 2006
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
As stated above:
It is for an intranet. Not internet. All users do have excel. It would be a user function you are correct.
I am wanting them to be able to select the files they would like to print. Hit a single print button, which will print the documents they selected, without having to open every single excel file, then printing it. It becomes complicated when you have to open 30 different excel files and print it individually.
This would save time.
It is for an intranet. Not internet. All users do have excel. It would be a user function you are correct.
I am wanting them to be able to select the files they would like to print. Hit a single print button, which will print the documents they selected, without having to open every single excel file, then printing it. It becomes complicated when you have to open 30 different excel files and print it individually.
This would save time.
•
•
Join Date: Dec 2004
Location: Lincoln Park, Michigan
Posts: 1,744
Reputation:
Rep Power: 7
Solved Threads: 107
Ok, let me rephrase: Using cross-browser JavaScript, CSS and HTML (the focus of this forum), I do not believe it is possible to code a system to automatically batch-print multiple Excel spreadsheets in an Intranet environment.
ActiveX is deprecated, Microsoft has moved onto .NET, but sure, if you wanted to do some IE-only activeX-cum-Excel-cum-VBA-cum-vbscript ASP thing, it might be possible. That's outside my area of expertise, so I'll bow out of this thread.
ActiveX is deprecated, Microsoft has moved onto .NET, but sure, if you wanted to do some IE-only activeX-cum-Excel-cum-VBA-cum-vbscript ASP thing, it might be possible. That's outside my area of expertise, so I'll bow out of this thread.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
- convert seconds to minutes, hours, days, months, years, etc. (C)
- Need Traffic to Your Site? Let us with 10 Years Experience Show You How! (Post your Resume)
- 5 Years Experiance In the PHP+MYSQL language and DB (Post your Resume)
- HeyExpress.com - Starting at $0.01! NR! 2 Years of Hosting Include! [EBAY] (Domain Names for Sale)
- *** !! New Years Special !! *** Adverise Your Website/Business On (Ad Space for Sale)
- 22 years experience programmer available (Post your Resume)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: javascript radio buttons and insanity
- Next Thread: wanna help..how to avoid default context menu



Linear Mode