Click here to Skip to main content
16,005,734 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Help, please Pin
alexfromto1-Nov-06 10:35
alexfromto1-Nov-06 10:35 
QuestionInstalling a Windows Service Pin
steve.borman1-Nov-06 1:27
steve.borman1-Nov-06 1:27 
QuestionWhat is the use of application Pin
garimajain_mca1-Nov-06 1:15
garimajain_mca1-Nov-06 1:15 
AnswerRe: What is the use of application Pin
nlarson111-Nov-06 10:17
nlarson111-Nov-06 10:17 
Questioncopy dataset to dataset Pin
K edar V1-Nov-06 0:32
K edar V1-Nov-06 0:32 
AnswerRe: copy dataset to dataset Pin
Are Jay1-Nov-06 10:53
Are Jay1-Nov-06 10:53 
GeneralRe: copy dataset to dataset Pin
K edar V1-Nov-06 17:40
K edar V1-Nov-06 17:40 
QuestionWeird Error Pin
Muntyness1-Nov-06 0:09
Muntyness1-Nov-06 0:09 
First off, let me just say that this question is just for information purposes. (I'm kinda curious as to why this is happening)

I have a wierd error with the VB program I have access to here.
The error is in the code and has to do with some of the standard tabControl methods.

What happens is that if that there is a method that returns an in depending on what letter is put into it. The returned int is then used to select which tab page is shown by the control.

To get the code to work it goes something like this:

Dim index As New Integer

tabIndex = Groups.ConvertToNumber(Attribute.Group)

If Not Groups.ConvertToNumber(Attribute.Group) = -1 Then
FunctionPicker.SelectedTab = FunctionPicker.TabPages(tabIndex)
End If

The above code works. However if I change the code to this:

If Not Groups.ConvertToNumber(Attribute.Group) = -1 Then
FunctionPicker.SelectedTab = FunctionPicker.TabPages(Groups.ConvertToNumber(Attribute.Group))
End If

It no longer works, when it should. (And as far as I know worked in previous versions)

Any idea as to why this happens?

- Munty
AnswerRe: Weird Error Pin
OldWarhorse1-Nov-06 1:55
OldWarhorse1-Nov-06 1:55 
GeneralRe: Weird Error Pin
Muntyness1-Nov-06 4:00
Muntyness1-Nov-06 4:00 
GeneralRe: Weird Error Pin
OldWarhorse1-Nov-06 13:55
OldWarhorse1-Nov-06 13:55 
GeneralRe: Weird Error Pin
OldWarhorse2-Nov-06 3:13
OldWarhorse2-Nov-06 3:13 
QuestionHow can I pop up a window in VB.net? Pin
walalawll31-Oct-06 21:52
walalawll31-Oct-06 21:52 
AnswerRe: How can I pop up a window in VB.net? Pin
just3ala231-Oct-06 22:49
just3ala231-Oct-06 22:49 
GeneralRe: How can I pop up a window in VB.net? Pin
walalawll31-Oct-06 23:01
walalawll31-Oct-06 23:01 
GeneralRe: How can I pop up a window in VB.net? Pin
just3ala21-Nov-06 0:30
just3ala21-Nov-06 0:30 
GeneralRe: How can I pop up a window in VB.net? Pin
walalawll1-Nov-06 13:47
walalawll1-Nov-06 13:47 
GeneralRe: How can I pop up a window in VB.net? Pin
just3ala21-Nov-06 20:21
just3ala21-Nov-06 20:21 
AnswerRe: How can I pop up a window in VB.net? Pin
OldWarhorse2-Nov-06 2:19
OldWarhorse2-Nov-06 2:19 
QuestionFile Search Pin
Xmen Real 31-Oct-06 21:40
professional Xmen Real 31-Oct-06 21:40 
AnswerRe: File Search Pin
nlarson111-Nov-06 6:21
nlarson111-Nov-06 6:21 
GeneralRe: File Search Pin
Xmen Real 1-Nov-06 23:28
professional Xmen Real 1-Nov-06 23:28 
QuestionInstallShield Project Compilation,Plz......Help Pin
Jeeva Mary Varghese31-Oct-06 18:25
Jeeva Mary Varghese31-Oct-06 18:25 
AnswerRe: InstallShield Project Compilation,Plz......Help Pin
ChandraRam1-Nov-06 0:01
ChandraRam1-Nov-06 0:01 
GeneralRe: InstallShield Project Compilation,Plz......Help Pin
Jeeva Mary Varghese1-Nov-06 0:15
Jeeva Mary Varghese1-Nov-06 0:15 

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.