vb.net 2010 - Arithmetic Operations Resulted in an Overflow -
i have vb.net application copies text file windows ce device via active sync. however, when doing throws exception stating arithmetic operations resulted in overflow on specific workstation running windows 7 64 bit on other machine runs seamlessly. can me resolve exception?
here code:
if m_rapi.connected = true dim dirmasterfile string = application.startuppath & "\masterfile.txt" try if file.exists(dirmasterfile) m_rapi.copyfiletodevice(dirmasterfile, "\storage card\testfolder\masterfile.txt", true) mmas = "item masterfile uploaded" else mmas = "no item masterfile found" end if catch ex exception msgbox(ex.tostring, vbcritical + vbokonly, "error") exit sub end try end if
Comments
Post a Comment