Search:

Type: Posts; User: AlphaScorpious

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Re: [2005] Raising keyboard events in old games

    Can you post an example?
  2. Re: [2005] Raising keyboard events in old games

    I tried My.Computer.Keyboard.SendKeys.
  3. Re: [2005] Raising keyboard events in old games

    You're misunderstanding what I'm trying to do.

    I had aready done what you suggested and it works fine with Windows programs and the Command Prompt - for example, if I assign ENTER to Button 1 on...
  4. [2005] Raising keyboard events in old games

    What I am trying to do is use a USB GamePad to control old games like MAME and Tomb Raider (that didn't support pads and joysticks) using DirectInput (DirectX 9).

    I can run my app and open the...
  5. Re: Why does the new DirectX SDK have only C++ examples?

    But there used to be examples of managed DirectX for VB .Net. DirectX SDK 9.0b had them. Do a search on the web and you will find dozens of people trying to figure out DirectInput for VB .Net.
  6. Why does the new DirectX SDK have only C++ examples?

    I'm curious as to why there are no longer VB .Net examples with the DirectX SDK. Does Microsoft not want anyone using VB .Net for creating applications and/or games that use DirectX? In fact, the new...
  7. Just Curious: How Do You Comment Your Code?

    I find myself adding a lot of commentary to my code. I think that it's way overkill but since I've never done any VB .Net programming professionally where other programmers would working with my code...
  8. Re: Interface Usability: How Far Should You Go?

    Thanks for the input. I went ahead and programmed the menu to change dynamically based upon the note order in the note cluster. It turned out it wasn't all that difficult since I already had all the...
  9. Interface Usability: How Far Should You Go?

    Below are a couple of screen caps from an app I'm writing for guitarists.

    On the left is an example of how you use the track bar to select a new note when creating an alternate tuning. In this...
  10. Re: Context Menu for a Track Bar not appearing immediately

    I need all of the menu items on the context menu hidden before it opens. During the contextmenustrip .opening event a sub is called that determines which menu items are visible. There are 14...
  11. Re: Context Menu for a Track Bar not appearing immediately

    The context menu only displays choices based upon the track bar value. It turns out that there is a bug somewhere in determining the choices to display so perhaps the context menu is firing on the...
  12. Re: Context Menu for a Track Bar not appearing immediately

    Sorry. It's .Net 2.0 (VS 2005) and a ContextMenuStrip.
  13. [RESOLVED] Context Menu for a Track Bar not appearing immediately

    I have a track bar with a context menu. When the form first loads, when the user right-clicks on the track bar the menu doesn't appear. It takes a second right-click before it does. Anyone know why?
  14. Re: [RESOLVED] ListBox error using SelectedIndex

    So after spending hours trying to figure this out, I went to the old tried and true method of pulling my head out of my backside. Wow! I could actually I see my code now and realized that I was...
  15. [RESOLVED] ListBox error using SelectedIndex

    I'm having a problem with setting a ListBox's SelectedIndex from a sub.

    I fill the ListBox with 8 items during Form_Load(). Once it's loaded, I select the index for the listing I want selected:
    ...
  16. Re: Calling a PictureBox click event from a Button click event

    Ok, after a "duh" moment, the answer seemed pretty obvious seeing as how VB .Net practically tells you what to do. Here is the solution that appears to work:
    PictureBox1_Click(Button1,...
  17. [RESOLVED] Calling a PictureBox click event from a Button click event

    I have a series of PictureBoxes and if the user clicks on one of them, it highlights (changes color). Only one can be highlighted at any given time. I have a button that resets the images to their...
  18. Replies
    0
    Views
    2,771

    MidiNotes

    After much searching here and on the web, it turned out that I'm not the only one who needed to be able to play individual midi notes. It also turned out that as far as .Net is concerned, there isn't...
  19. Replies
    2
    Views
    789

    Tab Control Alignment

    When aligning tabs along the bottom of a control, why do they not orient properly and have their highlight bar on the bottom? It's looks stupid to have these tabs along the bottom that have no border...
  20. Replies
    2
    Views
    696

    Re: Wave Form Analysis

    Ok, maybe DirectSound isn't the way to go. If your sound card is working then receiving input and playing output is already being handled by your sound card's drivers, correct?

    Then isn't the real...
  21. Replies
    2
    Views
    696

    Wave Form Analysis

    How do you go about programming real time wave form analysis?

    I would like to write my own software guitar tuner/intonation tool. It seems like I should use DirectSound's full duplexing functions...
  22. Re: A simple function for resizing an image

    That's the difference between a programmer and someone who can program. :)

    The original code has been edited to implement JuggaloBrotha's suggestion.
  23. A simple function for creating a new image of tiled smaller images

    Public Function TileImage(ByVal tImage As Bitmap, ByVal xTiles As Integer, ByVal yTiles As Integer) As Bitmap
    Dim x, y, xCtr, yCtr As Integer
    Dim sImage As Bitmap = New...
  24. Replies
    3
    Views
    668

    Re: Programming Practices

    Thanks, I'll check it out.
  25. A simple function for resizing an image

    Public Function ResizeImage(ByVal iImage As Bitmap, ByVal ScaleX As Single, ByVal ScaleY As Single, ByVal iMode As InterpolationMode) As Bitmap
    'Receives an image as input and scales it up...
  26. Replies
    3
    Views
    668

    Programming Practices

    I originally learned to program with VB4 using a Sams Publishing "12 Easy Lessons" book. For the most part, I have no real issues except that I'm certain I'm not coding in anything even remotely...
  27. When my app runs on some system, Windows asks for it to act like a server

    A couple people have reported that when running my application (a landscape generator) Windows asks them if they want my app to act like a server and accept incoming connections. There is absolutely...
  28. Re: [DirectX 9]: Textured Mesh not rendering

    For some reason I cannot edit the original post to mark it as resolved - the Edit button is not available.

    In any case, notice this line at the end of both versions of the CreateVertexBuffer()...
  29. Re: [DirectX 9]: Textured Mesh not rendering

    cont'd

    Normals CalculationSub ComputeNormals()

    Dim vX, vZ, MyNormal As Microsoft.DirectX.Vector3
    Dim xctr, zctr, v1ctr, v2ctr, v3ctr As Long
    zctr = 0
    xctr = 0...
  30. [DirectX 9]: Textured Mesh not rendering

    I'm working on an app that will allow users to create a landscape mesh and save it to Hash Inc's http://www.hash.com model format. It's almost completed but I'm having trouble with the 3D preview....
  31. Re: [2005] PictureBox Image to System.IO.Stream

    Dim ImageStream As New IO.MemoryStream
    picTopoMap.Image.Save(ImageStream, Imaging.ImageFormat.Bmp)
    MyTexture = Microsoft.DirectX.Direct3D.TextureLoader.FromStream(MyDXDevice, ImageStream)
    The...
  32. Re: [2005] PictureBox Image to System.IO.Stream

    Thanks, but DirectX seems to specifically want System.IO.Stream.
  33. [2005] PictureBox Image to System.IO.Stream

    I'm trying to take the image from a PictureBox and use it as a texture on a 3D Object in DirectX 9. For whatever insane reason, Microsoft has deemed that you cannot create a texture from a...
  34. Index Buffer creating StackOverflowException

    In the following code (using DX9), why would creating an index buffer result in a StackOverflowException?
    Dim tIndices = New Integer(I - 1) {} 'I is the total number or needed indices
    'Create the...
  35. Replies
    2
    Views
    880

    Re: Theme Files

    They are theme files for PocketPC/Windows Mobile. I want to write my own app for creating these themes but I cannot find any info on the structure of the .tsk files.
  36. Replies
    1
    Views
    759

    Fitting objects to the view area

    Now that I have my 3D landscape viewer rendering in an acceptable fashion, I'm stuck on displaying the mesh as large as possible within the view area; like a "fit to screen" kind of thing. The...
  37. Re: Calculating Normals with DX9

    I have figured out something that works but that doesn't mean it's a particularly good solution. I could post the code to the sub but it wouldn't exactly help anyone else because I'd have to go into...
  38. Replies
    2
    Views
    880

    Theme Files

    Where can I find info of creating .tsk files?
  39. [RESOLVED] Calculating Normals with DX9

    I have a vertex and index buffers. I can draw my mesh in a picture box in shaded, wireframe and point cloud. All of that works. The problem with the shaded mode, of course, is that it's just a black...
  40. Re: New Forum: Windows Mobile and Pocket PC Development

    Thanks. I can see it now that my head's out of my [Removed by Mod].
Results 1 to 40 of 75
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width