Click here to Skip to main content
15,887,083 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: error handling Pin
Dave Herren22-May-07 3:55
Dave Herren22-May-07 3:55 
Questionwininet in vb.net Pin
psiva198422-May-07 2:22
psiva198422-May-07 2:22 
AnswerRe: wininet in vb.net Pin
Dave Kreskowiak22-May-07 17:42
mveDave Kreskowiak22-May-07 17:42 
GeneralRe: wininet in vb.net Pin
psiva198422-May-07 18:52
psiva198422-May-07 18:52 
GeneralRe: wininet in vb.net Pin
psiva198423-May-07 1:17
psiva198423-May-07 1:17 
GeneralRe: wininet in vb.net Pin
Dave Kreskowiak23-May-07 15:36
mveDave Kreskowiak23-May-07 15:36 
QuestionHow to disable Ctrl P keys of webbrowser control Pin
koolprasad200322-May-07 2:07
professionalkoolprasad200322-May-07 2:07 
AnswerRe: How to disable Ctrl P keys of webbrowser control Pin
codemunkeh22-May-07 10:12
codemunkeh22-May-07 10:12 
Solution 1:
Try setting the WebBrowserShortcutsEnabled to false. This stops my control from doing anything on Ctrl+P, however the program I checked it in had a keypress handler on the form itself.

Solution 2:
Handle the webbrowser's KeyUp event:

If e.KeyCode = Keys.P Then<br />
If e.Control Then<br />
' do nothing with this.<br />
e.Handled = True<br />
End If<br />
End If


It ought to be that setting e.Handled as true will stop the control from doing anything when Ctrl+P is pressed.
BTW it needs to be KeyUp because KeyPress has no easily accessible value (and is a pain).


Yet another spam post on yet another forum!
I am the lazy one, who sleeps as it suits him, codes what he wishes, and has many years to look forward to.
I love being a student.

GeneralRe: How to disable Ctrl P keys of webbrowser control Pin
koolprasad200322-May-07 18:53
professionalkoolprasad200322-May-07 18:53 
Questionhelp meeeeeee.......... Pin
choorakkuttyil22-May-07 1:42
choorakkuttyil22-May-07 1:42 
AnswerRe: help meeeeeee.......... Pin
ne0h22-May-07 2:19
ne0h22-May-07 2:19 
AnswerFrequent message title abuser! Pin
leckey22-May-07 3:08
leckey22-May-07 3:08 
QuestionExport from Crystal report to MS Access Pin
charchabil0322-May-07 1:23
charchabil0322-May-07 1:23 
QuestionHow to compare two types Pin
eschem22-May-07 1:03
eschem22-May-07 1:03 
AnswerRe: How to compare two types Pin
RichardBerry22-May-07 1:36
RichardBerry22-May-07 1:36 
GeneralRe: How to compare two types Pin
eschem22-May-07 2:27
eschem22-May-07 2:27 
GeneralRe: How to compare two types Pin
RichardBerry22-May-07 2:40
RichardBerry22-May-07 2:40 
GeneralRe: How to compare two types Pin
eschem22-May-07 4:33
eschem22-May-07 4:33 
Questionhow to add "publisher" in office 2007 addin Pin
prashant pissey22-May-07 0:57
prashant pissey22-May-07 0:57 
QuestionHow do you change Target Framework Pin
RichardBerry22-May-07 0:56
RichardBerry22-May-07 0:56 
AnswerRe: How do you change Target Framework Pin
Christian Graus22-May-07 1:12
protectorChristian Graus22-May-07 1:12 
QuestionDeploment project Pin
taherjaorawala22-May-07 0:26
taherjaorawala22-May-07 0:26 
AnswerRe: Deploment project Pin
kubben22-May-07 3:28
kubben22-May-07 3:28 
QuestionCann't find DLL entry point in **** dll [modified] Pin
AR Reddy21-May-07 23:24
AR Reddy21-May-07 23:24 
AnswerRe: Cann't find DLL entry point in **** dll Pin
MohammadAmiry22-May-07 0:22
MohammadAmiry22-May-07 0:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.