Click here to Skip to main content
15,888,610 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questiontextbox Pin
Member 994134324-Apr-13 22:10
Member 994134324-Apr-13 22:10 
AnswerRe: textbox Pin
Simon_Whale24-Apr-13 23:00
Simon_Whale24-Apr-13 23:00 
GeneralRe: textbox Pin
Member 994134324-Apr-13 23:53
Member 994134324-Apr-13 23:53 
GeneralRe: textbox Pin
Simon_Whale24-Apr-13 23:58
Simon_Whale24-Apr-13 23:58 
AnswerRe: textbox Pin
Eddy Vluggen25-Apr-13 0:29
professionalEddy Vluggen25-Apr-13 0:29 
QuestionSort a Custom Class Collection in VB6 Pin
KeithF23-Apr-13 23:41
KeithF23-Apr-13 23:41 
AnswerRe: Sort a Custom Class Collection in VB6 Pin
_Marshall26-Apr-13 5:31
_Marshall26-Apr-13 5:31 
AnswerRe: Sort a Custom Class Collection in VB6 Pin
PrissySC26-Apr-13 12:53
PrissySC26-Apr-13 12:53 
Whenever I sort, I find the largest, or the least first and set the value to "x". From there I work up, or down assigning to a temp object, collection or array, and replacing "x" as the largest each time.

For example,
x = 0
for each item in collection
if item > x then
x = item
end if
next

This gets the largest to begin.

tempCollection.add(x)

while tempcollection.count isnot collection.count

for each item in collection
set x if the item is less than the last in tempcollection and is not less than x
next

tempcollection.add(x)

loop


That is a level one sort, but you should be able to expand to code easily enough. Sorry that I lack any time, or I would have done it for you!
AnswerRe: Sort a Custom Class Collection in VB6 Pin
Roy Heil3-Jun-13 10:34
professionalRoy Heil3-Jun-13 10:34 
QuestionHow to make main window invisible in VB for Windows CE? Pin
Member 989133422-Apr-13 21:45
Member 989133422-Apr-13 21:45 
AnswerRe: How to make main window invisible in VB for Windows CE? Pin
dusty_dex22-Apr-13 23:27
dusty_dex22-Apr-13 23:27 
GeneralRe: How to make main window invisible in VB for Windows CE? Pin
Member 989133423-Apr-13 2:16
Member 989133423-Apr-13 2:16 
GeneralRe: How to make main window invisible in VB for Windows CE? Pin
Eddy Vluggen23-Apr-13 2:40
professionalEddy Vluggen23-Apr-13 2:40 
GeneralRe: How to make main window invisible in VB for Windows CE? Pin
dusty_dex23-Apr-13 2:51
dusty_dex23-Apr-13 2:51 
GeneralRe: How to make main window invisible in VB for Windows CE? Pin
Member 989133424-Apr-13 3:35
Member 989133424-Apr-13 3:35 
GeneralRe: How to make main window invisible in VB for Windows CE? Pin
dusty_dex24-Apr-13 4:08
dusty_dex24-Apr-13 4:08 
GeneralRe: How to make main window invisible in VB for Windows CE? Pin
Member 989133425-Apr-13 3:50
Member 989133425-Apr-13 3:50 
GeneralRe: How to make main window invisible in VB for Windows CE? Pin
dusty_dex23-Apr-13 2:45
dusty_dex23-Apr-13 2:45 
QuestionVery long rtf string loading into RTB, and ContextSwitchDeadlock Pin
treddie22-Apr-13 13:13
treddie22-Apr-13 13:13 
AnswerRe: Very long rtf string loading into RTB, and ContextSwitchDeadlock Pin
Dave Kreskowiak22-Apr-13 14:05
mveDave Kreskowiak22-Apr-13 14:05 
GeneralRe: Very long rtf string loading into RTB, and ContextSwitchDeadlock Pin
treddie22-Apr-13 16:39
treddie22-Apr-13 16:39 
QuestionGlobal Hotkey Pin
Member 878710722-Apr-13 11:01
Member 878710722-Apr-13 11:01 
AnswerRe: Global Hotkey Pin
Dave Kreskowiak22-Apr-13 14:08
mveDave Kreskowiak22-Apr-13 14:08 
GeneralRe: Global Hotkey Pin
Member 878710723-Apr-13 6:33
Member 878710723-Apr-13 6:33 
GeneralRe: Global Hotkey Pin
Dave Kreskowiak23-Apr-13 7:39
mveDave Kreskowiak23-Apr-13 7:39 

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.