DIGIT-ARC read-only archive · snapshot: July 23, 2026

Matrix effect in VB???

13 posts · originally from https://geek.digit.in/community/threads/matrix-effect-in-vb.33462/

deepak.krishnan
deepak.krishnan Original post #1
Aug 6, 2006 at 5:41 PM
Hi friends,
I would like to know how to create a matrix effect in Visual Basic 6. I got a VB project and the link is given below. In that thing, it displays " Matrix Fall". I want it to change it to "Infosoft E-Learn" . Can you please help? It is really urgent.

*www.freevbcode.com/source/MatrixFall2.zip
siriusb
siriusb #2
Aug 6, 2006 at 6:57 PM
Go to the class ClsTexte.cls and locate the funtion Class_Initialize()
Replace the three strings with custom strings. It supports only small letter alphabets. No capital letters or other characters.
To increase or decrease the number of strings to be displayed, increase/decrease the PauseTexte array size.

Is this code given for free use?
deepak.krishnan
Aug 7, 2006 at 6:16 PM
yah the code is for free use.

Also If I have to add more text, then is it enough to add this:
PauseTexte(3)=150
Textesz(3)=" Text "
deepak.krishnan
Aug 10, 2006 at 3:42 PM
Thanks yaar. Its great and working fine now.
But when I tried to convert it to *.exe then a grey screen came and when I pressed entwer it terminated.
I want to add the above program into my project and then convert it into 8.exe format. Can you please help?
siriusb
siriusb #5
Aug 10, 2006 at 4:55 PM
You have to copy the .png files to the .exe's folder as well.
deepak.krishnan
Aug 12, 2006 at 1:20 PM
I didnt understand what you meant by *.png files.Can you please tell me what you meant?
siriusb
siriusb #7
Aug 12, 2006 at 2:11 PM
Dude, where else? In the project's folder. That is where the project1.vbp and form1.frm files are.
deepak.krishnan
Aug 12, 2006 at 7:17 PM
I wanted to know what are those *.png files you mentioned about and not the location where it has to be copied.
M
Aug 12, 2006 at 9:43 PM
He means copy all the files with png extension, used in the project into the folder where project1.vbp and form1.frm files are.
siriusb
siriusb #10
Aug 12, 2006 at 10:28 PM
The png files are image files that store the different alphabets and other grapics that are shown when the program is run. Go ahead and open one in an good image editing app(not mspaint).
deepak.krishnan
Aug 21, 2006 at 6:37 PM
I got a problem. I copied all the forms and other modules etc. into my project in Visual Basic. But when I tried to run, it showed a error in the code in ModDeclerations. It said something like "constant function required" and hightlighted this part of the code : D3DFVF_XYZRHW

How can I remove this error and make this the form that opens on opening the project ? Also when the user hits escape button, the main form must open in that event.
siriusb
siriusb #12
Aug 22, 2006 at 12:32 PM
You have to make a reference to the directx 8 library. That is where the consts are declared. Do this:
-Clik on the menu in vb Project->References
-Select "Directx 8 for vb type library"

Now run your proj.

As for opening a custom form, go to the frmMain.frm's code and look for the form_keypress event and add your form display code in the vbkeyescape event.
Edit: Ok wait, adding code to vbkeyescape don't seem to work. You have to add the form loading code after the form_load event's unload code (the last line). But even then, the screen's res changes to 1024x768. Hmm... directx stuff.
deepak.krishnan
Aug 22, 2006 at 5:50 PM
Thanks!!! It worked fine. I had already given the coding to load the form in form_unload event in VB. Thanks.