Click here to Skip to main content
15,910,234 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VB6 and Variable names Pin
Christian Graus25-Jun-07 10:27
protectorChristian Graus25-Jun-07 10:27 
GeneralRe: VB6 and Variable names Pin
Paul Conrad25-Jun-07 17:09
professionalPaul Conrad25-Jun-07 17:09 
Questiongenerate random number [modified] Pin
Marc Soleda25-Jun-07 7:20
Marc Soleda25-Jun-07 7:20 
AnswerRe: generate random number Pin
Dave Kreskowiak25-Jun-07 7:43
mveDave Kreskowiak25-Jun-07 7:43 
GeneralRe: generate random number Pin
Marc Soleda25-Jun-07 8:48
Marc Soleda25-Jun-07 8:48 
GeneralRe: generate random number Pin
Dave Kreskowiak25-Jun-07 10:07
mveDave Kreskowiak25-Jun-07 10:07 
GeneralRe: generate random number Pin
Marc Soleda28-Jun-07 10:28
Marc Soleda28-Jun-07 10:28 
AnswerRe: generate random number Pin
Johan Hakkesteegt28-Jun-07 2:10
Johan Hakkesteegt28-Jun-07 2:10 
Hi Marc,

The first thing that comes to mind is to make use of Now(). Whenever you call it, it will give you a different value, and it will never ever repeat.
You could for example use its .Hour, .Minute and .Second parts, and replace leading zeros with a random letter from A to Z.
Alternatively each datetime is a number as far as the computer is concerned, and will also nerver ever repeat, so you could use that in some sort of algorithm or formula.

Johan

My advice is free, and you may get what you paid for.

Questionadding escape characters to a VB string Pin
reegan4125-Jun-07 6:34
reegan4125-Jun-07 6:34 
AnswerRe: adding escape characters to a VB string Pin
Dave Kreskowiak25-Jun-07 7:11
mveDave Kreskowiak25-Jun-07 7:11 
QuestionHow to Label TrackBar (Slider) Tick Marks in VB.net Pin
Rob True25-Jun-07 4:09
Rob True25-Jun-07 4:09 
AnswerRe: How to Label TrackBar (Slider) Tick Marks in VB.net Pin
Dave Kreskowiak25-Jun-07 5:02
mveDave Kreskowiak25-Jun-07 5:02 
QuestionXML 3 BulkLoad Error Pin
Panchal Hardik25-Jun-07 2:27
Panchal Hardik25-Jun-07 2:27 
AnswerRe: XML 3 BulkLoad Error Pin
Dave Kreskowiak25-Jun-07 3:51
mveDave Kreskowiak25-Jun-07 3:51 
QuestionCannot open word template from server Pin
jimbaloo25-Jun-07 2:25
jimbaloo25-Jun-07 2:25 
AnswerRe: Cannot open word template from server Pin
Dave Kreskowiak25-Jun-07 3:49
mveDave Kreskowiak25-Jun-07 3:49 
GeneralRe: Cannot open word template from server Pin
jimbaloo25-Jun-07 7:00
jimbaloo25-Jun-07 7:00 
GeneralRe: Cannot open word template from server Pin
Dave Kreskowiak25-Jun-07 7:10
mveDave Kreskowiak25-Jun-07 7:10 
GeneralRe: Cannot open word template from server Pin
jimbaloo25-Jun-07 7:45
jimbaloo25-Jun-07 7:45 
GeneralRe: Cannot open word template from server Pin
Dave Kreskowiak25-Jun-07 7:53
mveDave Kreskowiak25-Jun-07 7:53 
QuestionPlay audio & video files in vb.et Pin
ankur010125-Jun-07 1:41
ankur010125-Jun-07 1:41 
AnswerRe: Play audio & video files in vb.et Pin
Christian Graus25-Jun-07 1:46
protectorChristian Graus25-Jun-07 1:46 
AnswerRe: Play audio & video files in vb.et Pin
Sathesh Sakthivel25-Jun-07 1:47
Sathesh Sakthivel25-Jun-07 1:47 
GeneralRe: Play audio & video files in vb.et Pin
ankur010125-Jun-07 1:50
ankur010125-Jun-07 1:50 
GeneralRe: Play audio & video files in vb.et Pin
ankur010125-Jun-07 1:56
ankur010125-Jun-07 1:56 

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.