Create a object of the form (probably in a module)- For e.g Dim objfrm1 as Form1 Now, on click event of the context menu (or button) write the following code - if isnothing(objfrm1) then objfrm1 = new form1 objfrm1.MdiParent = me objfrm1.show() else objfrm1.focus() end if Also, do not forget to set the obj to nothing on the form closing event. I mean, on CLOSING event of form1 write the followng code. objfrm1 = nothing Worring about losing keeps me WINNING>>..
Sachin Gokhale
Posts
-
Manage MDI childs -
Tablestyles for DatagridSo, can you gte me some solution for my query ???
-
Tablestyles for DatagridHello All, Well i am working with collections in the project. I have set the datasource property of the datagrid to a collection (I am not using dataset just the collection). I am unable to format the datagrid using the tablestyles. Would anyone please help me in formating the datagrid (using tablestyles) when the datasource property is set to a collection. Thanks in advance, P.S - I am unable to set the mappingname property in the tablestyle to collection. if you send a mail at gokhale.i1@gmail.com in response to this query it would be better...
-
Formatting Datagrid when its Datasource property is set to CollectionsHello All, Well i am working with collections in the project. I have set the datasource property of the datagrid to a collection (I am not using dataset just the collection). I am unable to format the datagrid using the tablestyles. Would anyone please help me in formating the datagrid (using tablestyles) when the datasource property is set to a collection. Thanks in advance, P.S - I am unable to set the mappingname property in the tablestyle to collection. if you send a mail at gokhale.i1@gmail.com in response to this query it would be better...
-
Tablestyle Mapping Name ?Hello All, Well i am working with collections in the project. I have set the datasource property of the datagrid to a collection (I am not using dataset just the collection). I am unable to format the datagrid using the tablestyles. Would anyone please help me in formating the datagrid (using tablestyles) when the datasource property is set to a collection. Thanks in advance, P.S - I am unable to set the mappingname property in the tablestyle to collection. if you send a mail at gokhale.i1@gmail.com in response to this query it would be better...
-
Timesheet ControlPlease can anyone help me with a TimeSheet Control in VB.NET 1.1.. A sample source would help. Thanks in Advance, Sachin G. Spectrum Info Solutions
-
help in Crystal reports to pass multilple ID's for selectionYa thanks... but i tried it it doesn't works.... i tried with the OR condition.. still it is retrieving single row.. also i tried with AND condition and the report goes blank.... Please can u suggest any other alternative.... Sachin G.
-
help in Crystal reports to pass multilple ID's for selectionWell hi everyone, I have a problem with crystal reports... the record selection formula in crystal reports helps to retieve a single row from the database (depending on the ID passed) Now the problem is if have a selection criteria which demands to retrieve data from the databse for more than one ID so how will i pass multiple ID for selecting multiple row...please help.. Eg. my selection crieria wud be prjID = 1 record selection formula wud be = 1 now if my selection criteria prjID = 1 and 4 and 6 and 9 hw ud i do it... Sachin G. worrin bout losin keeps me WINNING
-
Change Data Grid Column NameUse datagrid tablestyles.. if u need the code mail me at gokhale.i1@gmail.com
-
DateDiff for days and timeTry using the 'DATE DIFFERNECE' function ..... DDiff...