Click here to Skip to main content
16,008,490 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Please help with Inserting value from DataGrid in Database Table Pin
Johan Hakkesteegt3-Sep-09 20:23
Johan Hakkesteegt3-Sep-09 20:23 
GeneralRe: Please help with Inserting value from DataGrid in Database Table Pin
Hammad Mansoor4-Sep-09 18:22
Hammad Mansoor4-Sep-09 18:22 
Questionhow to retrieve data item from dataset Pin
newdbo2-Sep-09 16:58
newdbo2-Sep-09 16:58 
AnswerRe: how to retrieve data item from dataset Pin
Christian Graus2-Sep-09 17:03
protectorChristian Graus2-Sep-09 17:03 
GeneralRe: how to retrieve data item from dataset Pin
newdbo2-Sep-09 18:17
newdbo2-Sep-09 18:17 
GeneralRe: how to retrieve data item from dataset Pin
Christian Graus2-Sep-09 18:18
protectorChristian Graus2-Sep-09 18:18 
AnswerRe: how to retrieve data item from dataset Pin
Muhammad Mazhar2-Sep-09 19:36
Muhammad Mazhar2-Sep-09 19:36 
QuestionQuestion about cicle For-Next. [modified] Pin
Hurricane30002-Sep-09 10:04
Hurricane30002-Sep-09 10:04 
Hi to all.

I have a little problem with a cicle For-Next:

Reduced sample of my code:

For A = 1 To B
If "Condition" = True Then
B = B - 1
End If
Next

This apparently simple code works correctly until A is less than 50 (half cicle, then it cause an error.
I understood that the problem is that the variables B is initially set to the specified value 100 and it is not updated during the cicle For.

I can't use a cicle Do-loop.
I can't predict the final value of B.

How I can resolve the problem?

Thanks

modified on Wednesday, September 2, 2009 5:03 PM

AnswerRe: Question about cicle For-Next. Pin
Kschuler2-Sep-09 10:57
Kschuler2-Sep-09 10:57 
GeneralRe: Question about cicle For-Next. [modified] Pin
Hurricane30002-Sep-09 11:02
Hurricane30002-Sep-09 11:02 
GeneralRe: Question about cicle For-Next. Pin
Kschuler2-Sep-09 11:25
Kschuler2-Sep-09 11:25 
GeneralRe: Question about cicle For-Next. [modified] Pin
Hurricane30002-Sep-09 11:47
Hurricane30002-Sep-09 11:47 
AnswerRe: Question about cicle For-Next. Pin
Sonhospa2-Sep-09 22:29
Sonhospa2-Sep-09 22:29 
GeneralRe: Question about cicle For-Next. Pin
Hurricane30003-Sep-09 1:25
Hurricane30003-Sep-09 1:25 
GeneralRe: Question about cicle For-Next. Pin
Hurricane30003-Sep-09 6:00
Hurricane30003-Sep-09 6:00 
QuestionPrinting - how to set a standard paper size?? Pin
BluesEnd2-Sep-09 9:38
BluesEnd2-Sep-09 9:38 
AnswerRe: Printing - how to set a standard paper size?? Pin
Henry Minute2-Sep-09 13:07
Henry Minute2-Sep-09 13:07 
GeneralRe: Printing - how to set a standard paper size?? Pin
BluesEnd2-Sep-09 20:46
BluesEnd2-Sep-09 20:46 
QuestionDAT file to text file or other readable format Pin
Thayhor2-Sep-09 7:58
Thayhor2-Sep-09 7:58 
AnswerRe: DAT file to text file or other readable format Pin
David Mujica2-Sep-09 8:17
David Mujica2-Sep-09 8:17 
AnswerRe: DAT file to text file or other readable format Pin
Dave Kreskowiak2-Sep-09 8:57
mveDave Kreskowiak2-Sep-09 8:57 
QuestionInserting from VB.NET to SQL Compact Pin
TheComputerMan2-Sep-09 2:12
TheComputerMan2-Sep-09 2:12 
AnswerRe: Inserting from VB.NET to SQL Compact Pin
The Man from U.N.C.L.E.2-Sep-09 2:29
The Man from U.N.C.L.E.2-Sep-09 2:29 
GeneralRe: Inserting from VB.NET to SQL Compact Pin
TheComputerMan2-Sep-09 22:07
TheComputerMan2-Sep-09 22:07 
QuestionProcess.Start problems Pin
AB_dev1-Sep-09 23:21
AB_dev1-Sep-09 23:21 

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.