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

Visual Basic

 
AnswerRe: Logout button on a Main form Pin
waner michaud10-Apr-14 7:07
waner michaud10-Apr-14 7:07 
AnswerRe: Logout button on a Main form Pin
Eddy Vluggen10-Apr-14 7:38
professionalEddy Vluggen10-Apr-14 7:38 
GeneralRe: Logout button on a Main form Pin
waner michaud10-Apr-14 15:21
waner michaud10-Apr-14 15:21 
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 
Hello guys i have converted one old vb6 code to vb .net and i getting the above mentioned error. Please help me i don't know about this. I will be thankful to you!

here is the code which is showing the error



VB
frmMain.listStringReplace.Items.Item(nItemIdex).SubItems.Add(1,  , strStringToBeReplaced)
                        'UPGRADE_WARNING: Lower bound of collection frmMain.listStringReplace.ListItems has changed from 1 to 0. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="A3B628A0-A810-4AE2-BFA2-9E7A29EB9AD0"'
                        'UPGRADE_ISSUE: MSComctlLib.ListSubItems method listStringReplace.ListItems.ListSubItems.Add was not upgraded. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="CC4C7EC0-C903-48FC-ACCC-81861D12DA4A"'
                        frmMain.listStringReplace.Items.Item(nItemIdex).SubItems.Add(2,  , strImagePath)

                        If frmMain.optReplace.Checked = True Then
                            'UPGRADE_WARNING: Lower bound of collection frmMain.listStringReplace.ListItems has changed from 1 to 0. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="A3B628A0-A810-4AE2-BFA2-9E7A29EB9AD0"'
                            'UPGRADE_ISSUE: MSComctlLib.ListSubItems method listStringReplace.ListItems.ListSubItems.Add was not upgraded. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="CC4C7EC0-C903-48FC-ACCC-81861D12DA4A"'
                            frmMain.listStringReplace.Items.Item(nItemIdex).SubItems.Add(3,  , "Replace")
                        ElseIf frmMain.optAppend.Checked = True Then
                            'UPGRADE_WARNING: Lower bound of collection frmMain.listStringReplace.ListItems has changed from 1 to 0. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="A3B628A0-A810-4AE2-BFA2-9E7A29EB9AD0"'
                            'UPGRADE_ISSUE: MSComctlLib.ListSubItems method listStringReplace.ListItems.ListSubItems.Add was not upgraded. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="CC4C7EC0-C903-48FC-ACCC-81861D12DA4A"'
                            <big>frmMain.listStringReplace.Items.Item(nItemIdex).SubItems.Add(3,  , "Append")</big>
                        ElseIf frmMain.optPrePend.Checked = True Then
                            'UPGRADE_WARNING: Lower bound of collection frmMain.listStringReplace.ListItems has changed from 1 to 0. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="A3B628A0-A810-4AE2-BFA2-9E7A29EB9AD0"'
                            'UPGRADE_ISSUE: MSComctlLib.ListSubItems method listStringReplace.ListItems.ListSubItems.Add was not upgraded. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="CC4C7EC0-C903-48FC-ACCC-81861D12DA4A"'
                            frmMain.listStringReplace.Items.Item(nItemIdex).SubItems.Add(3, , "Prepend")
                        End If

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 
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 

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.