Click here to Skip to main content
15,912,207 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Cross threading.. Pin
Paul Conrad13-Nov-08 5:54
professionalPaul Conrad13-Nov-08 5:54 
AnswerRe: Cross threading.. Pin
Dave Kreskowiak13-Nov-08 4:21
mveDave Kreskowiak13-Nov-08 4:21 
QuestionClose an excel opened in AxWebBrowser Pin
nishkarsh_k12-Nov-08 17:56
nishkarsh_k12-Nov-08 17:56 
AnswerRe: Close an excel opened in AxWebBrowser Pin
Nanda_MR12-Nov-08 19:52
Nanda_MR12-Nov-08 19:52 
GeneralRe: Close an excel opened in AxWebBrowser Pin
nishkarsh_k12-Nov-08 21:49
nishkarsh_k12-Nov-08 21:49 
AnswerRe: Close an excel opened in AxWebBrowser Pin
Rajesh Anuhya12-Nov-08 20:09
professionalRajesh Anuhya12-Nov-08 20:09 
GeneralRe: Close an excel opened in AxWebBrowser Pin
nishkarsh_k12-Nov-08 22:04
nishkarsh_k12-Nov-08 22:04 
AnswerRe: Close an excel opened in AxWebBrowser Pin
Rajesh Anuhya12-Nov-08 22:33
professionalRajesh Anuhya12-Nov-08 22:33 
below code will help u

first get your application process id into a global variable.
then kill that particular process only.if it is have another instance.


Private Sub testingkill()
Dim procid As Integer
procid = Shell("calc", AppWinStyle.NormalFocus) ' Activate the Calculator application.
Try
Try
Dim processList1() As Process
processList1 = Process.GetProcesses
For Each proc As Process In processList1
If proc.Id = procid Then
proc.Kill()
Exit Sub
End If
Next
Catch
End Try
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
Cool | :cool: Cool | :cool: Cool | :cool: Cool | :cool: Cool | :cool: Cool | :cool:

Rajesh B --> A Poor Workman Blames His Tools <--

QuestionHow to make an asynchronous call to a web service in vb.net framework 3.5 Pin
dreddy712-Nov-08 12:18
dreddy712-Nov-08 12:18 
AnswerRe: How to make an asynchronous call to a web service in vb.net framework 3.5 Pin
Paul Conrad12-Nov-08 12:47
professionalPaul Conrad12-Nov-08 12:47 
GeneralRe: How to make an asynchronous call to a web service in vb.net framework 3.5 Pin
dreddy713-Nov-08 4:48
dreddy713-Nov-08 4:48 
GeneralRe: How to make an asynchronous call to a web service in vb.net framework 3.5 Pin
Paul Conrad13-Nov-08 4:50
professionalPaul Conrad13-Nov-08 4:50 
GeneralRe: How to make an asynchronous call to a web service in vb.net framework 3.5 Pin
dreddy713-Nov-08 5:01
dreddy713-Nov-08 5:01 
GeneralRe: How to make an asynchronous call to a web service in vb.net framework 3.5 Pin
Paul Conrad13-Nov-08 5:03
professionalPaul Conrad13-Nov-08 5:03 
GeneralRe: How to make an asynchronous call to a web service in vb.net framework 3.5 Pin
dreddy713-Nov-08 5:07
dreddy713-Nov-08 5:07 
GeneralRe: How to make an asynchronous call to a web service in vb.net framework 3.5 Pin
Paul Conrad13-Nov-08 5:33
professionalPaul Conrad13-Nov-08 5:33 
GeneralRe: How to make an asynchronous call to a web service in vb.net framework 3.5 Pin
Paul Conrad13-Nov-08 5:37
professionalPaul Conrad13-Nov-08 5:37 
GeneralRe: How to make an asynchronous call to a web service in vb.net framework 3.5 Pin
dreddy713-Nov-08 5:57
dreddy713-Nov-08 5:57 
GeneralRe: How to make an asynchronous call to a web service in vb.net framework 3.5 Pin
Paul Conrad13-Nov-08 6:15
professionalPaul Conrad13-Nov-08 6:15 
GeneralRe: How to make an asynchronous call to a web service in vb.net framework 3.5 Pin
dreddy713-Nov-08 6:23
dreddy713-Nov-08 6:23 
GeneralRe: How to make an asynchronous call to a web service in vb.net framework 3.5 Pin
Paul Conrad13-Nov-08 6:29
professionalPaul Conrad13-Nov-08 6:29 
GeneralRe: How to make an asynchronous call to a web service in vb.net framework 3.5 Pin
Paul Conrad13-Nov-08 6:42
professionalPaul Conrad13-Nov-08 6:42 
GeneralRe: How to make an asynchronous call to a web service in vb.net framework 3.5 Pin
Paul Conrad13-Nov-08 6:22
professionalPaul Conrad13-Nov-08 6:22 
QuestionAlign form with Excel Window Pin
craigmg7812-Nov-08 9:19
craigmg7812-Nov-08 9:19 
AnswerRe: Align form with Excel Window Pin
Dave Kreskowiak12-Nov-08 10:42
mveDave Kreskowiak12-Nov-08 10:42 

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.