Click here to Skip to main content
15,916,180 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: how to print mailing labels? Pin
Ranoush6-Jun-05 20:06
Ranoush6-Jun-05 20:06 
QuestionHow Can I show a report crystal 8.5 in VB.Net Pin
Shuber3-Jun-05 9:30
Shuber3-Jun-05 9:30 
AnswerRe: How Can I show a report crystal 8.5 in VB.Net Pin
Ranoush3-Jun-05 22:11
Ranoush3-Jun-05 22:11 
GeneralRe: Encapsulation Pin
Dave Kreskowiak3-Jun-05 13:38
mveDave Kreskowiak3-Jun-05 13:38 
GeneralListview in VB.Net Pin
prathiba_naresh3-Jun-05 4:53
prathiba_naresh3-Jun-05 4:53 
GeneralRe: Listview in VB.Net Pin
Andy Davies3-Jun-05 5:21
Andy Davies3-Jun-05 5:21 
GeneralRe: Listview in VB.Net Pin
prathiba_naresh5-Jun-05 22:32
prathiba_naresh5-Jun-05 22:32 
GeneralArrays Pin
macca243-Jun-05 4:45
macca243-Jun-05 4:45 
I have a variable "nextnum", nextnum could have a value of 1,2,3,4,5,6, or 7 all the way to 50.
Depending on the value of nextnum I want to give a certain outout, i have it partially done using IF..Else

If NextNum =1 Then
DeptName = "Bloggs"
ElseIF NextNum = 2 Then
DeptName = "joe"
Else
.........................

I don't want to have 50 Else..If's to achieve this. I suspect I should try to use an array to hold the values.
Has anyone a better way of achieving this, if they do can they supply some sample code for it.

Thanks.
GeneralRe: Arrays Pin
Colin Angus Mackay3-Jun-05 5:56
Colin Angus Mackay3-Jun-05 5:56 
GeneralRe: Arrays Pin
Fernando Soto3-Jun-05 8:15
Fernando Soto3-Jun-05 8:15 
GeneralRe: Arrays Pin
Sabri.Ghaith5-Jun-05 2:46
Sabri.Ghaith5-Jun-05 2:46 
GeneralUpload files to a web server from a client windows form application Pin
Yenyen Suwardy3-Jun-05 1:24
Yenyen Suwardy3-Jun-05 1:24 
GeneralRe: Upload files to a web server from a client windows form application Pin
Purple Monk3-Jun-05 1:50
Purple Monk3-Jun-05 1:50 
Generalbinding and text Pin
Mega13-Jun-05 0:38
Mega13-Jun-05 0:38 
GeneralRe: binding and text Pin
Purple Monk3-Jun-05 2:03
Purple Monk3-Jun-05 2:03 
GeneralRe: binding and text Pin
Mega13-Jun-05 3:17
Mega13-Jun-05 3:17 
GeneralRe: Arrays Pin
toxcct3-Jun-05 0:36
toxcct3-Jun-05 0:36 
GeneralRe: Arrays Pin
Colin Angus Mackay3-Jun-05 1:38
Colin Angus Mackay3-Jun-05 1:38 
QuestionHow to clear the Datagrid Pin
eshban2842-Jun-05 23:33
eshban2842-Jun-05 23:33 
AnswerRe: How to clear the Datagrid Pin
toxcct2-Jun-05 23:56
toxcct2-Jun-05 23:56 
GeneralGantt Cahrt in VB.net Pin
Member 20153202-Jun-05 22:31
Member 20153202-Jun-05 22:31 
GeneralRe: Gantt Cahrt in VB.net Pin
Colin Angus Mackay3-Jun-05 1:36
Colin Angus Mackay3-Jun-05 1:36 
Generalusb port Pin
Member 19402872-Jun-05 20:55
Member 19402872-Jun-05 20:55 
GeneralRe: usb port Pin
Dave Kreskowiak3-Jun-05 3:41
mveDave Kreskowiak3-Jun-05 3:41 
GeneralRe: usb port Pin
Anonymous6-Jun-05 1:53
Anonymous6-Jun-05 1: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.