Results 1 to 4 of 4

Thread: Resource Files

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Posts
    14

    Cool Resource Files

    Hi there,

    A quick question here - Can you load AVIs into a resource file - if so how and how do you access them. I want to make a loading animation for my program but dont want the dependancy on an external file!

  2. #2
    Frenzied Member Microbasic's Avatar
    Join Date
    Mar 2001
    Posts
    1,402
    Yes, you load them as Custom Data, and access them using the LoadResData function:

    [Highlight=VB]
    ByteArray = LoadResData(2054, 10) '10 = Custom Data


    MicroBasic
    Dragon Shadow Trainer

    There is no good or evil in the world...only programmers and fools .

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Posts
    14
    Groovy - how do you put stuff in it?

  4. #4
    Frenzied Member Microbasic's Avatar
    Join Date
    Mar 2001
    Posts
    1,402
    In Resource Editor, click Add Custom Resource (the button with two empty squares and two squares that reads 1) and select the AVI file you want to add (NOTE: Custom Resouces must not exceed 64K)


    MicroBasic
    Dragon Shadow Trainer

    There is no good or evil in the world...only programmers and fools .

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