Click here to Skip to main content
15,891,529 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Industry Control and Programme Pin
Dave Kreskowiak9-Feb-07 5:13
mveDave Kreskowiak9-Feb-07 5:13 
QuestionRecognize Different tones? Pin
Dave@VB8-Feb-07 14:46
Dave@VB8-Feb-07 14:46 
AnswerRe: Recognize Different tones? Pin
Christian Graus8-Feb-07 14:50
protectorChristian Graus8-Feb-07 14:50 
GeneralRe: Recognize Different tones? Pin
Dave@VB8-Feb-07 14:51
Dave@VB8-Feb-07 14:51 
AnswerRe: Recognize Different tones? Pin
MikeMarq8-Feb-07 19:17
MikeMarq8-Feb-07 19:17 
GeneralRe: Recognize Different tones? Pin
Dave@VB9-Feb-07 9:39
Dave@VB9-Feb-07 9:39 
QuestionSelect pic from resources Pin
harveyhanson8-Feb-07 14:25
harveyhanson8-Feb-07 14:25 
AnswerRe: Select pic from resources Pin
Christian Graus8-Feb-07 14:52
protectorChristian Graus8-Feb-07 14:52 
Yes, this works, what you need to research is how to load an image from resources. I have done it in C#, but not VB.NET.

protected Image GetImageFromResources(string name)
{
// get a reference to the current assembly
Assembly a = Assembly.GetExecutingAssembly();

string my_namespace = a.GetName().Name.ToString();

Image image = null;

image = new Bitmap(a.GetManifestResourceStream(my_namespace + "." + name));

return image;
}

is the method I use. IF you have a folder called Bitmaps, a folder called Girls, and a file called Jessica.jpg, you'd pass "Bitmaps\Girls\Jessica.jpg" to this method. The folders get turned into namespaces, actually.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

AnswerRe: Select pic from resources Pin
TwoFaced8-Feb-07 14:53
TwoFaced8-Feb-07 14:53 
GeneralRe: Select pic from resources Pin
FeRtoll8-Feb-07 20:21
FeRtoll8-Feb-07 20:21 
QuestionAccess Hidden Partitions in VB/VB.BET Pin
RickMagenta8-Feb-07 12:42
RickMagenta8-Feb-07 12:42 
AnswerRe: Access Hidden Partitions in VB/VB.BET Pin
Dave Kreskowiak8-Feb-07 12:56
mveDave Kreskowiak8-Feb-07 12:56 
Questioncombo boxes Pin
jady848-Feb-07 12:16
jady848-Feb-07 12:16 
AnswerRe: combo boxes Pin
Christian Graus8-Feb-07 12:31
protectorChristian Graus8-Feb-07 12:31 
GeneralRe: combo boxes Pin
cheeken2u8-Feb-07 20:28
cheeken2u8-Feb-07 20:28 
Questionmulti form in the same form Pin
Hasan Jaffal8-Feb-07 12:15
Hasan Jaffal8-Feb-07 12:15 
AnswerRe: multi form in the same form Pin
Christian Graus8-Feb-07 13:06
protectorChristian Graus8-Feb-07 13:06 
GeneralRe: multi form in the same form Pin
Hasan Jaffal8-Feb-07 22:01
Hasan Jaffal8-Feb-07 22:01 
GeneralRe: multi form in the same form Pin
M-Hall10-Feb-07 7:10
M-Hall10-Feb-07 7:10 
QuestionSetting Readonly on columns in Datagrid in the code behind Pin
BitterChick8-Feb-07 11:38
BitterChick8-Feb-07 11:38 
AnswerRe: Setting Readonly on columns in Datagrid in the code behind Pin
gauthee8-Feb-07 18:02
gauthee8-Feb-07 18:02 
QuestionDataGridView formatting breaks validation Pin
penguin50008-Feb-07 11:25
penguin50008-Feb-07 11:25 
AnswerRe: DataGridView formatting breaks validation Pin
penguin500020-Jul-07 10:56
penguin500020-Jul-07 10:56 
QuestionConverting huge numbers for Decimal to Hexadecimal and visa versa Pin
Fu Manchu8-Feb-07 11:19
Fu Manchu8-Feb-07 11:19 
AnswerRe: Converting huge numbers for Decimal to Hexadecimal and visa versa Pin
Johan Hakkesteegt8-Feb-07 22:26
Johan Hakkesteegt8-Feb-07 22:26 

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.