Click here to Skip to main content
15,915,827 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionReading cursor position with a timer Pin
re infecta7-Oct-06 22:17
re infecta7-Oct-06 22:17 
AnswerRe: Reading cursor position with a timer Pin
Christian Graus7-Oct-06 23:42
protectorChristian Graus7-Oct-06 23:42 
Questionwhat is this Pin
Xmen Real 7-Oct-06 17:51
professional Xmen Real 7-Oct-06 17:51 
AnswerRe: what is this Pin
Guffa7-Oct-06 20:12
Guffa7-Oct-06 20:12 
GeneralRe: what is this Pin
Xmen Real 7-Oct-06 20:23
professional Xmen Real 7-Oct-06 20:23 
AnswerRe: what is this Pin
Guffa7-Oct-06 23:11
Guffa7-Oct-06 23:11 
GeneralRe: what is this Pin
Xmen Real 7-Oct-06 23:42
professional Xmen Real 7-Oct-06 23:42 
AnswerRe: what is this Pin
Guffa8-Oct-06 0:05
Guffa8-Oct-06 0:05 
I still believe that's the problem. Especially as you say that the error occurs the second time you use the function.

I showed you how to use proper error handling on the saving part of the code, but not because it's only there you should use it. You should use it on any file operation.

You have no indication of whether the function is working properly or not, as you are ignoring any exceptions that occur. At this stage you have no idea where the error actually is. Start by removing the Try ... Catch so that you see where the error occurs. Then you can correct the error and add proper error handling.


---
b { font-weight: normal; }

GeneralRe: what is this Pin
Xmen Real 8-Oct-06 0:13
professional Xmen Real 8-Oct-06 0:13 
AnswerRe: what is this Pin
Guffa8-Oct-06 2:07
Guffa8-Oct-06 2:07 
Questionhow to make an application to program Pin
Xmen Real 7-Oct-06 17:45
professional Xmen Real 7-Oct-06 17:45 
AnswerRe: how to make an application to program Pin
nlindley77-Oct-06 18:26
nlindley77-Oct-06 18:26 
GeneralRe: how to make an application to program Pin
Xmen Real 7-Oct-06 19:16
professional Xmen Real 7-Oct-06 19:16 
GeneralRe: how to make an application to program Pin
Christian Graus7-Oct-06 23:39
protectorChristian Graus7-Oct-06 23:39 
GeneralRe: how to make an application to program Pin
Dave Kreskowiak8-Oct-06 2:18
mveDave Kreskowiak8-Oct-06 2:18 
QuestionToolstripcomboBox Pin
Socheat.Net7-Oct-06 16:34
Socheat.Net7-Oct-06 16:34 
AnswerRe: ToolstripcomboBox Pin
nlindley77-Oct-06 18:21
nlindley77-Oct-06 18:21 
GeneralRe: ToolstripcomboBox Pin
Socheat.Net10-Oct-06 17:45
Socheat.Net10-Oct-06 17:45 
QuestionVB Cleanup Program - In (Context Menu) SendTo Pin
RickMagenta7-Oct-06 6:52
RickMagenta7-Oct-06 6:52 
AnswerRe: VB Cleanup Program - In (Context Menu) SendTo Pin
Ray Cassick7-Oct-06 16:13
Ray Cassick7-Oct-06 16:13 
GeneralRe: VB Cleanup Program - In (Context Menu) SendTo Pin
RickMagenta8-Oct-06 0:12
RickMagenta8-Oct-06 0:12 
Questionhow to make a layout designer in crystal report without using wizard Pin
vidyashankar7-Oct-06 4:58
vidyashankar7-Oct-06 4:58 
QuestionHow to solve it? Pin
aloksingh20067-Oct-06 2:07
aloksingh20067-Oct-06 2:07 
AnswerRe: How to solve it? Pin
User 17164927-Oct-06 2:39
professionalUser 17164927-Oct-06 2:39 
QuestionBadly need help to fill a picturebox with an ole picture from access Pin
belowzero7-Oct-06 0:28
belowzero7-Oct-06 0:28 

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.