Click here to Skip to main content
15,924,036 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to customize unique constraint exception? Pin
Anonymous9-Jul-05 7:26
Anonymous9-Jul-05 7:26 
QuestionHow to make your application start before windows starts Pin
TheOnlyFalcon8-Jul-05 15:30
TheOnlyFalcon8-Jul-05 15:30 
AnswerRe: How to make your application start before windows starts Pin
Rob Graham8-Jul-05 18:03
Rob Graham8-Jul-05 18:03 
AnswerRe: How to make your application start before windows starts Pin
Dave Kreskowiak9-Jul-05 2:09
mveDave Kreskowiak9-Jul-05 2:09 
GeneralRe: How to make your application start before windows starts Pin
TheOnlyFalcon10-Jul-05 15:41
TheOnlyFalcon10-Jul-05 15:41 
GeneralRe: How to make your application start before windows starts Pin
Dave Kreskowiak10-Jul-05 17:04
mveDave Kreskowiak10-Jul-05 17:04 
QuestionCAD images? what are they and how are they created? Pin
Fu Manchu8-Jul-05 12:25
Fu Manchu8-Jul-05 12:25 
GeneralNeed Help Pin
Jason Baggett8-Jul-05 12:00
Jason Baggett8-Jul-05 12:00 
I'm learning VB.Net and a problem I am trying to do asks the following:

Write a procedure that will print all prime numbers from 1 to N, where N is passed to the procedure as a parameter. A prime number is one that can be evenly divided only by 1 or itself. The smallest prime numbers are 1,2,3 and 5.

Write a program to test your function.

Hint: Identify the primes from smallest to the largest and store all the identified prime numbers in an array. Determine whether a new number is a prime number by checking the remainder of this number divided by each of the currently identified prime numbers, except for 1. If a new number cannot be evenly divided (i.e. no remainder) by any prime numbers that are less than the square root of the number, the new number is a prime number.

I'm lost!!! Can anyone help me?
Thanks
JB
GeneralRe: Need Help Pin
[Marc]8-Jul-05 18:18
[Marc]8-Jul-05 18:18 
GeneralRe: Need Help Pin
[Marc]10-Jul-05 5:34
[Marc]10-Jul-05 5:34 
GeneralRe: Need Help Pin
Jason Baggett10-Jul-05 6:25
Jason Baggett10-Jul-05 6:25 
Generalsetup program Pin
paragraut8-Jul-05 9:00
paragraut8-Jul-05 9:00 
GeneralRe: setup program Pin
Jeeva Jose9-Jul-05 7:53
Jeeva Jose9-Jul-05 7:53 
GeneralRe: setup program Pin
paragraut9-Jul-05 8:36
paragraut9-Jul-05 8:36 
GeneralRe: setup program Pin
Luis Alonso Ramos9-Jul-05 23:49
Luis Alonso Ramos9-Jul-05 23:49 
GeneralString into multiple Text Boxes Pin
Victoria348-Jul-05 7:37
Victoria348-Jul-05 7:37 
GeneralRe: String into multiple Text Boxes Pin
Anonymous8-Jul-05 8:53
Anonymous8-Jul-05 8:53 
GeneralRe: String into multiple Text Boxes Pin
Victoria348-Jul-05 9:10
Victoria348-Jul-05 9:10 
GeneralVB Code for Drive Letter and Shell Wait Commands Pin
Murph2138-Jul-05 6:43
Murph2138-Jul-05 6:43 
GeneralRe: VB Code for Drive Letter and Shell Wait Commands Pin
Anonymous8-Jul-05 8:58
Anonymous8-Jul-05 8:58 
GeneralRe: VB Code for Drive Letter and Shell Wait Commands Pin
Murph2138-Jul-05 9:54
Murph2138-Jul-05 9:54 
GeneralFlash in VB.Net Pin
Anonymous8-Jul-05 4:24
Anonymous8-Jul-05 4:24 
GeneralRe: Flash in VB.Net Pin
Anonymous8-Jul-05 5:15
Anonymous8-Jul-05 5:15 
GeneralClosing PrintPreviewDialog crashes app Pin
oakleaf8-Jul-05 3:51
oakleaf8-Jul-05 3:51 
GeneralUpdating a datagrid using a DataEnvironment Pin
lostris7-Jul-05 20:59
lostris7-Jul-05 20:59 

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.