Click here to Skip to main content
16,004,924 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: sourcecode for PDF to Word converter using visual basic 6 Pin
Mekong River12-Sep-04 4:00
Mekong River12-Sep-04 4:00 
GeneralRe: sourcecode for PDF to Word converter using visual basic 6 Pin
Dave Kreskowiak12-Sep-04 16:27
mveDave Kreskowiak12-Sep-04 16:27 
GeneralProblem With Embedded Resources Inside A user Control Pin
Herbertmunch10-Sep-04 22:34
Herbertmunch10-Sep-04 22:34 
GeneralAdding Browser Control in VB.Net Pin
DanishNafay10-Sep-04 22:14
DanishNafay10-Sep-04 22:14 
GeneralRe: Adding Browser Control in VB.Net Pin
Hadi Fakhreddine12-Sep-04 1:46
Hadi Fakhreddine12-Sep-04 1:46 
GeneralRe: Adding Browser Control in VB.Net Pin
pbpb12-Sep-04 22:07
pbpb12-Sep-04 22:07 
GeneralPublic Declare. Pin
benjj10-Sep-04 17:39
benjj10-Sep-04 17:39 
GeneralRe: Public Declare. Pin
Dennis C. Dietrich11-Sep-04 7:17
Dennis C. Dietrich11-Sep-04 7:17 
Public DataForm12 As New Form1

Declares the public member DataForm12 with the type Form1 and (because of New) initializes it with a reference to a newly created Form1 object.
Dim DataForm12 As Form1

This DataForm12 however is valid in the code block in which it has been declared. Because there is no New operator this variable is initialized with Nothing. If you don't need two instances of Form1 you don't need the second variable anyway. Supposed you have got this code:
Module MyModule
    Public DataForm12 As New Form1
End Module

Then you can access the member DataForm12 anywhere else in your project because a modul behaves like a static class.
MyModule.DataForm12.Show()

Best regards
Dennis
GeneralRe: Public Declare. Pin
benjj11-Sep-04 18:19
benjj11-Sep-04 18:19 
GeneralEmail body format Pin
kokain10-Sep-04 16:42
kokain10-Sep-04 16:42 
GeneralRe: Email body format Pin
Dave Kreskowiak12-Sep-04 3:48
mveDave Kreskowiak12-Sep-04 3:48 
GeneralRe: Email body format Pin
Anonymous16-Oct-04 11:10
Anonymous16-Oct-04 11:10 
GeneralRecord sound to a WAV file, Using VB6 Pin
scag10-Sep-04 16:30
scag10-Sep-04 16:30 
Generalenabling/disabling internet access Pin
Asim N.10-Sep-04 9:31
Asim N.10-Sep-04 9:31 
GeneralRe: enabling/disabling internet access Pin
Dave Kreskowiak10-Sep-04 10:09
mveDave Kreskowiak10-Sep-04 10:09 
GeneralRe: enabling/disabling internet access Pin
Mekong River11-Sep-04 5:16
Mekong River11-Sep-04 5:16 
GeneralDataGrid in .Net Pin
Britnt710-Sep-04 9:20
Britnt710-Sep-04 9:20 
GeneralRe: DataGrid in .Net Pin
HarryBo11-Sep-04 2:14
HarryBo11-Sep-04 2:14 
GeneralRe: DataGrid in .Net Pin
Nick Seng12-Sep-04 15:14
Nick Seng12-Sep-04 15:14 
GeneralRe: DataGrid in .Net Pin
Britnt713-Sep-04 2:27
Britnt713-Sep-04 2:27 
GeneralRe: DataGrid in .Net Pin
Nick Seng13-Sep-04 3:25
Nick Seng13-Sep-04 3:25 
GeneralRe: DataGrid in .Net Pin
Britnt713-Sep-04 3:37
Britnt713-Sep-04 3:37 
GeneralRe: DataGrid in .Net Pin
Nick Seng13-Sep-04 4:00
Nick Seng13-Sep-04 4:00 
GeneralRe: DataGrid in .Net Pin
Britnt713-Sep-04 4:13
Britnt713-Sep-04 4:13 
GeneralRe: DataGrid in .Net Pin
Nick Seng13-Sep-04 4:20
Nick Seng13-Sep-04 4:20 

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.