mmmm buddy, I think you should really be using a database, instead of "sending" orders to the kitchen :)
Roman Rodov
Posts
-
Sending messages over LAN -
Displaying text in windows formsWell why don't you get yourself familiar with C# and .NET first? Like read MSDN? Anyway, System.Windows.Forms.TextBox is what you need for input and System.Windows.Forms.Label is what you need for just a static display.
-
When Public isnt really PublicLook into the "Licensing Components and Controls" topic of the .NET Framework Developer's Guide. Also checkout third-party licensing components, such as Aspose.License for example. I think it is free (although with no support). http://www.aspose.com/Products/Aspose.License/[^]
-
Asynchronous socket problems in windows serviceLOCAL SERVICE user account, which is the default for services, does not allow network access. Set your service to run under the NETWORK SERVICE account or ADMINISTRATOR.
-
Release unmanaged code memory by managed codeP/Invoke DestroyWindow to free the handle.
-
Network Broadcasting. How?Hi all, I have a question on how to properly implement network broadcasts. Our network is divided in subnets and I need help (it is probably more of a networking question than code) To broadcast I use this code: IPEndPoint ep = new IPEndPoint(IPAddress.Broadcast, 8300); UpdClient client = new UdpClient(); client.Send(...,ep); To receive I use this code: IPEndPoint ep = new IPEndPoint(IPAddress.Any, 0); UpdClient client = new UdpClient(8300); byte [] buffer = client.Receive(ref ep); My machine is on the 192.168.1.xxx subnet and all machines on the 1.xxx network receive the broadcast, but machines on the 192.168.8.xxx network do not. What IP address should I use in the sending portion to make sure I broadcast to the 8.xxx network?
-
Reading the memory of a processThere is an excellent article on this very website on doing what you trying to achieve. Minesweeper, Behind the Scenes[^]
-
Closing a form :)to Raise the Form.Closing event you need to just call: this.Close();
-
ToolTip Control in pocket pc.Well Pocket Word for example supports tooltips. To bring up a tooltip I think you Tap-and-Hold the button. It should not bring up the Tap-and-Hold menu but instead it brings up a tooltip.
-
Automatically Display Expire DateLook up the System.PopupWindows.ExpiryDateNotifyBallon class
-
DataView.Sort does NOTHINGtry: DataView compSort = comparisonDocs.Tables[0].DefaultView;
-
Multiple icons compiled within an .exeAdd an icon file to your project, select the file in Solution Explorer and now in the Properties pane change the Compile property to "Embedded Resource". After that follow standard procedure for adding file associations/icons.
-
iterate over datagridWell WHAT is your data source for the Grid? You need to iterate over your data source, NOT the data grid
-
New .NETIf you buy an MSDN Subscription you get all the new software available to you as soon as it comes out. That's why it is called a "Subscription".
-
Reflection-[Waiting for 2 days ]If you would have read teh documentation for PropertyInfo.GetValue you would have seen that the first parameter to it is the "The object whose property value will be returned.". If you read the Remarks section there, it says "Because static properties belong to the type, not individual objects, get static properties by passing a null reference (Nothing) as the object argument." But since you're trying to retrieve a non-static property that line should look like this:
str+=f.GetValue(obj,null);
So next time instead of "Waiting for 2 days" try "Reading the documentation for 5 minutes" -
Windows mobile 2003 for Pocket PClol .... i didn't think India is now outsourcing too :) I thought all the outsourcing is going to India instead.
-
Remove Confirm Dialog After Confirm?Wack in a call do Application.DoEvents() just before the "tons of logic" and the message box will disappear.
-
What's the difference ?The Visual Studio .NET Command Prompt just sets up the paths to all the VS and .NET tools. Go to normal command prompt and try an run "csc" or "guidgen" if they're not in your path, they won't run. Inthe VS.NET command prompt they will. And yes you can run console apps from IDE and even pass parameters to it. Check Project->Properties
-
Create Undo functionnality.It is an interesting concept, but probably not so very well suited for the .NET world with its own memory manager and a garbage collector, also the word "easy" in the article name is in quotes for a purpose. You will be much more better of with an implementation of a "Command" OO design pattern, which will allow your app to support the same functionality but much more elegantly.
-
howto to implement SOAP in C#Did you develop your application without looking ONCE into the .NET Framework documentation?