Click here to Skip to main content
15,913,941 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: problem with custom controls Pin
Polymorpher17-Dec-06 19:01
Polymorpher17-Dec-06 19:01 
GeneralRe: problem with custom controls Pin
Smithers-Jones19-Dec-06 6:15
Smithers-Jones19-Dec-06 6:15 
QuestionVSTO Adding commandbar Pin
infra2k417-Dec-06 1:31
infra2k417-Dec-06 1:31 
AnswerRe: VSTO Adding commandbar Pin
Polymorpher17-Dec-06 18:56
Polymorpher17-Dec-06 18:56 
GeneralRe: VSTO Adding commandbar Pin
infra2k417-Dec-06 23:35
infra2k417-Dec-06 23:35 
GeneralRe: VSTO Adding commandbar Pin
Polymorpher18-Dec-06 13:27
Polymorpher18-Dec-06 13:27 
QuestionAssembly and VB.Net Pin
Polymorpher16-Dec-06 22:54
Polymorpher16-Dec-06 22:54 
AnswerRe: Assembly and VB.Net Pin
Dave Kreskowiak17-Dec-06 6:33
mveDave Kreskowiak17-Dec-06 6:33 
No, it's not. There is no facility in VB.NET or in the .NET BCL to embed processor-specific native code into the compiled IL or your application.

VB.NET, C#, or any other Managed Code does not compile to native assembly language, but instead, compiles to MSIL (Microsoft Intermediate Language). IL is a processor-independant language that is only understandable by the .NET CLR. That code is compiled to the processor-specific native code at runtime when the CLR needs it to execute.

You can, however, use Visual C++ to create library modules that contain native assembly and are callable by your VB.NET code. There is a price to be paid though. Jumping from the managed code execution environment of the .NET CLR to the unmanaged environment and passing method parameters and return values back and forth is a moderately expensive process. So, the gains you get in the assembly module might be lost to marshalling many calls back and forth to unmanaged code.




Dave Kreskowiak
Microsoft MVP - Visual Basic


GeneralRe: Assembly and VB.Net Pin
Polymorpher17-Dec-06 18:47
Polymorpher17-Dec-06 18:47 
QuestionHow can I debug Office Com Addin Project? Pin
Orchid8516-Dec-06 21:48
Orchid8516-Dec-06 21:48 
AnswerRe: How can I debug Office Com Addin Project? Pin
Dave Kreskowiak17-Dec-06 6:25
mveDave Kreskowiak17-Dec-06 6:25 
QuestionAdjust speaker balance [modified] Pin
Polymorpher16-Dec-06 17:22
Polymorpher16-Dec-06 17:22 
AnswerRe: Adjust speaker balance Pin
MatrixCoder16-Dec-06 19:52
MatrixCoder16-Dec-06 19:52 
GeneralRe: Adjust speaker balance Pin
Polymorpher16-Dec-06 19:54
Polymorpher16-Dec-06 19:54 
GeneralRe: Adjust speaker balance Pin
Polymorpher17-Dec-06 18:50
Polymorpher17-Dec-06 18:50 
QuestionCenter Group box on form load Pin
hkinser916-Dec-06 17:01
hkinser916-Dec-06 17:01 
AnswerRe: Center Group box on form load Pin
Are Jay16-Dec-06 17:44
Are Jay16-Dec-06 17:44 
GeneralRe: Center Group box on form load Pin
hkinser916-Dec-06 17:53
hkinser916-Dec-06 17:53 
GeneralRe: Center Group box on form load Pin
The ANZAC16-Dec-06 21:54
The ANZAC16-Dec-06 21:54 
GeneralRe: Center Group box on form load Pin
Are Jay17-Dec-06 20:19
Are Jay17-Dec-06 20:19 
GeneralRe: Center Group box on form load Pin
The ANZAC19-Dec-06 10:20
The ANZAC19-Dec-06 10:20 
Questionimport data from .csv file to oracle Pin
montu337716-Dec-06 15:25
montu337716-Dec-06 15:25 
QuestionSoftware to attach with winlogon.exe Pin
Mekong River16-Dec-06 15:18
Mekong River16-Dec-06 15:18 
AnswerRe: Software to attach with winlogon.exe Pin
Thomas Stockwell17-Dec-06 4:46
professionalThomas Stockwell17-Dec-06 4:46 
GeneralRe: Software to attach with winlogon.exe Pin
Mekong River29-Dec-06 15:29
Mekong River29-Dec-06 15:29 

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.