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

Visual Basic

 
QuestionDataGridView's Cell as Multiline Vb.Net 2008 Pin
Paramu197322-Dec-10 0:55
Paramu197322-Dec-10 0:55 
AnswerRe: DataGridView's Cell as Multiline Vb.Net 2008 Pin
dan!sh 22-Dec-10 3:12
professional dan!sh 22-Dec-10 3:12 
GeneralRe: DataGridView's Cell as Multiline Vb.Net 2008 Pin
Paramu197322-Dec-10 20:15
Paramu197322-Dec-10 20:15 
QuestionGetting filename of current window/application [SOLVED] Pin
Yance Lawang21-Dec-10 23:32
Yance Lawang21-Dec-10 23:32 
AnswerRe: Getting filename of current window/application Pin
Eddy Vluggen22-Dec-10 0:37
professionalEddy Vluggen22-Dec-10 0:37 
AnswerRe: Getting filename of current window/application Pin
Dave Kreskowiak22-Dec-10 2:17
mveDave Kreskowiak22-Dec-10 2:17 
GeneralRe: Getting filename of current window/application Pin
Yance Lawang22-Dec-10 3:59
Yance Lawang22-Dec-10 3:59 
GeneralRe: Getting filename of current window/application Pin
Dave Kreskowiak22-Dec-10 7:50
mveDave Kreskowiak22-Dec-10 7:50 
Unless you are REALLY familiar with Win32 and how process, modules, handles, ... work, you're going to find this very difficult to do. There are no built-in functions in VB6 that will do this for you and WMI will not help either.

Basically, once you get the window handle, you'd have to get the ThreadId that owns the window handle using the Win32 function GetWindowThreadProcessId. Once you've got the ProcessId, you can use it to get the process information. You can get the steps and functions required from this article[^], but all the code is in C++. You'll have to Google around for any examples of the functions use in VB6. I don't have any examples since I dropped all VB6 use almost 10 years ago.

GeneralRe: Getting filename of current window/application Pin
Yance Lawang23-Dec-10 3:05
Yance Lawang23-Dec-10 3:05 
QuestionCheck Box Problem Pin
Leinad_3021-Dec-10 12:11
Leinad_3021-Dec-10 12:11 
AnswerRe: Check Box Problem Pin
Luc Pattyn21-Dec-10 12:25
sitebuilderLuc Pattyn21-Dec-10 12:25 
AnswerRe: Check Box Problem Pin
Dr.Walt Fair, PE21-Dec-10 15:56
professionalDr.Walt Fair, PE21-Dec-10 15:56 
AnswerRe: Check Box Problem Pin
Dave Kreskowiak21-Dec-10 18:18
mveDave Kreskowiak21-Dec-10 18:18 
QuestionInsert data to database tables [modified] Pin
ivo7521-Dec-10 8:21
ivo7521-Dec-10 8:21 
AnswerRe: Insert data to database tables Pin
phil.o21-Dec-10 9:03
professionalphil.o21-Dec-10 9:03 
AnswerRe: Insert data to database tables Pin
Eddy Vluggen21-Dec-10 9:22
professionalEddy Vluggen21-Dec-10 9:22 
GeneralRe: Insert data to database tables Pin
ivo7521-Dec-10 9:37
ivo7521-Dec-10 9:37 
GeneralRe: Insert data to database tables Pin
Eddy Vluggen22-Dec-10 0:32
professionalEddy Vluggen22-Dec-10 0:32 
Questionvisual basic .net, runtime error ,visual studio 2010 framework 4 Pin
Denis999919-Dec-10 21:14
Denis999919-Dec-10 21:14 
AnswerRe: visual basic .net, runtime error ,visual studio 2010 framework 4 Pin
DaveAuld20-Dec-10 0:03
professionalDaveAuld20-Dec-10 0:03 
GeneralRe: visual basic .net, runtime error ,visual studio 2010 framework 4 Pin
Denis999920-Dec-10 4:04
Denis999920-Dec-10 4:04 
GeneralRe: visual basic .net, runtime error ,visual studio 2010 framework 4 Pin
T210220-Dec-10 4:42
T210220-Dec-10 4:42 
GeneralRe: visual basic .net, runtime error ,visual studio 2010 framework 4 Pin
Denis999920-Dec-10 7:24
Denis999920-Dec-10 7:24 
GeneralRe: visual basic .net, runtime error ,visual studio 2010 framework 4 Pin
T210220-Dec-10 12:09
T210220-Dec-10 12:09 
GeneralRe: visual basic .net, runtime error ,visual studio 2010 framework 4 Pin
Denis999920-Dec-10 20:48
Denis999920-Dec-10 20:48 

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.