I converted a large VB6 ap to VB.NET 2005.
I have found that a Late Binding works in VB6 but not in VB. NET when a Function is used.
Ex.
Select Case Type
case 1
LineObj = Type1
case 2
LineObj = Type2
end Select
The below works without a problem
LineObj.itemref .fullname.setva lue(mItem)
But the below fails after it does it ...
User Profile
Collapse
-
QuickBooksDev started a topic Late Binding produces DISP_E_MEMBERNOTFOUND when returned from a functionin Visual BasicLate Binding produces DISP_E_MEMBERNOTFOUND when returned from a function
-
Field token out of range
I converted a large VB6 program (15 .frm forms) + 20 other modules(.bas) to VB.NET 2005 from VB6. (It used a lot of control arrays).
After spending almost a week fixed the errors I find that it will not run.
Field token out of range
at \My Project\ Application.Des igner.vb:line 35
Protected Overrides Sub OnCreateMainFor m()
>>>>> Me.MainForm = Global.POSeInte grator.frmMain
... -
Field token out of range
I converted a large VB6 program (15 .frm forms) + 20 other modules(.bas) to VB.NET 2005 from VB6. (It used a lot of control arrays).
After spending almost a week fixed the errors I find that it will not run.
Field token out of range
at \My Project\ Application.Des igner.vb:line 35
Protected Overrides Sub OnCreateMainFor m()
>>>>> Me.MainForm = Global.POSeInte grator.frmMain
... -
QuickBooksDev started a topic VB.NET 2005 DataGridView Checkbox - Check Event need to know check statusin .NETVB.NET 2005 DataGridView Checkbox - Check Event need to know check status
VB.NET 2005 DataGridView Checkbox - Check Event need to know check status
I would like to use the DataGridView Checkbox like a normal checkbox.
When someone clicks on it I would expect that I could get a checked or changed event and be able to test if the box was checked or unchecked.
For a normal checkbox. When it is checked you can test chk.checked and it is the current visible stated. Someone checks... -
Thanks but can you tell me what defaults to check?
There is no code that turns on the radio button in the program so what events am I suppose to check.
The workaround that I used was to change the TabIndex so that the button had a higher tabIndex than the radion buttons. -
VB.NET radio button gets turned on (checked) without checking it
I am new to VB.NET.
I do not understand this behavior.
I have a button comand followed by 3 radio buttons (ByDate, ByRef, None).
None is marked checked at design time.
If I click on Go the ByDate radio gets turned on (marked Checked).
It seems that the TabIndex after Go is ByDate but why would this turn the control on???
Thanks for your help.
No activity results to display
Show More
Leave a comment: