|
Judah Himango wrote: I did a quick search myself and found a commercial grammar checking component that you can use in C#: WinTree Software[^]
hi thank you ...
but i found this site to ...
it has componets but i have to buy it .... i cant buy because i live in iran and i dont have credit cards...
( usa dont allow us to have it )
so if u got a free dll ..( componets) or soruce code please tell me
but thank you anyway
|
|
|
|
|
Have you considered looking around on sourceforge or any open source?
"Find it your bloody self - immediately!" - Dave Kreskowiak
|
|
|
|
|
Hi!
I've written a screensaver for windows using c# and it's been a smooth jounrey so far.
But when I try to run it on Vista there is a major problem.
The user can alter a bunch of settings on how the screensaver should behave using the standard "settings" button in the screensaver section of the control panel. These settings are stored in a user.config file under the user's account, I am using the the "Settings" framework in VS.NET 2005 for this which makes the whole procedure really easy to code.
The problem is that vista Launches the settings window (when the user clicks the "settings" button in the control panel) as a regular application, storing the settings in the current user's "user.config" file. However once the screensaver is actually triggered, Vista runs it in elevated mode as an administrative user, so the settings that the user specified are not actually used.
If anyone has an idea on how to work around this problem I would be very grateful. I would very much like to be able to use the auto-generated stuff in VS.NET as it makes things really simple.
Peace
/Mattias
Mattias Norlander
|
|
|
|
|
Does anyone know how to make a custom form, and by that, I mean make it the same, but look different and you have control over how it looks? I know you would first set it to have no border... but then what? Thanks in advance... -M.S.
|
|
|
|
|
MasterSharp wrote: Does anyone know how to make a custom form
No different than any other form. Not sure exactly what you are asking.
MasterSharp wrote: I know you would first set it to have no border... but then what?
Add the controls you want...
"Find it your bloody self - immediately!" - Dave Kreskowiak
|
|
|
|
|
I mean, how would you make a windows form, except, well, not WINDOWS. It would be custom, where you could put the blue bars where you want, change the form's color, or is there already a way to do that? I want to make a form that looks like on vistas.
|
|
|
|
|
If you're not on vista, you need to make the controls owner drawn, which means you write all the code to control every aspect of how they appear.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Yes. That's what I'm asking about. Does anyone know some code already that does it and is willing to share?
|
|
|
|
|
So, you want to make a custom form that looks like a vista form? Correct?
|
|
|
|
|
|
OK. I don't have any code that could help you right now, but I'm currently studying up on how to build components in .NET 2.0.
Create a new component and make it extend System.Windows.Forms.Form. After that, override the OnPaint method. That should get you started.
If you want to test your form, create a new form and edit the code by making that form extend yours. Hope this helps!
Maybe somebody else has more experience with forms? I've never created a custom form before sooooo.....
|
|
|
|
|
Based on your profile that you are VERY new programming, isn't this kind of a very big step?
"Find it your bloody self - immediately!" - Dave Kreskowiak
|
|
|
|
|
True, true, but I want to learn this so I can try a few things and play around with it, you know?
|
|
|
|
|
Sure, but like Christian said, you will have to be in control of the redrawing/painting. It is a bit involved.
"Find it your bloody self - immediately!" - Dave Kreskowiak
|
|
|
|
|
|
No, you don't. There is such a huge amount of information you don't know yet that's required to do this. Sure, we could explain it to you, but the explaination would go so far over your head that you'd think it was a jetliner.
...and it would take something on the order of about 400 forum posts to lay out.
Seriously, scale back the requirements. Skinning your first app and creating custom controls to get the look you want, is like trying to build an entire car from scratch, and you haven't even finished your first metal shop class yet.
|
|
|
|
|
Dave Kreskowiak wrote: Skinning your first app and creating custom controls to get the look you want, is like trying to build an entire car from scratch, and you haven't even finished your first metal shop class yet.
Nice analogy.
Dave Kreskowiak wrote: Seriously, scale back the requirements.
I agree.
Dave Kreskowiak wrote: ...and it would take something on the order of about 400 forum posts to lay out.
And that is on the conservative side, I reckon
"Find it your bloody self - immediately!" - Dave Kreskowiak
|
|
|
|
|
I used to read some game programming forums, and they were full of posts like:
I just started learning C++ and I'm going to write the best game engine EVER. It will have pixel shading, blah blah blah. Who wants to join my team.
Two days later:
How do you get a cube to appear in DirectX ?
Then they would be gone. So few people want to learn at a reasonable pace, it's frustrating.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Welcome to the "instant gratification" generation. An entire generation of kids who believe the world revolves around them and everything should be handed to 'em. Colleges turning out idiots and charging an awful lot of money to do so. Un-frickin-believable.
|
|
|
|
|
There is an article on CP on skinable apps, beyond that, no.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Well, way to turn someone off to programming. You think I'm a stupid kid, but I'm not, though I KNOW I've got a long while. I'm not one of the people "Yeah, lets do it now!". I know it's long and frustrating and all of it. I don't know how hard it will get, but,I know it can be diificult; for example, I read 1 app took 1,767,000 lines of code. I'm not an idiot. (entirely) No there's no need to be cruel, though I realize level. My speech is over.
|
|
|
|
|
MasterSharp wrote: No there's no need to be cruel
Just how was Christian cruel??
MasterSharp wrote: though I realize level
Guy, there's just no way to show you how to do this in a small example app. The amount of code required to build an entirely custom "skinnable" form is quite large, just for a small sample.
We've been trying to tell you that the skill level required to build this yourself is years away. He's not trying to turn you off from programming. He's trying to stop you from turning yourself off to it by taking on a project that's just plain old too much for a beginner such as yourself.
MasterSharp wrote: for example, I read 1 app took 1,767,000 lines of code
So? "Lines of code" is almost a meaningless metric. There's a huge difference between 100 lines of good code and 100 lines of total garbage than won't even compile.
1.7 million is nothing compared to the codebase for Windows Vista, weighing in at an estimated 45+ million lines. I leave it to you to evaluate if thats more on the "good" side than the "garbage" side.
MasterSharp wrote: I'm not an idiot. (entirely)
It's not a statement of you being an idiot or not. This is about the amount of experience required to pull off a level of work. And that experience only comes with writing code for Windows Forms for a number of years to develop the level of understanding you need to begin such a project.
|
|
|
|
|
hello sir,
in a visual c# project iam using typed dataset
when i want to show data in a report using recordselectionformula it displays only feild name .Please help me
monu
getting started
|
|
|
|
|
It would help if you post the code part where it goes wrong.
|
|
|
|
|
my code are
SqlConnection cn=new SqlConnection(ConfigurationSettings.AppSettings["con"]);
SqlDataAdapter ad=new SqlDataAdapter("select * from printfees ",cn);
fees dt=new fees();
//fees is the name of typed dataset
ad.Fill(dt);
CrystalReport2 crv1=new CrystalReport2();
crv1.SetDataSource(dt);
crv1.RecordSelectionFormula="{printfees.registrationnumber}= '"+txtregistration.Text+"' ";//and {printfees.feesofmonth}='"+txtmonth.Text+"' and {printfees.session}='"+txtsession.Text+"' ";
CrystalReportViewer1.ReportSource = crv1;
|
|
|
|