Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

JstDaNuGuy

@JstDaNuGuy
About
Posts
18
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Help! I can't get it to work!!!!
    J JstDaNuGuy

    Well, thanks for the effort, but it doesn't work. and the reason is due to the a problem i think related to when or how i am calling my 'new TreeNode', as i am only replacing the text of the previous node with the 'next' nodes text. so in other words when i get to the point of adding new subnodes i only end up with one node. if you care to see my original code look here:[^] This is how i modified my orginal code to receive these results:

    //if (ParentNode.Nodes.Contains(DeptNode))
    if (rootNode == DeptNode.Text)
    {
    //if (ModNode.Tag == DeptNode.Tag)
    if (modelTag == rootTag)
    {
    //if (DeptNode.Nodes.Contains(ModNode))
    if (modelNode == ModNode.Text)
    {
    if (ModNode.Nodes.Contains(TelNode))
    //if (telNodex == TelNode.Text)

    :-D :laugh: ;p :^) :sigh:

    C# question help

  • Help! I can't get it to work!!!!
    J JstDaNuGuy

    how can i sort treenodes in my treeView by similar text? NOT tView.Sorted = true, but by actually removing the duplicate nodes and adding their children to the 'new' parent node. Current: +node1 +node2 +node2 +node2 +node2 +node3 +node3 +node4 +node4 +node5 Desired: +node1 node2    |_subnode1    |_subnode2    |_subnode3 node3    |_subnode1 +node4 +node5 :-D :laugh: ;p :^) :sigh:

    C# question help

  • Can't get "TreeNodeCollection.Contains" to validate node
    J JstDaNuGuy

    Hoping to get some more visiblity on my problem thx http://www.codeproject.com/script/comments/forums.asp?msg=1362841&forumid=1649#xx1362841xx[^] :-D :laugh: ;p :^) :sigh:

    C# data-structures announcement

  • Can't get "TreeNodeCollection.Contains" to validate node
    J JstDaNuGuy

    Trying to combine dbRecords that overlap to display as one unit on treeView. so rather than looking like: + dept1 + dept2 + dept2 + dept2 + dept3 + dept3 + dept4 I want it to look like: + dept1 + dept2 + dept3 + dept4 Using TreeNodeCollection.Contains Method to acheive this goal, but its not working. It seems that becuase i'm recreating the TreeNode object [TreeNode myNode = new TreeNode()] on each new loop it doesn't have anyway to refrenece the data i've already written. This makes sense, but it seems odd that i can't refrence the pre-written data inside of the tree. I've tried refrenceing the actual TreeView, (tView.Nodes.Contains(myNode) I've tried the locally written TreeNode (DeptNode.Nodes.Contains(myNode) I've tried doing a foreach loop[foreach(TreeNode node in tView.Nodes)] and checking doing if(node.Tag == myNode.Tag) I've tried removing the recreation of the TreeNode so it refrences the same node object when doing the search (i only ended up with the expected result of only adding the newest node to the TreeView rather than several new nodes) and pretty much i'm at wits end on what would work... Here's the code:

    private void TelList()
    {
    statusBarPanel1.Text = "Please Wait While We Update the List";

    		PhoneTree.Nodes.Clear();
    		TreeNode ParentNode = new TreeNode("Phone List");
    		TreeNode Purge = new TreeNode("Purge");
    		PhoneTree.Nodes.Add(ParentNode);
    		PhoneTree.Nodes.Add(Purge);
    
    
    		while (TreeRead.Read())
    		{
    			TreeNode DeptNode = new TreeNode();
    			TreeNode TelNode = new TreeNode();
    			TreeNode ModNode = new TreeNode();
    			DeptNode.Text = TreeRead.GetString(7);
    			DeptNode.Tag = TreeRead.GetValue(4);
    			ModNode.Text = TreeRead.GetString(2);
    			ModNode.Tag = TreeRead.GetValue(4);
    			TelNode.Text = TreeRead.GetString(3);
    			TelNode.Tag = TreeRead.GetValue(2);
    			if (ParentNode.Nodes.Contains(DeptNode))
    				{				
    					if (ModNode.Tag == DeptNode.Tag)
    					{
    						if (DeptNode.Nodes.Contains(ModNode))
    						{
    							if (ModNode.Nodes.Contains(TelNode))
    							{continue;}
    							else
    							{
    								ModNode.Nodes.Add(TelNode);
    							}
    						}
    						else
    						{
    							DeptNode.Nodes.Add(ModNode);
    						}
    
    					}
    					if (TelNode.Tag.ToString() == ModNode.Text)
    					{
    						ModNode.Nodes.Add(TelNode);
    					}
    				
    
    				}
    				else
    				{
    					ParentNode.Nodes.Add(DeptNod
    
    C# data-structures announcement

  • start position of child form
    J JstDaNuGuy

    hey, yah, as simple as it was, that was the solution.... why is it easier to think of the hard(or complicated) solutions before thinking of the simple ones? must just be me.... :confused: :-D :laugh: ;p :^) :sigh:

    C# question

  • start position of child form
    J JstDaNuGuy

    Actually, that was one of the things that i didn't think of at the time of writing that last post, i actually had just testing that before you replied... having some difficulty as i having to make sure everything is in its proper place...oh syntax..... i'll post my results in a few...hopefully! :-D :laugh: ;p :^) :sigh:

    C# question

  • start position of child form
    J JstDaNuGuy

    Right,got that, but how do i refrence that to the parent form? would it help if i better explain? i've got my parent form set to load at the same point based on where you closed it. the problem i'm having is trying to refrence the location of 218,28 of the parent form, since the form isn't allways going to be located at 0,0, it maybe located on screen two or three of a multi-screen system, and the user has to move across to system.drawing.point(218,28) just to reach the new form... not sure, maybe i'm just missing your point...no punn intended pretty much i've tried everthing i can think of(yes, very limited) and the most i've found to even come close was this.PointToClient. this was nice, it moved the new form in relation to the parent form, but the problem is it often disappears based on the parent form...basically it didn't work correctly ever. :-D :laugh: ;p :^) :sigh:

    C# question

  • start position of child form
    J JstDaNuGuy

    How do i set the start position of the childform that i open from my main form? I dont' want it to be in the center of the parent form or FormStartPosition.CenterParent. i want it to be set at 218,28 of the parent form :-D :laugh: ;p :^) :sigh:

    C# question

  • How do you access the forms child objects from a different class?
    J JstDaNuGuy

    thanks for the information guys... what im' trying to do is set the form state upon load then save on exit. but i have much more to set/save than just the form size, and i was just trying to do it from a different class i'm still learning... :-D :laugh: ;p :^) :sigh:

    C# help question

  • How do you access the forms child objects from a different class?
    J JstDaNuGuy

    I'm trying to access my forms (Form1) child objects, such as panels, sliderbars, toolbars, etc from a second class that i've added to the project. Currently i'm accessing Form1 via Form1.ActiveForm the problem that i'm having is that i can access the standard stuff from the form class, but nothing else, is this because Form1 is a public class, and all the child objects are private? if this is the case is it safe for me to change only the objects that i need to access to public, or is that unsafe coding? Is there a better way? or am i just going about this all wrong? :-D :laugh: ;p :^) :sigh:

    C# help question

  • Multiple Computers accessing the same file
    J JstDaNuGuy

    wouldn't the server(pc) OS have a restriction on how many concurrent connections it will allow? I think XP and lower only allow like 10-15 connections, and then the NT4 & Up series limits it at some point as well(i think) but can't remember the number. Would that constitute as a restriction on the # of connections to the exe? :confused: :-D :laugh: ;p :^) :sigh:

    C / C++ / MFC question

  • is scraping the right choice?
    J JstDaNuGuy

    thx :-D :laugh: ;p :^) :sigh:

    C# question html help tutorial

  • is scraping the right choice?
    J JstDaNuGuy

    we've got several different printers from several different manufacturers in our office that i need to try to retreive the machince specific info(serial, mac, ip, pageCount, etc) thru a rich-client. All printers have an installed/firmware webserver that displays all this info...and my hopes were to find a way to contact these devices and grab this info. I wasn't sure if there was an easier way to do this other than parse the html to get the info....('cause) the problem with doing that is that since they are all different manufacturers the format for the html is all different. So the question becomes how can i retrieve this info from the devices (does anyone know how to comunicate to the printer via a printer language{not sure what that would be} ?) :-D :laugh: ;p :^) :sigh:

    C# question html help tutorial

  • How Do I Capture Minimize, Maximize events....
    J JstDaNuGuy

    thx it works beautifully thx again :-D :laugh: ;p :^) :sigh:

    C# question

  • How Do I Capture Minimize, Maximize events....
    J JstDaNuGuy

    ??? i need to capture these events as i have a statusbar on my app, and when i maximize my app it retains the sizing grip and if u click-grab it moves through out the page...so i need to capture the maximize/minimize events to beable to hide/unhide the sizing grip...unless there is a better option out there... :-D :laugh: ;p :^) :sigh:

    C# question

  • What is this stuff?
    J JstDaNuGuy

    Thanks for the tip..did not know that that tool kit existed...i'm running it now... and yes, it is for both static and aspx pages...i'll lookin to the took kit and see what neet things i can learn...again thanks for the cool tip. l8tr :-D :laugh: ;p :^) :sigh:

    ASP.NET question help tutorial

  • What is this stuff?
    J JstDaNuGuy

    thanks....i'll check those sites out... how bout this one? ...i rebooted my 'server' and now IIS isn't working....i can't view my pages...no errors, just page fails to load... i'm going to reboot again and see if that helps by any chance... but it does this from time to time...not sure why. :-D :laugh: ;p :^) :sigh:

    ASP.NET question help tutorial

  • What is this stuff?
    J JstDaNuGuy

    hey, i'm real, real new to this stuff, and so much of it don't make sense....can u help me? i'm trying to understand all this stuff and i'm lost.... what does all the lowercase "I" mean with the plus and minus signs next to them mean? i've seen some with ++i and +i, as well i++ and i--....i'm lost help.... also trying to figure out how to make either a string value or an object ambiguious meaning... dropdownlist1.dataSource = dataReader; to be either: ambiguious1.datasource= dataReader; or dropdownlist1.dataSource= ambiguiousString; :-D :laugh: ;p :^) :sigh:

    ASP.NET question help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups