On the Line :Next: it gives Unable to cast object of type 'System.Int32' to type 'System.String'
I am new to linq
lvTask is a list view component
lvTaskDate,lvTaskName r columns
Dim tasks = From tk In DB.xTasks _
Where tk.DF = False And tk.EmployeeKey = CurrentUser.EmployeeKey...
thanks for the prompt answer.
the sub works if i the fromtoload changes but if i want to RELOAD the same from again(i need to) it gives and error.
PS. it does not give any error if i suppose LoadPage(from1) then LoadPage(Form2) then again LoadPage(Form1) But LoadPage(From1) then...
i dont know about the transparent color problem but if u want change then
forecolor of number of lable then this code slould help u. :)
For Each myControl As Control In <Container> eg. GroupBox1.Controls
If TypeOf myControl Is System.Windows.Forms.Label Then...
This a code to load a form as a child form in a mdiparent form every thing works fine. but when i try load a already loaded form it gives an error
Cannot access a disposed object. Object name: '<Form Name>'.
Here is the code....
Private Sub LoadPage(ByVal formToLoad As Form, ByVal Icon As...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.