Click here to Skip to main content
16,007,687 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCrystal Reports 8.5 to email a batch of reports Pin
Raghvendra Kumar Roy2-Jul-09 1:33
Raghvendra Kumar Roy2-Jul-09 1:33 
QuestionImporting html code using HTMLProject object [modified] Pin
Harold_Wishes2-Jul-09 1:00
Harold_Wishes2-Jul-09 1:00 
Questionhow to drag video from the webbrowser and download it on a button control Pin
bhumika_singh2-Jul-09 0:58
bhumika_singh2-Jul-09 0:58 
Questionprint prview problem Pin
JC.KaNNaN2-Jul-09 0:29
JC.KaNNaN2-Jul-09 0:29 
AnswerRe: print prview problem Pin
Eddy Vluggen2-Jul-09 2:28
professionalEddy Vluggen2-Jul-09 2:28 
GeneralRe: print prview problem Pin
JC.KaNNaN2-Jul-09 3:38
JC.KaNNaN2-Jul-09 3:38 
GeneralRe: print prview problem Pin
Eddy Vluggen2-Jul-09 6:16
professionalEddy Vluggen2-Jul-09 6:16 
AnswerRe: print prview problem Pin
Henry Minute2-Jul-09 6:55
Henry Minute2-Jul-09 6:55 
Questiondatatable from datasource Pin
thesum1-Jul-09 23:39
thesum1-Jul-09 23:39 
AnswerRe: datatable from datasource Pin
Henry Minute2-Jul-09 0:18
Henry Minute2-Jul-09 0:18 
GeneralRe: datatable from datasource Pin
thesum2-Jul-09 3:36
thesum2-Jul-09 3:36 
GeneralRe: datatable from datasource Pin
Henry Minute2-Jul-09 3:58
Henry Minute2-Jul-09 3:58 
GeneralRe: datatable from datasource Pin
thesum2-Jul-09 5:06
thesum2-Jul-09 5:06 
GeneralRe: datatable from datasource Pin
Henry Minute2-Jul-09 5:17
Henry Minute2-Jul-09 5:17 
QuestionListView doubleClick wont fire Pin
Chana Winkler1-Jul-09 22:48
Chana Winkler1-Jul-09 22:48 
Hi all, it's my first time in this forum, I hope you can help.
I have a listview that displays a list of PDF files. When the user clicks on a row (in the "selectedIndexChanged" event), I display the selected PDF underneath the Listview in a Webbrowser control
WebBrowser1.Navigate(sFile)
So far so good.
Additionally, when the user double clicks a row on the ListView (in the "DoubleClick" event), I use
Process.Start(sFile)

where sFile is the name of the PDF file, to open Adobe Acrobat Reader in a separate process.
Now here's the problem: This only works when the user double clicks the currently selected row. If however, the user double clicks on a row that is not selected in the list view, the application produces two "SelectedIndexChanged" events, and no double click event.
What I've discovered is that if I comment out the line
WebBrowser1.Navigate(sFile)

then my code works as expected. A single click produces a "selectedIndexChanged", a double click produces a "selectedIndexChanged" and a "DoubleClick".
So it seems as if calling WebBrowser1.Navigate(sFile) somehow interrupts the events from firing correctly.
Any ideas on how I could solve this issue?
Thank you.

Chana
AnswerRe: ListView doubleClick wont fire Pin
Johan Hakkesteegt1-Jul-09 23:44
Johan Hakkesteegt1-Jul-09 23:44 
GeneralRe: ListView doubleClick wont fire Pin
Chana Winkler7-Jul-09 7:34
Chana Winkler7-Jul-09 7:34 
QuestionPrevent other app's I/O Pin
The real $M@1-Jul-09 20:11
The real $M@1-Jul-09 20:11 
AnswerRe: Prevent other app's I/O Pin
Eddy Vluggen2-Jul-09 0:24
professionalEddy Vluggen2-Jul-09 0:24 
QuestionHow to approach for reports in word. Pin
nazimghori1-Jul-09 16:47
nazimghori1-Jul-09 16:47 
AnswerRe: How to approach for reports in word. Pin
Tom Deketelaere1-Jul-09 22:30
professionalTom Deketelaere1-Jul-09 22:30 
Questionhow to use euresys library in vb 2008 Pin
zhiyuan161-Jul-09 15:30
zhiyuan161-Jul-09 15:30 
QuestionRe: how to use euresys library in vb 2008 Pin
EliottA1-Jul-09 16:31
EliottA1-Jul-09 16:31 
AnswerRe: how to use euresys library in vb 2008 Pin
Dave Kreskowiak1-Jul-09 19:16
mveDave Kreskowiak1-Jul-09 19:16 
QuestionVB.NET 2005 - Refresh Databinding and Reset of Checkboxes Pin
Fry1001-Jul-09 4:35
Fry1001-Jul-09 4:35 

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.