Click here to Skip to main content
15,896,557 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: AppActivate and Send Keys not working correctly Pin
CARisk315-Apr-09 3:27
CARisk315-Apr-09 3:27 
GeneralFind some code but not understanding it Pin
CARisk315-Apr-09 8:26
CARisk315-Apr-09 8:26 
QuestionVB.net Listbox: load listbox from folder, show only file name, click to open file in textbox Pin
trujade14-Apr-09 12:12
trujade14-Apr-09 12:12 
AnswerRe: VB.net Listbox: load listbox from folder, show only file name, click to open file in textbox Pin
Christian Graus14-Apr-09 22:09
protectorChristian Graus14-Apr-09 22:09 
AnswerRe: VB.net Listbox: load listbox from folder, show only file name, click to open file in textbox Pin
trujade12-Dec-09 5:24
trujade12-Dec-09 5:24 
QuestionVisual Studio 2008 Web Browser Control Pin
AndyASPVB14-Apr-09 11:15
AndyASPVB14-Apr-09 11:15 
AnswerRe: Visual Studio 2008 Web Browser Control Pin
Christian Graus14-Apr-09 22:11
protectorChristian Graus14-Apr-09 22:11 
AnswerRe: Visual Studio 2008 Web Browser Control Pin
Andy Missico15-Apr-09 1:51
Andy Missico15-Apr-09 1:51 
1) This is a security issue that is not supported by the web browser control. Imagine the security risk if someone could change settings for each of the different security zones. To disable scripting, I strip the script from the page. (An exercise left to the reader.)

2) My.Settings is perfect for what you want to do. Bring up the properties for the web browser control, select (ApplicationSettings) then (PropertyBinding), scroll down to Url, expand the drop-down list, then select "new..." The rest is up to you.

3) Use <code>WebBrowserShortcutsEnabled</code> property. Check the documentation for this property, specifically the Remarks and Example sections. Following is my standard initialization for a "concealed" web browser control.

Private Sub InitializeBrowserHelper()
_browseHelper = New System.Windows.Forms.WebBrowser
_browseHelper.AllowWebBrowserDrop = False
_browseHelper.IsWebBrowserContextMenuEnabled = False
_browseHelper.WebBrowserShortcutsEnabled = False
_browseHelper.ScriptErrorsSuppressed = True
AddHandler _browseHelper.DocumentCompleted, AddressOf _browseHelper_DocumentCompleted
End Sub
QuestionUnable to emit assembly: Referenced assembly 'Interop.ADODB' does not have a strong name Pin
MarcelloTurnbull14-Apr-09 8:46
MarcelloTurnbull14-Apr-09 8:46 
AnswerRe: Unable to emit assembly: Referenced assembly 'Interop.ADODB' does not have a strong name Pin
Andy Missico15-Apr-09 0:29
Andy Missico15-Apr-09 0:29 
QuestionFile Search Pin
anandbpsri14-Apr-09 7:02
anandbpsri14-Apr-09 7:02 
Answerignore! Pin
Luc 64801114-Apr-09 7:27
Luc 64801114-Apr-09 7:27 
AnswerRe: File Search Pin
Yusuf14-Apr-09 12:03
Yusuf14-Apr-09 12:03 
AnswerRe: File Search Pin
Dalek Dave14-Apr-09 22:19
professionalDalek Dave14-Apr-09 22:19 
GeneralFile Searching [moved] Pin
anandbpsri14-Apr-09 7:01
anandbpsri14-Apr-09 7:01 
GeneralRe: File Searching Pin
Eytukan14-Apr-09 7:17
Eytukan14-Apr-09 7:17 
AnswerRe: File Searching [moved] Pin
0x3c014-Apr-09 10:26
0x3c014-Apr-09 10:26 
QuestionCreate new insatance of Visual Basic Class Pin
Deepak the Cool14-Apr-09 1:33
Deepak the Cool14-Apr-09 1:33 
AnswerRe: Create new insatance of Visual Basic Class Pin
Dave Kreskowiak14-Apr-09 5:32
mveDave Kreskowiak14-Apr-09 5:32 
Questioninvoke batch file from server Pin
p_196014-Apr-09 1:04
p_196014-Apr-09 1:04 
AnswerRe: invoke batch file from server Pin
Dave Kreskowiak14-Apr-09 5:24
mveDave Kreskowiak14-Apr-09 5:24 
GeneralRe: invoke batch file from server Pin
p_196014-Apr-09 6:23
p_196014-Apr-09 6:23 
GeneralRe: invoke batch file from server Pin
Dave Kreskowiak14-Apr-09 15:16
mveDave Kreskowiak14-Apr-09 15:16 
AnswerRe: invoke batch file from server Pin
nlarson1114-Apr-09 5:33
nlarson1114-Apr-09 5:33 
QuestionExcel file does not close in task manager Pin
Anoop Brijmohun13-Apr-09 23:11
Anoop Brijmohun13-Apr-09 23:11 

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.