Click here to Skip to main content
15,883,705 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
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 
im confused, sorry, bit new to all this. I have the following, how would i do it on this???

-----
Private Sub frmTestTop_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
RandomizeLBL(Me, "lblLetter*")
End Sub

Private Sub RandomizeLBL(ByVal container As Control, ByVal pattern As String)
Dim rnd As New Random
For Each ctrl As Control In container.Controls
Dim lblLetter As Label = TryCast(ctrl, Label)
If lblLetter IsNot Nothing AndAlso lblLetter.Name Like pattern Then
lblLetter.Text = Chr(rnd.Next(97, 122).ToString)
End If
Next
End Sub
-----

Cheers
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 
QuestionSelectedIndexChange of DDL inside Datagrid.. HELP!! Pin
Huvandhuma17-Feb-07 19:50
Huvandhuma17-Feb-07 19:50 
AnswerRe: SelectedIndexChange of DDL inside Datagrid.. HELP!! Pin
Marcus J. Smith19-Feb-07 3:39
professionalMarcus J. Smith19-Feb-07 3:39 
QuestionCopy any Folder & its Sub Folder in My Document Pin
Vikash Yadav17-Feb-07 17:59
Vikash Yadav17-Feb-07 17:59 

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.