Click here to Skip to main content
15,881,172 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to make drawing shapes in form as jpg image? Pin
.NetRams18-Feb-07 18:42
.NetRams18-Feb-07 18:42 
AnswerRe: How to make drawing shapes in form as jpg image? Pin
Christian Graus18-Feb-07 20:16
protectorChristian Graus18-Feb-07 20:16 
Questionvb.net Pin
lopashree18-Feb-07 18:38
lopashree18-Feb-07 18:38 
AnswerRe: vb.net Pin
Christian Graus18-Feb-07 20:15
protectorChristian Graus18-Feb-07 20:15 
QuestionAccess C++ DLL from Visual BAsic .Net Pin
Lee Bottone18-Feb-07 13:45
Lee Bottone18-Feb-07 13:45 
AnswerRe: Access C++ DLL from Visual BAsic .Net Pin
Christian Graus18-Feb-07 14:09
protectorChristian Graus18-Feb-07 14:09 
QuestionRandom numbers from ascii Pin
harveyhanson18-Feb-07 11:45
harveyhanson18-Feb-07 11:45 
AnswerRe: Random numbers from ascii Pin
Christian Graus18-Feb-07 12:14
protectorChristian Graus18-Feb-07 12:14 
Create a string containing the keys you want to choose from.


Dim keysToUse as String = "QWERTYUIOP"

Private Sub FORM1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

Dim c1 as Char = ' '

while (Not keysToUse.Contains(c1))
c1 = Convert.ToChar(rnd.Next(97, 123))

This should keep looping until it selects a character that is in your string. Remember it will be case sensitive.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

AnswerRe: Random numbers from ascii Pin
Guffa18-Feb-07 12:20
Guffa18-Feb-07 12:20 
GeneralRe: Random numbers from ascii Pin
Christian Graus18-Feb-07 12:28
protectorChristian Graus18-Feb-07 12:28 
GeneralRe: Random numbers from ascii Pin
harveyhanson18-Feb-07 13:53
harveyhanson18-Feb-07 13:53 
GeneralRe: Random numbers from ascii Pin
Christian Graus18-Feb-07 14:18
protectorChristian Graus18-Feb-07 14:18 
QuestionProgram to test my knowledge? Pin
Wolf9218-Feb-07 6:06
Wolf9218-Feb-07 6:06 
AnswerRe: Program to test my knowledge? Pin
Christian Graus18-Feb-07 9:27
protectorChristian Graus18-Feb-07 9:27 
AnswerRe: Program to test my knowledge? Pin
Thomas Stockwell19-Feb-07 6:58
professionalThomas Stockwell19-Feb-07 6:58 
Questionhow to create reports Pin
kendo1718-Feb-07 2:19
kendo1718-Feb-07 2:19 
AnswerRe: how to create reports Pin
Christian Graus18-Feb-07 11:42
protectorChristian Graus18-Feb-07 11:42 
Questionapplication.run Pin
amaneet18-Feb-07 1:00
amaneet18-Feb-07 1:00 
AnswerRe: application.run Pin
Colin Angus Mackay18-Feb-07 4:36
Colin Angus Mackay18-Feb-07 4:36 
Questionshared keyword in vb.net Pin
amaneet18-Feb-07 0:48
amaneet18-Feb-07 0:48 
AnswerRe: shared keyword in vb.net Pin
Colin Angus Mackay18-Feb-07 4:34
Colin Angus Mackay18-Feb-07 4:34 
GeneralRe: shared keyword in vb.net Pin
amaneet19-Feb-07 3:36
amaneet19-Feb-07 3:36 
GeneralRe: shared keyword in vb.net Pin
Hossein Narimani Rad20-Feb-07 19:13
Hossein Narimani Rad20-Feb-07 19:13 
Questiontransfer attribute from 1 datagrid to another Pin
kendo1718-Feb-07 0:17
kendo1718-Feb-07 0:17 
AnswerRe: transfer attribute from 1 datagrid to another Pin
Johan Hakkesteegt23-Feb-07 0:40
Johan Hakkesteegt23-Feb-07 0:40 

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.