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

Visual Basic

 
GeneralRe: how to pass a two dimensional dynamic array in a function Pin
jainiraj7-Sep-10 4:46
jainiraj7-Sep-10 4:46 
GeneralRe: how to pass a two dimensional dynamic array in a function Pin
DaveAuld7-Sep-10 5:11
professionalDaveAuld7-Sep-10 5:11 
GeneralRe: how to pass a two dimensional dynamic array in a function Pin
jainiraj7-Sep-10 22:53
jainiraj7-Sep-10 22:53 
QuestionHOW TO SET Crystal Sub report Paper source Pin
Anoop Brijmohun7-Sep-10 0:50
Anoop Brijmohun7-Sep-10 0:50 
QuestionHow to show that Datagridview is Enabled/Disabled. Pin
Sam Martini6-Sep-10 22:48
Sam Martini6-Sep-10 22:48 
AnswerRe: How to show that Datagridview is Enabled/Disabled. Pin
Tom Deketelaere7-Sep-10 0:09
professionalTom Deketelaere7-Sep-10 0:09 
QuestionMS Access database not closing Pin
Charles Wolfe6-Sep-10 19:43
Charles Wolfe6-Sep-10 19:43 
AnswerRe: MS Access database not closing Pin
David Mujica7-Sep-10 3:40
David Mujica7-Sep-10 3:40 
I've seen this a few times before with other files on windows system. (Windows Server 2003) If I had to guess, the OS is doing some caching or something and the operation is not finished. My solution to this was to use a Try-Catch block and sleep for a few seconds before trying to access the file again. I put a counter in the loop so that if it tries more than 100 times, it finally aborts the operation. Not the best solution, but at least my program no longer crashes because Windows didn't finish renaming the file.

I'm an old VAX/VMS guy and the crap you have to deal with Windows is just awful. (getting off my soapbox now ...) Wink | ;)

Give the Try-catch loop thing a try and see if it works for you.
AnswerRe: MS Access database not closing Pin
Luc Pattyn7-Sep-10 3:43
sitebuilderLuc Pattyn7-Sep-10 3:43 
AnswerRe: MS Access database not closing Pin
Member 195743615-Nov-10 1:53
Member 195743615-Nov-10 1:53 
Questionhow to use compare function Pin
zhiyuan166-Sep-10 19:37
zhiyuan166-Sep-10 19:37 
AnswerRe: how to use compare function Pin
Dave Kreskowiak7-Sep-10 1:50
mveDave Kreskowiak7-Sep-10 1:50 
AnswerRe: how to use compare function Pin
Luc Pattyn7-Sep-10 2:05
sitebuilderLuc Pattyn7-Sep-10 2:05 
QuestionHow to store a string in Byte array in hex form Pin
jainiraj4-Sep-10 23:49
jainiraj4-Sep-10 23:49 
AnswerRe: How to store a string in Byte array in hex form Pin
Dave Kreskowiak5-Sep-10 3:17
mveDave Kreskowiak5-Sep-10 3:17 
QuestionREgarding sending data when using socket winsock Pin
jainiraj4-Sep-10 20:38
jainiraj4-Sep-10 20:38 
AnswerRe: REgarding sending data when using socket winsock Pin
Dave Kreskowiak5-Sep-10 3:13
mveDave Kreskowiak5-Sep-10 3:13 
QuestionHow to interact a Context Menu with a web browser... Pin
thebiostyle4-Sep-10 11:31
thebiostyle4-Sep-10 11:31 
AnswerRe: How to interact a Context Menu with a web browser... Pin
Mycroft Holmes5-Sep-10 13:06
professionalMycroft Holmes5-Sep-10 13:06 
GeneralRe: How to interact a Context Menu with a web browser... Pin
thebiostyle5-Sep-10 13:34
thebiostyle5-Sep-10 13:34 
QuestionRegarding long data type .. Pin
jainiraj4-Sep-10 2:43
jainiraj4-Sep-10 2:43 
AnswerRe: Regarding long data type .. Pin
DaveAuld4-Sep-10 4:15
professionalDaveAuld4-Sep-10 4:15 
AnswerRe: Regarding long data type .. Pin
Luc Pattyn4-Sep-10 4:29
sitebuilderLuc Pattyn4-Sep-10 4:29 
GeneralRe: Regarding long data type .. Pin
jainiraj4-Sep-10 20:21
jainiraj4-Sep-10 20:21 
GeneralRe: Regarding long data type .. Pin
Dave Kreskowiak5-Sep-10 3:11
mveDave Kreskowiak5-Sep-10 3:11 

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.