i have problem when getcomputername
Dim buffer As String buffer = Space$(512) Dim size As Long = buffer.Length If GetComputerName(buffer, size) Then x_computer_name = Mid(buffer, 1, size) End If
error : Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
can you help me.
This post has been edited by macosxnerd101: 17 January 2013 - 11:51 PM
Reason for edit:: Please use code tags