Click here to Skip to main content
15,892,005 members

Comments by Rizwan Chattha (Top 39 by date)

Rizwan Chattha 27-Dec-15 11:23am View    
But problem is that I want to give setup package to customer for installation. Does have i to change path in each customer,s pc?
I want it to do programatically so that any customer can install it easly.
Rizwan Chattha 3-Dec-15 6:52am View    
Yeah i understand what you mean. It is better to teach how to fix than giving fix. and this code is written by me but wasting too much time on this problem i am looking this problem with each angle. In hard situations some time minds does not work properly. This is my current situation at spot. I hope you can imagine like this type of situation.
Rizwan Chattha 3-Dec-15 6:45am View    
"Inherits System.Windows.Forms.DataTable" using this line icon of my class is changed in solution explorer.
Rizwan Chattha 3-Dec-15 6:30am View    
Don,t care about childish questions. Questions is best way to learn. I think here we are missunderstanding some points. I am trying to create dll file in class library project to use dll file in other projects to save time instead of writing code again and again.
Rizwan Chattha 3-Dec-15 5:43am View    
This code works "Inherits System.Windows.Forms.ListView"
but now new error showing. This line has error "For Each col As DataColumn In dt.Columns"
here dt.Columns
Public Shared Function FillListView(ByVal lvw As LView, ByVal dt As DataTable)
For Each col As DataColumn In dt.Columns
lvw.Columns.Add(col.ToString)
Next
End Function

In above code dt.Columns giving error. It says "Column is not member of DbLib.DataTable.
I tried to inherit it by using below line code
"Inherits System.Windows.Forms.DataTable"
but this line also giving error "Inherits can appear only one in class statemen and can specify only one class".