I'm currently working on a Simon clone, but I have a few questions. First, is there a way to crop labels and forms into custom shapes and if so, how? Second, is it possible to generate sound in VB without using sound files?
Printable View
I'm currently working on a Simon clone, but I have a few questions. First, is there a way to crop labels and forms into custom shapes and if so, how? Second, is it possible to generate sound in VB without using sound files?
u could use a shape control, and good luck with sound, ive seen it done in c++, but its very slow, and would have to be generated, saved then used, if its possible in vb then it would take forever to make(the sound). i think there is a .something property for rendering, or u could use setpixel, ill check.
Yes, to crop forms(or, in fact, anything with a window handle (a .hWnd property in VB) ), you can use the various Region functions. Take a browse through the MSDN.
If you mean without EXTERNAL sound files, you can add sound data to your exe, with resources, and then load the data into memory at runtime, and play it that way.
Z.