How to send XMLdata to exe file
-
Hi all, Do you know how to send XMLdata to exe file ? This preposion is not to create XML data file. This situation is the following. The XML data is send from websever, the browser on client receive it. This browser install a plugin that have a function receiving and sending XML data. When this browser receive it, send it to a exe file. I think 2 pattern. 1. This browser send XML data at the same time, kick a exe file by a plug in. 2. A exe file have already performed. If you have some solutions, please advice me. Best Regards, yu-yu
-
Hi all, Do you know how to send XMLdata to exe file ? This preposion is not to create XML data file. This situation is the following. The XML data is send from websever, the browser on client receive it. This browser install a plugin that have a function receiving and sending XML data. When this browser receive it, send it to a exe file. I think 2 pattern. 1. This browser send XML data at the same time, kick a exe file by a plug in. 2. A exe file have already performed. If you have some solutions, please advice me. Best Regards, yu-yu
You could register a specific MIME type in the PC (eg. .myFileExt) to be handled by your exe file, then send the XML as filename.myFileExt, and when the user opens the file it will be processed by your exe (The exe will receive the filename as the argument). At least that's what I did with my program. However, I don't know how to register a MIME type programmatically, maybe someone else can help?
-
You could register a specific MIME type in the PC (eg. .myFileExt) to be handled by your exe file, then send the XML as filename.myFileExt, and when the user opens the file it will be processed by your exe (The exe will receive the filename as the argument). At least that's what I did with my program. However, I don't know how to register a MIME type programmatically, maybe someone else can help?
Hi thank you for your advice. About the following "when the user opens the file it will be processed by your exe" When XML is sent, have this situation already processed ? or at the same time exe file received, do exe file process ? thank you in advance for your kindness. best Regards, yu-yu
-
Hi thank you for your advice. About the following "when the user opens the file it will be processed by your exe" When XML is sent, have this situation already processed ? or at the same time exe file received, do exe file process ? thank you in advance for your kindness. best Regards, yu-yu
I'm not sure what you're asking, so I'll try to explain what I think you're asking :-D. If the MIME has been registered in the user's PC to be handled by your exe, whenever the user opens the xml file (in this case, filename.myExt) then the exe will be activated. Therefore, 1. User downloads xmlData.myExt and saves it to the PC. 2. User opens xmlData.myExt (so it has to be opened by user, either by double-clicking on the file or select Open to activate MyProgram.exe) 3. MyProgram.exe runs, and accepts location of xmlData.myExt 4. MyProgram.exe does whatever it needs with xmlData.myExt I hope that answers your question.
-
I'm not sure what you're asking, so I'll try to explain what I think you're asking :-D. If the MIME has been registered in the user's PC to be handled by your exe, whenever the user opens the xml file (in this case, filename.myExt) then the exe will be activated. Therefore, 1. User downloads xmlData.myExt and saves it to the PC. 2. User opens xmlData.myExt (so it has to be opened by user, either by double-clicking on the file or select Open to activate MyProgram.exe) 3. MyProgram.exe runs, and accepts location of xmlData.myExt 4. MyProgram.exe does whatever it needs with xmlData.myExt I hope that answers your question.
I'm sorry to luck my explaination, thank you. Your precondition is to save xml to the PC. I think about not to save it. The client's browser( already installed plugin) catch it, plugin kick exe file and send it to exe file. To register MIME, in this case, is it possible ? thank you in advance for your kindness best regards, yu-yu
-
I'm sorry to luck my explaination, thank you. Your precondition is to save xml to the PC. I think about not to save it. The client's browser( already installed plugin) catch it, plugin kick exe file and send it to exe file. To register MIME, in this case, is it possible ? thank you in advance for your kindness best regards, yu-yu
I've spoken to my colleague, he said you can register the MIME to open the file automatically. Under the File Types setting, there is an Advanced button where you can untick the "Confirm open after download". If you want to do it from the registry, he said it corresponds to My Computer\HKEY_CLASSES_ROOT\.myExt and My Computer\HKEY_CLASSES\ROOT\MIME\Database\Content Type
-
I've spoken to my colleague, he said you can register the MIME to open the file automatically. Under the File Types setting, there is an Advanced button where you can untick the "Confirm open after download". If you want to do it from the registry, he said it corresponds to My Computer\HKEY_CLASSES_ROOT\.myExt and My Computer\HKEY_CLASSES\ROOT\MIME\Database\Content Type