6 Replies - 5503 Views - Last Post: 10 December 2008 - 07:58 AM Rate Topic: -----

#1 srinivas787  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 18-August 08

HOW CAN I USE FILEGT AND FILEPUT FUNCITONS IN VB.NET

Post icon  Posted 08 December 2008 - 10:20 PM

Hi,
This Is Srinivasa Reddy, now iam doing project converting form vb to vb.net, in that i have some problem in my project all values are saved in the structure(mydata) but in my code the The FilePut (for writing the File) Function is working properly but the FIleGet Funciton is not working, pls give some examples how can i work with the fileget and fileput in vb.net its very urgent................
in my code:
Fileput(1,mydata,) ' its working properly
FileGet (1, mydata,) but this is not working
pls tell me its very urgent..............

Thanks
T. srinivasa Reddy
91-9049003775
srinivas_tatikonda@hotmail.com

Is This A Good Question/Topic? 0
  • +

Replies To: HOW CAN I USE FILEGT AND FILEPUT FUNCITONS IN VB.NET

#2 srinivas787  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 18-August 08

Re: HOW CAN I USE FILEGT AND FILEPUT FUNCITONS IN VB.NET

Post icon  Posted 08 December 2008 - 10:22 PM

Hi,
This Is Srinivasa Reddy, now iam doing project converting form vb to vb.net, in that i have some problem in my project all values are saved in the structure(mydata) but in my code the The FilePut (for writing the File) Function is working properly but the FIleGet Funciton is not working, pls give some examples how can i work with the fileget and fileput in vb.net its very urgent................
in my code:
Fileput(1,mydata,) ' its working properly
FileGet (1, mydata,) but this is not working
pls tell me its very urgent..............

Thanks
T. srinivasa Reddy
91-9049003775
srinivas_tatikonda@hotmail.com
Was This Post Helpful? 0
  • +
  • -

#3 srinivas787  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 18-August 08

Re: HOW CAN I USE FILEGT AND FILEPUT FUNCITONS IN VB.NET

Post icon  Posted 08 December 2008 - 10:29 PM

Hi,
This Is Srinivasa Reddy, now iam doing project converting form vb to vb.net, in that i have some problem in my project all values are saved in the structure(mydata) but in my code the The FilePut (for writing the File) Function is working properly but the FIleGet Funciton is not working, pls give some examples how can i work with the fileget and fileput in vb.net its very urgent................
in my code:
Fileput(1,mydata,) ' its working properly
FileGet (1, mydata,) but this is not working
pls tell me its very urgent..............

Thanks
T. srinivasa Reddy
91-9049003775
srinivas_tatikonda@hotmail.com
Was This Post Helpful? 0
  • +
  • -

#4 skyhawk133  Icon User is offline

  • Head DIC Head
  • member icon

Reputation: 1868
  • View blog
  • Posts: 20,279
  • Joined: 17-March 01

Re: HOW CAN I USE FILEGT AND FILEPUT FUNCITONS IN VB.NET

Posted 08 December 2008 - 10:33 PM

Threads merged. Please do not post the same topic multiple times.
Was This Post Helpful? 0
  • +
  • -

#5 magicmonkey  Icon User is offline

  • D.I.C Regular

Reputation: 106
  • View blog
  • Posts: 484
  • Joined: 12-September 08

Re: HOW CAN I USE FILEGT AND FILEPUT FUNCITONS IN VB.NET

Posted 09 December 2008 - 09:29 AM

Try FilePutObject and FileGetObject they are safer to use on structures. However at some point you should consider rewriting the logic with IO.BinaryReader and IO.BinaryWriter, your performance will increase 100 times!
Was This Post Helpful? 0
  • +
  • -

#6 srinivas787  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 18-August 08

Re: HOW CAN I USE FILEGT AND FILEPUT FUNCITONS IN VB.NET

Posted 09 December 2008 - 10:36 PM

I have written with FileGetObject and FilePut Object but its not working its giving the error " FileGetObject is not mydata type"

the problem is my coding the Fileput is working properly but the Fileget is not working can u give me some examples with fileget same structure. its very urgnet pls give me reply ok

Thanks & Regards

T Srinivasa reddy
91-9049003775
Was This Post Helpful? 0
  • +
  • -

#7 magicmonkey  Icon User is offline

  • D.I.C Regular

Reputation: 106
  • View blog
  • Posts: 484
  • Joined: 12-September 08

Re: HOW CAN I USE FILEGT AND FILEPUT FUNCITONS IN VB.NET

Posted 10 December 2008 - 07:58 AM

Well if your FileGet is not working then you are most likely storing a different data structure with FilePut then you are trying to get with FileGet. Post your actual code and maybe someone can figure out the error. Without the code there is not much anyone can do...
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1