Click here to Skip to main content
15,891,529 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow can I Download multiple file in ftp with .net Pin
Pravat Maskey16-Jan-07 0:41
Pravat Maskey16-Jan-07 0:41 
AnswerRe: How can I Download multiple file in ftp with .net Pin
shreekar16-Jan-07 0:54
shreekar16-Jan-07 0:54 
QuestionPrint preivew Pin
Socheat.Net16-Jan-07 0:10
Socheat.Net16-Jan-07 0:10 
AnswerRe: Print preivew Pin
shreekar16-Jan-07 17:41
shreekar16-Jan-07 17:41 
QuestionRe: Print preivew [modified] Pin
shreekar16-Jan-07 0:58
shreekar16-Jan-07 0:58 
QuestionListbox name edit Pin
Ultima Reborn15-Jan-07 23:58
Ultima Reborn15-Jan-07 23:58 
AnswerRe: Listbox name edit Pin
Dave Kreskowiak16-Jan-07 5:45
mveDave Kreskowiak16-Jan-07 5:45 
GeneralRe: Listbox name edit Pin
Ultima Reborn16-Jan-07 7:26
Ultima Reborn16-Jan-07 7:26 
Basically it is all on the same form but i a "Class" with
"RT" = String for a name
"RP" = Integer for a number

So basically i want to be able to recall data into textbox ( i know how to do this) then amend the current data.

If i select "Coffee" from the listbox it will display " coffee " and the "number" in two different text boxes. The amend on the Number works fine but when i change "Coffee" to "Coffee with sugar", it will still display "Coffee" in the list box. So now if i click "coffee" again it will show " coffee with sugar" but still coffee as the list box item and i want it to be "coffee with sugar"

Only way i found around it is by making it delete it from there and readding it but surly there is a way around that ,.



<br />
<br />
Dim Rum As Integer <br />
<br />
If listbox1.SelectedIndex = -1 Then 'if list box = not selected then ..<br />
Exit Sub<br />
End If<br />
<br />
Num = listbox1.SelectedIndex ' making variable = list boxes selected index<br />
<br />
frm1.R.Rt = txtRtText  ' makes the class R.Rt = textbox<br />
frm1.R.Rp = CSng(txtrp.Text) ' makes class r.rp = textbox<br />
<br />
<br />
frm1.Rooms(Rum) = frm1.Room <br />
<br />
txtRt.Clear()<br />
txtRp.Clear()<br />

GeneralRe: Listbox name edit Pin
Dave Kreskowiak16-Jan-07 7:56
mveDave Kreskowiak16-Jan-07 7:56 
GeneralRe: Listbox name edit Pin
Ultima Reborn16-Jan-07 8:43
Ultima Reborn16-Jan-07 8:43 
GeneralRe: Listbox name edit Pin
Dave Kreskowiak16-Jan-07 9:22
mveDave Kreskowiak16-Jan-07 9:22 
QuestionValidate All controls on form Pin
priya_p23315-Jan-07 23:09
priya_p23315-Jan-07 23:09 
AnswerRe: Validate All controls on form Pin
shreekar16-Jan-07 1:03
shreekar16-Jan-07 1:03 
Questiontheatre booking system [modified] Pin
kendo1715-Jan-07 22:50
kendo1715-Jan-07 22:50 
AnswerRe: theatre booking system Pin
Christian Graus16-Jan-07 1:05
protectorChristian Graus16-Jan-07 1:05 
GeneralRe: theatre booking system Pin
Dave Kreskowiak16-Jan-07 8:10
mveDave Kreskowiak16-Jan-07 8:10 
GeneralRe: theatre booking system Pin
Christian Graus16-Jan-07 8:20
protectorChristian Graus16-Jan-07 8:20 
GeneralRe: theatre booking system Pin
Dave Kreskowiak16-Jan-07 9:20
mveDave Kreskowiak16-Jan-07 9:20 
QuestionBinary .dat files in VB .Net Pin
KeithF15-Jan-07 22:49
KeithF15-Jan-07 22:49 
QuestionDisable Lock Computer Button Pin
Kumaran21cen15-Jan-07 22:01
Kumaran21cen15-Jan-07 22:01 
AnswerRe: Disable Lock Computer Button Pin
Christian Graus15-Jan-07 22:05
protectorChristian Graus15-Jan-07 22:05 
AnswerRe: Disable Lock Computer Button Pin
Sachin Pimpale15-Jan-07 22:06
Sachin Pimpale15-Jan-07 22:06 
AnswerRe: Disable Lock Computer Button Pin
Dave Kreskowiak16-Jan-07 4:35
mveDave Kreskowiak16-Jan-07 4:35 
QuestionTransparent form Pin
Sachin Pimpale15-Jan-07 21:55
Sachin Pimpale15-Jan-07 21:55 
AnswerRe: Transparent form Pin
Christian Graus15-Jan-07 22:04
protectorChristian Graus15-Jan-07 22:04 

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.