Click here to Skip to main content
15,918,808 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: get string array length Pin
Fawxes14-Feb-05 3:26
Fawxes14-Feb-05 3:26 
GeneralRe: get string array length Pin
Stephan Wright14-Feb-05 6:32
Stephan Wright14-Feb-05 6:32 
GeneralRe: get string array length Pin
Scott Serl14-Feb-05 8:44
Scott Serl14-Feb-05 8:44 
GeneralData Table or Business Object Pin
Fawxes13-Feb-05 23:58
Fawxes13-Feb-05 23:58 
GeneralInsufficient system resources Pin
sayhigh13-Feb-05 22:32
sayhigh13-Feb-05 22:32 
GeneralRe: Insufficient system resources Pin
Dave Kreskowiak14-Feb-05 1:28
mveDave Kreskowiak14-Feb-05 1:28 
GeneralRe: Insufficient system resources Pin
sayhigh14-Feb-05 1:34
sayhigh14-Feb-05 1:34 
GeneralRe: Insufficient system resources Pin
Dave Kreskowiak14-Feb-05 5:34
mveDave Kreskowiak14-Feb-05 5:34 
A little convoluted, don't you think?

First, strip out all the logging code and get it down to just what is essential for making 5 attempts at moving the file.

Get rid of this line, you never use the object:
Dim Conn As New SqlConnection(strConn)


Rewrite the code and NEVER use "Goto"'s.

Get rid of the "fid" parameter in your method header, you never use it.

Get rid of the "type" parameter in your method header. All you use it for is logging information, which is not an essential part of what this function does.

KEEP IT SIMPLE! Get it down to a working function first, then add the logging code you need.





RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Insufficient system resources Pin
Kirk Quinbar15-Apr-09 10:54
Kirk Quinbar15-Apr-09 10:54 
GeneralVB.NET Datasets Pin
Mahesh167913-Feb-05 22:11
Mahesh167913-Feb-05 22:11 
GeneralRe: VB.NET Datasets Pin
Dave Kreskowiak14-Feb-05 1:26
mveDave Kreskowiak14-Feb-05 1:26 
GeneralRe: VB.NET Datasets Pin
Virus Detecter16-Feb-05 0:28
Virus Detecter16-Feb-05 0:28 
GeneralTriggering Event - Access Form Pin
FuzMic13-Feb-05 19:29
FuzMic13-Feb-05 19:29 
GeneralRe: Triggering Event - Access Form Pin
Dave Kreskowiak14-Feb-05 5:18
mveDave Kreskowiak14-Feb-05 5:18 
GeneralRe: Triggering Event - Access Form Pin
Mike the Red14-Feb-05 8:22
Mike the Red14-Feb-05 8:22 
GeneralHi Mike Red & Dave Pin
FuzMic14-Feb-05 19:30
FuzMic14-Feb-05 19:30 
GeneralVb Reading from Excel Pin
greg 77713-Feb-05 18:58
greg 77713-Feb-05 18:58 
GeneralRich Text Field - Background Pin
TomVerkaaik13-Feb-05 17:26
TomVerkaaik13-Feb-05 17:26 
GeneralConnecting scanner Pin
Avanti Dharkar13-Feb-05 0:52
Avanti Dharkar13-Feb-05 0:52 
GeneralRe: Connecting scanner Pin
H@is@here18-Feb-05 10:14
H@is@here18-Feb-05 10:14 
GeneralRe: Connecting scanner Pin
Avanti Dharkar19-Feb-05 3:52
Avanti Dharkar19-Feb-05 3:52 
QuestionCan some Help me with this over kill i know but ? Pin
Delo12-Feb-05 20:42
Delo12-Feb-05 20:42 
AnswerRe: Can some Help me with this over kill i know but ? Pin
Dave Kreskowiak13-Feb-05 17:27
mveDave Kreskowiak13-Feb-05 17:27 
QuestionHow to call a procedure Pin
Mekong River12-Feb-05 16:23
Mekong River12-Feb-05 16:23 
AnswerRe: How to call a procedure Pin
mm_chanakaya12-Feb-05 16:33
mm_chanakaya12-Feb-05 16: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.