Click here to Skip to main content
15,926,596 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Question'sub main not found' bug Pin
formansworld11-Mar-06 7:22
formansworld11-Mar-06 7:22 
AnswerRe: 'sub main not found' bug Pin
Joshua Quick11-Mar-06 8:46
Joshua Quick11-Mar-06 8:46 
QuestionHow can I show a clips of a picture box at runtime? Pin
JUNEYT11-Mar-06 6:40
JUNEYT11-Mar-06 6:40 
AnswerRe: How can I show a clips of a picture box at runtime? Pin
Joshua Quick11-Mar-06 8:41
Joshua Quick11-Mar-06 8:41 
GeneralYour answer is not the answer to my question Pin
JUNEYT11-Mar-06 10:06
JUNEYT11-Mar-06 10:06 
AnswerRe: Your answer is not the answer to my question Pin
Joshua Quick11-Mar-06 14:04
Joshua Quick11-Mar-06 14:04 
QuestionHow can I retrieve the command line arguments? Pin
JUNEYT11-Mar-06 6:34
JUNEYT11-Mar-06 6:34 
AnswerRe: How can I retrieve the command line arguments? Pin
Joshua Quick11-Mar-06 8:25
Joshua Quick11-Mar-06 8:25 
The easiest way to do this is to change your project's Startup Object from your form to "Sub Main". You can get the command line arguments from there as follows.
Public Class Main
   Public Shared Sub Main(ByVal args() As String)
      Application.EnableVisualStyles()
      Application.DoEvents()
      Application.Run(New MyForm)
   End Sub
End Class

An alternative to this is to call System.Environment.CommandLine. The difference here is that it gives you the whole command line as one string and you have to parse it yourself.
QuestionSeeking for an alternative solution for tabcontrol? Pin
JUNEYT11-Mar-06 6:31
JUNEYT11-Mar-06 6:31 
AnswerRe: Seeking for an alternative solution for tabcontrol? Pin
Joshua Quick11-Mar-06 8:19
Joshua Quick11-Mar-06 8:19 
GeneralRe: Seeking for an alternative solution for tabcontrol? Pin
JUNEYT11-Mar-06 9:44
JUNEYT11-Mar-06 9:44 
AnswerRe: Seeking for an alternative solution for tabcontrol? Pin
Joshua Quick11-Mar-06 10:05
Joshua Quick11-Mar-06 10:05 
QuestionVB.Net- Fields in Access database returned in alphabetical order Pin
JDMils11-Mar-06 5:41
JDMils11-Mar-06 5:41 
AnswerRe: did i use the wrong loop? it hang.. Pin
Guffa11-Mar-06 4:39
Guffa11-Mar-06 4:39 
Generalerror on the path how come it become null?? Pin
campbells11-Mar-06 5:36
campbells11-Mar-06 5:36 
AnswerRe: error on the path how come it become null?? Pin
Guffa11-Mar-06 5:55
Guffa11-Mar-06 5:55 
GeneralRe: error on the path how come it become null?? Pin
campbells11-Mar-06 6:26
campbells11-Mar-06 6:26 
GeneralRe: error on the path how come it become null?? Pin
Guffa11-Mar-06 6:33
Guffa11-Mar-06 6:33 
GeneralRe: error on the path how come it become null?? Pin
campbells11-Mar-06 16:19
campbells11-Mar-06 16:19 
Questionado.net Pin
SVb.net11-Mar-06 3:20
SVb.net11-Mar-06 3:20 
AnswerRe: ado.net Pin
Michael P Butler11-Mar-06 4:55
Michael P Butler11-Mar-06 4:55 
QuestionUsing MS-Access 2000 Database in vb.net Pin
ssfargade11-Mar-06 1:47
ssfargade11-Mar-06 1:47 
AnswerRe: Using MS-Access 2000 Database in vb.net Pin
Joshua Quick11-Mar-06 8:09
Joshua Quick11-Mar-06 8:09 
GeneralRe: Using MS-Access 2000 Database in vb.net Pin
ssfargade13-Mar-06 7:03
ssfargade13-Mar-06 7:03 
Questiona realy simple question about collections Pin
HaloZa10-Mar-06 21:33
HaloZa10-Mar-06 21:33 

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.