Hi all,
Not sure what is or was going on, however, I tried replying to Mitch's post on dotnet to windev and although it appeared to take it, it wasn't showing the thread.... hopefully it didn't post a dozen times and just not show it to me.
Here is my reply to the question (at least hopefully);
=============================================
Hi Mitch,
Try the following;
tagsread is int
// make sure you add the inventory .net class to your project
testinventory is object inventory
tagsread = testinventory:Countclass[1]
//create array with number elements matching
// the # of tags read
tagsID is array of tagsread string
for i = 0 to (tagsread - 1)
tagsID
= testinventory:ToArray():ToString()
end
The above is complete untested and since I don't know exactly what type of object testInventory is, you'll have to experiment the most will the the testinventory.ToArray() line. You may into having to implement an intermediant object of .Net Collection.
In WinDev v12 there is a .Net example that shows how to get the process list from the machine. Check that out for more info.
Cheers!
Ken
============================================================