hello,
if i wont to work with an excel file in vb .net, what i should do to close correctly all opened variables?
i decrare some variables:
Dim xlApp As Excel.Application
Dim xlWorkBook As Excel.Workbook
Dim xlWorkSheet As Excel.Worksheet
then, i read and wite data to the excel file.
when i finished what code should i use to deactivate any bindings with the excel file??
I'm asking because when i finish,if i try to open the excel file it says that file is using by somebody and i cant modify it,despite i have my application closed.
thnx
if i wont to work with an excel file in vb .net, what i should do to close correctly all opened variables?
i decrare some variables:
Dim xlApp As Excel.Application
Dim xlWorkBook As Excel.Workbook
Dim xlWorkSheet As Excel.Worksheet
then, i read and wite data to the excel file.
when i finished what code should i use to deactivate any bindings with the excel file??
I'm asking because when i finish,if i try to open the excel file it says that file is using by somebody and i cant modify it,despite i have my application closed.
thnx