Click here to Skip to main content
16,017,207 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I created .NET in C# with a control of webbrowser.
But, because the new Internet Explorer 9.0 some control , as "ClipBoard Functions (Ctrl+c , Ctrl+v, Ctrl+v)" doesn't work when i paste, the project .NET in OleControl in my project in Powerbuilder

Does anyone know of something to fix this?

Thanks
Posted
Updated 9-May-20 20:07pm
Comments
Dave Kreskowiak 19-Jan-12 15:20pm    
I've read this 3 times and still can't figure out what you're trying to say or ask.
OliveiraGui 20-Jan-12 4:55am    
What I mean is really what Kethu Sasikanth said
Kethu Sasikanth 19-Jan-12 15:31pm    
Let me understand the question - You have created a C# user control that launches the Webbrowser. Now you are trying to use the user control inside the Powerbuilder project. The PB proj has container control, OleControl, to display the C# user control. Now the Clipboard functions are not working inside the OleControl when PB proj. ran?
OliveiraGui 20-Jan-12 4:56am    
Yes Kethu :)

1 solution

I see this is an old post, but anyway I just have an idea to workaround the problem:
Can You use the PreviewKeyDown event on the C# webbrowser control as an interface between the control and the container control? Maybe you'll need to define that interface as public method/s. Then if you catch the Ctrl+c , Ctrl+v, Ctrl+v keystrokes in one environment and process them in the other (use the appropriate Clipboard functions in each environment) you can implement the desired behavior.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900