Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. dtvonly

    Can't completely close MS Excel 2007...

    Thank you. I will try it. On the same topic of closing, how do I "restart" a vb2005 form as though I am running it for the very first time without clicking the Exit button?
  2. dtvonly

    Can't completely close MS Excel 2007...

    Hi. I don't know if this is a VB2005 or MS Excel issue so I will start with VB2005. This is how I open an Excel file in VB2005: Dim objExcel As New Excel.Application Dim objWorkbook As Excel.Workbook Dim objSheet As Excel.Worksheet objExcel.Visible = True objWorkbook =...
  3. dtvonly

    using VB2005 with Excel 2007...

    That did it. Thank you for your help.
  4. dtvonly

    using VB2005 with Excel 2007...

    Dim objExcel As New Excel.Application Dim objWorkbook As Excel.Workbook Dim objSheet As Excel.Worksheet objExcel.Visible = True objWorkbook = objExcel.Workbooks.Open("c:\Dat.xlsx") objWorkbook = objExcel.Workbooks.Add() objSheet = objWorkbook.Worksheets(1) objSheet.Cells(2, 2).Value =...
  5. dtvonly

    checking variable type size...

    Hi. Thanks cpjust for your help.
  6. dtvonly

    checking variable type size...

    Hi xwb. I have already done this. I was just wondering if there was any other way. Thank you for your help.
  7. dtvonly

    checking variable type size...

    Hi. Thank you for your reply. Let's try this: var1 = 0x1001; // 16-bit data to device A var1 = 0x11; // 8-bit data to device B Send_Data(var1);
  8. dtvonly

    checking variable type size...

    Hi. Please see the short sample below: unsigned int var1; var1 = 0x0001; // 16-bit data to device A var1 = 0x01; // 8-bit data to device B Send_Data(var1); my objective: Send_Data subroutine function depends on the data length of var1. How can this be done? Thank you for your help.

Part and Inventory Search

Back
Top