I agree Visual Studio does not come with much of a range for data entry controls.
One thing which you may want to quickly check before you whip up the code is the new InfoSet application in Office11. I haven't used it or seen much of it but one of it's desgin features it to allow building of...
You can use the DataGrid component to do inserts, deletes and updates.
Alternatively you can bind a lot of the standard controls to a data source, for example TextBox, TextArea, Buttons, CheckBox, RadioGroup and a few others.
Simplest method is to use TextBoxes and Buttons which you would have...
Did you change the line which extracts the string from the buffer?
command += Encoding.ASCII.GetString(buffer, 0, read);
The way you were originally doing it would only work if you read at least 1024 bytes!
Aaron
Hi,
I don't see anything wrong with the string concatenation line. I think it is more likely your error is coming from reading data from the socket.
There is no guarantee that the socket will contain all the data you are waiting for at the time of the read. You may need to do two receives to...
System.IO.FileSystemWatcher class will allow you to catch a file delete event. Don't know how you will be able to catch a beforeDelete event. You could keep a backup copy somewhere and then copy a new version in if it gets deleted.
Whatever you do you will need a persistent process such as a...
Microgold (www.microgold.com) and Rational are the only ones I have come across. Both are fairly expensive. I am looking for something to do the same, class diagram from code, that is free - open source would be nice too :).
I was not aware Visio could do this. You can produce UML diagrams...
Not really sure if you are trying to build the byte array from int values or from a string, your original post looks like you are trying to do it from a string.
If you want to do it from int values then,
byte[] buffer = {0x1, 0x2, 0x3};
If you want to build a byte array from a string,
using...
I am not entirley sure but the AppDomain class may be of use.
The SetData and GetData methods allow you to store values for access within the same AppDomain. AppDomains can have multiple processes.
Aaron
Thanks for that.
Problem is that will fix it for my machine but is no good if I am distributing source for compilation on other machines.
Probably the best solution is to note the bug in the source code comments telling people to fix it if they want the program to run properly.
Thanks,
Aaron
Hi,
I am fairly new to C++ and am struggling somewhat with keeping control of a simple console program that needs to extract input from cin (I want to keep to the Standard Library).
I am attempting to find an elegant way to extract strings from the console using the Microsoft V6 and Borland...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.