Sorry. Maybe I did not explain it correctly. What I need is to get the desktop name. For instance 16 represents the length needed for the name. So in actual there has to be something that I need to do in order to change 16 to a string like "Default" which should be the correct name for my current desktop. I have tried using lpNeeded() As Byte and change the API declaration but that gives me a protected memory error. I was thinking about using IntPtr and then trying to get the string value of that but I do not know where to begin with taking a memory location and turning it back into a string. Unless that is not what I need to do.
Jason
Main Topics
Browse All Topics





by: FernandoSotoPosted on 2006-01-30 at 06:36:07ID: 15823814
Hi ammotroop;
Dim ipNeededStr = ipNeeded.ToString()
Fernando