|
Dinesh, I have used the same code from code project only and it’s working just fine for me...
So please specify where exactly u r facing problem...
~Anuj~
|
|
|
|
|
Hi Anuj,
Anuj which version of IE are you using ? I am using IE 7. Can you capture a web page like gmail inbox. and http://www.php.net ?
Thanks
Dinesh
|
|
|
|
|
Hi,
I need to receive raw Kerberos token to access Exchange 2007 by IMAP. To archive this I did the following:
<br />
KerberosToken token= new KerberosToken ("imap/<EXCHANGE_HOST_SERVER_NAME>@<DOMAIN_NAME>");<br />
byte[] rawToken = token.RawData;<br />
But there is no access to Exchange server using this token. What is wrong?
|
|
|
|
|
Sorry if this is a dumb question but I am pretty new to .net c#. I want to use a button click to send a person from tabpageA to tabpageB with the focus/cursor in txtfieldA could someone please point me in the right direction on how to do this. Thanks.
Brad
|
|
|
|
|
Sorry guys I figured it out with the tabcontrol.selectedindex = 2 and txtfield.focus() entries on click of button. Knew it was something simple.
|
|
|
|
|
Hello,
Berdril wrote: to send a person from tabpageA to tabpageB
The Instance of your TabControl, where your TabPages are placed, provides the properties:
SelectedTab
SelectedIndex
If you know the instance of TabPage where you want to jump use:
yourTabControl.SelectedTab = yourTabPagetogo;
The TextBox (which is derived from Control) provides a method:
Focus
yourTextBoxToSetFocues.Focuse();
Oooops, too slow!
All the best,
Martin
|
|
|
|
|
hi there,
i m trying to get selectednode text from treeview but it always show previous selectednode (for example : if "abc" is already selected when forms load and now i select "efg" node then C# shows the selectednode "abc" and when i select another node then it shows "efg" node)
i tried it in click, mouseclick, nodemouseclick events of treeview
is this C# bug or i m doing mistake....?
Becoming Programmer...
|
|
|
|
|
It's better if you write in "AfterSelect" event.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
oh i got it thanks
Becoming Programmer...
|
|
|
|
|
Help me please !
How can I monitor an application if it start or not using C# 2.0.
Ex : I want to write an app that monitor another app if it start or not. When it start another will start automatically after 5 minutes.
Thanks a lot !
|
|
|
|
|
chuongkl77 wrote: How can I monitor an application if it start or not using C# 2.0.
Try this code.
<br />
Process[] processes=Process.GetProcessesByName("appName");
if (processes.Length > 1){<br />
Console.WriteLine("Oh my god!! it started running... So, I should start too..");<br />
return;<br />
}<br />
else{<br />
Console.WriteLine("I will sleep as long as that one is sleeping");<br />
}<br />
Note: Checking processes should be done in Window Service.
Hope it helps.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Michael Sync wrote: Console.WriteLine("Oh my god!! it started running...
|
|
|
|
|
Hello,
Michael Sync wrote: Oh my god!! it started running
I also like this one!
But, you should allways dispose your process instances!!!
All the best,
Martin
|
|
|
|
|
Martin# wrote: I also like this one!
Martin# wrote: But, you should allways dispose your process instances!!!
Yeah. I agreed with you.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Hi,
I was just wondering if anyone knows how to set the root folder for a DirListBox so that it is the topmost folder shown in this control.
Thank you heaps.
I am a SysAdmin, I battle my own daemons.
|
|
|
|
|
What's a DirListbox control? Is this a standard .NET WinForms or WPF control?
|
|
|
|
|
It is a control that appears in My User Controls and when it is added, its fully qualified name is:
Microsoft.VisualBasic.Compatibility.VB6.DirListBox dirListBox1;
I am a SysAdmin, I battle my own daemons.
|
|
|
|
|
Is this not what you want??
dirListBox1.Path = "d:";
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Hi (Judah and Michael)
Thanks for taking the time to answer my post. However I have tried your suggestion already. Say that my directory has:
D:\
|
|--Node1
| |
| |--Node1A
| |
| |--Node1B
|
|--Node2
I want the API or set of API's such that when I set the "root" through these as Node1, I will only see Node1 (as the root) and all its child nodes. The Path property sets the current selected folder but still has the drive letter as root and everything else visible.
Hope this makes my intent clearer? Regards y'all
I am a SysAdmin, I battle my own daemons.
|
|
|
|
|
Okay. I got your point..
I think, it can't be done with DirList control. So, I would suggest you to try with TreeView .NET control and DirectoryInfo..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Ah, ok. I'm not sure that the C# forum is the best place for this question then, perhaps VB.NET forum.
Just browsing the class in reflector, does the Path property do what you want?
|
|
|
|
|
well ma question.. im making a game in c#...
m using pictureboxes and i made array of pictureboxes...
m using 4 players images to move around the array from 1 to 100
problem is.. if a picturebox contains an image already and another player comes with the same number.. the first image vanishes and second overwrites it..
if.. an image already exists in the picturebox.. it should not overwrite it.. rather it should send the previous image to an arraylist probably and place the second one there, when second player moves it it retrieves it..
i dont know how to save and retrive that 1st picture present in the picturebox... m using gif files!!
plzzzzh help me out!!
its bout ma project.. plz be quick!
UMAIR
|
|
|
|
|
Hi,
PictureBox.Image is a property with getter and setter, so you can copy the reference
of the image a PB is holding, then set a new reference to show another image.
The image files (GIF) are not relevant; once they got loaded in memory, they all are
just images.
you do know that words such as urgent don't impress people overhere, and neither
does street language nor SMSspeak...
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Please read the forum guidelines. You should title your messages with some meaning. We don't care if it is urgent for you. Also stop using text speak.
_____________________________________________
Flea Market! It's just like...it's just like...A MINI-MALL!
|
|
|
|
|
My application writes and reads file on disk. It works well, but sometimes, I meet an exception that warns: access to my file is denied. Please help me solve this problem. Thank you very much.
|
|
|
|