Click here to Skip to main content
15,894,825 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Distingush between OleDate and Double while extract the Contents in Excel. Pin
Dave Kreskowiak17-Nov-09 16:40
mveDave Kreskowiak17-Nov-09 16:40 
GeneralRe: Distingush between OleDate and Double while extract the Contents in Excel. Pin
Rudheesh17-Nov-09 18:44
Rudheesh17-Nov-09 18:44 
GeneralRe: Distingush between OleDate and Double while extract the Contents in Excel. Pin
Richard MacCutchan17-Nov-09 21:30
mveRichard MacCutchan17-Nov-09 21:30 
GeneralRe: Distingush between OleDate and Double while extract the Contents in Excel. Pin
Dave Kreskowiak18-Nov-09 2:07
mveDave Kreskowiak18-Nov-09 2:07 
QuestionVariable number of loop nesting Pin
cstrader23217-Nov-09 3:33
cstrader23217-Nov-09 3:33 
AnswerRe: Variable number of loop nesting Pin
Luc Pattyn17-Nov-09 3:51
sitebuilderLuc Pattyn17-Nov-09 3:51 
AnswerRe: Variable number of loop nesting Pin
dan!sh 17-Nov-09 3:57
professional dan!sh 17-Nov-09 3:57 
GeneralRe: Variable number of loop nesting Pin
cstrader23218-Nov-09 0:55
cstrader23218-Nov-09 0:55 
Thanks for the ideas. I figured out a way to do this with a collection.

Roughly, you make your own looping code:

Make a collection with the same number of rows as you have dimensions

Each row has a property indicating its number of iterations

Make a method getvalue in the collection

When you call getvalue,
if it's the last row in the collection (innermost loop which is incremented on every call) then
increment the index by 1

if we're at the highest value of the dimension, then

if we're not in the first row of the collection then
return to zero

increment the value of the index in the prior row (return to zero if necessary)

Return the value

Works like a charm
GeneralRe: Variable number of loop nesting Pin
dan!sh 18-Nov-09 3:11
professional dan!sh 18-Nov-09 3:11 
QuestionHow the Windows password at run-time get؟ Pin
Milad.Biroonvand17-Nov-09 3:27
Milad.Biroonvand17-Nov-09 3:27 
QuestionRe: How the Windows password at run-time get؟ Pin
Shameel17-Nov-09 3:50
professionalShameel17-Nov-09 3:50 
AnswerRe: How the Windows password at run-time get؟ Pin
Dave Kreskowiak17-Nov-09 4:09
mveDave Kreskowiak17-Nov-09 4:09 
AnswerRe: How the Windows password at run-time get؟ Pin
The Man from U.N.C.L.E.17-Nov-09 6:30
The Man from U.N.C.L.E.17-Nov-09 6:30 
GeneralRe: How the Windows password at run-time get؟ Pin
Milad.Biroonvand17-Nov-09 18:02
Milad.Biroonvand17-Nov-09 18:02 
AnswerRe: How the Windows password at run-time get؟ Pin
Shameel17-Nov-09 22:17
professionalShameel17-Nov-09 22:17 
GeneralRe: How the Windows password at run-time get؟ Pin
Milad.Biroonvand17-Nov-09 23:47
Milad.Biroonvand17-Nov-09 23:47 
QuestionExcel VBA Pin
veon cheng16-Nov-09 22:33
veon cheng16-Nov-09 22:33 
QuestionDynamic Form Combo Box issue [modified] Pin
Blake Dickson16-Nov-09 16:53
Blake Dickson16-Nov-09 16:53 
AnswerRe: Dynamic Form Combo Box issue Pin
Christian Graus16-Nov-09 18:08
protectorChristian Graus16-Nov-09 18:08 
GeneralRe: Dynamic Form Combo Box issue Pin
Blake Dickson16-Nov-09 18:16
Blake Dickson16-Nov-09 18:16 
GeneralRe: Dynamic Form Combo Box issue Pin
Christian Graus16-Nov-09 18:56
protectorChristian Graus16-Nov-09 18:56 
GeneralRe: Dynamic Form Combo Box issue Pin
Dave Kreskowiak17-Nov-09 1:17
mveDave Kreskowiak17-Nov-09 1:17 
GeneralRe: Dynamic Form Combo Box issue Pin
Blake Dickson17-Nov-09 11:18
Blake Dickson17-Nov-09 11:18 
GeneralRe: Dynamic Form Combo Box issue Pin
Dave Kreskowiak17-Nov-09 15:34
mveDave Kreskowiak17-Nov-09 15:34 
QuestionSorting crystal report char on month name Pin
Salman Sheikh16-Nov-09 13:33
Salman Sheikh16-Nov-09 13:33 

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.