Click here to Skip to main content
15,867,686 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Use foreign key constraint with a loop ? Pin
Johan Hakkesteegt5-Jun-12 20:56
Johan Hakkesteegt5-Jun-12 20:56 
QuestionAVI Display Problem Pin
Dr David Johnson PhD4-Jun-12 9:28
Dr David Johnson PhD4-Jun-12 9:28 
Questionvb2010os dev Pin
Emile the code master3-Jun-12 22:44
Emile the code master3-Jun-12 22:44 
AnswerRe: vb2010os dev Pin
Richard MacCutchan3-Jun-12 23:10
mveRichard MacCutchan3-Jun-12 23:10 
AnswerRe: vb2010os dev Pin
Eddy Vluggen4-Jun-12 0:40
professionalEddy Vluggen4-Jun-12 0:40 
AnswerRe: vb2010os dev Pin
Dave Kreskowiak4-Jun-12 4:08
mveDave Kreskowiak4-Jun-12 4:08 
AnswerRe: vb2010os dev Pin
Paul Conrad4-Jun-12 6:47
professionalPaul Conrad4-Jun-12 6:47 
AnswerRe: vb2010os dev Pin
Luc Pattyn4-Jun-12 7:12
sitebuilderLuc Pattyn4-Jun-12 7:12 
No you can't; all you can make in a higher-level language is a virtual OS, one that runs on top of a real one. For a real OS, one needs pre-emptive scheduling which requires access to all the CPU registers, so one can swap one process/task/thread for another one, saving/restoring the state in some data structures. C#, Java, VB and other HLL's don't provide access to (all relevant) CPU registers.

I've constructed a number of OSes using C; it takes one or two pages of assembly code at least to implement proper process/task/thread switching. Everything else could be implemented in the HLL, although optimal interrupt handling may beg for some assembly code too.

One could argue that in-line assembly could be used (probably not in VB), but I would not really consider that as the compiler will insist on adding some code I don't want, and performance should not be wasted in task switching or interrupt servicing.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

AnswerRe: vb2010os dev Pin
Paul Conrad4-Jun-12 7:16
professionalPaul Conrad4-Jun-12 7:16 
AnswerRe: vb2010os dev Pin
Bert Mitton5-Jun-12 8:00
professionalBert Mitton5-Jun-12 8:00 
QuestionPosting a XML String to a Web Service via VB.NET VS2010 Pin
Member 77438051-Jun-12 12:06
Member 77438051-Jun-12 12:06 
AnswerRe: Posting a XML String to a Web Service via VB.NET VS2010 Pin
Paul Conrad2-Jun-12 8:10
professionalPaul Conrad2-Jun-12 8:10 
AnswerRe: Posting a XML String to a Web Service via VB.NET VS2010 Pin
David Mujica4-Jun-12 3:32
David Mujica4-Jun-12 3:32 
QuestionStructure passing problem Pin
Bret Stern31-May-12 10:23
Bret Stern31-May-12 10:23 
AnswerRe: Structure passing problem Pin
David Mujica31-May-12 10:58
David Mujica31-May-12 10:58 
GeneralRe: Structure passing problem Pin
Bret Stern31-May-12 12:36
Bret Stern31-May-12 12:36 
AnswerRe: Structure passing problem Pin
Dave Doknjas31-May-12 11:25
Dave Doknjas31-May-12 11:25 
GeneralRe: Structure passing problem Pin
Bret Stern31-May-12 12:39
Bret Stern31-May-12 12:39 
GeneralRe: Structure passing problem Pin
Dave Doknjas31-May-12 13:01
Dave Doknjas31-May-12 13:01 
QuestionPlugin Manager Pin
Member 819828330-May-12 4:52
Member 819828330-May-12 4:52 
AnswerRe: Plugin Manager Pin
Wayne Gaylard30-May-12 5:20
professionalWayne Gaylard30-May-12 5:20 
GeneralRe: Plugin Manager Pin
Member 819828330-May-12 9:03
Member 819828330-May-12 9:03 
AnswerRe: Plugin Manager Pin
Dave Kreskowiak30-May-12 5:21
mveDave Kreskowiak30-May-12 5:21 
QuestionUnhandled exception Pin
digibat29-May-12 17:59
digibat29-May-12 17:59 
AnswerRe: Unhandled exception Pin
digibat29-May-12 20:07
digibat29-May-12 20:07 

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.