Announcement

Collapse
No announcement yet.

need help to display a bmp file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • need help to display a bmp file

    Hello
    i have a problem to understand how the grahik in powerbasic works
    i will load a bmp file with "GRAPHIC BITMAP LOAD" and then i will show it, but i have problem to do this.
    i were very happy about help and a little demo code
    so i can see how to do it.
    i hope someone can help me.

    with high regards
    andreas

  • #2
    Sometimes is the life a mystery.
    I sit on the problem many hours and now who i ask for help.
    i found the right commands to do what i want.

    Comment


    • #3
      Hi Andreas

      In the samples that come with PBWin:
      c:\pbwin90\Samples\Ddt\Graphic\Digital\DIGITAL.BAS or
      c:\pbwin90\Samples\Ddt\Graphic\PowerBASIC Pong\PowerBASIC Pong.bas

      Then, on my web site, there's a sample.
      http://www.garybeene.com/power/pb-tu...ls-graphic.htm

      Or in my gbSnippets PowerBASIC source code library, look for example number gbs_00172. For that matter, there are a dozen+ graphic examples in the category "Graphics" of the library.

      Lots of options.

      Comment


      • #4
        Hello Andreas.

        As a general rule, you will get the best response from these forums if you post a small piece of compileable source code which will lead people quickly to the problem.

        Quite often, at least in my experience, just creating that small piece of code will help you to solve the problem yourself.

        Hope this helps.

        Comment


        • #5
          Originally posted by Andreas Gaida View Post
          Sometimes is the life a mystery.
          I sit on the problem many hours and now who i ask for help.
          i found the right commands to do what i want.
          Andreas, What happened to you (asking for help, and then soon after finding the answer on your own) is a common practice among (thoughtful) programmers.

          What I believe happens is that the stress of asking the question itself ("How do I frame it so they understand?") leads to the solution, only we don't realize until after we've asked the question and the light goes on. That's why a questioner is often (and should be always be) asked to "post the code/example".

          The very act of posting code often brings the answer because the code is viewed in a different light by the programmer (Nobody wants to post sloppy code in front of his peers. At least not here anyway.) In your case, just asking the question was enough to solve your problem.

          ==================================
          "Even when all the experts agree,
          they may well be mistaken."

          Bertrand Russell
          ==================================
          It's a pretty day. I hope you enjoy it.

          Gösta

          JWAM: (Quit Smoking): http://www.SwedesDock.com/smoking
          LDN - A Miracle Drug: http://www.SwedesDock.com/LDN/

          Comment

          Working...
          X