Hi Andrew, Thanks :-) I was trying to create a Tree navigator that could be hidden or moved out of the way if required... :-D I'm still new to C# and doing a project for my degree. I was trying to get a Navigator which is Dockable and Floatable. I was trying to use a SplitContainer so that the Navigator could be hidden when not required. I found a third party library (from a code project article) called Magic Library, which provides a great docking manager... It seems to provide the functionality that I require. I'm trying to use that for the Tree Navigator. thanks again for ur help :-) Mahesh
mew_lobo
Posts
-
Problem when adding to a SplitContainer -
Problem when adding to a SplitContainerHi, I'm trying to create a MDI window which has a SplitContainer, on the left SplitterPanel a treeview and when a node is double clicked a Form should open in the right SplitterPanel. I'm trying to make the Form a child of the MDI Window and also display it within the right SplitterPanel. The problem is that, when I double click the TreeView node, the Form which is added to the right Splitter Panel is not added as a child of the MDI and it also does not have focus. I can move the Form window and access its controls, but it does not retain focus. This is the code I used to add the Form ( done within the Constructor) // g_mdiform is a instance of the MDI window // g_mdiform.WorkingPanel returns the right SplitterPanel this.MdiParent = g_mdiform; g_mdiform.WorkingPanel.Controls.Add(this); I tried the following code within the Mdi Window class as a test. Form frm = new Form(); frm.SetBounds(100, 20, 100, 100); frm.MdiParent = this; splMDIPane.Panel2.Controls.Add(frm); frm.Show(); The above problem still exists.... If anyone knows how I can resolve this, please let me know... Thanks Mahesh
-
Error when consuming a Crystal Report from a webserviceHi, I'm using Visual Studio.Net 2005 with Crystal reports. I tried the tutorial on Publishing and consuming a report as a webservice from MSDN. When I run the windows form, I get error messages saying that the report failed to load. It works fine if I give the file path to the .rpt file, but when its been published as a webservice and I give the URL, I get the error. I have the required sample reports and database(MS Access Db). I get the same problem when I try the tutorial about populating a combobox (Windows form) with reports from a webservice. I get the list of reports, but when I try to display the report, I get errors saying the report cannot load. If anyone knows, plz let me know. Thx, Mahesh
-
Connecting to Oracle DB through webserviceHi Chris, Thx.... That was the issue :-D I gave the ASPNET user access to my oracle home folder and its subfolders and now the code works.... I had issues when I tried using the Oracle .NET provider... But this solution corrected everything.... Thx everybody....:) Mahesh
-
Connecting to Oracle DB through webserviceHi, Yes, I'm using System.Data.Odbc and I hav the Oracle client for 10g rel 1 installed... The connection opens correctly when I use the code in a C# windows application... I only get the error when using it in the webservice....
-
Connecting to Oracle DB through webserviceHi, I'm beginner to .NET... I'm trying to access an Oracle Database using a ASP.Net webservice with C#.... I'm using VS.NET 2005 and Oracele 10g... Created an System DSN using the Oracle ODBC driver I tried using an OdbcConnection String constr = String.Format("DSN={0};UID={1};PWD={2};", "TEST", "user", "passwd"); con = new OdbcConnection(constr); con.open(); This code works fine with a C# client program, but when I tried it with the webservice I get the following error... Error[IM003] Specified driver could not be loaded due to sytem error 5(Oracle in OraClient10g_home1) ny ideas? Am I missing something...?? Plz help if possible... Mahesh
-
Connecting to Oracle DB through webserviceHi, I'm beginner to .NET... I'm trying to access an Oracle Database using a ASP.Net webservice with C#.... I'm using VS.NET 2005 and Oracele 10g... Created an System DSN using the Oracle ODBC driver I tried using an OdbcConnection String constr = String.Format("DSN={0};UID={1};PWD={2};", "TEST", "user", "passwd"); con = new OdbcConnection(constr); con.open(); This code works fine with a C# client program, but when I tried it with the webservice I get the following error... Error[IM003] Specified driver could not be loaded due to sytem error 5(Oracle in OraClient10g_home1) ny ideas? Am I missing something...?? Plz help if possible... Mahesh