Click here to Skip to main content
15,890,825 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow can i run external application from within .NET Pin
Member 6254861-Dec-04 21:03
Member 6254861-Dec-04 21:03 
AnswerRe: How can i run external application from within .NET Pin
Mekong River2-Dec-04 10:12
Mekong River2-Dec-04 10:12 
GeneralMoving DataGrid Items Pin
Mitch F.1-Dec-04 9:55
Mitch F.1-Dec-04 9:55 
GeneralRe: Moving DataGrid Items Pin
Dave Kreskowiak1-Dec-04 10:49
mveDave Kreskowiak1-Dec-04 10:49 
GeneralRe: Moving DataGrid Items Pin
Mitch F.1-Dec-04 11:47
Mitch F.1-Dec-04 11:47 
GeneralRe: Moving DataGrid Items Pin
Dave Kreskowiak2-Dec-04 1:14
mveDave Kreskowiak2-Dec-04 1:14 
GeneralRe: Moving DataGrid Items Pin
Mitch F.2-Dec-04 8:27
Mitch F.2-Dec-04 8:27 
Generalreflection propertinfo getvalue Pin
Member 3857011-Dec-04 7:37
Member 3857011-Dec-04 7:37 
Try this source, after you plug in a value for yourDLLpath

Dim yourDLLpath As String = ""
Dim asm As [Assembly] = asm.LoadFrom(yourDLLpath)

Try
Dim oTyp As Type
For Each oTyp In asm.GetTypes
If oTyp.BaseType.FullName = "System.Web.UI.Page" Then
Dim pi As PropertyInfo = oTyp.GetProperty("Controls.Count", GetType(Integer))
Dim valueOfControls As ControlCollection
valueOfControls = pi.GetValue(oTyp, Nothing)
End If
Next

I cannot get rid of the "Object does not match target type error." I'm getting with the line : valueOfControls = pi.GetValue(oTyp, Nothing) How do I get the value of the controls? I'm trying to iterate through the controls on web pages to get values of certain control types. Thanks.

GeneralRe: reflection propertinfo getvalue Pin
The Man from U.N.C.L.E.2-Dec-04 1:10
The Man from U.N.C.L.E.2-Dec-04 1:10 
GeneralDoes Anyone not know anything about importing databases Pin
Suresh Prasad1-Dec-04 6:40
Suresh Prasad1-Dec-04 6:40 
GeneralRe: Does Anyone not know anything about importing databases Pin
Dave Kreskowiak1-Dec-04 7:20
mveDave Kreskowiak1-Dec-04 7:20 
GeneralRe: Does Anyone not know anything about importing databases Pin
Mekong River2-Dec-04 10:17
Mekong River2-Dec-04 10:17 
GeneralI need help please !!!! Pin
Suresh Prasad1-Dec-04 5:18
Suresh Prasad1-Dec-04 5:18 
GeneralRe: I need help please !!!! Pin
Dave Kreskowiak1-Dec-04 6:54
mveDave Kreskowiak1-Dec-04 6:54 
GeneralRe: I need help please !!!! Pin
Suresh Prasad1-Dec-04 6:59
Suresh Prasad1-Dec-04 6:59 
GeneralRe: I need help please !!!! Pin
Dave Kreskowiak1-Dec-04 7:24
mveDave Kreskowiak1-Dec-04 7:24 
GeneralRe: I need help please !!!! Pin
Suresh Prasad1-Dec-04 7:36
Suresh Prasad1-Dec-04 7:36 
GeneralRe: I need help please !!!! Pin
Dave Kreskowiak1-Dec-04 11:48
mveDave Kreskowiak1-Dec-04 11:48 
GeneralRe: I need help please !!!! Pin
Suresh Prasad1-Dec-04 12:00
Suresh Prasad1-Dec-04 12:00 
GeneralRe: I need help please !!!! Pin
Dave Kreskowiak2-Dec-04 1:10
mveDave Kreskowiak2-Dec-04 1:10 
GeneralRe: I need help please !!!! Pin
Suresh Prasad2-Dec-04 6:38
Suresh Prasad2-Dec-04 6:38 
GeneralRe: I need help please !!!! Pin
Mekong River2-Dec-04 10:34
Mekong River2-Dec-04 10:34 
GeneralRe: I need help please !!!! Pin
Suresh Prasad3-Dec-04 7:00
Suresh Prasad3-Dec-04 7:00 
GeneralRe: I need help please !!!! Pin
Dave Kreskowiak3-Dec-04 5:44
mveDave Kreskowiak3-Dec-04 5:44 
GeneralProblema pri sozdanii controla Pin
RendeRRR1-Dec-04 3:47
RendeRRR1-Dec-04 3:47 

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.