Click here to Skip to main content
15,911,531 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VB6 not working on older Windows when creating exe from Windows 7 64 bit - scrrun error Pin
Dave Kreskowiak13-Oct-11 10:37
mveDave Kreskowiak13-Oct-11 10:37 
GeneralRe: VB6 not working on older Windows when creating exe from Windows 7 64 bit - scrrun error Pin
Eddy Vluggen13-Oct-11 10:39
professionalEddy Vluggen13-Oct-11 10:39 
QuestionReferencing a dll Pin
Sonhospa11-Oct-11 5:49
Sonhospa11-Oct-11 5:49 
AnswerRe: Referencing a dll Pin
Luc Pattyn11-Oct-11 6:12
sitebuilderLuc Pattyn11-Oct-11 6:12 
QuestionRe: Referencing a dll Pin
Sonhospa11-Oct-11 6:55
Sonhospa11-Oct-11 6:55 
AnswerRe: Referencing a dll Pin
ekolis11-Oct-11 7:24
ekolis11-Oct-11 7:24 
GeneralRe: Referencing a dll Pin
Sonhospa11-Oct-11 7:53
Sonhospa11-Oct-11 7:53 
AnswerRe: Referencing a dll Pin
Luc Pattyn11-Oct-11 8:23
sitebuilderLuc Pattyn11-Oct-11 8:23 
Here is another suggestion: turn your VB.NET WinForms app into a Console app so you can control its start-up; more specifically:

1. in solution pane, right-click the project, then "Add a Module", default filename would be Module1.vb

2. in that file, stuff this (assuming your main form is called Form1):
VB
Module Module1
    Sub Main()
        Try
            Application.run(New Form1)
        Catch ex As Exception
            Console.WriteLine(ex.ToString)
        End Try
        Console.WriteLine("hit any key to finish...")
        Console.ReadKey()
    End Sub
End Module


3. in solution pane, click project/Properties, set app type to "Console Application" and startup object to "Module1"

4. Now build, run, and watch what shows in the Console window. Hopefully the full diagnosis will be there.

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

NewsReally helpful! (Re: Referencing a dll ) Pin
Sonhospa11-Oct-11 9:17
Sonhospa11-Oct-11 9:17 
AnswerRe: Really helpful! (Re: Referencing a dll ) Pin
Luc Pattyn11-Oct-11 9:39
sitebuilderLuc Pattyn11-Oct-11 9:39 
AnswerRe: Referencing a dll Pin
biop.codeproject13-Nov-11 17:15
biop.codeproject13-Nov-11 17:15 
QuestionFunny FileNotFoundException Pin
Sonhospa10-Oct-11 21:31
Sonhospa10-Oct-11 21:31 
SuggestionRe: Funny FileNotFoundException Pin
Richard MacCutchan10-Oct-11 22:20
mveRichard MacCutchan10-Oct-11 22:20 
JokeRe: Funny FileNotFoundException Pin
Sonhospa11-Oct-11 0:19
Sonhospa11-Oct-11 0:19 
AnswerRe: Funny FileNotFoundException Pin
Richard MacCutchan11-Oct-11 0:27
mveRichard MacCutchan11-Oct-11 0:27 
GeneralRe: Funny FileNotFoundException Pin
Sonhospa11-Oct-11 5:32
Sonhospa11-Oct-11 5:32 
QuestionFTP with multiple folders for each FTP user Pin
QuickBooksDev10-Oct-11 10:18
QuickBooksDev10-Oct-11 10:18 
QuestionProblem with inser data from vb2008 to Ms Acesss DB Pin
Mangore759-Oct-11 12:06
Mangore759-Oct-11 12:06 
AnswerRe: Problem with inser data from vb2008 to Ms Acesss DB Pin
Armigo10-Oct-11 3:09
Armigo10-Oct-11 3:09 
Questionimport from excel Pin
alejx4-Oct-11 7:48
alejx4-Oct-11 7:48 
GeneralRe: import from excel Pin
Paladin20004-Oct-11 8:07
Paladin20004-Oct-11 8:07 
AnswerRe: import from excel Pin
Dalek Dave6-Oct-11 22:31
professionalDalek Dave6-Oct-11 22:31 
Question[solved] sorting a subset of a datatable in a different order Pin
Armigo4-Oct-11 2:16
Armigo4-Oct-11 2:16 
AnswerRe: sorting a subset of a datatable in a different order Pin
Dave Kreskowiak4-Oct-11 3:30
mveDave Kreskowiak4-Oct-11 3:30 
QuestionRe: sorting a subset of a datatable in a different order Pin
Armigo4-Oct-11 22:52
Armigo4-Oct-11 22:52 

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.