Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by crrrazydan

  1. crrrazydan

    Accessing variables or text fields after loading them

    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;
  2. crrrazydan

    Accessing variables or text fields after loading them

    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...
  3. crrrazydan

    Importing 3d objects

    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 :)
  4. crrrazydan

    How to run exe file in c++ code

    ANY C++ program? Well make the classic "Hello World". Heck, MS Visual C++ will make that for you :)
  5. crrrazydan

    Converting from Int to String

    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...
  6. crrrazydan

    Directx

    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...
  7. crrrazydan

    Directx

    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...
  8. crrrazydan

    Roulette

    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...
  9. crrrazydan

    OpenGL

    Does anybody else here use OpenGL? And if so, don't you think Tek-Tips should have an OpenGL forum, since it has DirectX? :)
  10. crrrazydan

    How to calculate Collision ?

    Try checking out the D3DXPlaneIntersectLine function. Maybe that could work for ya.
  11. crrrazydan

    Saving picture from web browser

    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...
  12. crrrazydan

    Sendkeys control escape

    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.
  13. crrrazydan

    Sendkeys control escape

    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.
  14. crrrazydan

    Force scroll down in a text box

    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...
  15. crrrazydan

    To Memo or not to Memo! That is my Question

    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.

Part and Inventory Search

Back
Top