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: *

  1. KoRUPT

    Removing DataRow From array but not the DataTable

    Thank you JC and DaZZleD. I am trying both approaches now and trying to work on implementing them. There are still some things in both approaches that I have to work out. Firstly, DaZZleD's approach is clean and good, but the point of trying to remove the DataRow array and NOT delete them, was...
  2. KoRUPT

    Removing DataRow From array but not the DataTable

    (sorry if I am doing this wrong but I dont know how to edit my post) I noticed that the code is mostly links to my own functions, so let me explain a breif bit. The MySQL class sets up a connection to the server and implements some container functions. The MySQL.FillDataTable function fills a...
  3. KoRUPT

    Removing DataRow From array but not the DataTable

    Here is the code I am talking about: MySQL con = new MySQL(); DataTable dt = new DataTable( "TEST" ); con.FillDataTable( "SELECT 1 AS ID, \"Name1\" AS Name;", ref dt, true ); con.FillDataTable( "SELECT 2 AS ID, \"Name2\" AS Name;", ref dt, false ); con.FillDataTable( "SELECT 3 AS...
  4. KoRUPT

    Attaching an Image in Acrobat 6.0 Pro

    Thank you for testing it tgreer. At least i know its not just me. Is there a better way to get my images into the document? It doesnt seem right to add them as a comment, but I am fairly new to PDF creation so I dont really know how everything works yet.
  5. KoRUPT

    Attaching an Image in Acrobat 6.0 Pro

    Adobe Version 6.0.0.5/19/2003 1. Started with a pdf that my employer wants edited which has a background image and some other text links. 2. Using the "Select Image" tool, select a box (any size will do, something defined like a logo). The image will be written to the clip board. 3...
  6. KoRUPT

    Attaching an Image in Acrobat 6.0 Pro

    bump. please help.
  7. KoRUPT

    Attaching an Image in Acrobat 6.0 Pro

    I have looked all over the internet and I seem to be the only person who has image attaching problems so here it is: When I attach an image to the PDF it is always bigger than it should be. I have tried many different dpi settings and file formats but they all produce the same result. I even did...
  8. KoRUPT

    AutoLISP: commands working inline, not in lisp

    Thank you. It was the osnap problem.
  9. KoRUPT

    AutoLISP: commands working inline, not in lisp

    Okay I made a small function that draws a 3d box by getting the bottom left corner, and then defining height, width and depth. It draws a _3dpoly then extrudes it to the proper depth. This function works most of the time but sometimes it messes up drawing the 3dpoly because of an unknown reason...
  10. KoRUPT

    XML Data with Running Total

    I am trying to get a running total (sum) of some numbers but I do not get the option of using sum as a summary type. I think it has something to do with all the XML data being treated as string fields. Can someone help me get this working? Thanks
  11. KoRUPT

    TreeView Context menu

    GetNodeAt() is what I needed. Thank you.
  12. KoRUPT

    TreeView Context menu

    bump. Still having trouble.
  13. KoRUPT

    TreeView Context menu

    This one has got me in a pickle. I have a context menu assigned to a treeview on a form. When I bring up the context menu overtop of a node, it selects the node and shows the menu. Unfortunatly, I cannot find which node is selected progmatically. Can someone help me out please? Thanks.
  14. KoRUPT

    Expression Parser

    Is there a built in expression parser (much like the VBScript Eval function) in C#? What I mean is something that will evaluate string functions as if they were an expression. ie: int i; i = 0; i = Eval("1+1"); Console.WriteLine(i.ToString()); //Output: 2 I would rather not write one...
  15. KoRUPT

    Custom TreeView Control

    Thanks MrMcauber. I presume I just cast my derived node to the base class when I add/access it? I'll do some testing and let you know. Thanks again.
  16. KoRUPT

    Custom TreeView Control

    Hi. I do not have much experience making custom controls in C# (or C++ for that matter) and would like a basic rundown of how to do it. For example, if I wanted a TreeView that is identical to the original except that each node has 1 extra string property called "Tag2". How would I go...
  17. KoRUPT

    Iterating and Enumeration

    How would I go about Iterating through all the elements of an enumeration in C#? Something like so: public enum Test{One, Two, Three, Four, Five}; foreach(Test t in Test) { MessageBox.Show(t.ToString()); } This doesnt work unfortunatly :(
  18. KoRUPT

    Is this string numeric?

    Yes it does accept a string. It also accepts an integer specifying the character to check. So you DO have to do it a character at a time; From the Help: Indicates whether the character at the specified position in a specified string is categorized as a decimal digit or hexadecimal number. [C#]...
  19. KoRUPT

    Is this string numeric?

    Hmmm... so I guess the only way is to do it a character at a time. Thanks for your help. I'll do it this way.
  20. KoRUPT

    Is this string numeric?

    That does not work either. If someone could tell me which namespace the IsNumeric() function is in, then it should work. Thank you.

Part and Inventory Search

Back
Top