msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FileGet

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Enterprise
Author Message
berick



Joined: 04 Oct 2007
Posts: 2

PostPosted: Thu Jul 05, 2007 3:42 pm    Post subject: FileGet Reply with quote

Fileget is returning NOTHING

I open the file, fine and inhndl carries the handle or index or channel.....

Then
res = space(4)
fileget(inHndl,res)

res still contains 4 spaces

The overload is:

Class Form1
Public Overloads Sub FileGet( _
ByVal FileNumber as integer, _
byVal Value as string, _
Optional ByVal RecordNumber as Integer = -1, _
Optional ByVal StringIsFixedLength as Integer = False)
End Sub

Also, the open is :
FileOpen(inHndl,inFile, OpenMode.Binary)

infile is the passed filename and is correct... I get no errors stepping
through this and have this FileOpen inside a TRY/Catch block and it goes
fine. I haven't placed the fileGet inside one but that is something I should
try. Anyway, any ideas?

Archived from group: microsoft>public>vb>enterprise
Back to top
View user's profile Send private message
Bob Butler



Joined: 04 Oct 2007
Posts: 1081

PostPosted: Thu Jul 05, 2007 3:43 pm    Post subject: Re: FileGet Reply with quote

"berick" wrote in message @microsoft.com...
> Fileget is returning NOTHING


--
You need to ask in a newsgroup with "dotnet" in the name. This group is for
VB 6.0 and earlier and does not include VB.Net or VB 200x.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Enterprise All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group