|
hi,
I am creating a editor and i have created a standard toolbar for File main menu.
i.e. A toolbox with new,open,save,saveas toolbox buttons.
Now i want to create a many tool bars of "Docking Toolbars"
e.g.Like Microsoft excel toolbars.
pls help me
With regards
Prasad
-- modified at 6:46 Wednesday 28th February, 2007
|
|
|
|
|
use ToolStripContainer
life is study!!!
|
|
|
|
|
hi,
Thank u for u r reply
can u explain me pls.
With regards
Prasad
|
|
|
|
|
He's already told you. Now that he's told you about ToolStripContainer it should be easy enough for you to take this further and actually do some research on your own.
BTW - please don't use text speak in your messages as it can be difficult to read. Text speak was designed for small screens where removing vowels was necessary to get the words to fit in. I assume that you aren't viewing the forums off your mobile phone, so you have more of a viewing area.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
HI,
I hope u didn't get my question.
see i want to have separate toolboxes for different menuitems
whenever user doubleclicks on it it should go to its position and user can able to reposotion it .
reference microsoft Excel Toolboxes.
Pls help me
With regards
Prasad
|
|
|
|
|
I hope u didn't get my question.
see i want to have separate toolboxes for different menuitems
whenever user doubleclicks on it it should go to its position and user can able to reposotion it .
reference microsoft Excel Toolboxes.
Pls help me
With regards
Prasad
|
|
|
|
|
Hello,
I have created an email application.
Error Message: The remote certificate is invalid according to the validation procedure.
But keep on getting this error message each time I try and send. The remote smtp is working ok as that has been tested using outlook, so i think something to do with my code, or something i have not done.
I have also tested this code using gmail's smtp server:
gmail@smtp.com using my gmail account details. Sent e-mail ok.
The code i am using to connect to a remote server is this below. can anyone tell me if I have done something wrong.
<br />
private void button1_Click(object sender, EventArgs e)<br />
{<br />
MailAddress msgTo = new MailAddress("steve1_rm@hotmail.com");<br />
MailAddress msgFrom = new MailAddress("Steve1.rm@gmail.com");<br />
MailAddress msgSender = new MailAddress("steve1.rm@gmail.com");<br />
<br />
MailMessage mailMsg = new MailMessage();<br />
mailMsg.To.Add(msgTo);<br />
mailMsg.From = msgFrom;<br />
mailMsg.Sender = msgSender;<br />
<br />
SmtpClient client = new SmtpClient("xx.xxx.xx.xxx", 25);<br />
client.Credentials = new System.Net.NetworkCredential("xxxxx@smtp.xxxx", "xxxx");<br />
client.EnableSsl = true;<br />
<br />
try<br />
{<br />
client.Send(mailMsg);<br />
}<br />
catch(SmtpException ex)<br />
{<br />
MessageBox.Show(ex.Message);<br />
}<br />
catch(Exception ex)<br />
{<br />
MessageBox.Show(ex.Message); <br />
}<br />
}<br />
Many thanks if you can help me with this problem,
Thanks,
Steve
|
|
|
|
|
Hey guys,
I'm quite new to C#. I am using Visual C# 2005 Express which I downloaded from Microsoft.
I have searched for a good 30 minutes, and I couldn't find anything which was helpful.
What I want is, when you press control + u another Form comes up. I have tried this:
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.ControlKey && e.KeyCode == Keys.U)
{
username myUsernameDialog = new username();
myUsernameDialog.ShowDialog();
}
}
However, that doesn't work. I really do not know where to go from here.
Thanks in advance,
- Gordon
|
|
|
|
|
hi
This is working. Change the control condition as given below:
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
if (e.Control == true)
{
if (e.KeyCode == Keys.U)
{
Form2 a = new Form2();
a.ShowDialog();
}
}
}
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Thank you. Harini
|
|
|
|
|
Hmm...
That doesn't work for some reason :S
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
if (e.Control == true)
{
if (e.KeyCode == Keys.U)
{
MessageBox.Show("Yay!");
username a = new username();
a.ShowDialog();
}
}
}
It compiles/runs fine, but it just doesn't work. Do you know what the problem could be?
Cheers!
p.s. I voted 4/5.
|
|
|
|
|
Hello,
You have to set the "KeyPreview" property to "true" at your Form?
this.KeyPreview=true;
All the best,
Martin
-- modified at 8:00 Wednesday 28th February, 2007
|
|
|
|
|
Thanks mate, that did it! I told you I was new :P
|
|
|
|
|
I have a user control on my asp.net page . This user control has 4 buttons on click of these buttons a new page opens below these user controls. Now after the page is opened and i click anwhere on the page the focus goes to 1st button in user control irrespective of the button i click. Hence when my user hits enter every time the first page opens. I have checked the code and there is no focus set for this in my code. I dont understand why it is happening. I wnt that when the user select a button the focus remains on it even if i click on the page.could some body help me..... I require it.............
-- modified at 5:34 Wednesday 28th February, 2007
|
|
|
|
|
Please don't use all capitals. I lost heart halfway through and stopped reading what you had written because it is just too much to read. Please use mixed casing.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Do you use a postback to open the page below? If you do, then this is the cause of your problem, because ASP.NET doesn't maintain state like this between roundtrips. You could always use JavaScript to set the focus automatically.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
hi ...
how can create an application that don't show in "task manager-- ctrl+alt+del"
|
|
|
|
|
i don't think so................
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
if you are building any desktop base application then don't write anything in the Text property of Form.
|
|
|
|
|
thank you
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
Why would you want to do this? This is the "holy grail" for virus writers.
You should never prevent the user from being able to kill your process because you can't foresee every eventuality, and if your application becomes a memory hog for some reason the user may want to kill it.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Pete O`Hanlon wrote: Why would you want to do this? This is the "holy grail" for virus writers.
Asked and answered.
--
Rules of thumb should not be taken for the whole hand.
|
|
|
|
|
But if he's so inept that he doesn't know how to use Google, we don't really have much to worry about.
|
|
|
|
|
ROTFLMAO
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
I want to make a secure erase file tool using c#. I know that there are some rules to be followed when making such a tool(overwriting the file many times,renaming, truncating and than deleting), but i didn't manage to find a document or some site where all this is explained (all i found so far are tons of programs that offer me secure delete solutions, and some well written but old linux document on this matter ... from 96 till now thing have changed a bit ...). Can any of you offer me some recent documentation, or pointers on this ? Thanks.
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. -Gerald Weinberg
|
|
|
|
|
hey,
i am developing an application, and i need to use something like voice recognition, but this time i want to recognize a sound in a video file, so i thought that i might write the code first to convert video formats to sound formats, and then use speech sdk to recognize that sound.
please could anyone tell me, how can i convert the video formats to sound, through C# code, or if there is another way to recognize that sound in video files.
waiting fro reply
thanx in advance.
--
Cordially,
AmroDigital
|
|
|
|