Click here to Skip to main content
15,889,877 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How manage scroll position in listview without using API function. Pin
Coban_16-Apr-08 20:11
Coban_16-Apr-08 20:11 
GeneralRe: How manage scroll position in listview without using API function. Pin
Dave Kreskowiak17-Apr-08 2:47
mveDave Kreskowiak17-Apr-08 2:47 
GeneralRe: How manage scroll position in listview without using API function. Pin
Coban_17-Apr-08 4:07
Coban_17-Apr-08 4:07 
Questionis any program that make exe file that work on computers without .netframework Pin
en.Mahdi15-Apr-08 21:02
en.Mahdi15-Apr-08 21:02 
GeneralRe: is any program that make exe file that work on computers without .netframework Pin
Christian Graus15-Apr-08 21:03
protectorChristian Graus15-Apr-08 21:03 
GeneralRe: is any program that make exe file that work on computers without .netframework Pin
N a v a n e e t h15-Apr-08 21:14
N a v a n e e t h15-Apr-08 21:14 
AnswerRe: is any program that make exe file that work on computers without .netframework Pin
en.Mahdi16-Apr-08 1:43
en.Mahdi16-Apr-08 1:43 
GeneralRe: is any program that make exe file that work on computers without .netframework Pin
Dave Kreskowiak16-Apr-08 3:55
mveDave Kreskowiak16-Apr-08 3:55 
You really can't get around that.

There is a tool that generates native code from the IL code in the assemblies, but, you can't just NGEN your assemblies and then distribute those to your customers. NGEN generates code speicifically for the processor that it's running on. So, if you NGEN an assmebly on an Intel Core 2 Duo, the resulting native code isn't guaranteed to work on an AMD Athlon 2600+. NGEN has to be run on the assemblies at installation time on the customer workstations.

Also, don't expect to get large performance boosts in load times. When an assembly is loaded, the native compiler does a very good job at compiling the code down to native and does it very fast. The .NET CLR will also not compile an entire assembly, but only what it needs to compile to run the current code. If you create an instance of a class in, say, a .DLL, that class won't get compiled into native code until your code first tries to create an instance of the class. The compiler works on a on-demand basis.


Now, if you go the other route and use an expesive third party product to build the .NET Framework into your .EXE, you still have an IL .EXE which will be compiled on-demand, but now you have a MUCH larger .EXE file, which will take longer to load anyway.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: is any program that make exe file that work on computers without .netframework Pin
~V~16-Apr-08 1:32
~V~16-Apr-08 1:32 
QuestionRegarding Windows Registry Pin
vijaylumar15-Apr-08 20:51
vijaylumar15-Apr-08 20:51 
GeneralRe: Regarding Windows Registry Pin
Ashfield16-Apr-08 0:51
Ashfield16-Apr-08 0:51 
GeneralRe: Regarding Windows Registry Pin
Dave Kreskowiak16-Apr-08 3:30
mveDave Kreskowiak16-Apr-08 3:30 
QuestionRe: Regarding Windows Registry Pin
vijaylumar16-Apr-08 18:54
vijaylumar16-Apr-08 18:54 
GeneralRe: Regarding Windows Registry Pin
Dave Kreskowiak17-Apr-08 1:31
mveDave Kreskowiak17-Apr-08 1:31 
Questionregarding creating Help File for vb.net 2.0 windows application Pin
vijaylumar15-Apr-08 20:08
vijaylumar15-Apr-08 20:08 
AnswerRe: regarding creating Help File for vb.net 2.0 windows application Pin
Arjun Marwaha15-Apr-08 20:42
Arjun Marwaha15-Apr-08 20:42 
GeneralRe: regarding creating Help File for vb.net 2.0 windows application Pin
Smithers-Jones15-Apr-08 23:32
Smithers-Jones15-Apr-08 23:32 
GeneralCRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
vbDigger'z15-Apr-08 19:32
vbDigger'z15-Apr-08 19:32 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
_Damian S_15-Apr-08 19:59
professional_Damian S_15-Apr-08 19:59 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
vbDigger'z15-Apr-08 21:22
vbDigger'z15-Apr-08 21:22 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
_Damian S_16-Apr-08 18:07
professional_Damian S_16-Apr-08 18:07 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
vbDigger'z16-Apr-08 21:56
vbDigger'z16-Apr-08 21:56 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
Mycroft Holmes15-Apr-08 22:07
professionalMycroft Holmes15-Apr-08 22:07 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
vbDigger'z15-Apr-08 22:19
vbDigger'z15-Apr-08 22:19 
GeneralRe: CRAXDRT.ConnectionPropertiesClass.getItem(String Name) "Error: Invalid Index" Pin
ChandraRam15-Apr-08 23:56
ChandraRam15-Apr-08 23:56 

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.