Click here to Skip to main content
15,885,201 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Logout button on a Main form Pin
Eddy Vluggen11-Apr-14 0:38
professionalEddy Vluggen11-Apr-14 0:38 
QuestionValue of type 'String' cannot be converted to 'System.Windows.Forms.Control' Pin
Ankush Seth9-Apr-14 23:26
Ankush Seth9-Apr-14 23:26 
AnswerRe: Value of type 'String' cannot be converted to 'System.Windows.Forms.Control' Pin
Richard MacCutchan9-Apr-14 23:30
mveRichard MacCutchan9-Apr-14 23:30 
AnswerRe: Value of type 'String' cannot be converted to 'System.Windows.Forms.Control' Pin
Dave Kreskowiak10-Apr-14 2:18
mveDave Kreskowiak10-Apr-14 2:18 
QuestionOverload resolution failed because no accessible 'Add' accepts this number of arguments Pin
Ankush Seth9-Apr-14 23:21
Ankush Seth9-Apr-14 23:21 
AnswerRe: Overload resolution failed because no accessible 'Add' accepts this number of arguments Pin
Richard MacCutchan9-Apr-14 23:27
mveRichard MacCutchan9-Apr-14 23:27 
GeneralRe: Overload resolution failed because no accessible 'Add' accepts this number of arguments Pin
Ankush Seth9-Apr-14 23:35
Ankush Seth9-Apr-14 23:35 
GeneralRe: Overload resolution failed because no accessible 'Add' accepts this number of arguments Pin
Richard MacCutchan9-Apr-14 23:47
mveRichard MacCutchan9-Apr-14 23:47 
Look at your call to Add and you can see that it tries to use 3 parameters SubItems.Add(1, , strStringToBeReplaced), even though the second one is missing. Now look at the documentation and you can see that there is no overload of the Add method that takes this number. You can use one of
VB
Add(ListViewItem.ListViewSubItem) ' a single ListViewSubItem
Add(String)                       ' a string
Add(String, Color, Color, Font)   ' a string with the specified colors and font.

If your call does not match one of these methods then the compiler will reject it.
GeneralRe: Overload resolution failed because no accessible 'Add' accepts this number of arguments Pin
Ankush Seth10-Apr-14 0:10
Ankush Seth10-Apr-14 0:10 
QuestionHow do I Rectify the Closure of a Form Pin
Member 107017019-Apr-14 7:01
Member 107017019-Apr-14 7:01 
AnswerRe: How do I Rectify the Closure of a Form Pin
Bernhard Hiller9-Apr-14 22:11
Bernhard Hiller9-Apr-14 22:11 
GeneralRe: How do I Rectify the Closure of a Form Pin
Member 107017019-Apr-14 23:21
Member 107017019-Apr-14 23:21 
AnswerRe: How do I Rectify the Closure of a Form Pin
Alan N10-Apr-14 2:07
Alan N10-Apr-14 2:07 
GeneralRe: How do I Rectify the Closure of a Form Pin
Member 1070170110-Apr-14 2:49
Member 1070170110-Apr-14 2:49 
Question[vb2008] Chart from CSV file Pin
Member 107354929-Apr-14 5:40
Member 107354929-Apr-14 5:40 
AnswerRe: [vb2008] Chart from CSV file Pin
Richard MacCutchan9-Apr-14 6:29
mveRichard MacCutchan9-Apr-14 6:29 
AnswerRe: [vb2008] Chart from CSV file Pin
Eddy Vluggen9-Apr-14 6:31
professionalEddy Vluggen9-Apr-14 6:31 
QuestionGetting error 'AddressOf' expression cannot be converted to 'Integer' Pin
Ankush Seth7-Apr-14 23:27
Ankush Seth7-Apr-14 23:27 
AnswerRe: Getting error 'AddressOf' expression cannot be converted to 'Integer' Pin
Richard Deeming8-Apr-14 2:25
mveRichard Deeming8-Apr-14 2:25 
QuestionError : Property is readonly Pin
dilkonika6-Apr-14 8:42
dilkonika6-Apr-14 8:42 
AnswerRe: Error : Property is readonly Pin
Bernhard Hiller6-Apr-14 21:24
Bernhard Hiller6-Apr-14 21:24 
GeneralRe: Error : Property is readonly Pin
dilkonika7-Apr-14 2:50
dilkonika7-Apr-14 2:50 
GeneralRe: Error : Property is readonly Pin
Eddy Vluggen7-Apr-14 7:22
professionalEddy Vluggen7-Apr-14 7:22 
GeneralRe: Error : Property is readonly Pin
dilkonika7-Apr-14 7:49
dilkonika7-Apr-14 7:49 
GeneralRe: Error : Property is readonly Pin
Eddy Vluggen7-Apr-14 8:53
professionalEddy Vluggen7-Apr-14 8: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.