Display computer name to a label
Mr.M 89 Future Programmers
Reverend Jim commented: I don't see the point in this. -3
rproffitt commented: Too vague. Might be Linux, Pi, smart badge, web page or any number of things. Elaborate and show what you tried so far. +17
Recommended Answers
Jump to PostCannot convert parameter 1 from char[16] to system::String ^
You need to convert your char array to a CLI string in the first instance, before trying to pass it onto some other function expecting a CLI string.
Jump to PostI tried that but I get this error
Prove it - post some code.
You won't believe how many times people claim "I've done X" only to find out many posts later that they haven't done X at all, or they managed to fumble it and do "Y" …
Jump to PostBack to the guessing games....
https://learn.microsoft.com/en-us/cpp/extensions/string-cpp-component-extensions?view=msvc-170
Lists 3 different namespaces where things called 'String' are present.using namespace Platform; using namespace default; using namespace System;
Or maybe you have your …
Jump to PostEek! I’m so sorry. We upgraded our editor last week and I suppose it’s possible a bug was introduced in my code?
Can you please start a new thread in the Meta DaniWeb forum explaining exactly what you were clicking on, etc. just before it crashes, along with your browser …
All 20 Replies
Mr.M 89 Future Programmers
Mr.M 89 Future Programmers
Mr.M 89 Future Programmers
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
Mr.M 89 Future Programmers
Mr.M 89 Future Programmers
Mr.M 89 Future Programmers
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
Salem 5,265 Posting Sage
Mr.M 89 Future Programmers
Salem 5,265 Posting Sage
Mr.M 89 Future Programmers
Salem 5,265 Posting Sage
rproffitt commented: Not OP but tag tells c++ but not which one or code shown. I have also run into VC++ 1.5 users that I can't help with. +17
Mr.M 89 Future Programmers
rproffitt commented: I see that your system is no longer supported from what I can find. Nov 2024 was recent so while that's in play, so is the lack of code sharing. +17
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member
Mr.M 89 Future Programmers
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member
Mr.M 89 Future Programmers
toneewa 115 Junior Poster in Training
toneewa 115 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.