Click here to Skip to main content
15,557,965 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Pooling data from database into Listview with timer Pin
Dave Kreskowiak26-May-22 6:34
mveDave Kreskowiak26-May-22 6:34 
GeneralRe: Pooling data from database into Listview with timer Pin
SHAHROL AZMI BIN AMZAT26-May-22 15:25
SHAHROL AZMI BIN AMZAT26-May-22 15:25 
GeneralRe: Pooling data from database into Listview with timer Pin
Dave Kreskowiak27-May-22 6:37
mveDave Kreskowiak27-May-22 6:37 
GeneralRe: Pooling data from database into Listview with timer Pin
SHAHROL AZMI BIN AMZAT29-May-22 16:53
SHAHROL AZMI BIN AMZAT29-May-22 16:53 
QuestionWinforms VB.Net: Best way to code rules for german cards game "Schafkopf"? Pin
Jo_vb.net18-May-22 9:11
Jo_vb.net18-May-22 9:11 
AnswerRe: Winforms VB.Net: Best way to code rules for german cards game "Schafkopf"? Pin
Gerry Schmitz18-May-22 18:49
mveGerry Schmitz18-May-22 18:49 
GeneralRe: Winforms VB.Net: Best way to code rules for german cards game "Schafkopf"? Pin
Jo_vb.net18-May-22 21:53
Jo_vb.net18-May-22 21:53 
GeneralRe: Winforms VB.Net: Best way to code rules for german cards game "Schafkopf"? Pin
Gerry Schmitz19-May-22 7:39
mveGerry Schmitz19-May-22 7:39 
Rules come in a form best suited for a given situation; be it "if's", tables or whatever.

Your "if's" depend on the length of your "cell value".

If it's only 1 (char) long, instead of multiple if's, you can code:
VB
string s = "x"

if "xwz".Contains(s) etc.

if the cell value's length is greater than one, then iterate each character:
VB
For Each ch As Char in s
   if "xyx".Contains(ch) etc.
Next
}


"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

GeneralRe: Winforms VB.Net: Best way to code rules for german cards game "Schafkopf"? Pin
Jo_vb.net22-May-22 8:32
Jo_vb.net22-May-22 8:32 
GeneralRe: Winforms VB.Net: Best way to code rules for german cards game "Schafkopf"? Pin
Gerry Schmitz23-May-22 12:44
mveGerry Schmitz23-May-22 12:44 
QuestionRe: Winforms VB.Net: Best way to code rules for german cards game "Schafkopf"? Pin
Eddy Vluggen20-May-22 5:15
professionalEddy Vluggen20-May-22 5:15 
AnswerRe: Winforms VB.Net: Best way to code rules for german cards game "Schafkopf"? Pin
Jo_vb.net20-May-22 6:07
Jo_vb.net20-May-22 6:07 
GeneralRe: Winforms VB.Net: Best way to code rules for german cards game "Schafkopf"? Pin
Gerry Schmitz20-May-22 6:30
mveGerry Schmitz20-May-22 6:30 
QuestionRe: Winforms VB.Net: Best way to code rules for german cards game "Schafkopf"? Pin
Eddy Vluggen20-May-22 7:08
professionalEddy Vluggen20-May-22 7:08 
AnswerRe: Winforms VB.Net: Best way to code rules for german cards game "Schafkopf"? Pin
Gerry Schmitz21-May-22 6:36
mveGerry Schmitz21-May-22 6:36 
GeneralRe: Winforms VB.Net: Best way to code rules for german cards game "Schafkopf"? Pin
Jo_vb.net20-May-22 7:21
Jo_vb.net20-May-22 7:21 
GeneralRe: Winforms VB.Net: Best way to code rules for german cards game "Schafkopf"? Pin
Jo_vb.net29-May-22 1:42
Jo_vb.net29-May-22 1:42 
GeneralRe: Winforms VB.Net: Best way to code rules for german cards game "Schafkopf"? Pin
Gerry Schmitz29-May-22 5:58
mveGerry Schmitz29-May-22 5:58 
GeneralRe: Winforms VB.Net: Best way to code rules for german cards game "Schafkopf"? Pin
Eddy Vluggen20-May-22 7:07
professionalEddy Vluggen20-May-22 7:07 
GeneralRe: Winforms VB.Net: Best way to code rules for german cards game "Schafkopf"? Pin
Jo_vb.net20-May-22 7:26
Jo_vb.net20-May-22 7:26 
QuestionRe: Winforms VB.Net: Best way to code rules for german cards game "Schafkopf"? Pin
Eddy Vluggen20-May-22 9:10
professionalEddy Vluggen20-May-22 9:10 
AnswerRe: Winforms VB.Net: Best way to code rules for german cards game "Schafkopf"? Pin
Jo_vb.net20-May-22 9:56
Jo_vb.net20-May-22 9:56 
SuggestionRe: Winforms VB.Net: Best way to code rules for german cards game "Schafkopf"? Pin
Eddy Vluggen21-May-22 0:02
professionalEddy Vluggen21-May-22 0:02 
QuestionUpdating datagridview with image Pin
Jake Mazur17-May-22 4:23
Jake Mazur17-May-22 4:23 
AnswerRe: Updating datagridview with image Pin
Richard MacCutchan17-May-22 4:30
mveRichard MacCutchan17-May-22 4:30 

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.