473,396 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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
Jul 17 '05 #1
3 6480
On Wed, 11 May 2005 00:44:54 GMT, Peter <pe**********@shaw.ca> wrote:
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.


You have to use the APIs for file access

Start with CreateFile and move on from there
Jul 17 '05 #2
J French wrote:
On Wed, 11 May 2005 00:44:54 GMT, Peter <pe**********@shaw.ca> wrote:

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.

You have to use the APIs for file access

Start with CreateFile and move on from there

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
Jul 17 '05 #3
On Wed, 11 May 2005 05:48:30 GMT, Peter <pe**********@shaw.ca> wrote:
J French wrote:


<snip>
You have to use the APIs for file access

Start with CreateFile and move on from there

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?


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

There is an example there.

Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dave | last post by:
Hello there, I am at my wit's end ! I have used the following script succesfully to upload an image to my web space. But what I really want to be able to do is to update an existing record in a...
4
by: Marek Möhling | last post by:
My server (Apache/1.3.28 - PHP/4.3.3) is configured to receive gzipped data via: Header append Accept-Encoding "gzip, deflate" PHP is configured to send gzipped data via: php_value...
1
by: Lukelrc | last post by:
Hi all. I'm having trouble connecting to my sql server database correctly beacause of value type problems, specifically the date fields. When i try and run the page i get the follwoing error: ...
2
by: Alan Howard | last post by:
Just migrating some code from CDONTS to CDO and noticed some behaviour I want to verify. When using cdoSendUsingPickup the outgoing email spools to the local filesystem first before being routed...
4
by: Slaanesh | last post by:
Hi, I have to uncompress a buffer extracted from a file (not the entire file is compressed, it begins after the 8th byte). The data has been compressed using zlib library. My problem is that it...
3
by: Doug | last post by:
Working on converting an Access front-end/SQL Server back-end to a .NET front/SQL Server back-end. We are also redesiging the SQL Server database. We have many Word/Excel documents that have...
8
by: Du | last post by:
I'm trying to automate the upload process to yousendit.com, but the file size doesn't add up and yousendit.com keep rejecting my upload (it accepts the upload until the very end) I don't know...
4
by: foss | last post by:
HI all, I am able to upload the image as blob to mysql. but while displaying the image i cant display it properly . The code used for uploading image to mysql inserts data into mysql table.The...
0
by: Oscar Arreyano | last post by:
"jimbob" <nospam@virgingmedio.comwrote in message news:mq7ke45h9hti1fp0c8o693qqrg5kavqk4g@4ax.com... sprintf('%u', filesize($file));
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.