TheDarkShark
Neophyte
Denmark
2 Posts |
Posted - May 17 2004 : 12:56:30 PM
|
Hi I'm currently programming a online game, but I'm running into some troubles. The game is a classic snake clone, and it's the first real game I've programmed in Visual Basic. It's still missing some features, but I'm starting to like it.
The Project is made with a ActiveX Control and a UserControl instead of a Standard EXE and a form. The game works fine when i run it from Visual Basics compliler, but when I try to make a .cab file with the package and deployment wizzard, and load the UserControl from a HTML file nothing happens... This is odd, because it worked earlier and I can't figure out whats wrong.
You can download the project here: http://2z.users.whitehat.dk/
Help would be great appriciated, thanks -DarkShark |
|
VBBR
Moderator
Brazil
617 Posts |
Posted - May 17 2004 : 1:06:41 PM
|
Why would you develop a game using an ActiveX control instead of an EXE?
Anyway...
I have deployed the OCX to a local folder and the problem happened... a blank square meaning "not possible to load". Maybe the file needs some type of licensing?
Developing games in an OCX is kinda odd. If you want users to play the game inside a web page, as the game must be simple enough to fit this purpose, you could try making it with Flash or Director. Also remember that ActiveX controls only work with Internet Explorer.
|
Whatever. Who knows... |
Edited by - VBBR on May 17 2004 1:19:45 PM |
|
|
TheDarkShark
Neophyte
Denmark
2 Posts |
Posted - May 17 2004 : 1:22:49 PM
|
I know that an ActiveX controls only work with Internet Explorer. I thought about making the game in flash but i have no expirience.
I didn't get a black square, the control simply didn't load :( I've now added the frx file to the zip, does it work now?
Maby it has something to do with my browser security options... |
Edited by - TheDarkShark on May 17 2004 1:36:32 PM |
|
|
VBBR
Moderator
Brazil
617 Posts |
Posted - May 17 2004 : 1:56:36 PM
|
Oh yeah nice guess... And it's not a "black" square, it's a "blank" one... |
Whatever. Who knows... |
|
|
Dan
Squire
United Kingdom
29 Posts |
|
VBBR
Moderator
Brazil
617 Posts |
Posted - May 17 2004 : 2:25:21 PM
|
I created the CAB here with VB6 and the error persisted... |
Whatever. Who knows... |
|
|
EACam
Warrior
154 Posts |
Posted - May 17 2004 : 7:45:05 PM
|
Um...flash costs a bunch (if you get it from Macromedia, that is) and director is extraordinarily expensive (1000+) so I don't blame him for not using it (although CoffeeCup has a flash editor, but from what I've seen, it's not that great).
|
|
|
VBBR
Moderator
Brazil
617 Posts |
Posted - May 18 2004 : 10:43:08 AM
|
Well, some very old versions of Flash often come with PC magazines. (I got Flash 3 this way, some years ago) |
Whatever. Who knows... |
|
|