Excellent.. just what i was looking for. Thanks a ton!! :-D
*** Who said nothing is impossible? I have been doing it for a long time ***
Excellent.. just what i was looking for. Thanks a ton!! :-D
*** Who said nothing is impossible? I have been doing it for a long time ***
Hi all, I am using a Microsoft Web Browser control in my C# application. I wish to disable right click context menu in it. Can anyone please tell me how do i achieve that. I searched for a few article here, but they were not of much help. Please help. Thanks in advance.
*** Who said nothing is impossible? I have been doing it for a long time ***
Hi All, I have been making a user control. (VS 2003) I wish to handle its mouse events.. something like, the control background should turn red on MouseDown, and become white again on MouseUp. I added the MouseDown and MouseUp event handlers and tried changing its BackColor on MouseDown and MouseUp events. After building and adding this control to another application, i found that the color does not change. Do i have to create my own events for this. I am not able to understand why this is not working. Can anyone help me out with this. I am new to C#. Thanks in advance.
*** Who said nothing is impossible? I have been doing it for a long time ***
Try deleting that reference from the project and include it afresh. That might work. :~
*** Who said nothing is impossible? I have been doing it for a long time ***
Hi Christian, Thanks for the reply. I managed to find the control. It is called the Microsoft Web Browser. Thanks for the same. I went through some articles here to help me with disabling context menu in this browser, but could not get it to work. can you please tell me how exactly am i supposed to do it. Or can you point me to any good article where this has been given. Thanks in advance.
*** Who said nothing is impossible? I have been doing it for a long time ***
Hi hristo1977, Well it happened with me once too. When you specify a resource in your project, VS does not copy that resource to your project. It just takes a reference of that resource which is actually present on your hard drive. If you have chose the option to embed that resource in your build, then that resource is embedded during compile time. Meaning, at no time, it is actually included into your project. So, you need to check if the resource it points to is actually present on your drive. Click the resource and check out its path in the properties window and make sure it points to the right thing. Hopefully it was helpful. :)
*** Who said nothing is impossible? I have been doing it for a long time ***
Hi all, Today i went crazy :wtf: looking out for a web control for C# in Visual Studio 2003. I read somewhere that one can drab-drop a IE control in one's form. But i am not able to locate :confused: this control. X| My requirement is to display display an HTML page in the control and if possible able to display using html string. Meaning, the control should be able to render the html code i pass to it. Is there a better control available here on CP. I could not find any. Please help me. Thanks in advance.
*** Who said nothing is impossible? I have been doing it for a long time ***
thanks man.
*** Who said nothing is impossible? I have been doing it for a long time ***
hi WhiteSky.. Thanks for the response. Sorry, i couldnt get that property. Can you please specify which VS version you are using. I am using 2003. Or is it that i am not looking in the right place. Thanks.
*** Who said nothing is impossible? I have been doing it for a long time ***
Hi, I have a client application in which i first do a Create() and then Connect() to connect to my server application. The problem is that even if i dont start the server application, i get the Connect() return value as WSAEWOULDBLOCK and no other error value. How do i determine correctly whether the server is actually available or not ? Am i doing anything wrong ? Thanks in advance.
*** Who said nothing is impossible? I have been doing it for a long time ***
Thanks Cedric. that's a pretty nice trick. Thanks a lot.
*** Who said nothing is impossible? I have been doing it for a long time ***
Hi, I wish to draw a horizontal line in a dialog to delimit two sets of controls. But i cannot find any such thing on the tools panel. Can anyone please help me out with that ? Thanks in advance.
*** Who said nothing is impossible? I have been doing it for a long time ***
well, steve, what i suggested was the simplest way and the basic algorithm. If the need of checking inside strings is required, then it could very well be checked too. There could be several other requirements too. All of them could be simply built over that basic algo.
*** Who said nothing is impossible? I have been doing it for a long time ***
So, does that mean that whenever i need to send a message, i need to raise a flag and then in OnSend() send the message only when that flag is set ? Is it the way it is done in standard programs. Please help. thanks in advance.
*** Who said nothing is impossible? I have been doing it for a long time ***
I dont think that it would require any special programming. Whenever you get a /*, you will have to search for a */. If you get any /* nested inside a /*, then you will have to ignore it. Set a flag to indicate that you have already got a /*, then ignore subsequent /* while the flag is on. When you get a */, just put off the flag and consider the whole part as a commented area. Hope it helps.
*** Who said nothing is impossible? I have been doing it for a long time ***
Hi all, I am using CAsyncSocket derived class for a client server application. I am quite confused about the OnSend() function. When i send any data using Send(), then why exactly do i need OnSend(). What i mean is, if i have already sent the data using Send() do i need to send it again in OnSend(). For OnReceive() i understand that whenever there is some data available in the buffer, it will be called and we can receive the message. There is no special requirement to call Receive() explicitly outside, so that OnReceive() will be called. Can anyone please answer that. To put it more clearly, do i need to implement OnSend() to send out data ? Thanks in advance.
*** Who said nothing is impossible? I have been doing it for a long time ***
Hmm.. seems to be cool. I hope it compiles on VS8 ! Thanks a lot.
*** Who said nothing is impossible? I have been doing it for a long time ***
David, Thanks for the reply. Saving the string to a temp HTML file and then displaying it would be quite cumbersome. Any other way to directly get the string code to work?? Thanks.
*** Who said nothing is impossible? I have been doing it for a long time ***
Thanks Maximilien, I had tried that.. but it doesnt compile on VS 8. Any idea, if there is any modified version of the same. Thanks.
*** Who said nothing is impossible? I have been doing it for a long time ***
Hi I am developing a dialog based application. I require an HTML Control in which i can show the content by passing the html code in string form. I searched and found one, but it doesnt compile on Visual Studio 8. Can anyone point me to any such existing application here. Thanks in advance.
*** Who said nothing is impossible? I have been doing it for a long time ***