@AdamGundryJun 11.2003 — #No way - the risk of viruses would be incredible. The best you are likely to get is providing a link to the EXE file, so users can download and then run it. I suppose it's possible there are hacks out there, but I hope not!
What i want is a simple .exe that opens up word on the clients computer, then saves the content of the document in a hidden form field. Do you know if this is possible?
Also, can word be invoked using, say javascript (remember i need to copy the contents of the document, including images).
@moondanceauthorJun 12.2003 — #I've written a simple activeX that will open word when clicked on. What i need this for is so that customers who write reports in Word can include images/ screenshots, and then the word content can be copied and saved as a binary file, to be sent to the server. This has to be done because at the moment each word file sent to the company is a few megs each in size due to the graphics. This will save server space as the content will be saved as binary (BLOB or image on SQL server) instead of a .doc.
The reason i asked about the .exe file is because its easier to do if you create an exe (i am using visual basic) as it lets you add an OLE container to .exe files, but not to ActiveX files: the word document pops up in the OLE container, and the content is easily copied, ready to be converted.
But it needs to be as an activeX plugin to run from a webpage, so the conversion of the content can be passed to a variable in the activeX code, to be passed to a HTML form.
I've got as far as opening word and copying the content, but i have no idea how to convert the content to binary or hex , or how to pass this to a form field. Is it possbile to pass an ActiveX variable to a standard HTML form???
whew. sorry about the long explanation, but its better understood this way than in dribs and drabs.
@AdamGundryJun 12.2003 — #I haven't really used VB/ActiveX, but you might be able to manually open a HTTP connection to the server and upload the file as a stream. Alternatively, you could save the file to the hard disk (as you are using ActiveX) and then upload using the HTML file upload control?
I don't believe you have to convert anything, because you should just be able to store the doc file in a BLOB field (I think). After all, a doc file is just a specific format for binary data, like a text file or whatever else.
@crackrucklesMar 06.2008 — #i need a way of embedding a n64 emulator into a web page and have it set up so you can open roms from it to. its for my school is the anyway of doing it??