CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2001
    Location
    Canada
    Posts
    3

    Resource File??????

    Can someone help me I'll like to be able to load a dialog form and a menu from a .res file but how?

    The Help? give this information
    [temp=LoadResData(ID,4 or 5)]
    4 stand for menu will 5 stand for Dialog.

    What I want to know is I declare temp as what?




  2. #2
    Join Date
    Feb 2000
    Posts
    440

    Re: Resource File??????

    Hi,

    This function returns byte array.
    try variant data type.

    for example resource with id 1000 of type string successfully is retrieved this way:

    Dim a
    a = LoadResData(1000, 6)





    Valery Iskarov Nikolov
    http://listen.to/quark

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

Featured