|
Create another object that contains information on the brushes and fonts, and serialize that.
|
|
|
|
|
Please check whether you gave proper serializable attribute for your custom class. Otherwise please mention the exception that you got when you tried this.
Sreejith Nair
[ My Articles ]
|
|
|
|
|
Suppose I am selecting an item from a list box and I would like to change the all the menu's in another list box
For example, In a list box1 (Title- Country) if i selct India, correspondingly how will I get Cities of indian country in List Box2 (Title-City)
How to do it using C++, I am working in .Net Framework
|
|
|
|
|
Here i can see your real requirement.
In Asp.net controls have AutoPostback property. BY default it will be false. Set it true if you are going for thin client application.
And if you want to achive this in thick client (i mean windows) Go for listbox item change event and write proper binding code in event defanision and event handler.
Sreejith Nair
[ My Articles ]
|
|
|
|
|
Suppose I am selecting an item from a list box and I would like to change the all the menu's in another list box
For example, In a list box1 (Title- Country) if i selct India, correspondingly how will I get Cities of indian country in List Box2 (Title-City)
How to do it using C++, I am working in .Net Framework
|
|
|
|
|
Add an event handler for the ComboBoxes SelectedIndexChanged event.
|
|
|
|
|
I want 2 embed my visual basic modules and classes made in VB.Net to my newly built C# application.
How can i do it.
IT Bug
|
|
|
|
|
You can create a solution with two projects. One project contains the C# code, and the other contains the VB.NET code. You can then reference the VB.NET in the C# project (right-click the project in the solution explorer and select Add References...)
You can now access your VB.NET code in the C# code. Remember to put using {Name Of Namespace}; if the VB.NET code is in a different namespace.
Does this help?
Do you want to know more?
Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
|
|
|
|
|
Thanx Buddy!
It works well but i just had a query in mind if we can some how embed the code in the same project.
|
|
|
|
|
Same solution: Yes, I am currently working on a solution with some parts written in VB.NET and some parts written in C#. They integrate very well.
Same project: No, you cannot mix code from different languages in the one visual studio project.
Do you want to know more?
Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
|
|
|
|
|
Hi all,
I want to load a .Net Assembly in my Application, which is not located in the start folder of my App.
The Assembly-DLL I want to load is not shared and not registered in the GAC of the computer.
Does anybody knows a way how to load it!
I have heard ther is a way to add a search path for the assembly in the App.config file.
But I do not know thw respectin XML syntax.
Need Help
Thanks
Thomas
|
|
|
|
|
System.Reflection.Assembly a = System.Reflection.Assembly.LoadFile("myassembly.dll");
|
|
|
|
|
hi guys this is dipti from india well i am new to .net and making a project on it so any help from ur side will be appreciable.
dipti_garg@rediffmail.com
|
|
|
|
|
dipti17 wrote:
so any help from ur side will be appreciable
Is this an actual request for assistance? Or are you just forewarning us that you will be asking lots of questions in the near future?
Do you want to know more?
Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
|
|
|
|
|
well watever u think but gud to see atleast any1 replied bye;)
|
|
|
|
|
|
hi guys this is dipti from india well i am new t .net and making a project on it so any hel
|
|
|
|
|
Deapti, Tell me what is your doubt and what you want to know ?.
Sreejith Nair
[ My Articles ]
|
|
|
|
|
I’m having trouble finding a clear answer to my question regarding visual inheritance and MDI children. I have made several dialog style forms/apps which were derived from a master template form (dll) – that works great, but I want to take it a step further. My next step was to create a MDI style application using visual inheritance for each child window. Just for information - I’m writing this in VS ver7 (C# base).
So, some questions:
1. Can I make a MDI application into which each child is a based on a master “template” form (dll). My hope is that each child would be its own DLL – easing future modifications and upgrades. Can this be done with .net’s virtual inheritance?
2. If this is possible, is there a way I can dynamically add new children DLL’s (which are visually derived from a master template form) to the MDI application without recompiling the base MDI application (that would be my dream)? Each new child would add new functionality to the core application – but maintain the same base “look”. Obviously this would take some coding, but is this possible?
If you have some ideas, experience, or know of any examples to either of my questions – please feel free to share your ideas.
|
|
|
|
|
You Wrote:
Can I make a MDI application into which each child is a based on a master “template” form (dll).
Sure you can make a common MDI for you child which is inherited from a common .dll.
You Wrote:
My hope is that each child would be its own DLL – easing future modifications and upgrades. Can this be done with .net’s virtual inheritance?
See once you created an inherited form. I mean child form you will get all the feature of your parent form. And this child form is entirly separate in nature with your parent. And you must care about one thing. See the modifiers of controls( members of your template).
You wrote
If this is possible, is there a way I can dynamically add new children DLL’s (which are visually derived from a master template form) to the MDI application without recompiling the base MDI application (that would be my dream)? Each new child would add new functionality to the core application – but maintain the same base “look”. Obviously this would take some coding, but is this possible?
See i don't know why you want to recompile the application. I mean the base. Are u going to make any updation after inheriting the form. Do you want to reflect it back to your child form ?
Sreejith Nair
[ My Articles ]
|
|
|
|
|
Hi,
Could Someone tell me with what version of the windows os is the .net framework already installed on??
gavirj
|
|
|
|
|
|
Thanks for the speedy responses - much appreciated.
What is IIRC??
So does Microsoft plan to include it in all their operating systems or will it always be a seperate distributable??
The reason Im asking is because I have an activex component that I would like to convert to .net but most of the people that would use it mostly only have 56k modems and to ask them to download a 20mb framework is a bit too much to ask.
gavirj
|
|
|
|
|
gavinJeffrey wrote:
What is IIRC??
If I Recall Correctly
gavinJeffrey wrote:
So does Microsoft plan to include it in all their operating systems or will it always be a seperate distributable??
Future versions of windows will include the .NET Framework. However if you will probably always need to supply a separate redistributable for people that are not using that OS, or if you are developing on a newer version of the framework. e.g. I would guess that if you were to develop something with .NET 2.0 for use on Windows Server 2003 you would still have to supply the 2.0 Framework (unless MS decide to include new versions of the framework in service packs)
Do you want to know more?
Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
|
|
|
|
|