Avatar of aman729_88
aman729_88

asked on 

problem: memory leak by adodb connection

hi,
i am using adodb connection to read a cell from excel once in every 500ms using timer
and i am not able to free memory and also the application hangs,
i want to know will the data export to ms sql server 2005 and then reading it from there will help..
or it will become more slow.
how can i export excel data to sql server 2005?
thanks!
Microsoft SQL Server 2005Microsoft ExcelVisual Basic.NET

Avatar of undefined
Last Comment
aman729_88
Avatar of Serge Fournier
Serge Fournier
Flag of Canada image

it will be faster with sql 2005
also you can save your excel file as CSV and import from sql 2005 manager
your data must be well formatted to do this

but maybe we can find this memory leak, what version of excel are you using?
and what is your code to import the adobd data?
Avatar of aman729_88
aman729_88

ASKER

Avatar of aman729_88
aman729_88

ASKER

i am using ms excel 2003
ASKER CERTIFIED SOLUTION
Avatar of Serge Fournier
Serge Fournier
Flag of Canada image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of aman729_88
aman729_88

ASKER

i did that but i am getting an error 'either BOF or EOF is true, or the current record has been deleted. requested operation requires a current record'
how many times are you calling this sub? once in the whole program?


Avatar of aman729_88
aman729_88

ASKER

thankls
Microsoft Excel
Microsoft Excel

Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.

144K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo