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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by cplsplsprogrammer

  1. cplsplsprogrammer

    Visual studio 2005 Question TreeView webpart question

    Hello Phil, No, I dont have a code behind. It is a webpart so all I can do is call the webpart. As I dont have code behind I cannot use NotIsPostback. How do I access the link that you have sent me? Is that from your msdn downloaded on your machine? -- Ram
  2. cplsplsprogrammer

    Visual studio 2005 Question TreeView webpart question

    Benson, This is how I call my webpart. TreeDisplay in zonetemplate is my class which had all the code to create a tree and handle all the tree events. -- Ram <form id="form1" runat="server"> <div> <asp:webpartmanager id="WebPartManager1" runat="server">...
  3. cplsplsprogrammer

    Visual studio 2005 Question TreeView webpart question

    Hey Benson, I created a class for building a tree. I load the basic structure of the tree and load the leaf nodes dynamically when the user clicks on the node. When I try to click on the nodes to view the details of the clicked node in another webpart the tree view webpart is doing...
  4. cplsplsprogrammer

    Visual studio 2005 Question

    I will check it. Thank you Husker -- Ram
  5. cplsplsprogrammer

    Visual studio 2005 Question TreeView webpart question

    Hello All, I am trying to build a webpart which using a TreeView. I had build a class to create a tree and load my tree. How can I eliminate calling the constructor when a page does a post back? Is there anyway I can do that? I think because of calling the constructor and building the...
  6. cplsplsprogrammer

    Visual studio 2005 Question

    Yep I did. Didnt get any response. I will post it again and see. -- Ram
  7. cplsplsprogrammer

    Visual studio 2005 Question

    Hello Husker, Yes my constructor is being invoked in the page load event and yes you were right, I was just paraphrasing it. I used !IsPostBack... I am trying to build a sharepiont webpart so not sure if I can use IsPostBack property on there. Do you know of anyway that I can...
  8. cplsplsprogrammer

    Visual studio 2005 Question

    Hey SodakotaHusker, Here is the code I am using for the treedisplay public class TreeDisplay : WebPart, IWebPartField { public TreeView _treeView; public DataTable _table; public FieldCallback _consumerDelegate = null; public TreeNode _nodeRoot...
  9. cplsplsprogrammer

    Visual studio 2005 Question

    Hello All, I am using a tree structure in my webpage. I load the basic tree structure on page load and wanted to load the children of those nodes on the fly and so I used the eventhandler but after I catch the event and get the node and try to find the parent of the node it is...
  10. cplsplsprogrammer

    _Block_Type_Is_Valid (pHead-&gt;nBlockUse) Error Message

    Thank you Jeb. My program works fine on the development box. That program is running fine from months on the development box, that has Windows XP on it. The production box is running on NT 4.0 and that is where the program is crashing, so I had to wait and see if it crashes on the production...
  11. cplsplsprogrammer

    _Block_Type_Is_Valid (pHead-&gt;nBlockUse) Error Message

    Thank you Jeb. I will give a try using pConn.CreateInstance() and see if it works. I have to wait for two days and see if my program is working fine or not cause it if working fine for 2 days and crashing only after 48 hrs. I have it in a service and my service runs every hour. --- RAM
  12. cplsplsprogrammer

    _Block_Type_Is_Valid (pHead-&gt;nBlockUse) Error Message

    Hello All, I wrote a program that reads data from command line and inserts that data into the database using ADO. My program is running fine for two days and after that it is crashing throwing an exception given below File: dbgdel.cpp line 52 Expression: _Block_Type_Is_Valid...
  13. cplsplsprogrammer

    COM Object with CLSID is not valid or registered Exception

    Hello All, I am writting a program to read the mailboxes from an exchange server and access different property values from AD. My program complies fine but during runtime I get an unhandled exception "COM object with CLSID {212029AF-C50D-11D2-BC7E-00C04FD430AF} is either not valid or...
  14. cplsplsprogrammer

    Retrieving the top number results using a local variable

    Hello all, I am trying to write a stored procedure which takes in a number as input and retrieves the top number of results. I wrote the following code but it is not working. Can anyone please tell me what I am doing wrong or what is the correct procedure to write the statement. Create...

Part and Inventory Search

Back
Top