Hmm for some reason, using a temporary off-canvas text field works...
temp.text = bandname1;
if( temp.text == "none" )
bandbutton1._visible = false;
I was originally trying to do just this and it didnt work:
if( bandname1 == "none" )
bandbutton1._visible = false;
Hi,
I am loading variables in from a text file, and that is working ok. My problem is I can't access in any way the variables or the text fields that I loaded in from the text file.
I have a movie clip, called BandsMenu on the root level, and in that movie clip, are 12 buttons called...
The easiest way is to use an engine. Just take a look at some screenshots of my game im making in Visual Basic/ DirectX 8.1/ TrueVision 3D Engine:
www.TransfiniteGames.com
You'd be amazed with what you can do in Visual Basic :)
I am making a game with OpenGL, and I have a function that prints the fps (frames per second) on the screen. But the problem is that that function only takes strings in the char *str form, and my fps value is an Int. I am a beginner to C++ (not to 3D though :), I'm used to VB), so please explain...
Here is some code from an engine to load 3DS meshes.
Lol and to think this doesn't even cover texturing and rendering. Your best bet is to probably get a book that tells you how to load 3ds models, or to use an engine. If you use an engine, may I suggest TrueVision 3D for VB, check it out at...
Try messing around with this :)
Sub Load3DsMesh(Filename As String)
'##BD Load a 3DS file in the mesh. The materials and the texture will be loaded too.
'##PD filename 3Ds filename.
Dim LE As MaterialFactory8
Set LE = New MaterialFactory8
'SetPrimitiveType TV_TRIANGLELIST...
Do a search for picture rotation API calls in VB.
What I might do though, is have 30 pictures loaded, each with a different rotation, and then quickly switch between each picture in order. Well, actually what I would do is do this in DirectX or OpenGL, but that is not an easy/quick solution...
I have made my own simple web browser using the Microsoft Internet Controls component, and I want to be able to save pictures from it. For example:
If I tell the webbrowser to navigate to www.somewebpage.com/example.JPG, (-notice NOT a web page, just an image) how can I get it to save that...
What I really want to do is to put the computer on Standby.
NOT shut it down with a shut down API!!!! But, if there was a good way to put a computer on standby mode, or bring up the start menu, i'd really appreciate someone telling me more about it.
How do I simulate the control and escape keys being pressed? I already tried Sendkeys "^{esc}" and Sendkeys "^{escape}". What I am trying to do here is bring up the windows start menu, so if there's another way to do that, that would work too.
I am using the following code to update a textbox that has a vertical scroll bar:
text1.text = text1.text & newinfo & vbNewLine
The problem is whenever the textbox is updated, it scrolls all the way up, making you have to scroll down to see what was just put into the text box. So, is there a...
The easiest way to do this is to add a text box to the form, then in the properties window {F4}, switch the Multiline property of the text box to True.
The problem is I can play movie clips (avi, mpeg) on my downstairs computer, but I cant play them on my upstairs computer. It's because the upstairs one isnt connected to the internet, and cant download the needed codecs. So my question is; where are the codecs located on a windows computer...
Ingvar, I made a little program that does exactly that. All you have to do is type in "{enter}" and "10" to make it simulate the enter key every ten seconds. Its an exe I call WinRepeater, so if you want me to send it to you, e-mail me at crrrazydan@yahoo.com
Basicly what I want to do is put my downstairs computer on standby (which is networked to my upstairs one) from my upstairs computer. I thought of two ways this might be accomplished. 1: Somehow execute an exe located on the downstairs computer from upstairs, and the exe would be simple like...
How do you find out in VB, what a file's ms-dos name is? For example if I had selected File1.filename, which could be say, "Metallica - One.mp3" then how would I find out that it's ms-dos name is "Metall~2.mp3"? Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.