VB6 Data Filesize Limitation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Peter

    VB6 Data Filesize Limitation

    Hi,
    when creating a data file the max. filesize, under VB6, seems to be 2GB.
    Is that correct and if so, is there a way around that?
    Any help would be appreciated.
    Thx,
    Peter
  • J French

    #2
    Re: VB6 Data Filesize Limitation

    On Wed, 11 May 2005 00:44:54 GMT, Peter <peter_rabbit@s haw.ca> wrote:
    [color=blue]
    >Hi,
    >when creating a data file the max. filesize, under VB6, seems to be 2GB.
    > Is that correct and if so, is there a way around that?
    >Any help would be appreciated.[/color]

    You have to use the APIs for file access

    Start with CreateFile and move on from there

    Comment

    • Peter

      #3
      Re: VB6 Data Filesize Limitation

      J French wrote:
      [color=blue]
      > On Wed, 11 May 2005 00:44:54 GMT, Peter <peter_rabbit@s haw.ca> wrote:
      >
      >[color=green]
      >>Hi,
      >>when creating a data file the max. filesize, under VB6, seems to be 2GB.
      >> Is that correct and if so, is there a way around that?
      >>Any help would be appreciated.[/color]
      >
      >
      > You have to use the APIs for file access
      >
      > Start with CreateFile and move on from there[/color]
      I looked at API, but I don't see how...
      I do Open Binary as Read/Write
      Somehow the API 'CreateFile" does not seem right. Can you help me out
      with a snippet?
      Thx... Peter

      Comment

      • J French

        #4
        Re: VB6 Data Filesize Limitation

        On Wed, 11 May 2005 05:48:30 GMT, Peter <peter_rabbit@s haw.ca> wrote:
        [color=blue]
        >J French wrote:[/color]

        <snip>
        [color=blue][color=green]
        >> You have to use the APIs for file access
        >>
        >> Start with CreateFile and move on from there[/color]
        >I looked at API, but I don't see how...
        >I do Open Binary as Read/Write
        >Somehow the API 'CreateFile" does not seem right. Can you help me out
        >with a snippet?[/color]

        Get the downloadable API Guide (packed with examples) from
        http://www.mentalis.org/agnet/ API Guide

        There is an example there.

        Comment

        Working...