Results 1 to 9 of 9

Thread: [RESOLVED] about graphics libraries type

  1. #1

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,966

    Resolved [RESOLVED] about graphics libraries type

    i'm using visual basic 6.
    how can i use GDI+?
    how can i use system.drawing.dll?
    i think(but not sure) these libraries are very good for work with graphics...
    thanks
    VB6 2D Sprite control

    To live is difficult, but we do it.

  2. #2
    Hyperactive Member singularis's Avatar
    Join Date
    Nov 2006
    Location
    Over There!
    Posts
    372

    Re: about graphics libraries type

    If you are using VB6 then you should not be able to use the .net framework, both VB.net and C# can though. System.Drawing.Dll is part of the .net framework and I believe that GDI+ is part of the Com framework and I know that you can only use GDI+ through C/C++: http://msdn.microsoft.com/en-us/library/ms533798(VS.85).aspx

    I recommend learning DirectX8, it works nicely with VB6 and its fun and powerful. Despite being scary at first, I heartly recommend it!
    If what I said was helpful, give me rep!

    My Complete Games: -- 2D Zone (Space Shooter game) || _2D Zone 2_ || Ninja Blob (2D platformer) || Dren (Co-op up to 4 player base defence game)

    My Projects: -- The Dread Engine (2D VB game Engine) || A* Path Finding


    An excellent site for learning DirectX7, 8 & 9 (for VB6, C# & VB.net) would be: directx4vb.vbgamer.com --- For my projects and games see: pieper.freehostia.com

  3. #3
    Cumbrian Milk's Avatar
    Join Date
    Jan 2007
    Location
    0xDEADBEEF
    Posts
    2,448

    Re: about graphics libraries type

    You can use GDI+ in VB6 but it's a bit of a pain and there is no official documentation (You might need to join PSC to use the link). It's much much easier to use it with .net.

  4. #4

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,966

    Re: about graphics libraries type

    Quote Originally Posted by singularis
    If you are using VB6 then you should not be able to use the .net framework, both VB.net and C# can though. System.Drawing.Dll is part of the .net framework and I believe that GDI+ is part of the Com framework and I know that you can only use GDI+ through C/C++: http://msdn.microsoft.com/en-us/library/ms533798(VS.85).aspx

    I recommend learning DirectX8, it works nicely with VB6 and its fun and powerful. Despite being scary at first, I heartly recommend it!
    i'm so sorry, i never did nothing with directx... but can you give an simple code?... for i try start it...
    thanks
    VB6 2D Sprite control

    To live is difficult, but we do it.

  5. #5
    Hyperactive Member singularis's Avatar
    Join Date
    Nov 2006
    Location
    Over There!
    Posts
    372

    Re: about graphics libraries type

    Sure, look in my signature. It's where I learned VB6+DX8.

    Happy Coding!
    If what I said was helpful, give me rep!

    My Complete Games: -- 2D Zone (Space Shooter game) || _2D Zone 2_ || Ninja Blob (2D platformer) || Dren (Co-op up to 4 player base defence game)

    My Projects: -- The Dread Engine (2D VB game Engine) || A* Path Finding


    An excellent site for learning DirectX7, 8 & 9 (for VB6, C# & VB.net) would be: directx4vb.vbgamer.com --- For my projects and games see: pieper.freehostia.com

  6. #6

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,966

    Re: about graphics libraries type

    the directx is only graphics and sound(and media) aspects, right?
    VB6 2D Sprite control

    To live is difficult, but we do it.

  7. #7
    Hyperactive Member singularis's Avatar
    Join Date
    Nov 2006
    Location
    Over There!
    Posts
    372

    Re: about graphics libraries type

    DirectX comprises of:

    Direct3D: For graphics
    DirectMusic/DirectSound: For audio
    DirectInput: For keyboard and mouse input
    DirectPlay: For networking
    DirectShow: For playing certain media types

    All are covered on Jack Hoxley's site.
    If what I said was helpful, give me rep!

    My Complete Games: -- 2D Zone (Space Shooter game) || _2D Zone 2_ || Ninja Blob (2D platformer) || Dren (Co-op up to 4 player base defence game)

    My Projects: -- The Dread Engine (2D VB game Engine) || A* Path Finding


    An excellent site for learning DirectX7, 8 & 9 (for VB6, C# & VB.net) would be: directx4vb.vbgamer.com --- For my projects and games see: pieper.freehostia.com

  8. #8

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,966

    Re: about graphics libraries type

    Quote Originally Posted by singularis
    DirectX comprises of:

    Direct3D: For graphics
    DirectMusic/DirectSound: For audio
    DirectInput: For keyboard and mouse input
    DirectPlay: For networking
    DirectShow: For playing certain media types

    All are covered on Jack Hoxley's site.
    thank you very much...
    VB6 2D Sprite control

    To live is difficult, but we do it.

  9. #9

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,966

    Re: about graphics libraries type

    Quote Originally Posted by Milk
    You can use GDI+ in VB6 but it's a bit of a pain and there is no official documentation (You might need to join PSC to use the link). It's much much easier to use it with .net.
    i'm so sorry only answer you now
    thank you for your advice, i don't knew that. thanks
    VB6 2D Sprite control

    To live is difficult, but we do it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width