Hello All,
Please provide me some links which are having samples to do Piechart or BarChart in C#.Net 3.0 (WPF) . What avout Report.rdlc. How to make use of that to make these charts..
User Profile
Collapse
-
How to Generae PieChart or Bar chart in C#.NET 3.0 (WPF)
-
This is the exception
An unhandled exception of type 'System.Runtime .InteropService s.COMException' occurred in HandleCountSamp le.exe
Additional information: Exception from HRESULT: 0x80041003.... -
How to debug vb 6.0 dll from C#.Net Console application
Hello,
From C#.Net Console application I am using Two methods of vb 6.0 dll.
I added vb 6.0 dll as reference to the C#.Net Project.
One method is working fine, second method is giving some exception. I want to debug that in Vb 6.0 project to find out In Which line the problem is.
I tried in C#.Net debug menu , attach to Process and select this VB application. But not going to that vb 6.0 Methods.
... -
How to use IWbemRefresher Interface - Refresh method in C#.Net.
Hello All,
Please have a look in to this link.
http://msdn.microsoft. com/en-us/library/aa392091(VS.85) .aspx
In the above link , they are talking about Wbemperf.dll contains Refresh method.
How can we use this dll in C#.Net?
How to see the exposed methods of that dll, i tried with dependency walker, Not showing Refresh method in that. Showign some default methods like DllCanUnloadNow ,... -
Calling WMIManagementScope.Connect() method several times.
Hello All,
I am doing one C#.Net(2.0) Windows application having treeview control, with some tree nodes like "Logical disk, Memory, CPU, CDROM drive, etc.."
On treeview After select event, on selection of any tree node I am getting the corresponding data by using WMI from the remote system. Here I am making the WMI connection very first time.
Here the problem is If the connected Remote Host is manually... -
Hi,
Thanks for you reply.
I changed that Transaction timeout under dcomcnfg from 60 sec to 10 sec.
Then I tried to test whether this change is effecting or not.
Purposely I tried to connect to the non existing host which will take more time.
Still the WMIScope.Connec t() method is taking around 45 sec to execute.
It should come out with in 10 sec right? Please give some input. I don't want to wait...Leave a comment:
-
WMI ConnectionOptions with Timeout.
Hello all,
How this Timeout option is useful ?
When i am going for WMI connection i have given this Timeout option , Still for connection is taking 5 to 6 seconds.
ConnectionOptio ns.Timeout = new TimeSpan(0, 0, 2);
Actually in this case, According to my knowledge on TimeOut property ,It should get WMI connection success or failure with in 2 seconds, but still it is taking time up to 5 seconds.... -
WMI Class for getting the information of Mirror drivers.
Hi,
Is there any WMI class to get the Information related to Mirror drivers installed in the target system.The information like the mirror driver Name , installed date, the current status etc ..
Please help. -
WMI Probelm in Vista OS.
Hello all,
By using C#.Net 2.0 windows application i am querying the Hardware info, software info , products info etc for remote system it is working fine, but in Vista PC WMI Connection is happining , not able to query except Products(win32_ Product) info.Unauthoriz edAccessExcepti on is coming , except For Win32_Prodct class. What will be the problem, the user is having all the admin rights, still not able get any data except Product... -
win32shutdown method under Win32_OperatingSystem class
Hello,
I am using win32Shutdown WMI method for the operations like Shutdown,restar t, logoff and power off for the remote system in C#.Net windows appliaction.
The flags need to pass for Normal Shutdown is 1 and Normal power off is 8.
It is working fine, but i am not getting any difference between shutdown and PowerOff, except one, if the system is locked we can not perform normal shutdown but we can do Power off operation.... -
WMI event class
Hello ,
My C#.Net 2.0 Windows application is having a WMI connection to the Remote System. I can register some Events in that System like if CPU usage is more than 90% alert should raise. These things I am able to monitor. Is there any WMI event class to get the Alert , when that remote system is accessed by some one by RDP. Please help.
Thanks in advance. -
for Vostro machine, WMI connection fails.
I am having C#.NET windows application, to read the system info from Remote system through WMI.
For Win2003 server machine, the WMI connection is successful.
For the Dell vostro Machines WMI connection is giving the error " RPC server is unavialable. But for the same machines , i am able get data by WMIC commands with the same Administrator credentials. What will be the problem. Firewall is off, RPC server is running....Last edited by Curtis Rutland; Jul 18 '08, 01:16 PM. Reason: Added Code Tags - Please use the # button -
RPC server is unavailable
Hai,
I am having C#.NET windows application, to read the system info from Remote system through WMI.
For Win2003 server machine, the WMI connection is successful.
For the Machines Vista and XP , WMI connection is giving the error " RPC server is unavialable. But for the same machines , i am able get data by WMIC commands with the same credentials. What will be the problem.
Here is the code... -
-
Supported & Non Supported models of HP & DELL
Hi,
For Wake-On-Lan enable/disable i downloaded the software for HP systems is HP CMI version is 1.00 A4 and for DELL systems is OMCI version is 7.1.382 A04. It is working fine. Can i know what models are supported and what are not supported of this version for both HP & DELL.
Thanks in advance.
-Sreedhar -
How to make Semisynchronous WMI calls in C#.Net
Hello all,
This is semisynchronous call in vbscripts.
In this below query 48 is the
WbemFlagReturnI mmediately 16 : Returns control immediately to the calling script
WbemFlagForward Only 32: Returns each result as and when it arrives.
Set objSvc = GetObject("winm gmts:")
Set objSet = objSvc.ExecQuer y("Select * From Win32_NtLogEven t Where Logfile = 'Application'", ,48)... -
Can we have WMI Event Security for Temporary Comsumers
Hello all,
I am doing C# .Net 2.0 windows application.
I want to monitor the remote system events thorugh WMI events. the events like CPU usage more than 50% raise a alert, etc.
we will be going for this type of query
"select * from __instancemodif icationevent within 5 where
targetinstance isa
'Win32_Processo r' and targetinstance. LoadPercentage > 50". This is fine. Here... -
Regarding win32_Product WMI class
Hello All,
I am doing one .Net C#.Net 2.0 Windows appliaction.
In that I am displaying the installed products information by using win32_Product class in a ListView Control. it is diplaying the software with the Param "FilePath" also.
If I do the software upgradation by selecting any product (having the param "FilePath") , by using "Upgrade" method of Invoke method.
After... -
No..in the code part of VB 6.0 i am not doing any thing.
At design time just adding that control to the VB 6.0 Form....Leave a comment:
-
Hi thanks for your replay...
The .Net control is not having any exposed methods. only having the public constructor...
and the class interface type is ClassInterfaceT ype.AutoDual, no interface.
ok. can we avoid this displaying message at the time of closing the vb 6.0 form in Form unload event?...Leave a comment:
No activity results to display
Show More
Leave a comment: