1 Attachment(s)
[RESOLVED] Using CS in VB
Hey all,
I'm developing an app for a WinCE barcode device. I am trying to kill an external process from my app and reload it. This would be easy if I was using Framework 3.5 as there is native code to do this. I have come across this piece of code which lists the processes in memory in a listbox.
http://msdn.microsoft.com/en-us/library/aa446560.aspx
Works perfect :thumb:
Except...my app is developed in VB not C Sharp. Does anybody know if I can use the process.cs file in my VB app and call the functions from it? I've attached the process.cs file that contains the code and the calling code is as follows:
lstProcess.DataSource = Process.GetProcesses();
Re: [RESOLVED] Using CS in VB
Hey,
Not a problem at all.
If you know something is working exactly as you want it, and it is not something that you are going to have to edit in the future, then there is no real reason to convert it, just use it as is.
Gary