Click here to Skip to main content
15,885,216 members
Home / Discussions / C#
   

C#

 
QuestionFull path Crystal report on client server in c# Pin
remiki26-Dec-21 22:54
remiki26-Dec-21 22:54 
AnswerRe: Full path Crystal report on client server in c# Pin
OriginalGriff26-Dec-21 23:22
mveOriginalGriff26-Dec-21 23:22 
AnswerRe: Full path Crystal report on client server in c# Pin
remiki26-Dec-21 23:30
remiki26-Dec-21 23:30 
GeneralRe: Full path Crystal report on client server in c# Pin
jschell29-Dec-21 7:25
jschell29-Dec-21 7:25 
QuestionWPF Filtering DataGrid causes UI Freeze Pin
Member 1480965126-Dec-21 4:25
Member 1480965126-Dec-21 4:25 
AnswerRe: WPF Filtering DataGrid causes UI Freeze Pin
Gerry Schmitz26-Dec-21 6:54
mveGerry Schmitz26-Dec-21 6:54 
AnswerRe: WPF Filtering DataGrid causes UI Freeze Pin
Mycroft Holmes26-Dec-21 11:41
professionalMycroft Holmes26-Dec-21 11:41 
QuestionWMI Connection to Remote PC with ManegementScope too slow(8-10 seconds). The WMI Query itself is OK (under 1 second) Pin
Mustafa Levrek26-Dec-21 1:47
Mustafa Levrek26-Dec-21 1:47 
Hello
I am making WMI queries to remote computers that are in our production hall. The first connection with ManegementScope takes realy long. If the first connection is done the next connection is then much faster. How can i speed up this connection time. That's the code i am using:


public void WMI_Connect()
{

System.Management.ConnectionOptions options = new System.Management.ConnectionOptions();
options.Username = "user";
options.Password = "password";
WMI_path = "\\\\" + MAE_Selection.MAE_IP_PCU + "\\root\\cimv2";
ManagementScope scope = new ManagementScope(WMI_path, options);

try
{
// Start WMIconnect
scope.Connect();
// WMI Connection done (8-10 seconds)

// The method in that i am doing the WMI queries
Read_General_Data_WMI();


}
catch (Exception ex)
{
using (StreamWriter sw = File.AppendText((Start.error_path)))
{
sw.WriteLine(ex);
WMI_Con_State = "Connection_failed";
}
}
}
AnswerRe: WMI Connection to Remote PC with ManegementScope too slow(8-10 seconds). The WMI Query itself is OK (under 1 second) Pin
Gerry Schmitz26-Dec-21 2:13
mveGerry Schmitz26-Dec-21 2:13 
GeneralRe: WMI Connection to Remote PC with ManegementScope too slow(8-10 seconds). The WMI Query itself is OK (under 1 second) Pin
OriginalGriff26-Dec-21 2:25
mveOriginalGriff26-Dec-21 2:25 
GeneralRe: WMI Connection to Remote PC with ManegementScope too slow(8-10 seconds). The WMI Query itself is OK (under 1 second) Pin
Mustafa Levrek26-Dec-21 2:36
Mustafa Levrek26-Dec-21 2:36 
GeneralRe: WMI Connection to Remote PC with ManegementScope too slow(8-10 seconds). The WMI Query itself is OK (under 1 second) Pin
Dave Kreskowiak26-Dec-21 4:42
mveDave Kreskowiak26-Dec-21 4:42 
Questionnewbie using a game to learn c# and object-oriented programming Could I make an abstract factory to merge the other factories in a game? Pin
biull smith21-Dec-21 2:23
biull smith21-Dec-21 2:23 
AnswerRe: newbie using a game to learn c# and object-oriented programming Could I make an abstract factory to merge the other factories in a game? Pin
#realJSOP21-Dec-21 2:37
mve#realJSOP21-Dec-21 2:37 
GeneralRe: newbie using a game to learn c# and object-oriented programming Could I make an abstract factory to merge the other factories in a game? Pin
biull smith21-Dec-21 3:04
biull smith21-Dec-21 3:04 
GeneralRe: newbie using a game to learn c# and object-oriented programming Could I make an abstract factory to merge the other factories in a game? Pin
Pete O'Hanlon21-Dec-21 4:06
mvePete O'Hanlon21-Dec-21 4:06 
GeneralRe: newbie using a game to learn c# and object-oriented programming Could I make an abstract factory to merge the other factories in a game? Pin
biull smith21-Dec-21 4:17
biull smith21-Dec-21 4:17 
GeneralRe: newbie using a game to learn c# and object-oriented programming Could I make an abstract factory to merge the other factories in a game? Pin
lmoelleb22-Dec-21 0:34
lmoelleb22-Dec-21 0:34 
GeneralRe: newbie using a game to learn c# and object-oriented programming Could I make an abstract factory to merge the other factories in a game? Pin
biull smith6-Jan-22 10:08
biull smith6-Jan-22 10:08 
AnswerRe: newbie using a game to learn c# and object-oriented programming Could I make an abstract factory to merge the other factories in a game? Pin
Gerry Schmitz21-Dec-21 6:30
mveGerry Schmitz21-Dec-21 6:30 
GeneralRe: newbie using a game to learn c# and object-oriented programming Could I make an abstract factory to merge the other factories in a game? Pin
biull smith21-Dec-21 7:01
biull smith21-Dec-21 7:01 
GeneralRe: newbie using a game to learn c# and object-oriented programming Could I make an abstract factory to merge the other factories in a game? Pin
Gerry Schmitz21-Dec-21 7:22
mveGerry Schmitz21-Dec-21 7:22 
GeneralRe: newbie using a game to learn c# and object-oriented programming Could I make an abstract factory to merge the other factories in a game? Pin
biull smith21-Dec-21 8:29
biull smith21-Dec-21 8:29 
GeneralRe: newbie using a game to learn c# and object-oriented programming Could I make an abstract factory to merge the other factories in a game? Pin
Gerry Schmitz21-Dec-21 10:04
mveGerry Schmitz21-Dec-21 10:04 
QuestionRe: newbie using a game to learn c# and object-oriented programming Could I make an abstract factory to merge the other factories in a game? Pin
biull smith21-Dec-21 13:15
biull smith21-Dec-21 13:15 

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.