Click here to Skip to main content
15,917,731 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: 1 form, 2 text boxes, how to write code to exchange text between boxes Pin
Wes Aday12-Apr-14 13:43
professionalWes Aday12-Apr-14 13:43 
AnswerRe: 1 form, 2 text boxes, how to write code to exchange text between boxes Pin
Tim Carmichael12-Apr-14 13:44
Tim Carmichael12-Apr-14 13:44 
GeneralRe: 1 form, 2 text boxes, how to write code to exchange text between boxes Pin
ChaseG12-Apr-14 17:13
ChaseG12-Apr-14 17:13 
GeneralRe: 1 form, 2 text boxes, how to write code to exchange text between boxes Pin
Richard MacCutchan12-Apr-14 22:01
mveRichard MacCutchan12-Apr-14 22:01 
AnswerRe: 1 form, 2 text boxes, how to write code to exchange text between boxes Pin
Tino Fourie24-Apr-14 3:46
Tino Fourie24-Apr-14 3:46 
Questionhow to import all csv files in c: drive to database ? Pin
sensizbenlik12-Apr-14 11:45
sensizbenlik12-Apr-14 11:45 
AnswerRe: how to import all csv files in c: drive to database ? Pin
Wes Aday12-Apr-14 12:29
professionalWes Aday12-Apr-14 12:29 
AnswerRe: how to import all csv files in c: drive to database ? Pin
Mycroft Holmes12-Apr-14 14:43
professionalMycroft Holmes12-Apr-14 14:43 
Questionhow to import all csv files in a drive to database ? Pin
sensizbenlik11-Apr-14 12:10
sensizbenlik11-Apr-14 12:10 
AnswerRe: how to import all csv files in a drive to database ? Pin
PIEBALDconsult11-Apr-14 12:35
mvePIEBALDconsult11-Apr-14 12:35 
GeneralRe: how to import all csv files in a drive to database ? Pin
sensizbenlik11-Apr-14 13:17
sensizbenlik11-Apr-14 13:17 
GeneralRe: how to import all csv files in a drive to database ? Pin
Mycroft Holmes11-Apr-14 13:54
professionalMycroft Holmes11-Apr-14 13:54 
GeneralRe: how to import all csv files in a drive to database ? Pin
sensizbenlik12-Apr-14 8:00
sensizbenlik12-Apr-14 8:00 
GeneralRe: how to import all csv files in a drive to database ? Pin
Richard MacCutchan12-Apr-14 11:31
mveRichard MacCutchan12-Apr-14 11:31 
QuestionLogout button on a Main form Pin
waner michaud10-Apr-14 4:54
waner michaud10-Apr-14 4:54 
QuestionRe: Logout button on a Main form Pin
Eddy Vluggen10-Apr-14 6:45
professionalEddy Vluggen10-Apr-14 6:45 
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 
Hello all i am new to this language and i have ported my code from vb6 to vb.net and getting this issue.
I am getting the error in this code line=
XML
mvarTimer = frmMain.Controls.Add("VB.Timer", strTemp)

I dont understand how to fix this issue ,i am helpless
Any one here please help me i will be thankful to you

  <pre> Public Function fnInitializeTimer() As Object
		Dim strTemp As String
		
		'we need unique name for timer hence appended the number of control to the name
		'UPGRADE_WARNING: Controls method Controls.Count has a new behavior. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6BA9B8D2-2A32-4B6E-8D36-44949974A5B4"'
		strTemp = "Timer" & frmMain.Controls.Count() + 1
		
		'Initialize the timer variable
		'UPGRADE_ISSUE: Controls method Controls.Add was not upgraded. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="CC4C7EC0-C903-48FC-ACCC-81861D12DA4A"'
        'mvarTimer = frmMain.Controls.Add("VB.Timer", strTemp)
        mvarTimer = frmMain.Controls.Add("VB.Timer", strTemp)

		mvarTimer.Enabled = False
		
	End Function

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 

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.