Click here to Skip to main content
15,925,399 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Updating dataset Pin
Chatura Dilan1-May-06 17:08
Chatura Dilan1-May-06 17:08 
QuestionOLEDbCommand Locks entire Access Db Pin
jcrussell30-Apr-06 17:09
jcrussell30-Apr-06 17:09 
QuestionLogoff/logon in windows, app still running, change user Pin
B*C30-Apr-06 14:36
B*C30-Apr-06 14:36 
AnswerRe: Logoff/logon in windows, app still running, change user Pin
B*C1-May-06 4:25
B*C1-May-06 4:25 
QuestionHelp displaying a structure in a sortedlist Pin
crash89330-Apr-06 11:18
crash89330-Apr-06 11:18 
AnswerRe: Help displaying a structure in a sortedlist Pin
Robert Rohde30-Apr-06 22:22
Robert Rohde30-Apr-06 22:22 
GeneralRe: Help displaying a structure in a sortedlist Pin
crash8931-May-06 7:31
crash8931-May-06 7:31 
GeneralRe: Help displaying a structure in a sortedlist Pin
crash8931-May-06 7:37
crash8931-May-06 7:37 
My structure and my sorted list

Dim ipassinfo As New SortedList<br />
   Public Structure user<br />
       'Declare data members<br />
       Public username As String<br />
       Public department As String<br />
       Public domestictotal As Decimal<br />
   End Structure



Breaks up the line
adds it to my structure
adds the user name and the structure to the sorted list

fields = MyLine.Split(ControlChars.Tab) 'Or Convert.ToChar(Keys.Tab)<br />
<br />
<br />
                    'check to see if entrie already exists if not create it<br />
                    If ipassinfo(fields(2)) Is Nothing Then<br />
                        'loading the structure<br />
                        userinfo.username = fields(2)<br />
                        userinfo.department = "???"<br />
                        userinfo.domestictotal = fields(9)<br />
                        'adding the structure to the sortedlist under key username<br />
                        ipassinfo.Add((fields(2)), userinfo)<br />
                    Else<br />
                        ' adds charges to total if allready exists<br />
                        userinfo.domestictotal = userinfo.domestictotal + fields(9)<br />
                    End If

GeneralRe: Help displaying a structure in a sortedlist Pin
Robert Rohde1-May-06 20:12
Robert Rohde1-May-06 20:12 
QuestionMS office connections Pin
DoubleD82230-Apr-06 10:59
DoubleD82230-Apr-06 10:59 
QuestionHi , please help me Pin
Mohammed Amine30-Apr-06 6:27
Mohammed Amine30-Apr-06 6:27 
GeneralRe: Hi , please help me Pin
Guffa30-Apr-06 7:13
Guffa30-Apr-06 7:13 
AnswerRe: Hi , please help me Pin
Colin Angus Mackay30-Apr-06 21:07
Colin Angus Mackay30-Apr-06 21:07 
Questionwhat is behind this label ?? ;p Pin
Mohammed Amine30-Apr-06 5:56
Mohammed Amine30-Apr-06 5:56 
AnswerRe: what is behind this label ?? ;p Pin
_mubashir30-Apr-06 21:44
_mubashir30-Apr-06 21:44 
GeneralRe: what is behind this label ?? ;p Pin
Mohammed Amine1-May-06 0:47
Mohammed Amine1-May-06 0:47 
Questionprint out IN VB.NET 1.1 Pin
pankajgarg1230-Apr-06 4:59
pankajgarg1230-Apr-06 4:59 
AnswerRe: print out IN VB.NET 1.1 Pin
Dave Kreskowiak30-Apr-06 5:17
mveDave Kreskowiak30-Apr-06 5:17 
QuestionMove file to Directory Pin
lo_ol30-Apr-06 4:19
lo_ol30-Apr-06 4:19 
AnswerRe: Move file to Directory Pin
Dave Kreskowiak30-Apr-06 5:20
mveDave Kreskowiak30-Apr-06 5:20 
GeneralRe: Move file to Directory Pin
lo_ol30-Apr-06 10:07
lo_ol30-Apr-06 10:07 
QuestionUsing an on-screen keypad Pin
Rumbo30-Apr-06 2:54
Rumbo30-Apr-06 2:54 
AnswerRe: Using an on-screen keypad Pin
Dave Kreskowiak30-Apr-06 5:13
mveDave Kreskowiak30-Apr-06 5:13 
QuestionMDI Problem Pin
MAP Tiger29-Apr-06 22:05
MAP Tiger29-Apr-06 22:05 
AnswerRe: MDI Problem Pin
Dave Kreskowiak30-Apr-06 5:06
mveDave Kreskowiak30-Apr-06 5:06 

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.