Click here to Skip to main content
15,891,431 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: C# -> VB.NET port request Pin
wadester3-Aug-03 15:14
wadester3-Aug-03 15:14 
QuestionHow to import Data from MPP Pin
Samya28-Jul-03 22:47
Samya28-Jul-03 22:47 
AnswerRe: How to import Data from MPP Pin
Anonymous31-Jul-03 21:09
Anonymous31-Jul-03 21:09 
GeneralShowing Form Pin
THEMYTH28-Jul-03 21:55
THEMYTH28-Jul-03 21:55 
GeneralRe: Showing Form Pin
Nic Rowan28-Jul-03 23:47
Nic Rowan28-Jul-03 23:47 
QuestionHowTo: 2's Complement sum checksum? Pin
DudleyDoorite28-Jul-03 16:15
DudleyDoorite28-Jul-03 16:15 
AnswerRe: HowTo: 2's Complement sum checksum? Pin
pxw16-Aug-03 7:01
pxw16-Aug-03 7:01 
AnswerRe: HowTo: 2's Complement sum checksum? Pin
pxw16-Aug-03 10:23
pxw16-Aug-03 10:23 
My previous really gives a ones compliment -- not really what you asked for. In order to perform a twos compliment I prsonaklly would revert to tyhe interoperability of the .NET languages and write it in C++, then like it to Visual Basic.

If you decide to try that, start a Visual C++ .NET Class library. then add the following code to the file that holds the name you gave the library, compile and link to it.

NOTE that the code given works only with 32-bit integers, a similar thing sould be done for larger or smaller integers.

int TwoCompl(int val)
{
__asm {
mov eax, val
not eax
mov val, eax
};
return val;
}


GeneralSetup Interrupted; Requires the .NET Framework Pin
Jm6k28-Jul-03 8:46
Jm6k28-Jul-03 8:46 
GeneralRe: Setup Interrupted; Requires the .NET Framework Pin
Nic Rowan28-Jul-03 23:58
Nic Rowan28-Jul-03 23:58 
GeneralRe: Setup Interrupted; Requires the .NET Framework Pin
Richard Day1-Aug-03 2:47
Richard Day1-Aug-03 2:47 
GeneralOutlook VBA question Pin
NickOne28-Jul-03 7:53
NickOne28-Jul-03 7:53 
Generalread write file Pin
Anonymous28-Jul-03 5:17
Anonymous28-Jul-03 5:17 
GeneralRe: read write file Pin
dynamic28-Jul-03 8:01
dynamic28-Jul-03 8:01 
GeneralEnter as default key Pin
Emile Jacobs26-Jul-03 23:03
Emile Jacobs26-Jul-03 23:03 
GeneralRe: Enter as default key Pin
Hesham Amin27-Jul-03 5:08
Hesham Amin27-Jul-03 5:08 
GeneralRe: Enter as default key Pin
Emile Jacobs28-Jul-03 5:43
Emile Jacobs28-Jul-03 5:43 
GeneralRe: Enter as default key Pin
Dave Kreskowiak28-Jul-03 7:43
mveDave Kreskowiak28-Jul-03 7:43 
GeneralOutOfMemoryException Pin
Emile Jacobs26-Jul-03 23:00
Emile Jacobs26-Jul-03 23:00 
GeneralRe: OutOfMemoryException Pin
Nic Rowan29-Jul-03 0:08
Nic Rowan29-Jul-03 0:08 
GeneralRe: OutOfMemoryException Pin
RAVI14331-Jul-03 0:02
RAVI14331-Jul-03 0:02 
GeneralDatabase Backup to CD-R Pin
Emile Jacobs26-Jul-03 4:41
Emile Jacobs26-Jul-03 4:41 
GeneralRe: Database Backup to CD-R Pin
Daniel Turini26-Jul-03 4:56
Daniel Turini26-Jul-03 4:56 
GeneralGlobal Variables Pin
Emile Jacobs26-Jul-03 2:19
Emile Jacobs26-Jul-03 2:19 
GeneralRe: Global Variables Pin
Xiangyang Liu 刘向阳26-Jul-03 2:44
Xiangyang Liu 刘向阳26-Jul-03 2:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.