| | |
Embed a Form with output file
Please support our C# advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Aug 2008
Posts: 1,735
Reputation:
Solved Threads: 186
You cna add the item as a resource to your application, however displaying it, maybe more complex if the user doesnt have the facilities to decrypt or use a relevant app to display it. That would be the bigger stumbling block.
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
•
•
Join Date: Feb 2009
Posts: 5
Reputation:
Solved Threads: 0
Thanks LizR's for you quick response. Basically I'm developing an application for encryption and decryption of a file. User select a file inside my application and encrypt the file to destination folder, In this step I just want to create the encrypted file as a exe file.
User just double click on it without installing my application and get the decrypted file.
How can I do this.
Please help me.
thanks
User just double click on it without installing my application and get the decrypted file.
How can I do this.
Please help me.
thanks
•
•
Join Date: Aug 2008
Posts: 1,735
Reputation:
Solved Threads: 186
Well if its a resource its available, to use (use google) so all you would need to do is write either a console or windows form based app that asks them for password etc, and then where to save the file
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
•
•
Join Date: Nov 2006
Posts: 436
Reputation:
Solved Threads: 72
Is the file your application encrypts an executable or something like a text file ?
Your application could use a Trojan technique. You would need a separate small exe that knows how to request the password, inspect the cypher key, decrypt the (named) embedded file to disk and perhaps call upon windows to open that new file.
To place the file into the trojan, you would need to access (add) the file to the resources section of the trojan exe. Then rename the trojan to the name you desire. Once the user runs this trojan exe, it would popup the password dialog. Once they enter the correct password, you would write the file from the resources section onto the hard drive. Then, if the system supports the file extension, you could launch it.
sounds very do-able. Have fun with it.
Your application could use a Trojan technique. You would need a separate small exe that knows how to request the password, inspect the cypher key, decrypt the (named) embedded file to disk and perhaps call upon windows to open that new file.
To place the file into the trojan, you would need to access (add) the file to the resources section of the trojan exe. Then rename the trojan to the name you desire. Once the user runs this trojan exe, it would popup the password dialog. Once they enter the correct password, you would write the file from the resources section onto the hard drive. Then, if the system supports the file extension, you could launch it.
sounds very do-able. Have fun with it.
![]() |
Similar Threads
- PLS I NEED YOUR HELP! Help on Reading and Editing of already Written CODE on php! (PHP)
- Help me with my myspace clone (PHP)
- file handling in html and jsp (HTML and CSS)
- I NEED HELP PLEASE:Warning: mysql_num_rows(): (PHP)
- I NEED HELP PLEASE:Warning: mysql_num_rows(): (MySQL)
- Warning: mysql_num_rows(): (PHP)
- I've got Trojan.Holax... is this bad? (Viruses, Spyware and other Nasties)
- not-a-virusadware (Viruses, Spyware and other Nasties)
Other Threads in the C# Forum
- Previous Thread: object reference required for nonstatic field.
- Next Thread: file manipulation
| Thread Tools | Search this Thread |
.net access algorithm array barchart bitmap box broadcast c# check checkbox client combobox control conversion csharp custom cyclethruopenforms data database datagrid datagridview dataset date/time datetime degrees development dll draganddrop drawing encryption enum event excel file finalyearproject form format forms function gdi+ getoutlookcontactusinfcsvfile globalization httpwebrequest image index input install installer java label list listbox mandelbrot math mono mouseclick mysql operator panel path photoshop picturebox pixelinversion post programming radians regex remote remoting richtextbox save server silverlight sleep socket sql sql-server statistics stream string table text textbox thread time timer timespan update usercontrol users validate validation visualstudio webbrowser wia windows winforms wpf xml






