Click here to Skip to main content
15,918,485 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: reading logfile Pin
Hasan Jaffal18-Jun-08 20:05
Hasan Jaffal18-Jun-08 20:05 
QuestionAsking about global variable using VB.NET Window Form Application Pin
drexler_kk17-Jun-08 21:01
drexler_kk17-Jun-08 21:01 
AnswerRe: Asking about global variable using VB.NET Window Form Application Pin
Ashfield17-Jun-08 21:20
Ashfield17-Jun-08 21:20 
GeneralRe: Asking about global variable using VB.NET Window Form Application Pin
drexler_kk17-Jun-08 22:11
drexler_kk17-Jun-08 22:11 
AnswerRe: Asking about global variable using VB.NET Window Form Application Pin
Guffa17-Jun-08 21:34
Guffa17-Jun-08 21:34 
QuestionRe: Asking about global variable using VB.NET Window Form Application Pin
drexler_kk17-Jun-08 22:06
drexler_kk17-Jun-08 22:06 
AnswerRe: Asking about global variable using VB.NET Window Form Application Pin
Guffa17-Jun-08 22:21
Guffa17-Jun-08 22:21 
QuestionRe: Asking about global variable using VB.NET Window Form Application Pin
drexler_kk17-Jun-08 22:44
drexler_kk17-Jun-08 22:44 
Yeah,thanks Guffa. Can you give me some idea how should I declare the variable of my Window Form Application? Let me further explain my situation below:
Option Explicit On
Imports System.Data
Imports System.Data.Odbc
Imports System.Configuration

Module Module1
    'User detail variable
    Public UserID As String
    Public UserName As String
    Public UserPassword As String
End Module


This is how I test my retrieve data using Form from the varaiable in Module1.vb:

Messagebox.show(UserID)
     Messagebox.show(UserName)
     Messagebox.show(UserPassword) 


But all the messagebox prompup is Nothing. So,anyone can tell me how should I declare my variable so I can used anywhere in my project? The UserID,Username and Password is used for verification when working with certain function or task.

Thank you for reading.
Regards
Drexler
AnswerRe: Asking about global variable using VB.NET Window Form Application Pin
Jay Royall18-Jun-08 1:34
Jay Royall18-Jun-08 1:34 
GeneralRe: Asking about global variable using VB.NET Window Form Application Pin
drexler_kk18-Jun-08 15:12
drexler_kk18-Jun-08 15:12 
GeneralRe: Asking about global variable using VB.NET Window Form Application Pin
drexler_kk18-Jun-08 15:15
drexler_kk18-Jun-08 15:15 
GeneralRe: Asking about global variable using VB.NET Window Form Application Pin
Guffa18-Jun-08 23:32
Guffa18-Jun-08 23:32 
Questiondebugging problem Pin
maytel mynt17-Jun-08 19:28
maytel mynt17-Jun-08 19:28 
AnswerRe: debugging problem Pin
Rupesh Kumar Swami17-Jun-08 21:48
Rupesh Kumar Swami17-Jun-08 21:48 
GeneralRe: debugging problem Pin
maytel mynt17-Jun-08 22:34
maytel mynt17-Jun-08 22:34 
Question(Rs232) how to receiver the correct value and sort in textbox Pin
kain77717-Jun-08 17:56
kain77717-Jun-08 17:56 
QuestionMutiple instance in app.config Pin
Subjugate17-Jun-08 15:41
Subjugate17-Jun-08 15:41 
QuestionSetting Focus inside a text box Pin
New_Coder17-Jun-08 15:25
New_Coder17-Jun-08 15:25 
AnswerRe: Setting Focus inside a text box Pin
jzonthemtn17-Jun-08 15:38
jzonthemtn17-Jun-08 15:38 
QuestionGraduation project Pin
salam ellayan17-Jun-08 10:45
salam ellayan17-Jun-08 10:45 
AnswerRe: Graduation project PinPopular
Christian Graus17-Jun-08 17:37
protectorChristian Graus17-Jun-08 17:37 
GeneralRe: Graduation project Pin
Mark Churchill17-Jun-08 18:38
Mark Churchill17-Jun-08 18:38 
AnswerRe: Graduation project Pin
Noctris18-Jun-08 0:16
Noctris18-Jun-08 0:16 
AnswerRe: Graduation project Pin
Paul Conrad18-Jun-08 20:26
professionalPaul Conrad18-Jun-08 20:26 
Questionbit shift operation Pin
nik05070617-Jun-08 7:53
nik05070617-Jun-08 7:53 

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.