|
Oops, seems like I'm a bit too used to VS.NET.
For some reason VS.NET insists on putting that attribute on the main() method when auto generating a main class....
"After all it's just text at the end of the day. - Colin Davies
"For example, when a VB programmer comes to my house, they may say 'does your pool need cleaning, sir ?' " - Christian Graus
|
|
|
|
|
Is there any API to judge if card be inserted into the socket of a cardreader?
|
|
|
|
|
Winodws doesn't have anything like this. You would need to consult with the Software Development Kit documentation for the device your working with, IF one exists.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi all,
I want to add menu items when the user clicks the icon at the task bar at the bottom of the pocket pc. But I can't find code on it. The only code I found is that it can only launch a form when the user click the icon at the task bar, but not launch a item menu just over the task icon.
So are there any reference for it ?
Thanks
|
|
|
|
|
Since your question is platform specific and has nothing to do with C# at all, you might want to ask this in the Embedded/Mobile Forum[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
how can i merge dll's into one dll?
|
|
|
|
|
You want to merge two or more unmanaged .dlls or managed ?
Sreejith Nair
[ My Articles ]
|
|
|
|
|
i want to merge managed dlls...
|
|
|
|
|
|
all of dll's that windows uses are not inthe coorect form to use with VS.Net so we have to import them but i dont know how to extract the methods,object ,etc from them.in msdn there a few of them ...
help me...
|
|
|
|
|
|
|
Hi!
I am currently working on a tfmx (amiga sound format) player in c#. At the moment it reads correctly header and sound samples, macros and patterns.
But i don't have any idea how to output the audio files. Never wrote a music player but i can't rest till i finished this job.
I would really appreciate some help.
Greetings
|
|
|
|
|
|
You could also try using the latest version of Managed DirectX.
Playing audio with that is quite simple.
Try searching the articles for examples.
Kev
|
|
|
|
|
hello,
I made a simplest chatting application using UdpClient, it was working fine until I installed Win XP SP2. Now the messages are not being received at the other end. No Exceptions, nothing at all.
I even disabled the Windows Firewall that comes with SP2, still no hope. My application is still working fine on loopback, but nothing after it. I am using port 20052.
Can anyone explain what am I missing?
Regards,
Zishan
|
|
|
|
|
The reason may cause of security and firewall features avilable in XP SP2. What you can do is find out proper restriction areas where your client communicate with your requested machine.
And i recommand you to read more about Features and Techinical Overviews of SP2.
Learn About SP2
Techinological Overview This will give you some more ideas.
Techinical Look At SP2
Sreejith Nair
[ My Articles ]
|
|
|
|
|
Thanks for the reply.. yes it started working.. nice articles..
Regards,
Zishan
|
|
|
|
|
In my customer form there are few text box's for enter Data.i have set up sequence of tab no's for those text box's.What i want is to move cusor from
text field 1 to text field 2 by pressing Enter Key.
How can i do this by using c#.
Can any one Please Help me.
Amal
|
|
|
|
|
Place the following code in textbox1's keydown event. Repeat for all other textboxes accordingly.
private void textBox1_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
textBox2.Focus();
}
|
|
|
|
|
Here is a better solution. Place this code in a common keydown event between all the textboxes. Then set the taborder of the textboxes in the order that they sould be focussed.
private void textBox1_KeyDown_1(object sender, System.Windows.Forms.KeyEventArgs e)
{
int i = ((TextBox)sender).TabIndex;
if (e.KeyCode == Keys.Enter)
{
foreach (Control c in this.Controls)
{
if (c is TextBox)
{
if (((TextBox)c).TabIndex == i + 1)
{
c.Focus();
}
}
}
}
}
|
|
|
|
|
To set and view the Tab order, On the View menu, choose Tab Order which is avilable in .NET IDE.
to select control using enter key, use below mentioned code block.
private void Form1_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)<br />
{<br />
<br />
if(e.KeyValue==13)<br />
{<br />
this.SelectNextControl(this.ActiveControl,true,true,false,true);<br />
}<br />
<br />
}
The above code block is only tip to achive your requirement.
Please see more details on SelectNextControl Method for different style of selection and parameter types in MSDN.
Sreejith Nair
[ My Articles ]
|
|
|
|
|
Sreejith, Sorry for the interruption in between. I doubt whether Form's KeyDown event will get fired, If textBox has the focus.
I feel, It would not solve the purpose. You should call the SelectNextControl method in the KeyDown Or KeyUp event of the textbox.
|
|
|
|
|
Dear friens,
Above problem working with windows forms.but my problem is how do we apply above things in webforms.cas in asp.net ,textbox don't have focus property right.
How we set enter key operations on asp.net.
Thanks
|
|
|
|
|
does any one know how to make a grand staff since i think i would have to use gdi+ since .net doesn't support making custom controls, any ideas on how to start though?
IM PROUD TO BE A GMAIL;
|
|
|
|