|
In that case, I'm stumped.
Sorry!
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hi,
Along the lines of what Henry suggested, is there data in
ds.Tables[0].DefaultView
(You said there are rows in the dataset, but how about the default view?)
Also, looking at what I've done when using the report viewer, I've also set the LocalReport.ReportPath to the path of the .rdlc file, as well as using the ReportEmbeddedResource. I'm not sure it's necessary, but maybe you can try it
|
|
|
|
|
Can WPF Controls used in normal existing windows application.?
|
|
|
|
|
|
Can you give me the way or steps to do this?
Thanks
Saurabh
|
|
|
|
|
Did you follow the link Eddy supplied "Walkthrough: Hosting a Windows Presentation Foundation Control in Windows Forms" seems to cover it.
|
|
|
|
|
hi
i am working on visual studio 2008(framework 3.5) and i want to access this exe file in another PC They are connected in networking and they have installed studio 2008.
BEST REGRADS
|
|
|
|
|
ashikale wrote: i am working on visual studio 2008(framework 3.5) and i want to access this exe file in another PC
Place it in a shared directory.
|
|
|
|
|
...and read up on Code Access Security. By default, no workstation will trust your app running from a network source. You have to tell each workstation to either trust the location the app is in, trust the app specifically, or trust the code signed with a certain key.
|
|
|
|
|
if you want to run it pragmatically then you can use socket programming to do that.
|
|
|
|
|
I try to create a form game.
I got up to 30 tiles (images) on that second form and I want to change the tile-image each time you click on it.
But it does it only once.
The possible errors are few.
First, here's part of the form code.
private: System::Void TS11_MCli(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e) {
Tsn11 = Tsn11 + 1 ;
if (Tsn11 = 0) { this->TS11->Image = Image::FromFile("C:/GamePics/NOTILE.png");}
else {
if (Tsn11 = 1){ this->TS11->Image = Image::FromFile("C:/GamePics/GREEN.png");}
else {
if (Tsn11 = 2){ this->TS11->Image = Image::FromFile("C:/GamePics/GRTRE.png");}
else {
if (Tsn11 = 3){ this->TS11->Image = Image::FromFile("C:/GamePics/ROAD.png");}
else {
if (Tsn11 = 4){ this->TS11->Image = Image::FromFile("C:/GamePics/WALL.png");}
};
};
};
};
};
That is the mouse event click.
Now up in the begining of the form, i get to declare the TS variables (one for each tile).
As it is : Tsn11 = 0;
As for the error facts : The form either reinitialise the variables each time you click, either always...
either the imageclick will operate only once.
Either there is a problem in the If Else statements.
So what is it exactly?
And how do I correct it?
|
|
|
|
|
Why have you reposted this question with the same incorrect code? A number of people have explained what is wrong with this code and what needs to be changed. Please try what you have been advised to do rather than merely asking the original question in a different forum.
|
|
|
|
|
hi!
I have a Form with a CrystalReportViewer control (I should say that I use embedded Crystal report in .Net 2005). there are some reports to be shown in CrystalReportViewer of course, the problem is here: after showing the reports in runtime, I can not select(by mouse) or copy any of data shown in the report page. is there any setting omitted?
every suggestion whould be appreciated
|
|
|
|
|
Please do not post your questions in more than one forum. Choose one and stick to it.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Why dont you export that data as their Export Option is Available you can export in to Excel etc then can manipulate
Best Of Regards,
SOFTDEV
If you have knowledge, let others light their candles at it
|
|
|
|
|
I have Export menu in my project, but we make it copy able in run time too! by the way thanks for your reply
|
|
|
|
|
Hi there,
Did you ever find a solution to this? I'm seeing the same problem...
Ross
|
|
|
|
|
hi,
unfortunately I should say no! I just have the export choice.
|
|
|
|
|
Dear Sir,
When I use some Netadvantages or Infragistics tools with Visual C++ 2005 Forms,I experience the error Index Out of ..... , but with Visual C# there is no problem.
these tools are used only with C# or what ?
modified on Tuesday, October 6, 2009 2:52 AM
|
|
|
|
|
Have you tried the vendors websites? I bet they know
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
Hi,
I am using a richtextBox to display files.
I have set the RightMargin property to a large value so that the data (> 1500 char approx)is shown in a single line.
Problem i am facing now is that on horizontal scroll to the end of the line the text overlaps making it not readable.
Please let me know how can this problem be fixed?
|
|
|
|
|
I am working in vb.net, sql server 2005 project, I have problem. In my project have one DataSet1.xsd in this dataset have one table, in that table run time get a rows, in that all rows I want to display in Report1.rdlc Table.
I need help to all
Franics K Antony
|
|
|
|
|
Thanks in Adv.
I have 10 to 15 different controls placed on a WinForm (Grid,DateTimePicker, TextBox etc).
on form closing i want to check that whether User has done any change means data is changed or not, is their any way to cater this change event of any control , without getting change event of each control.
Best Of Regards,
SOFTDEV
If you have knowledge, let others light their candles at it
|
|
|
|
|
softdev_sup wrote: is their any way to cater this change event of any control , without getting change event of each control
Not that I know of. Mostly I walk the form (foreach c in controls), and hookup small delegate that sets an "IsDirty" property.
I are Troll
|
|
|
|
|
So here's a wierd one.... (sorry for the length, but this needs some 'splainin)
I have a UserControl consisting of a TextBox , a Label , and a CheckBox . I have a ShowCheckBox property like so:
[Browsable(true),
DesignerSerializationVisibility(DesignerSerializationVisibility.Visible),
EditorBrowsable(EditorBrowsableState.Always),
Bindable(true),
Category("Behavior"),
DefaultValue(true)]
public bool ShowCheckBox
{
get
{
return checkbox.Visible;
}
set
{
checkBox.Visible = value;
}
} (If you see any compile errors, ignore them, I'm typing this from memory. The code I actually have does compile).
This UserControl is part of the same project as my application. I can place several instances of these controls on my form and the ShowCheckBox property defaults to true, as it should. So far, so good.
Now the weird part...through a variety of actions (switching tabs on the form, recompiling or running the application, etc.), suddenly my ShowCheckBox properties all get set to false, so I don't see the CheckBox in any of my UserControls in the form's designer! Sure enough, the values are all set to false in InitializeComponent . I then go back and reset the properties to true in the designer, and I see the property settings disappear from InitializeComponent (i.e. the default value is being used). After a little while, it happens again - the values magically get set to false again. I'm thinking this has something to do with the DesignerSerializationVisibility attribute?
Even weirder...usually when something changes in InitializeComponent or in the designer, the change is automatically reflected in the other location. But when I see the property values set to false in InitializeComponent , I still see the property set to true in the designer! I probably spent about an hour or so searching Google and CP, and the only help I really found was in setting the attributes I have above.
Is this a bug in Visual Studio by any chance? Or is there some other attribute I'm missing? I'm using VS 2005 SP1, C#, Windows XP SP3, all the latest updates.
Thanks,
Dybs
|
|
|
|