|
Thanks, so how can i set it right to left ?!!
|
|
|
|
|
If you're owner drawing, then you're drawing it yourself, aren't you ? Does DrawString have properties to support this ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Dear Christian
Unfortunatly DrawString have not RightToLeft property?
|
|
|
|
|
I'm sorry, I've never drawn a righttoleft string, all I can tell you for sure is that if you've set the control to be owner drawn, no other property is going to matter, your own code is completely responsible for how it is rendered.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
How to asynchronously invoke three different tasks and interact with UI simultaneoulsy.
I have three different screens where i should be able connect to same database and interact with UI asynchronously.
Can anyone help me.................
|
|
|
|
|
Hello
pranu_13 wrote: How to asynchronously invoke three different tasks and interact with UI simultaneoulsy.
Using multithreading, but I think you already know that!!
pranu_13 wrote: I have three different screens where i should be able connect to same database and interact with UI asynchronously.
So what is wrong with that?? Each form will make an independent connection to your database. Whether they are 3, or even 100 screens. Each will make its own conection without knowing about other connections or screens.
pranu_13 wrote: Can anyone help me.................
If you still need more help, yes! If you post more details perhaps.
Regards
|
|
|
|
|
hello
i want to get drives in tree shape, how is it possible using tree list or in any other way.
syntax is requires?
muhammad mahmood ilyas
|
|
|
|
|
hello
procedure is required.
muhammad mahmood ilyas
|
|
|
|
|
hi, whenever you run the project , exe file is made. for 2003 , exe is in debug or release folder in the directory of the project.
|
|
|
|
|
i mean from exe is installer. i want to run my program on different machine having no microsoft.net.
so in this context, plz guide me in context
muhammad mahmood ilyas
|
|
|
|
|
|
Not possible. Every machine that runs your program will need to have the .NET framework installed.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
thanks
muhammad mahmood ilyas
|
|
|
|
|
hi all i have a pro on hand now..
i have 2 buttons in my application and i want to call up text into the richtextbook..i can do this however after pressing button 1 the text will be clear and display text will button 2.. i want both the text to remain ,how do i do it?
|
|
|
|
|
this.richTextBox.Text += newdata;
Just add your new string behind your old string in richTextBox.
|
|
|
|
|
Performance issues!
this.richTextBox.Append(newData);
Remember that strings are immutuable and doing: string += newData will create a new object everytime.
Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9
Ed
|
|
|
|
|
Bug issue!
At least with .NET 1.1 (didn't check 2.0), RichTextBox.Append() cuts off the text after ~32K, even though the MaxLength property has been set to a higher value! Almost got my head ripped off after we had been working with a program I wrote that suffered from this bug.
So if you have to concatenate a lot of strings, you should use a StringBuilder and then assign the whole string to RichTextBox.Text .
Regards,
mav
--
Black holes are the places where god divided by 0...
|
|
|
|
|
Never come across that issue before (havn't filled in that much text). I agree that the best way is to use a StringBuilder first if concatenating strings programatically.
Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9
Ed
|
|
|
|
|
Hi,
I have made a setup for a windows application. But the problem is that it starts to re-install ( or repair I dont know since a progress bar similar to that when removing an application runs fast) when i run it for the first time. I have also used some COM components in it too since there are some AxInterop & Interop files too. Do i need to register them too. If yes, then how?
Please tell me what can be the possible problems, flaws or other descrepencies?
Regards,
Wasif Ehsan.
|
|
|
|
|
I have some c++ source code, which I have updated to compile under VS2005. When I attempt to add the code as a reference in a C# project, it states that it is not a valid .NET assemply or COM component. Also, I have tried adding the DLL in a DLLImport statement:
[DllImport("@DebugPath DLLName")]
A first chance exception of type 'System.AccessViolationException' occurred in CSharp.dll
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
The DLL is in the project's bin/Debug folder.
I thought that compiling the c++ DLL in VS2005 would allow c# project to reference it. I saw another option of creating Managed c++ classes, but I didn't want to go there unless i really had to.
Am I doing something wrong?
Regards
alias47
-- modified at 1:55 Tuesday 15th August, 2006
|
|
|
|
|
C# can only reference a managed DLL. You cannot use unmanaged DLL directly to C#.
Export your function from C++, so that you can use it from C#.
|
|
|
|
|
Is Generics a .NET form of C++ Templates?
---
Hakuna-Matada
It means no worries for the rest of your days...
It's our problem free, Philosophy
<marquee behavior="alternate" scrollamount="5" scrolldelay="50">
|
|
|
|
|
It is close - Its implementation is not the same as C++ but the concepts are similar enough.
|
|
|
|
|
Hi,
I have a Typed DataSet that is bind to some winform controls. TextBox, Labelx etc....
At some point, my dataSet values are updated being the scene. The probleme is that my binded controls are not updated automatically when DataSource is updated.
What I have to do to force the rebind of my controls ?
:->
..Etienne Lefrancois
-- modified at 9:56 Tuesday 15th August, 2006
..Etienne
|
|
|
|
|
What is the best way to pass parameters in the sql statement instead
of building the sql statement with quotes and other things.
Iam using oracle at the back end. I think iam asking snippet of code
for using prepared statements and other things in oracle and c#
|
|
|
|