Convert VBA code into code in VB.NET

  • Thread starter Thread starter JayWangTPE
  • Start date Start date
J

JayWangTPE

Guest
How to convert the code (bold text) into the one in VB.NET? Thanks!


KeyScope.Inst.WriteString ":DISPLAY:DATA? BMP"
byteData = KeyScope.Inst.ReadIEEEBlock(BinaryType_UI1) ' Read the captured waveform screen data
'
fn = FreeFile() 'Returns an Integer representing the next file number available for use by the Open statement.
'
Open FileNameWPath For Binary Access Write Lock Write As #fn ' Open file for writing the captured waveform screen data.
Put #fn, , byteData ' Write data.
'
Close #fn ' Close file.

Continue reading...
 
Back
Top