Parameter back from VB Program

RobertG_SA

New member
Joined
Apr 12, 2010
Messages
4
Programming Experience
10+
Hi

I need to get a parameter back after running a VB.Net program. How do you do this

Thanks

Robert
 
Hi
I need to get the list count from Sharepoint for the active list. This is for monitoring in SCOM. I have not been able to do this with VBScript but can with VB.Net. So I have to call a vb.net program from VBScript and get back the list item count in VBScript.
 
You don't actually call a program and they don't actually return anything. Do you mean that you are access a .NET DLL in VBScript, or do you mean a completely separate process? If it's the latter then you might be able to use the exit code, but that's really not what it's designed for.
 
Hi

Thanks for your help so far. That artical you placed has helped a lot but it is a bit old. How would you do this with Vs 2005 or VS 2008. I have ben looking at VS 2008 AssemblyInfo.cs and there is no AssemblyKeyFile property. Do you perhaps have some other samples for me.

Thanks

Robert
 
Back
Top