Click here to Skip to main content
16,005,697 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Getting Serial Port Details in VB.NET Pin
Dave Kreskowiak28-Mar-07 8:53
mveDave Kreskowiak28-Mar-07 8:53 
AnswerRe: Getting Serial Port Details in VB.NET Pin
Vasudevan Deepak Kumar29-Mar-07 6:18
Vasudevan Deepak Kumar29-Mar-07 6:18 
GeneralRe: Getting Serial Port Details in VB.NET Pin
shejijoseph18-Apr-07 12:12
shejijoseph18-Apr-07 12:12 
QuestionOptional Date parameter within a Function Pin
Central_IT28-Mar-07 5:32
Central_IT28-Mar-07 5:32 
AnswerRe: Optional Date parameter within a Function Pin
kubben28-Mar-07 6:06
kubben28-Mar-07 6:06 
AnswerRe: Optional Date parameter within a Function Pin
Psycho-*Coder*-Extreme30-Mar-07 23:00
Psycho-*Coder*-Extreme30-Mar-07 23:00 
QuestionHow to show progress bar during the files or folders deletion Pin
Pankaj Saha28-Mar-07 4:41
Pankaj Saha28-Mar-07 4:41 
AnswerRe: How to show progress bar during the files or folders deletion Pin
Christian Graus28-Mar-07 5:01
protectorChristian Graus28-Mar-07 5:01 
You need first to get a count of the files and folders you're going to delete, then you just increment the progress bar after every delete call. Directory.GetFiles will give you a string array of files without that DirectoryInfo stuff. File.Delete will delete them. You should store the paths as you're counting them, so you don't need to get them twice.

It would work better to use a BackgroundWorker to do the deleting, and call it's ProgressUpdated event to update your UI, but calling Application.DoEvents() whenever you update the progress is easier and should work fine.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

Questionmdi child maximization Pin
caymanislands28-Mar-07 4:21
caymanislands28-Mar-07 4:21 
AnswerRe: mdi child maximization Pin
caymanislands2-Apr-07 13:22
caymanislands2-Apr-07 13:22 
AnswerRe: resource Pin
Christian Graus28-Mar-07 13:40
protectorChristian Graus28-Mar-07 13:40 
Questionrun dts package on different domain Pin
leezardd28-Mar-07 4:06
leezardd28-Mar-07 4:06 
Question.mdb Pin
NANCO28-Mar-07 3:56
NANCO28-Mar-07 3:56 
AnswerRe: .mdb Pin
leckey28-Mar-07 8:46
leckey28-Mar-07 8:46 
GeneralRe: .mdb Pin
NANCO28-Mar-07 19:14
NANCO28-Mar-07 19:14 
AnswerRe: .mdb Pin
Vasudevan Deepak Kumar29-Mar-07 6:25
Vasudevan Deepak Kumar29-Mar-07 6:25 
QuestionWhat is the .NET equivalent of Format() and Mid() = ??? [modified] Pin
Marcus J. Smith28-Mar-07 2:29
professionalMarcus J. Smith28-Mar-07 2:29 
AnswerRe: What is the .NET equivalent of Format() and Mid() = ??? Pin
RichardBerry28-Mar-07 3:56
RichardBerry28-Mar-07 3:56 
GeneralRe: What is the .NET equivalent of Format() and Mid() = ??? Pin
Marcus J. Smith28-Mar-07 4:07
professionalMarcus J. Smith28-Mar-07 4:07 
GeneralRe: What is the .NET equivalent of Format() and Mid() = ??? Pin
Dave Kreskowiak28-Mar-07 4:18
mveDave Kreskowiak28-Mar-07 4:18 
GeneralRe: What is the .NET equivalent of Format() and Mid() = ??? Pin
Marcus J. Smith28-Mar-07 5:07
professionalMarcus J. Smith28-Mar-07 5:07 
GeneralRe: What is the .NET equivalent of Format() and Mid() = ??? Pin
Dave Kreskowiak28-Mar-07 5:19
mveDave Kreskowiak28-Mar-07 5:19 
GeneralRe: What is the .NET equivalent of Format() and Mid() = ??? Pin
Marcus J. Smith28-Mar-07 5:22
professionalMarcus J. Smith28-Mar-07 5:22 
GeneralRe: What is the .NET equivalent of Format() and Mid() = ??? Pin
Dave Doknjas28-Mar-07 13:25
Dave Doknjas28-Mar-07 13:25 
GeneralRe: What is the .NET equivalent of Format() and Mid() = ??? Pin
Dave Kreskowiak28-Mar-07 15:10
mveDave Kreskowiak28-Mar-07 15:10 

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.