Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: azarc
  • Order by date
  1. azarc

    Data Navigation

    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...
  2. azarc

    Data Navigation

    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...
  3. azarc

    string concatenation problem.

    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
  4. azarc

    string concatenation problem.

    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...
  5. azarc

    can I hook the delete message?

    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...
  6. azarc

    UML diagrams from code

    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...
  7. azarc

    how can i build byte array with int values?

    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...
  8. azarc

    How do I share memory w/ another process??

    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
  9. azarc

    Problem with a regular expression

    Regex.Replace(aString, @&quot;(?<1>a{2,})\.&quot;, &quot;${1} &quot;)) Aaron
  10. azarc

    C++ DLL

    VB can compile dlls or exes. Aaron
  11. azarc

    Getting string input from cin - cleanly

    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
  12. azarc

    Getting string input from cin - cleanly

    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...

Part and Inventory Search

Back
Top