|
Thank you very much for your reply! Nice day
|
|
|
|
|
I've used this control in my project, and it's exactly what I need. But I meet another problem!
When I opened the (drop-down) listbox by clicking on the Combobox, there was no problem; but when I opened it by pressing [Alt + ArrowKeyDown], the listbox also appeared, but with the drop-down portion (of the Combobox) over it!
How can I solve this problem? Thanks a lot!
|
|
|
|
|
How can I crop an audio file given it's starting and end positions...
|
|
|
|
|
it depends from the audio format. search CodeProject, there are some articles about that.
[ITA] Tozzi ha ragione: Gaia si sta liberando di noi.
[ENG] Tozzi is right: Gaia is obliterating us.
|
|
|
|
|
|
If the textbox resides in another application use the GetwindowText API.
If the textbox resides in your application create a public readonly property with returns TextBox.Text;
Programming is a way of thinking ... its a way of life. Some people have it and some people don't. Well at least thats what the voices in my head tell me.
|
|
|
|
|
Create The object of that form on which textbox residea.Than with the help of that object u can access every control which is placed on that form.
|
|
|
|
|
as above reply said you can use somthing like that
Form2 form= new Form2();
string text=form2.textBox1.Text;
MCAD
|
|
|
|
|
Hi,
i have an applications that runs on a pocket pc.
i'm trying to maximized the application by setting the FormBorderStyle = FormBorderStyle.None and
WindowState = FormWindowState.Maximized and ControlBox = false.
But when i add a main menu it doesn't work.
Any suggestions?
Please help.
Shay.
|
|
|
|
|
Hi Shay
The space on the PDA has haunted us all! Removing the boarder does not make to much difference as you are still stuck with the windows menu ontop of your form (unless you are not allowing access to the OS).
This being said I dont think that the menu is available without the boarders. I found the easiest thing to do is: find out the pixle size of the screen, subtract the height of the menu and set the form size to that. set the position to (0,0).
If you need more space on the screen try usings a tab control, decreasing the font sizes and maybe even squashing your controls some more (make your buttons smaller).
If the reason for the menu is only the SIP then rather not use the menu. Call the SIP Control when focus is set to a text input control.
Programming is a way of thinking ... its a way of life. Some people have it and some people don't. Well at least thats what the voices in my head tell me.
|
|
|
|
|
Hello Friends,
I want to add windows button to a particular cell of DataGrid of Winform on click of that cell.
Can you help me for the same.
Sachin Gedam
(Software Engg.)
Pune India
|
|
|
|
|
hi,
To add button to a paricular cell of DataGrid
we have to use ButtonColoumn class
With Regards,
Maheswararao.
|
|
|
|
|
hi
Button Columns class which is related to web server
but for windows forms check this link:
http://www.syncfusion.com/faq/windowsforms/Default.aspx#q888q
with regards,
maheswararao.
|
|
|
|
|
HI ALL,
I have two forms in my application.1)Parent and 2)Child.I want to create a menu for my child form.But when I create Menu for child form C# automaticaaly adds this to in parent form.
But I need my menu to stick on child form not on parent form.How can this be done.How can I plac emenu on child form.
Thanks & Regards
|
|
|
|
|
If you use MDI forms (Multi Document Intercace) that behavior is normal and expected.
What do you intend with parent and child forms?
How do you open the child form?
[ITA] Tozzi ha ragione: Gaia si sta liberando di noi.
[ENG] Tozzi is right: Gaia is obliterating us.
|
|
|
|
|
Dario Solera Thanks for ur message.
I am opening child form from Main Menu command in parent form.My child form also contains a Main Menu.But when I open my child form its menu goes to parent form just next to help menu.
I want That my child form menu remains on my child form.
Thanks
|
|
|
|
|
Hi all! i have a read and write function which call from method in other class.. instead of either can read or write at a time,i want to make it both can work at the same time(i want to communicated via serial port).Does anybody know how to do it?
using System;
using System.Text;
namespace yong
{
public class Class2
{
static void Main(string[] args)
{
// Convert string to byte array and send
string x = Console.ReadLine();
byte[] byteDateLine = Encoding.ASCII.GetBytes( x.ToCharArray() );
port CommPort = new port();
CommPort.Open();
CommPort.Write(byteDateLine);
//Convert Byte to String
//string sBuffer = Encoding.ASCII.GetString(dcbCommPort.Read(10));
//Console.WriteLine( sBuffer.ToString() );
}
}
}
|
|
|
|
|
Assuming hte port allows it, try running the methods on different threads. Otherwise, each method will only be called when the last method ends. Why do you need them to be intermixed ? I suspect the end result will be the same, in terms of speed, unless you're on a multi CPU machine.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I am not so familliar with threads methods.May you try to edit for me?thank a lot!How about i use While loop and at the same time inside the While loop contain a if-else loop?
|
|
|
|
|
levi`s wrote:
I am not so familliar with threads methods.May you try to edit for me?
MSDN[^] has plenty of example code.
levi`s wrote:
How about i use While loop and at the same time inside the While loop contain a if-else loop?
Well, they would still be on the same thread, but if you put the write and read code in the same loop, that would make them both happen together, but I don't see how it would get faster as a result.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
thanks for your advice..i think using thread is better...may you help me to edit my source code using thread?i am just a very new beginner in c#..I need your help a lot.Thank so much!
|
|
|
|
|
Using threads is cleaner, but the code is a lot harder to debug, and I doubt it will be any faster, it will just be interspersed, which seems to be what you're hoping for. If you read the MSDN articles, they should give you a good start. Whatever you try, just post your code here if you get stuck ( i.e. as a new question ) and I'd be happy to help.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
ok thanks!i will try to do it!
|
|
|
|
|
hi
im new to anything to do with IDE, c#, database...
im doing an app using visual studio .net 2003...
i want to create a database that supports a lot of data...
is mySql the best choice for me?
if so, how do i go about creating the database and adding sample data to the database? after that is done i also want to retrieve data from database to my form as well as to update data from my form to database...
is there anything i need to download and what do i've to download to begin?
are there any templates or completed projects with codes available on the net as a reference for a newbie like me?
thanks!
|
|
|
|
|
nidhelp wrote:
i want to create a database that supports a lot of data...
is mySql the best choice for me?
No, mySQL is kind of crap. If you want a free database, try MSDE, or SQL Server Express[^].
nidhelp wrote:
how do i go about creating the database and adding sample data to the database?
Buy a book on SQL, or download the documentation and samples and look through them.
nidhelp wrote:
after that is done i also want to retrieve data from database to my form as well as to update data from my form to database...
Again, look through the samples first, read the books online ( assuming they come with Express Ed. ), etc.
Christian Graus - Microsoft MVP - C++
|
|
|
|