Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27514

VS 2010 Attempted to read or write protected memory.

$
0
0
If OpenFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
xlApp = New Excel.Application
xlWorkBook = xlApp.Workbooks.Open(OpenFileDialog1.FileName)
xlWorkSheet = xlWorkBook.Worksheets("sheet1")

.
.
.

end if

i am getting the error : Attempted to read or write protected memory.

@ line 1

please help

Viewing all articles
Browse latest Browse all 27514

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>