|
Is there any way to treat only particular warning as an error?? Like in my case i.e. when xml comments are not specified it generates compile error no. cs1591. I would like to treat only this warning as error. I don't want other warnings to stop program compilation.
Thanks to all who have taken time to reply my query..
Krunal C
|
|
|
|
|
how can i use crystal reoport in visual studio 2005 express edition.
|
|
|
|
|
You've asked the same question three times man...
To answer your question:
You can add a Crystal Reports Viewer as any usercontrol, it's in your toolbar.
You can create Crystal Reports in your VS environment by project->Add->New Item Crystal Report
However, if you need to create many reports, use the Crystal Decisions Software.
You can manipulate reports and the viewer in code, but you need to read up on that.
You can find some info on MSDN, but my suggestion would be a book. My learning curve was about 2 or 3 weeks before you can do anything really descent
PS: I'm not familiar with VS2005 editions, it could be that the express edition does not contain the Crystal Reports stuff.
good luck.
I've found a living worth working for, but I haven't found work worth living for.
<marquee>
|
|
|
|
|
Hi
I have created a generic class. This class has a property on it that takes on the type T that is used when creating an instance of the class.
T will be an enumeration. When the instance of the class is being used there are some cases where only the int value relating to the enumeration will be known, in this case I want to pass the int value into my generic class and have it cast it to the enumeration. This is what I can't figure out, see the DatabaseFromValue property below.
Any ideas what I need to do here? I'm new to generics, so if I'm completely of track here please say.
using System;
using System.Collections.Generic;
using System.Text;
namespace GenericsTestApp
{
class Program
{
static void Main(string[] args)
{
EnumSimpleSearch<myenum> search = new EnumSimpleSearch<myenum>();
search.From = MyEnum.cat; //This is fine
search.DatabaseFromValue = 1; //This is what I'm having the problem with, see property in class below
}
}
class EnumSimpleSearch<t>
{
public EnumSimpleSearch()
{
}
private T myVar;
public T From
{
get { return myVar; }
set { myVar = value; }
}
public int DatabaseFromValue
{
set
{
//I've tried the following:
myVar = (T)value; //Cannot convert type 'int' to 'T'
}
}
}
public enum MyEnum
{
cat = 0,
dog = 1
}
}
Thanks
|
|
|
|
|
how can i use Crystal Report in visual studio 2005?
|
|
|
|
|
|
Hi
I'm working with WTS, I have connected two of my client machines to the WTS Server and accessing the applications from the Server. I would like to capture the Session's Client Name in my Server's C# application. Anyone can help me to get out from this. Thanks in Advance
Chandru
|
|
|
|
|
|
Hi,
In windows application, combobox is bind with dataTable. How can i get selected value from the ValueMember? Using combo.ValueMember displays the ValueMember's Column Name, while i need selected value.
Can anybody help me in this regard, please!
Thanks
_____________________________
Success is not something to wait for, its something to work for.
|
|
|
|
|
Hi
While binding the datatable to your combobox, you have mentioned the ValueMember and DisplayMember, but while retriving the value just mention ComboBox.SelectedValue.
|
|
|
|
|
Thanks alot..........
i were trying to use multi-column combo (downloaded from codeproject's article) and datagridview combo. Anyway my actual problem is solved and thats a big deal to me.
Thanks again. &
Best Regards.
_____________________________
Success is not something to wait for, its something to work for.
|
|
|
|
|
Hi,
I want to render video in Panel.
I set all IVideoWindow interface properties but the video render in Active MovieWindow.
Can anyone help me with this?
|
|
|
|
|
In C#, i want to set Date that have dd-mm-yyyy formate. How can i do that. Or has any date function to get dd-mm-yyyy without having to formate again!
Waite your helping!
superdragon
|
|
|
|
|
Console.WriteLine(DateTime.Now.ToString("dd-mm-yyyy"));
|
|
|
|
|
how to add crystal report component to your project and how to use
crystal report.
|
|
|
|
|
Hi,
I created one labelitem in the dotnetbar's status bar.
There is one property "Cursor" of the labelitem where you can set the type of cursor.
I set the "Cursor" as "Hand" type in the dotnetbar designer .
But when I mouse hover the labelitem ,it doesnt show the hand type mouse pointer.
It shows the normal pointer .
Any help in showing the hand type pointer on the labelitem would be appreciated.
|
|
|
|
|
Hi, I found the answer...
Have you tried to set the eventhandlers of the lableitem itself?
here is the code i've played with...
private void YOURLABLENAME_MouseLeave(object sender, System.EventArgs e)
{
Cursor.Current = Cursors.Default;
}
private void YOURLABLENAME_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e)
{
Cursor.Current = Cursors.Hand;
}
try it and let me know...
He who laughs last...
|
|
|
|
|
Hi NarutoFan69,
Thanks a lot .Its working.
Actually I was trying to the set the cursor property of the labelitem on the mouse events ,rather than setting the current cursor.
Thanks again.
|
|
|
|
|
Glad to have been able to help...
He who laughs last...
|
|
|
|
|
Hi
Today we have a integration between IPtelephones and our program through the TAPI. It's a robot which we can start from our program and it will then automatically start setting up outgoing calls from the users own IPTelephone.
But as more and more of our offices goes from IPTelephones to just using cellular phones we stand in front of a challenge
So to my question
Is it possible to set up a outgoing call through the cellular phone?
As a user in the program I would like to just click a label/linklabel/button/etc.. and the program should automatically make my cellular phone call the number I clicked without me doing anything else but clicking on the label/linklabel/button/etc..
Also if I have a list of people to call the program should start automatically a call to the next person on the list.
Thank you in advance
Zkiboy
|
|
|
|
|
Can anyone please let me know how to get tab pages alignment downside.
This is with respect to the Tab Strip Control at the following url
http://www.codeproject.com/cs/miscctrl/TabStrip.asp
It has no such property which normal tabstripcontrol has
|
|
|
|
|
hot to get root of virtual directory,such as wwwroot!
thank you!
KSCsoft
|
|
|
|
|
how to get System Root of Virtual Directory with C#,such as wwwroot!
thank you!
KSCsoft
|
|
|
|
|
There is Request.MapPath(virtualPath) which returns you the physical path if you know what the virtual path is. There's also Request.PhysicalApplicationPath which returns you the physical path to your web application.
Does that help?
"Democracy is two wolves and a sheep voting on what to have for dinner" - Ross
Edbert
Sydney, Australia
|
|
|
|
|
Thank you for your help firstly.but I just wanna get the root of the virtual directory(wwwroot),and use the Windows Application!
thank you!
KSCsoft
|
|
|
|