Click here to Skip to main content
16,006,341 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralListing shares and type Pin
davidhog27-Feb-04 5:47
davidhog27-Feb-04 5:47 
GeneralRe: Listing shares and type Pin
apferreira27-Feb-04 6:37
apferreira27-Feb-04 6:37 
GeneralCredtits screen?? VB6.0!!!! Pin
erikkloeze27-Feb-04 4:07
erikkloeze27-Feb-04 4:07 
GeneralRe: Credtits screen?? VB6.0!!!! Pin
Nadroj27-Feb-04 7:57
Nadroj27-Feb-04 7:57 
Generalcatching exceptions thrown from a thread Pin
Moraleitor27-Feb-04 2:14
Moraleitor27-Feb-04 2:14 
GeneralRe: catching exceptions thrown from a thread Pin
Dave Kreskowiak27-Feb-04 3:39
mveDave Kreskowiak27-Feb-04 3:39 
GeneralPLEASE PLEASE PLEASE HELP, Embedding images and icons. Pin
Namboy8227-Feb-04 1:14
Namboy8227-Feb-04 1:14 
GeneralRe: PLEASE PLEASE PLEASE HELP, Embedding images and icons. Pin
Dave Kreskowiak27-Feb-04 3:49
mveDave Kreskowiak27-Feb-04 3:49 
First, lookup 'ResEditor' in the Visual Studio documentation. You'll have to compile this little tool and use it to create a .resources file with your image information in it. Simple Add an image, give it a resource name, then click on the little '...' button and point it at image file that it is going to represent. Keep adding names and resources... then save this file as a .resources file in your project folder.

Next, add the .resources file to your project in the Solution Explorer.

Then in your code, you can use something like this: (This is the initialization code for a component I'm writing)
        Private m_img_LightOn As Image
        Private m_img_LightOff As Image

#Region " Windows Form Designer generated code "
            .
            .
 
            ' Load our internal resource files
            Dim thisAssembly As System.Reflection.Assembly = Me.GetType.Assembly
 

            Dim resManager As New System.Resources.ResourceManager( "BinaryDisplay.BinaryDisplay", thisAssembly )
 
            m_img_LightOn = CType(resManager.GetObject("BMP_LIGHTON"), System.Drawing.Image)
            m_img_LightOff = CType(resManager.GetObject("BMP_LIGHTOFF"), System.Drawing.Image)        End Sub


RageInTheMachine9532
General.NET and EXCEL XP Pin
Raptor Pete27-Feb-04 1:00
Raptor Pete27-Feb-04 1:00 
GeneralRe: .NET and EXCEL XP Pin
John Kuhn27-Feb-04 5:35
John Kuhn27-Feb-04 5:35 
GeneralRe: .NET and EXCEL XP Pin
CSHighCommand13-May-04 5:29
CSHighCommand13-May-04 5:29 
GeneralDataSet Clear() performance problem Pin
Dan Bunea27-Feb-04 0:58
Dan Bunea27-Feb-04 0:58 
GeneralHas anyone deployed Vb.net Application using MDAC then plz help!!! Pin
Het210926-Feb-04 19:27
Het210926-Feb-04 19:27 
Generalobject procedures Pin
jlancaster26-Feb-04 16:00
jlancaster26-Feb-04 16:00 
GeneralRe: object procedures Pin
Dave Kreskowiak26-Feb-04 16:35
mveDave Kreskowiak26-Feb-04 16:35 
QuestionSub Main? Pin
Anonymous26-Feb-04 10:19
Anonymous26-Feb-04 10:19 
AnswerRe: Sub Main? Pin
Charlie Williams26-Feb-04 10:45
Charlie Williams26-Feb-04 10:45 
AnswerRe: Sub Main? Pin
John Kuhn26-Feb-04 16:04
John Kuhn26-Feb-04 16:04 
GeneralRe: Sub Main? Pin
Dave Kreskowiak26-Feb-04 16:26
mveDave Kreskowiak26-Feb-04 16:26 
GeneralRe: Sub Main? Pin
John Kuhn26-Feb-04 17:52
John Kuhn26-Feb-04 17:52 
GeneralRe: Sub Main? Pin
Dave Kreskowiak27-Feb-04 3:22
mveDave Kreskowiak27-Feb-04 3:22 
AnswerRe: Sub Main? Pin
gpa20001-Mar-04 20:37
gpa20001-Mar-04 20:37 
GeneralMultiple Monitors Pin
Robert Gronenthal26-Feb-04 3:18
Robert Gronenthal26-Feb-04 3:18 
GeneralRe: Multiple Monitors Pin
Charlie Williams26-Feb-04 6:30
Charlie Williams26-Feb-04 6:30 
GeneralRe: Multiple Monitors Pin
apferreira26-Feb-04 8:02
apferreira26-Feb-04 8:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.