Can i use TCL with c#? is there any integration between them like there is in C++? The whole reason for this is i need to add some form of version managment to my final year software engineering project (and its getting rather late in the day) My plans were to use the Sharp develop CVS library but as there is no documentation for this i cant work out what is happening or what im supposed to do! So i thought the next best thing might be to use TCL expect so i can easily send and recieve lines to and from the console but its been a while since ive used TCL and its a bit messy so i'd much rather do it all in c#! Does anyone have any ideas on how i can impliment basic version management in any readily available system (CVS, RCS, etc.) im getting so fedup of trying to get this to work im even debating writing my own version management system but i know there must be one out there that will be fairly quick to get working? Any help, ideas, or suggestions no matter how small will be greatfully accepted! Thanks Tim
se99ts
Posts
-
Version Management Help... can i use TCL\tk and c#? -
TreeView and right click select?I have added a context menu to my TreeView, but when i use TreeView.SelectedNode it doesnt return the node that the user right clicked on only the node that was last left clicked. Is there anyway to get a TreeView to select the node the mouse is over on right click? Thanks Tim
-
C# and CVSI need to write a module for my program that will allow basic revision control of text files. I was wondering what is the best way to impliment this should i use a library? or should i just execute the commands myself? Ive tried to use the .Net cvs library from the same people as sharp develop (http://www.icsharpcode.net/OpenSource/SharpCvsLib/default.asp) but i cant find any documentation for any of it... has anyone sucessfully used this library and if so could you give me some pointers. Thanks Tim
-
PID of current process?Thanks very much thats got it :)
-
PID of current process?i dont have GetCurrentProcess in the Diagnostics namespace. Any ideas why its not there? am i calling it from the wrong place?
-
PID of current process?in my application i would like to get the PID of the current process, does any one know how i can do this? Thanks Tim
-
Adding Line Numbers to a text box?My only reason for thinking of using two of the same text controls was an easy way to keep line numbers in the correct place as they could both share the same font and would have equal spaces in the line numbering i thought it would then be a simple task to get them to scroll together and somehow lock the textbox displaying the numbers so that it wouldn't highlight or selct on click, it would just appear next to it.
-
Adding Line Numbers to a text box?i would like to add line numbers to a richTextBox, does anyone know of an easy way of doing this? i was thinking about having two text boxes controlled by the same scroll bar but i dont know how to link them up? or is it easier to use a different control to add the line numbers? Any help would be extreemly useful as i dont remember seeing an example of this or anything similar anywhere!
-
Overriding ToStringi know it is a dodgy area, but i found it easier just to add the objects to a list, instead of having to store the entries in an array and then just a text representation of them in the GUI, it just meant i didnt have to do any lookup's i could just call the events on the object. though at this stage i may well have to go to a text representation as the items cant be added to 2 lists, so i may well be doing lookup's!
-
Overriding ToStringIf you did want to go back to your original idea... derive your object from ListViewItem (im doing it with tree's so you might need to check that), and then set its text (no need to overide) to whatever text you want to appear in the list/tree. Then when you add it to the list it will have the exact text that you want. Hope that helps any one else trying something like this! On a similary note... Does anyone know how i can add the same TreeViewItem to 2 different TreeView's without having to clone it?
-
checking the children of a node in a TreeViewfixed it, i use e.Node to get the children and as its in the event afterCheck, it acts recursively to check all the children!
-
checking the children of a node in a TreeViewi have a standard treeview control with checkboxes, how can i check all the children of a node when the parent is checked? i already have events for before and after check so i assume it must go in there but the problem i have is finding which node is selected as a node doesn't have to be selected for it to be checked. Does anyone have any ideas as its really starting to annoy me as i know it must be so simple :( Thanks
-
Background color on a TreeView checkbox?Does anyone know how i can change the color of the background of a checkbox in a tree view? The treeview is in a non-standard color and the white of the checkbox doesnt look right at all. i read about the tri-state checkbox image but i dont think i want to take it that far at this stage.
-
Flat combobox?Does anyone know how to make the windows combobox flat like you can with buttons, edits etc. If it is not posible to make it flat does anyone know of a flat combobox component that i could use? Thanx Tim
-
syntax highlight with richtextbox, possible?the first thing to do is compile sharp develop, once youve done that run it and open the sharpdevelop combine, it will list some components in the project browser, i cant remember which part its in, but its fairly obvious its one of the editor projects (either text editor or default editor). I suggest you open a .cs file in the editor to see what it can do and see how complicated it all is! i pretty much gave up on it but if you do find anything of use (even a hint or two) or manage to develop a basic component i would be massivly greatful if you could share some of the mroe complicated areas with me :)
-
syntax highlight with richtextbox, possible?I asked about this a little while back and there seems to be very little information available on it :( I was pointed to sharp develop, an open source IDE for c# written in c#, to me this was of little use and far to complicated for what i need but it might be of use to you?
-
C# Syntax Highlighting?I do have sharp develop but i was hoping for a much more simplistic view of it, i dont need it to do overly much at the minute but, i was hoping for something a lot less integrated and basic overview of how to do it. Thanks all the same though :)
-
C# Syntax Highlighting?I would like to write a simple syntax highlighter for one of my c# applications but i cant seem to find any examples on how to do this. My current plans are to use a richtextbox and somehow do the highlighting in this but i cant find any examples of how to use a richtextbox for something similar. Does anyone know of any c# examples of syntax highlighters or if not any code snippets that might help me in writing one? Thanks Tim
-
How do I create a command window/console?if you could email it to me id be most greatful, and it would help me a great deal. My mail is blue@nildram.co.uk
-
How do I create a command window/console?Im not worried about the expanding and contracting at the minute, i can sort that out at a later date as i need that in other parts of the application. Im not to worried about the GUI at the minute either, it will be in a box similar to that in VS.net but thats not essential. What i was wondering is if there was any implimentation of it as ive used languages that have it (ie TCL/TK) and i think java has one? i dont know how id go about calling commands "dynamically" though? would i just have to have switch/case statements for every posible command that could be run or is there a way of calling methods "on the fly"? I dont think you are over simplyfying it at all i think i needeed your imput to see that i was over complication the whole thing. My only worry is about the fact that some characters will need to be read-only, others writeable etc. do you have any ideas on how i could deal with that? Thanx