|
I need to create WinForms DataGridView column which shows spaces between thousands and allows user to enter amounts, e.q
<br />
1 234.55<br />
22 444.44<br />
343 333.33<br />
3 333.45
I tried MSDN DataGridView MaskedTextBox column sample.
This sample displays mask only for current cell, not to whole column.
I tried to use
public MaskedTextBoxCell()
: base()
{
DisplayStyleForCurrentCellOnly = false;
...
But got error since DisplayStyleForCurrentCellOnly does not exist for TextBox cells.
How to apply mask to every row in column and allow user to enter numbers?
Andrus.
Andrus
|
|
|
|
|
Hi!
Can someone please tell me how to open MMS streams in C# (using a lib. or whatever), and play it using the DirectShow. I'm struggling with this issue for a week, and can't get it to work whatever I do. I was browsing the DirectShow MSDN library, but couldn't find anything. I know there is a way to open and play MMS streams from a WMP ActiveX ctrl., but I don't find this approach very convenient.
Thanks in advance,
A.
modified 20-Jun-22 21:01pm.
|
|
|
|
|
MMS? Do you mean Mutimedia messages as sent from a mobile (cell) phone?
Dave
|
|
|
|
|
No, I meant MMS as Microsoft Media Services (like in "Video/Audio Streaming")...
modified 20-Jun-22 21:01pm.
|
|
|
|
|
I am running VS2008 Professional version but I don't see the Profiling menu so i can monitory the my application performance. Most of the Profiling tutorials don't tell you how you can itegrate this addson to your VS2008 Pro. Can somebody help me to figure this issue out.
|
|
|
|
|
Profiling is included only with VS2008 Team Edition.
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
VS6 had profiling built in. I've seen the claim that executables produced with VS6 run faster than equivalent executables produced with the later compilers.
Maybe Microsoft doesn't want to make it easy for people to find this out. Or maybe they want to sell a more expensive version that has the profiler included.
|
|
|
|
|
what are you talking about dude i couldn't understand what you are telling here VS6 what's that
|
|
|
|
|
VS6 is Visual Studio version 6. It was followed by Visual Studio .NET in 2003. After that Microsoft identified compiler versions by the year they were released, e.g. VS 2008.
|
|
|
|
|
Alan Balkany wrote: VS6 is Visual Studio version 6. It was followed by Visual Studio .NET in 2003. After that Microsoft identified compiler versions by the year they were released, e.g. VS 2008.
*Cough* Correction *Cough*. Visual Studio .NET was 2002 - that was version 1 of the compiler. It was followed up by VS 2003 in 2003 which introduced .NET 1.1 (hence the year numbers started in 2003).
|
|
|
|
|
Is there any to make a child form's background transparent?
|
|
|
|
|
Did you try setting the background colour to Transparent? Setting the back colour to transparent doesn't usually work out that great, but who knows, it might work out for you.
My current favourite word is: I'm starting to run out of fav. words!
-SK Genius
Game Programming articles start - here[ ^]-
|
|
|
|
|
I used the opacity property. But it didn't work. So is there any more way to do that?
|
|
|
|
|
Damn, wait a minute. You can't even set the back colour to transparent, I was thinking of the transaprency key.
Try something like this on your form:
Form1 frm = new Form1();
frm.BackColor = Color.FromArgb(255,0,255);
frm.TransparencyKey = Color.FromArgb(255,0,255);
frm.Show();
My current favourite word is: I'm starting to run out of fav. words!
-SK Genius
Game Programming articles start - here[ ^]-
|
|
|
|
|
|
|
Hi,
I need to set default language in my winform application
i.e. I want that users will not see default system laguage but default application laguage
thanks
Evgeny
|
|
|
|
|
Easy - you define all the text in your app, so create it in the language you want.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi!
I assume that your application already has localization support included, right?
In that case, you can use the Thread.CurrentUICulture property to assign a specific CultureInfo object to your application's main thread.
The System.Globalization namespace has all you need.
Regards,
mav
--
Black holes are the places where God divided by 0...
|
|
|
|
|
Hi
thhnks for your reply.
I tryied to set language but didnt successed.
I need to develop application with default laguage Russian,
i.e after starting applicatiojn russian lang will be set automaticly.
How can I do that.
thnks
|
|
|
|
|
What did you try exactly? Just saying you didn't succeed is not enough for anyone to help.
Please post some code if you want any further help.
Regards,
mav
--
Black holes are the places where God divided by 0...
|
|
|
|
|
sorry ,
Thread.CurrentThread.CurrentUICulture = new CultureInfo("ru");
Thread.CurrentThread.CurrentCulture = new CultureInfo("ru-RU");
I expect , when my winform application will run
my default language will be russion is it true?
Evgeny
|
|
|
|
|
Yes, that should do it.
Regards,
mav
--
Black holes are the places where God divided by 0...
|
|
|
|
|
Hi all,
I'm using sql server that is with VS2005.i want create CrystalReport with wizard,but in connection information step(in section 7 of below list), i don't know what name i should select for server in server drop down list (there is no name for server in drop down list) that my data bases comes in drop down list for section 8 to choice my data base,
1. Start a new CR report from the Project menu in VS2005
2. Choose the Standard report expert
3. On the Data form, Expand 'Create New Connection"
4. Expand OLE DB(ADO)
5. Select SQL Native Client
6 Click Next and check Integrated Security. This will grey out the Sql autentication.
7. Select your SqlExpress Server name from the drop down list
8. Select your database name from the drop down list
9 Click Finish.
where is the problem?
please help me.
Thank You,
Hoda
|
|
|
|
|
At the time of installation of SQL, You checked the SQL Server Authentication instead of Windows Authentication. That why when you check the integarted security there is no server found.
Solution:
1- Write the system name + \SQLEXPRESS e.g. System Name is abc then write in the Server Combo abc\SQLEXPRESS
2- Uncheck the intgerated security and write username with password.
3- Reinstall the SQL with Window Authentication Mode.
|
|
|
|