Click here to Skip to main content
15,891,136 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Moves data From Program Files in VISTA Pin
Anubhava Dimri14-Jul-09 22:26
Anubhava Dimri14-Jul-09 22:26 
QuestionHow to check array contents Pin
KIDYA9-Jul-09 20:34
KIDYA9-Jul-09 20:34 
AnswerRe: How to check array contents Pin
Denis J. González9-Jul-09 20:55
Denis J. González9-Jul-09 20:55 
GeneralRe: How to check array contents Pin
KIDYA9-Jul-09 21:20
KIDYA9-Jul-09 21:20 
GeneralRe: How to check array contents Pin
Denis J. González9-Jul-09 21:28
Denis J. González9-Jul-09 21:28 
AnswerRe: How to check array contents Pin
Luc Pattyn9-Jul-09 22:35
sitebuilderLuc Pattyn9-Jul-09 22:35 
AnswerRe: How to check array contents Pin
dan!sh 9-Jul-09 23:52
professional dan!sh 9-Jul-09 23:52 
QuestionMuliple windows Pin
chrispowell123459-Jul-09 5:59
chrispowell123459-Jul-09 5:59 
Hi there,

I'm creating a menu system (using visual basic 2008 express) used to fire off other applications (not .net) in the same window. I've found source code relating to the issue so that the fired off application opens up, then it finds the window by the process name ("process" here) and changes it so it is a child of the vb form window. This works a treat, however when it is minimized in the vb (parent) window It cannot be restored:


Private hchild As IntPtr
Private hParent As IntPtr
Private Declare Function FindWindow Lib "user32.dll" Alias "FindWindowA" (ByVal lpClassName As String, _
ByVal lpWindowName As String) As IntPtr
Private Declare Function SetParent Lib "user32.dll" (ByVal hWndChild As IntPtr, _
ByVal hWndNewParent As IntPtr) As IntPtr
..................................................................
process.Start()
Threading.Thread.Sleep(1000)
hchild = FindWindow(vbNullString, "process")

If hchild.ToInt32 <> 0 Then
hParent = SetParent(hchild, Me.Handle)
End If

I can still see the minimised application but cannot select it. Any help or a point in the right direction to a general overview on the subject (I did look but couldn't find anything, well much that made much sense to me) would be greatly appreciated!
AnswerRe: Muliple windows Pin
0x3c09-Jul-09 6:44
0x3c09-Jul-09 6:44 
AnswerRe: Muliple windows Pin
Dave Kreskowiak9-Jul-09 7:43
mveDave Kreskowiak9-Jul-09 7:43 
Question.Net 1.1 System.Configuration.ConfigurationSettings.AppSettings returning "nothing" Pin
JJDoherty9-Jul-09 4:24
JJDoherty9-Jul-09 4:24 
AnswerRe: .Net 1.1 System.Configuration.ConfigurationSettings.AppSettings returning "nothing" Pin
Dave Kreskowiak9-Jul-09 7:39
mveDave Kreskowiak9-Jul-09 7:39 
GeneralRe: .Net 1.1 System.Configuration.ConfigurationSettings.AppSettings returning "nothing" [modified] Pin
JJDoherty9-Jul-09 8:03
JJDoherty9-Jul-09 8:03 
QuestionInsert file into Oracle blob filed with VB 2008 and Ado Pin
Filippo19749-Jul-09 3:23
Filippo19749-Jul-09 3:23 
AnswerRe: Insert file into Oracle blob filed with VB 2008 and Ado Pin
Dave Kreskowiak9-Jul-09 4:25
mveDave Kreskowiak9-Jul-09 4:25 
GeneralRe: Insert file into Oracle blob filed with VB 2008 and Ado Pin
Filippo19749-Jul-09 22:29
Filippo19749-Jul-09 22:29 
GeneralRe: Insert file into Oracle blob filed with VB 2008 and Ado Pin
Dave Kreskowiak10-Jul-09 3:14
mveDave Kreskowiak10-Jul-09 3:14 
QuestionHow can we get Primary Interop Assemblies installed? Pin
Raheem MA9-Jul-09 1:45
Raheem MA9-Jul-09 1:45 
AnswerRe: How can we get Primary Interop Assemblies installed? Pin
Dave Kreskowiak9-Jul-09 4:23
mveDave Kreskowiak9-Jul-09 4:23 
QuestionQuerInterface fails for an Interface of type IUnknown in VB .NET windows service but the same works in VB .NET forms application Pin
VM JOE9-Jul-09 1:22
VM JOE9-Jul-09 1:22 
AnswerRe: QuerInterface fails for an Interface of type IUnknown in VB .NET windows service but the same works in VB .NET forms application Pin
Dave Kreskowiak9-Jul-09 4:22
mveDave Kreskowiak9-Jul-09 4:22 
QuestionRe: QuerInterface fails for an Interface of type IUnknown in VB .NET windows service but the same works in VB .NET forms application Pin
VM JOE9-Jul-09 8:30
VM JOE9-Jul-09 8:30 
AnswerRe: QuerInterface fails for an Interface of type IUnknown in VB .NET windows service but the same works in VB .NET forms application Pin
Dave Kreskowiak9-Jul-09 10:27
mveDave Kreskowiak9-Jul-09 10:27 
Questionhow can i connect crystal report to sqlserver with vb.net code ? Pin
xingselex9-Jul-09 0:44
xingselex9-Jul-09 0:44 
AnswerRe: how can i connect crystal report to sqlserver with vb.net code ? Pin
helelark1239-Jul-09 0:58
helelark1239-Jul-09 0:58 

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.