| View previous topic :: View next topic |
| Author |
Message |
sangeli Master Cheater
Reputation: 0
Joined: 07 Dec 2006 Posts: 406
|
Posted: Tue Aug 12, 2008 10:11 pm Post subject: VB6 Embed .jar |
|
|
I have the .jar, how can i stick it into a VB6 app?
_________________
| Dark Byte wrote: | | ce can certainly damage hardware let's say you have a robotarm attached to your computer, and the software limits usually block it from ripping out it's own cpu. If you remove that limit and then issue the command to rip out the cpu, sure, say goodbye to your hardware |
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Wed Aug 13, 2008 9:53 am Post subject: |
|
|
Add it to a resource file and compile the VB project with the resource file added to it.
_________________
- Retired. |
|
| Back to top |
|
 |
sangeli Master Cheater
Reputation: 0
Joined: 07 Dec 2006 Posts: 406
|
Posted: Wed Aug 13, 2008 9:36 pm Post subject: |
|
|
wont let me add .jar
i did project-> add files
no luck.
_________________
| Dark Byte wrote: | | ce can certainly damage hardware let's say you have a robotarm attached to your computer, and the software limits usually block it from ripping out it's own cpu. If you remove that limit and then issue the command to rip out the cpu, sure, say goodbye to your hardware |
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Thu Aug 14, 2008 3:56 am Post subject: |
|
|
| sangeli wrote: | wont let me add .jar
i did project-> add files
no luck. |
Thats not adding a file to a resource.. thats just attempting to add it to the project itself.
First, make sure the resource editor is turned on:
Add-Ins -> Add-ins Manager -> VB 6 Resource Editor (Turn it on, and turn it to auto load on startup.)
Now you will have the resource editor availible, though, I suggest you don't use it. (But you need it enabled in order to compile resources into the file I believe.)
Anyway, next to add a file, goto:
Project -> Add New Resource File
Then..
Tools -> Resource Editor
Then..
In the project explorer, double click the .res file that you just created. That will bring up the resource editor. At the top of the editor are buttons to add resources and such, you want to click the button to the left of the ? button. It should bring up a file selector to add a custom resource.
Point it to the jar file, click ok. And there, added to the resource.
_________________
- Retired. |
|
| Back to top |
|
 |
|