Click here to Skip to main content
15,897,273 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Overlapping with a Picturebox other controls having the picturebox transparent background VB .NET (update) Pin
TnTinMn21-Nov-13 13:38
TnTinMn21-Nov-13 13:38 
GeneralRe: Overlapping with a Picturebox other controls having the picturebox transparent background VB .NET (update) Pin
jose mandurrino24-Nov-13 8:52
jose mandurrino24-Nov-13 8:52 
Questionzoom a big image with VB Pin
99117651518-Nov-13 22:09
99117651518-Nov-13 22:09 
AnswerRe: zoom a big image with VB Pin
Eddy Vluggen19-Nov-13 10:37
professionalEddy Vluggen19-Nov-13 10:37 
QuestionRe: zoom a big image with VB Pin
99117651519-Nov-13 14:32
99117651519-Nov-13 14:32 
AnswerRe: zoom a big image with VB Pin
Eddy Vluggen20-Nov-13 7:53
professionalEddy Vluggen20-Nov-13 7:53 
AnswerRe: zoom a big image with VB Pin
Bernhard Hiller19-Nov-13 22:12
Bernhard Hiller19-Nov-13 22:12 
QuestionSystem.Null Pin
Member 1040919918-Nov-13 4:21
Member 1040919918-Nov-13 4:21 
Hi all I keep getting the system null reference exception
I know where it is I just wonder why there is a null.
Public Class Countries
Const ARRAY_UPPERBOUND As Integer = 8

Public Structure WorldCountries
Dim countriesNames As String
Dim countriesAbbreviations As Integer
End Structure
Dim enterCountry(ARRAY_UPPERBOUND) As WorldCountries
Private Sub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Click
Me.Close()
End Sub

Private Sub Countries_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

Dim enterCountry(ARRAY_UPPERBOUND) As WorldCountries

enterCountry(0).countriesNames = "Antarctica"
enterCountry(0).countriesAbbreviations = "AQ"

enterCountry(1).countriesNames = "Bahamas"
enterCountry(1).countriesAbbreviations = "BS"

enterCountry(2).countriesNames = "Canada"
enterCountry(2).countriesAbbreviations = "CA"

enterCountry(3).countriesNames = "Estonia"
enterCountry(3).countriesAbbreviations = "EE"

enterCountry(4).countriesNames = "France"
enterCountry(4).countriesAbbreviations = "FR"

enterCountry(5).countriesNames = "Ireland"
enterCountry(5).countriesAbbreviations = "IE"

enterCountry(6).countriesNames = "Japan"
enterCountry(6).countriesAbbreviations = "JP"

enterCountry(7).countriesNames = "Mexico"
enterCountry(7).countriesAbbreviations = "MX"

enterCountry(8).countriesNames = "Netherlands"
enterCountry(8).countriesAbbreviations = "NL"


End Sub

Private Sub CountryAbbreviationButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CountryAbbreviationButton.Click

Dim cNames As String
Dim bfound As Boolean = False

'get input
cNames = CountryTextBox.Text.ToLower

'Compare input
For l As Integer = 0 To ARRAY_UPPERBOUND
If cNames = enterCountry(l).countriesNames.ToLower Then
bfound = True
AbbreviationTextBox.Text = enterCountry(l).countriesAbbreviations
Exit For
End If
Next
'If Found
If Not bfound Then
MessageBox.Show("Name not Found")
End If
End Sub
End Class
AnswerRe: System.Null Pin
Richard Deeming18-Nov-13 4:44
mveRichard Deeming18-Nov-13 4:44 
QuestionHow can i avoid my vbscript running in temp folder when converted to exe using iexpress wizard Pin
superselector14-Nov-13 21:12
superselector14-Nov-13 21:12 
AnswerRe: How can i avoid my vbscript running in temp folder when converted to exe using iexpress wizard Pin
Mike Meinz16-Nov-13 3:09
Mike Meinz16-Nov-13 3:09 
GeneralRe: How can i avoid my vbscript running in temp folder when converted to exe using iexpress wizard Pin
Dave Kreskowiak16-Nov-13 3:18
mveDave Kreskowiak16-Nov-13 3:18 
GeneralRe: How can i avoid my vbscript running in temp folder when converted to exe using iexpress wizard Pin
Mycroft Holmes16-Nov-13 17:00
professionalMycroft Holmes16-Nov-13 17:00 
GeneralRe: How can i avoid my vbscript running in temp folder when converted to exe using iexpress wizard Pin
superselector21-Nov-13 21:09
superselector21-Nov-13 21:09 
GeneralRe: How can i avoid my vbscript running in temp folder when converted to exe using iexpress wizard Pin
Mike Meinz22-Nov-13 1:21
Mike Meinz22-Nov-13 1:21 
QuestionSorting Gridview with Data from DataTable error Pin
Commish1314-Nov-13 5:11
professionalCommish1314-Nov-13 5:11 
AnswerRe: Sorting Gridview with Data from DataTable error Pin
Richard MacCutchan14-Nov-13 6:13
mveRichard MacCutchan14-Nov-13 6:13 
GeneralRe: Sorting Gridview with Data from DataTable error Pin
Commish1314-Nov-13 7:07
professionalCommish1314-Nov-13 7:07 
GeneralRe: Sorting Gridview with Data from DataTable error Pin
Richard MacCutchan14-Nov-13 7:16
mveRichard MacCutchan14-Nov-13 7:16 
GeneralRe: Sorting Gridview with Data from DataTable error Pin
Tim Carmichael14-Nov-13 8:47
Tim Carmichael14-Nov-13 8:47 
QuestionTabing to a certain program window from excel... Pin
harry.roy14-Nov-13 4:52
harry.roy14-Nov-13 4:52 
AnswerRe: Tabing to a certain program window from excel... Pin
Richard MacCutchan14-Nov-13 6:16
mveRichard MacCutchan14-Nov-13 6:16 
AnswerRe: Tabing to a certain program window from excel... Pin
TnTinMn14-Nov-13 16:35
TnTinMn14-Nov-13 16:35 
GeneralRe: Tabing to a certain program window from excel... Pin
harry.roy14-Nov-13 16:43
harry.roy14-Nov-13 16:43 
GeneralRe: Tabing to a certain program window from excel... Pin
TnTinMn14-Nov-13 16:55
TnTinMn14-Nov-13 16:55 

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.