You are here:
Dear Jeff, Looks like there was a misunderstanding, and I'm sincerely apologized for it: my code is run from VB.Net, not form Excel, and that make a difference - I'm a VB expert not Excel VBA, so while
you have not mentioned where the error occurs: on form load or button click. i also see that on form load event you have opened rec based on text1 value and used opendynamic. this is not proper. form
if i remember briefly you are using vb 2010. is that right? i code only in vb6 mostly and i do projects only on payment. i think i suggested using a function. i can give you the code for the function
Dim xl As Excel.Application Dim strFileName As String Private Sub Command1_Click() Set xl = CreateObject("excel.Application") xl.Workbooks.Open ("C:\Documents and Settings\ravindra\My Documents\test_bed
Hi Gordon, What operating system are you using? I think from Windows XP SP2 and above, you're going to have lots of issues trying to get direct COM port communication, simply because DOS is no longer

©2012 About.com, a part of The New York Times Company. All rights reserved.