Click here to Skip to main content
15,877,591 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VS 2005 VB.NET: Global Module failing to initializ Pin
Dave Kreskowiak18-Apr-08 3:57
mveDave Kreskowiak18-Apr-08 3:57 
GeneralCompare values in DataRow field with its original value Pin
Steven J Jowett17-Apr-08 6:28
Steven J Jowett17-Apr-08 6:28 
GeneralRe: Compare values in DataRow field with its original value Pin
Dave Kreskowiak17-Apr-08 8:15
mveDave Kreskowiak17-Apr-08 8:15 
GeneralRe: Compare values in DataRow field with its original value Pin
Steven J Jowett17-Apr-08 11:19
Steven J Jowett17-Apr-08 11:19 
GeneralRe: Compare values in DataRow field with its original value Pin
Dave Kreskowiak18-Apr-08 1:32
mveDave Kreskowiak18-Apr-08 1:32 
GeneralOT: DeleteFile and MoveFile in VBS Pin
stephan_00717-Apr-08 5:22
stephan_00717-Apr-08 5:22 
GeneralRe: OT: DeleteFile and MoveFile in VBS Pin
Dave Kreskowiak17-Apr-08 6:51
mveDave Kreskowiak17-Apr-08 6:51 
GeneralRe: OT: DeleteFile and MoveFile in VBS Pin
stephan_00717-Apr-08 8:24
stephan_00717-Apr-08 8:24 
thanks for the hint! Smile | :)

unfortunatly i encountered another problem:

sometimes this statment seems to return "false" even if the file is located at the specified folder, any ideas?

<br />
If filesys.FileExists(source & filename) Then <br />


let's say source is "C:\myfiles\todo\"
and filename is "myfile.txt"

then the whole string is "C:\myfiles\todo\myfile.txt". (in debugmode the contence of the variables is correct (i already checked that).
i also checked, the file is at the specified path, so this statement should return true, but it doesn't and I have no idea why.

are there some circumstances, when this statement returns a wrong result?
could it be, there is a non printable sign somewhere inbetween (a string endsign for example)??

because when I debug the code then it stops at this line (breakpoint) and when I do a step forward, the whole if branch is skipped and the code continues either at the else part or (if there is none) below the whole if .. endif statment.

did anyone of you encounter the same problem? why does the exists statement return false, if the file is there?? Confused | :confused:

if i am able to solve this problem, my script is finished and should be working correctly Smile | :)

thanks.
stephan.
GeneralRe: OT: DeleteFile and MoveFile in VBS Pin
Dave Kreskowiak17-Apr-08 8:37
mveDave Kreskowiak17-Apr-08 8:37 
GeneralRe: OT: DeleteFile and MoveFile in VBS Pin
stephan_00717-Apr-08 8:42
stephan_00717-Apr-08 8:42 
GeneralRe: OT: DeleteFile and MoveFile in VBS Pin
Ashfield17-Apr-08 9:00
Ashfield17-Apr-08 9:00 
GeneralRe: OT: DeleteFile and MoveFile in VBS Pin
stephan_00717-Apr-08 9:31
stephan_00717-Apr-08 9:31 
General"Can not create ActiveX Component" Pin
Harold_Wishes17-Apr-08 5:07
Harold_Wishes17-Apr-08 5:07 
GeneralRe: "Can not create ActiveX Component" Pin
Dave Kreskowiak17-Apr-08 5:11
mveDave Kreskowiak17-Apr-08 5:11 
GeneralRe: "Can not create ActiveX Component" Pin
Harold_Wishes17-Apr-08 5:22
Harold_Wishes17-Apr-08 5:22 
GeneralDatagrid Colour Based on the Records in the table Pin
Vimalsoft(Pty) Ltd17-Apr-08 3:29
professionalVimalsoft(Pty) Ltd17-Apr-08 3:29 
GeneralRe: Datagrid Colour Based on the Records in the table Pin
Dave Kreskowiak17-Apr-08 3:42
mveDave Kreskowiak17-Apr-08 3:42 
GeneralDatabase connection using Vb.net 2003 and MySQL 4.1 Pin
magesh2117-Apr-08 2:27
magesh2117-Apr-08 2:27 
GeneralRe: Database connection using Vb.net 2003 and MySQL 4.1 Pin
Dave Kreskowiak17-Apr-08 3:34
mveDave Kreskowiak17-Apr-08 3:34 
Generalcombo box invalid property array index Pin
kankeyan17-Apr-08 0:20
kankeyan17-Apr-08 0:20 
GeneralRe: combo box invalid property array index Pin
Luc Pattyn17-Apr-08 0:37
sitebuilderLuc Pattyn17-Apr-08 0:37 
GeneralRe: combo box invalid property array index Pin
kankeyan17-Apr-08 2:18
kankeyan17-Apr-08 2:18 
GeneralRe: combo box invalid property array index Pin
Luc Pattyn17-Apr-08 2:46
sitebuilderLuc Pattyn17-Apr-08 2:46 
QuestionSQL Timeout repeating a query Pin
Paul DAmbra16-Apr-08 22:51
Paul DAmbra16-Apr-08 22:51 
GeneralRe: SQL Timeout repeating a query Pin
Dave Kreskowiak17-Apr-08 3:30
mveDave Kreskowiak17-Apr-08 3:30 

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.