Click here to Skip to main content
15,883,901 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
QuestionWhere to store additional files Pin
Mithun.Shitole1-Jul-09 2:53
Mithun.Shitole1-Jul-09 2:53 
AnswerRe: Where to store additional files Pin
Johan Hakkesteegt1-Jul-09 3:04
Johan Hakkesteegt1-Jul-09 3:04 
GeneralRe: Where to store additional files Pin
Mithun.Shitole1-Jul-09 3:10
Mithun.Shitole1-Jul-09 3:10 
AnswerRe: Where to store additional files Pin
Tom Deketelaere1-Jul-09 3:44
professionalTom Deketelaere1-Jul-09 3:44 
AnswerRe: Where to store additional files Pin
TheMrProgrammer1-Jul-09 5:43
TheMrProgrammer1-Jul-09 5:43 
AnswerRe: Where to store additional files Pin
DoctorMick1-Jul-09 5:59
DoctorMick1-Jul-09 5:59 
QuestionRun Crystal Reports without installation Pin
Hypermommy1-Jul-09 2:31
Hypermommy1-Jul-09 2:31 

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.