I am creating an application in C++ .NET. I want to use a UDP socket which receives messages which are then pushed into a queue. Also, I wish to create another UDP socket whenever necessary which sends messages. I will be using a wireless network. Can someone please help me with some code to start?
Thanks
User Profile
Collapse
-
BTW, if it helps you to help me, what I want to do is to create a "Please Wait" splash screen. I call it from the main form, it appears and the main form executes in the background. When the main form completes it closes the splash screen. You understand now why I dont want the main form to get focus until the splash screen closes. -
-
What database do you use? Whatever it is a good point to start is going to tools->connect to database or tools->show data sources->add new data source. Follow the wizard, it is quite easy....Leave a comment:
-
Thanks for your recommendations I will consider them. So far I open the new form like this: form.Show(me) which makes the new form be always on top. Lets see if I can use any of your recomendations :)Leave a comment:
-
Doesnt opening a modal form stop execution of the code of the form that opens it? What I need is to open the form and still execute the code of the original form.Leave a comment:
-
Dont allow a form to lose focus
I am working with VB 2005. My problem is that having an opened form and pressing a key on it I want to open another form, still executing the code on the original form but I dont want to allow the user to give the focus back to the original form by clicking on it or through any other method. I dont want to set enabled of the original form to false because during the execution of the code some visuals are drawn (I use MSChart control). Any ideas? -
String.CopyTo() method
I am using VB 2005. I need to use String.CopyTo method. The second argument of the method is a character array (char()). I dont know from before what the size of the array will be. How can i declare the char() so I can use the method?
Thanks -
Using icons in project
I am using Visual C++ 2005. I am developing a component which is compiled to a .dll file and is used by other applications (in my case I include it in a VB project). I cant use any wizard since the component I am developing is completely code generated. I added a toolstrip item in my project. Now, I need to add some icons to the toolstrip buttons. My question is how I can do this, how I can find the path of the icons (I need a relative path) and... -
-
C++ .NET convert character array to String
I am working on Visual C++ 2005. I have a character array (array<Char>) and want to convert it to string. I know I can do this with the String constructon (gcnew String(charArra y)), but is there no other way without allocating memory? I have in mind the GetString method of System::Text::E ncoding::ASCII but couldnt manage to do what I wanted to do.
Thanks in advance for any help.
No activity results to display
Show More
Leave a comment: