Click here to Skip to main content
15,892,298 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralPrinting Graphics Pin
S Guruprasad24-Jul-03 2:25
S Guruprasad24-Jul-03 2:25 
Generalvb resource file Pin
r i s h a b h s23-Jul-03 21:42
r i s h a b h s23-Jul-03 21:42 
Generalicon for vb non gui application Pin
r i s h a b h s23-Jul-03 23:04
r i s h a b h s23-Jul-03 23:04 
GeneralFinding .BMP's and .JPEG's after deployment Pin
Jm6k23-Jul-03 6:47
Jm6k23-Jul-03 6:47 
GeneralRe: Finding .BMP's and .JPEG's after deployment Pin
apferreira23-Jul-03 6:57
apferreira23-Jul-03 6:57 
GeneralRe: Finding .BMP's and .JPEG's after deployment Pin
Jm6k24-Jul-03 12:14
Jm6k24-Jul-03 12:14 
GeneralRe: Finding .BMP's and .JPEG's after deployment Pin
Jm6k24-Jul-03 12:14
Jm6k24-Jul-03 12:14 
GeneralRe: Finding .BMP's and .JPEG's after deployment Pin
apferreira25-Jul-03 1:17
apferreira25-Jul-03 1:17 
If you include that Bitmap in the project directory, you can then include it in your project and select Build Action to embedded resource in the properties window.

To retrieve the embedded bitmap you would use the overloaded constructor Bitmap(Type type, string resource), where the parameters type would be ME.GetType() and resource would be "myBitmap.bmp".

If you choose the Build Action as content, it will be installed in your program's directory in the user's computer and you can use a relative path to it: Bitmap(string path) where path is just the full name (myBitmap.bmp).

As to the wave file, it can also be embeded if you include it in the project and set the build action to embeded. Then to retrieve it, the only option I see is to retrieve it as a raw stream (using the GetManifestResourceStream, for instance), but maybe there some other way to retrieve it that I am not aware of.






GeneralThanks Pin
Jm6k25-Jul-03 19:22
Jm6k25-Jul-03 19:22 
Generalrunning applications in VB 6.0 Pin
adnanmadi23-Jul-03 4:36
adnanmadi23-Jul-03 4:36 
GeneralRe: running applications in VB 6.0 Pin
Hesham Amin23-Jul-03 7:24
Hesham Amin23-Jul-03 7:24 
GeneralAccessing an XML sequence Pin
Bernhard Hofmann23-Jul-03 0:28
Bernhard Hofmann23-Jul-03 0:28 
GeneralRe: Accessing an XML sequence Pin
Matt Casto23-Jul-03 3:13
Matt Casto23-Jul-03 3:13 
GeneralCombo Box Pin
rain117822-Jul-03 21:57
rain117822-Jul-03 21:57 
GeneralRe: Combo Box Pin
Nic Rowan24-Jul-03 2:04
Nic Rowan24-Jul-03 2:04 
GeneralExecuting Shell Command Pin
Naqsh22-Jul-03 10:58
sussNaqsh22-Jul-03 10:58 
GeneralRe: Executing Shell Command Pin
Dave Kreskowiak24-Jul-03 7:55
mveDave Kreskowiak24-Jul-03 7:55 
Generalprinting html file Pin
pnpfriend22-Jul-03 8:18
pnpfriend22-Jul-03 8:18 
GeneralRe: printing html file Pin
Ian Darling22-Jul-03 12:53
Ian Darling22-Jul-03 12:53 
GeneralRe: printing html file Pin
pnpfriend23-Jul-03 3:23
pnpfriend23-Jul-03 3:23 
GeneralRe: printing html file Pin
Bo Hunter23-Jul-03 12:20
Bo Hunter23-Jul-03 12:20 
GeneralRe: printing html file Pin
Anonymous27-Aug-03 13:08
Anonymous27-Aug-03 13:08 
GeneralRe: printing html file (correction to previous post)... Pin
Anonymous27-Aug-03 13:18
Anonymous27-Aug-03 13:18 
GeneralRe: printing html file (correction to previous post)... Pin
pnpfriend28-Aug-03 3:15
pnpfriend28-Aug-03 3:15 
Generalemail Pin
Cristian_Dior22-Jul-03 3:39
Cristian_Dior22-Jul-03 3:39 

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.