Any idea or code example how i can marshal a SWStringArray to a .Net string array or ArrayList?
Any idea or code example how i can marshal a SWStringArray to a .Net string array or ArrayList?
1.SWStringArray to .Net string array or ArrayList
Any idea or code example how i can marshal a SWStringArray to a .Net string array or ArrayList?
2.Converting arraylist to string array
Can anyone see aproblem with this line of code string rolelistarray = rolelist.ToArray(GetType(System.String)); I'm getting a problem with the GetType(System.String) section
3.Converting ArrayList to String Array
Is it possible to convert an ArrayList to a string array? I have a routine that takes a string array as a parameter, converts it to an ArrayList for manipulation purposes, and now I need to convert it back to a string array. example of code I am using: Sub MakeChanges(byval strChange() as string) as string() Dim aryValue As ArrayList = New ArrayList(strChange) aryValue.add "newvalue" ' here I want to convert the aryValue back to a string() End Sub -Walt Zydhek
4.Converting a string of integers to an array/arraylist
I have a string of integer, such as the following: "12 24 12 9 2" and I want to convert this into an array or arraylist which will seperate the string into an array of integers. How do I do this
5.String Array Object to an ArrayList
Hi, I've begun converting an ASP site over to .NET and I'm a novice at both the new platform as well as C#. I have a COM+ object that returns a string array when it is called. The size of the array can vary depending on the parameters passed. What I need to do is loop through the returned array and if applicable write the array element to the screen. I'd like to know if an ArrayList is the best way to go or is there something else in C# I should use. I'm not adding, deleting or appending anything to the returned array. Secondly, what would be the syntax for this? What I have so far is the declaration: ComLogicEngine.ComPlusLogic oConfig = new ComLogicEngine.ComPlusLogic(); And the call to the COM+ object: oConfig.Execute("blah", "blah", "blah"); Thank you for your help, JJ
6. Casting an arraylist of integers to a string array
Users browsing this forum: No registered users and 45 guest