
June 30th, 2009, 03:27 PM
|
|
Registered User
|
|
Join Date: Jun 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Visual basic 2008 Programmers Reference by Rod Stephens...
Hello everyone,
I Have just joined the Wrox forums etc and require some information...
In Rod Stephens book - Visual Basic 2008 Programmers Reference, I am using his SATELLITE Class Library programs and although i can add Pictures and Strings to the Class file, I would be grateful if someone could direct me on How To Reference from the Dll file such as RichText Files...?
In other words, if I add these to the Resources in the DLL file, I cannot find any information on how to access these from the Dll file (unlike accessing the pictures and strings etc)- any help would be gratefully appreciated.
For example:
Dim resource_manager As ResourceManager
resource_manager = New ResourceManager( _
"SatelliteResourcesDll.Resources", _
satellite_assembly)
resource_manager = New ResourceManager( _
"SatelliteResourcesDll.Images", _
satellite_assembly)
Me.PictureBox1.BackgroundImage = CType( _
resource_manager.GetObject("HBPOwners"), Image)
<--- but how do you access RichTextFiles etc...?
Many thanks
Johnny 
|