Click here to Skip to main content
16,005,222 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionhow to add checkbox column in datagrid Pin
iramg26-Aug-06 8:01
iramg26-Aug-06 8:01 
QuestionNew to VB...looking for some help... Pin
CCG326-Aug-06 6:08
CCG326-Aug-06 6:08 
AnswerRe: New to VB...looking for some help... Pin
Keith Malwitz26-Aug-06 6:51
Keith Malwitz26-Aug-06 6:51 
AnswerRe: New to VB...looking for some help... Pin
Guffa26-Aug-06 6:56
Guffa26-Aug-06 6:56 
QuestionCan not resize Controls [modified] Pin
mtone26-Aug-06 4:42
mtone26-Aug-06 4:42 
QuestionWant to change traped keycode Pin
hisuman10026-Aug-06 1:08
hisuman10026-Aug-06 1:08 
AnswerRe: Want to change traped keycode Pin
progload26-Aug-06 6:11
progload26-Aug-06 6:11 
Questionquerying different domain on remote computer using wmi Pin
venkatindy25-Aug-06 14:43
venkatindy25-Aug-06 14:43 
I have to program a scenario like this.

I have the cluster server and the user running the service.
I need to query if the user is a member of a group xxxx on the nodes.


On the node say NODE1,


Group - xxxx has the below members
--TEST1\Domain Admins -- (again a group named 'Domain Admins'
in TEST1 domain)
--TEST1\Admin -- (user called Admin in TEST1 domain)



>From cluster machine, I connect to "NODE1" using wmi. The below two


queries succeed.

a.SELECT * FROM Win32_GroupUser WHERE GroupComponent =
"Win32_Group.Domain='NODE1',Name='Domain Admins'"


b.SELECT * FROM Win32_UserAccount WHERE Domain='NODE1' and
Name='Administrator'


But the below two queries fail. These are similar to a and b but with
different domain "TEST1".
My program fail even though Group xxxx has TEST1\Domain Admins.


c.SELECT * FROM Win32_GroupUser WHERE GroupComponent =
"Win32_Group.Domain='TEST1',Name='Domain Admins'"


d.SELECT * FROM Win32_UserAccount WHERE Domain='TEST1' and
Name='Administrator'


Even wbemtest.exe succeed for a and b queries but fail for c and d from
the cluster server.
But when I run wbemtest.exe on the "NODE1" directly then all the
queries succeed.


How do I make wmi queries succeed for different domains from the remote
computer?
I need to write a VB.Net program for this. I will be adding this code
to existing VB.Net application.
QuestionProblems with multithreading - HELP [modified] Pin
david@mindplay.com25-Aug-06 12:56
david@mindplay.com25-Aug-06 12:56 
AnswerRe: Problems with multithreading - HELP Pin
david@mindplay.com25-Aug-06 13:56
david@mindplay.com25-Aug-06 13:56 
Questionwrite results to text file Pin
playout25-Aug-06 10:43
playout25-Aug-06 10:43 
AnswerRe: write results to text file Pin
Christian Graus27-Aug-06 3:08
protectorChristian Graus27-Aug-06 3:08 
GeneralRe: write results to text file Pin
playout28-Aug-06 4:24
playout28-Aug-06 4:24 
Questionvb equivalent textmatrix for grid Pin
saxduck25-Aug-06 8:52
saxduck25-Aug-06 8:52 
Questioncreating usercontrol using wizard Pin
saxduck25-Aug-06 8:27
saxduck25-Aug-06 8:27 
AnswerRe: creating usercontrol using wizard Pin
playout25-Aug-06 10:47
playout25-Aug-06 10:47 
Question"Unadvising" Event Sink in VB6 Pin
Ilia Blank25-Aug-06 7:46
Ilia Blank25-Aug-06 7:46 
GeneralRe: "Unadvising" Event Sink in VB6 Pin
Guffa25-Aug-06 8:54
Guffa25-Aug-06 8:54 
GeneralRe: "Unadvising" Event Sink in VB6 Pin
Elina Blank30-Aug-06 4:12
sitebuilderElina Blank30-Aug-06 4:12 
QuestionHow to use Visual basic to capture the image from the website consistantly [modified] Pin
estin25-Aug-06 6:58
estin25-Aug-06 6:58 
AnswerRe: How to use Visual basic to capture the image from the website consistantly Pin
progload25-Aug-06 11:17
progload25-Aug-06 11:17 
QuestionHow to remove RowPointer column in DatagridView Pin
Ali 11025-Aug-06 5:11
Ali 11025-Aug-06 5:11 
AnswerRe: How to remove RowPointer column in DatagridView Pin
Keith Malwitz25-Aug-06 11:56
Keith Malwitz25-Aug-06 11:56 
GeneralRe: How to remove RowPointer column in DatagridView Pin
Ali 11027-Aug-06 22:22
Ali 11027-Aug-06 22:22 
QuestionRe: How to remove RowPointer column in DatagridView Pin
Ali 11027-Aug-06 22:32
Ali 11027-Aug-06 22:32 

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.