|
hi friends.........
can anybody help me
how to create custom controls
soori
|
|
|
|
|
by adding user control to ur project
and then u can design that user control according to ur need
and can use it on other forms in ur project.
rahul
|
|
|
|
|
m asking, wht is the procedure
i will be happy if u give some tutorials
thanks in advance
soori
|
|
|
|
|
right click on the project under the solution explorer of visual studio
u get pop up menu form that select add option then
under add option there is add new item option click that option
u will get a add new item dialog box in which u can find
template list box under that list there is user control item
select user control item and click open button of add new item dialog box
the user control will be added in ur project then from solution explorer of VStudio select that user control and design it as u design the windows form
after designing u can see that user control on the toolbox under my user control heading select that user control and drag it on the windows form on which u want to use it.
rahul
|
|
|
|
|
There is a distinct difference between Custom Controls and User Controls.
|
|
|
|
|
i think u can cutomize existing controls by designing ur self and adding the cutomized functionality to it through user control in same project with out adding additional componet to tool bar.
rahul
|
|
|
|
|
You should do a search on Google. There are plenty of links and tutorials for Custom controls.
|
|
|
|
|
Is it possible to put a System.Drawing.Bitmap object in the body of an email? I don't want to save the Bitmap as a file to send as an attachment.
For example, if I create a new bitmap:
Bitmap bmp = new Bitmap(320, 240);<br />
Is it possible to send this Bitmap in an email message without saving this Bitmap first?
Thanks,
Ashish
|
|
|
|
|
You don't have to save it to a file to get the data. Create a MemoryStream to save it to, then you can get the data from the MemoryStream as a byte array.
---
b { font-weight: normal; }
|
|
|
|
|
Thanks Guffa! I never thought of that.
|
|
|
|
|
customization of save dialog box how to do it.
|
|
|
|
|
Could you be more obtuse with your question?
What have you done so far?
|
|
|
|
|
Wht actually do u want to do?
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
Hi all,
I want to learn how to create dynamic crystal reports in C#.NET. that is, when I pass parameter values through the application interface, they should be the criteria for the crystal report. How do you do this. Can anyone give me any online tutorials I can refer to.
thanks for any reply...
|
|
|
|
|
|
By dynamic, do you mean a report that varies in parameters, or run a report based on parameters?
|
|
|
|
|
Hiya!
It's quite easy to expose an interface of a .NET class to the COM world and to use it (via the COM callable wrapper (CCW), tlbexp.exe etc..). All examples for the unmanaged client, I found so far, using the ::CoCreateInstance or similar, which creates always a new .NET object.
It there a way to register my active .NET class as running object in the ROT and using ::GetActiveObject from my unmanaged code ?
The problem is the .NET implementation has no true access to the CCW..
COM has the concept of "Get-Existing-COM-object" object or "singleton COM".. where's this gone in the .NET interop ??
Thanks!
|
|
|
|
|
Hi y'all .. I hope this is an interesting one ...
Within an executing method, I can call MethodBase.GetCurrentMethod() and
retrieve info about the method that's currently running, including parameter
names & data types.
Is there a way to get the parameter v a l u e s as well ??? ( I know ...
this is indeed weird, but ... )
Thanks,
Mihai
|
|
|
|
|
aren't you in the method-call anyway ? you've got the value of the parameters already..
|
|
|
|
|
whwt is wpf and is it related to 3d in c#?
########################
|
|
|
|
|
Yes, it is related to C# 3.0
http://msdn.microsoft.com/windowsvista/experience/#wpfpt
|
|
|
|
|
It's not related to C# 3.0. Don't confuse C# 3.0 with .NET 3.0 - .NET 3.0 and WPF are already released, but C# 3.0 will come later (with .NET 3.5), it's main feature is integration of (database/XML/etc) queries into C#.
|
|
|
|
|
Hi all,
I have a MS Access Database and i want to programmatically transfer it to a csv file...
how can i stream the dataset that has the data from MS Access database and write it to csv file?
Thanks in advance.
-::maximus::-
|
|
|
|
|
Search CodeProject real hard did ya?
http://www.codeproject.com/aspnet/ImportExportCSV.asp
|
|
|
|
|
Hi,
i am new to coding in .net.i was trying to catch dataset from a function.my ques. is
What does dataset returns when no rows are selected in it?
also
how can i use this it on right hand side of exp. in a if construct?
iam coding in c#.
thanks in advances.
|
|
|
|