473,785 Members | 3,157 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can js talk to Excel or jpegs?

Hi. I would like to use Javascript to load specific database entries
into an HTML template. Is it possible, for example, for Javascript to
read entries of an Excel file and use specific cell data values to
populate specific areas of an HTML template? If not Excel, would it be
possible for js to read the IPTC info of a jpeg file and use those
variables to populate an HTML template? Thanks for any advice on this
issue.
Jul 23 '05 #1
3 1420

"M.L." <me@privacy.net > wrote in message
news:ck******** *************** *********@4ax.c om...
Hi. I would like to use Javascript to load specific database entries
into an HTML template. Is it possible, for example, for Javascript to
read entries of an Excel file and use specific cell data values to
populate specific areas of an HTML template? If not Excel, would it be
possible for js to read the IPTC info of a jpeg file and use those
variables to populate an HTML template? Thanks for any advice on this
issue.


No - not client-side javascript.
If you're using javascript in ASP, then yes - (server-side)
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.799 / Virus Database: 543 - Release Date: 11/19/2004
Jul 23 '05 #2
In article <ck************ *************** *****@4ax.com>, me@privacy.net
enlightened us with...
Hi. I would like to use Javascript to load specific database entries
into an HTML template. Is it possible, for example, for Javascript to
read entries of an Excel file and use specific cell data values to
populate specific areas of an HTML template? If not Excel, would it be
possible for js to read the IPTC info of a jpeg file and use those
variables to populate an HTML template? Thanks for any advice on this
issue.


Client-side interaction with Excel? Yes, but only with MSIE (see
WSH/ActiveX). And I believe it needs to run with special permissions (see
HTA).
I don't know of any way to interact with jpgs with javascript, but that's not
to say there isn't a way using the windows API (again, HTA/WSH). Java can
(applet).

Note:
HTA = Hypertext Application
WSH = Windows Script Host

--
--
~kaeli~
The Bible contains six admonishments to homosexuals and
three hundred sixty-two admonishments to heterosexuals.
That doesn't mean that God doesn't love heterosexuals. It's
just that they need more supervision.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #3
>
Client-side interaction with Excel? Yes, but only with MSIE (see
WSH/ActiveX). And I believe it needs to run with special permissions (see
HTA).
I don't know of any way to interact with jpgs with javascript, but that's not to say there isn't a way using the windows API (again, HTA/WSH). Java can
(applet). ***** applet must also have 'special permissions' (ie: signed)
Note:
HTA = Hypertext Application
WSH = Windows Script Host

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.799 / Virus Database: 543 - Release Date: 11/19/2004
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3430
by: Aaron Davies | last post by:
I'm trying to write some classes for my collaborative whiteboard to transmit images over the network, using the javax.imageio API, but I'm running into an odd problem: my code words fine with PNGs, but not with JPEGs. As you can see below, I've attached a progress listener to the reader, which reports progress up to just under 95%, then nothing. The warning listener reports no warnings. The images are written by an ImageWriter in another...
2
1289
by: M.L. | last post by:
I'd like to know if a javascript technology exists that, given a set of HTML files, would allow me extract cell data from a row in an Excel or csv file and place it into specified variables within the html template file. In other words, I'd like to substitute variables within the HTML file with their corresponding cell/row data. Each row of Excel data would correspond to a different HTML file. example: <html>
0
966
by: newbie | last post by:
Hi Can anyone please tell me how I can get and decompress JPEGs from an URL? Thank you!
0
881
by: emmett | last post by:
i've created a COM addin for several office applications (word,excel,ppt) and have put a commandbarbutton into each. Clicking this button calls a form. This form acts as a user interface to the current documents document properties so that the user only need click onto menuitems in several context menu boxes, selected a couple of keywords and they are set as properties (builtin and custom) for that document. The only problem is that I...
1
1085
by: kmazur | last post by:
Hello, I have a folder on the server g:\users\logos\. I need to create a web app that will display all the images in that folder (there are gifs, tiffs, jpegs and bmps) in thumbnail format and then when the user clicks, he/she can download that image. I found some sample code that will display one type of image (jpgs) but I cannot figure out how to display all different formats. IS there any sample code out there? any help will be...
0
1306
by: Jeff Rush | last post by:
October has arrived and the deadline for submitting a proposal to give a talk at PyCon 2007 is October 31 (November 15 for tutorials). While it is a PyCon tradition to wait until the last minute to flood us with submissions, I would like to encourage presenters to start a bit earlier this year. We have a new talk (not tutorial) submissions system which lets you interact with your proposal online, rather than a fire-and-forget...
2
1702
by: tlc1680 | last post by:
I am trying to add jpegs in a form, I am using a bound object Frame. When I right click and insert object I choose create from file I choose the picture and all that shows up is a link, the only way I have gotten the picture to show up is if I use a .gif and instead of a .jpeg. When I click create new, I am unable to get any of my options to work. On a personal computer I was able to use Microsoft Photo Editor 3.0 and have it insert a...
4
5547
by: =?Utf-8?B?ZG1idXNv?= | last post by:
I have an Access database with a table named 'tblMedia'. In tblMedia I have a field named 'Media' that is defined as an 'OLE Ojbect' field. In this Media field, I have pictures, they are jpegs. I'm using VB.NET 2005 and I would like to open the Access database and write the OLE Objects to the file system. Here's what I got and it's not working. 'Open connection to the Access database OpenConnection()
16
5191
by: Phil Stanton | last post by:
I have a form with a button which is supposed to open an Excel file (With lots of Macros /VBA) in it. The Excel file gets it's data from the Access program Here is the code Private Sub Storage_Click() On Error GoTo Err_Storage_Click
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10325
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10091
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8972
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6740
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.