I am testing an algorithm for different parameters on a computer.
I notice the performance fluctuates for each parameters.
Say I run for the first time I got 20 ms, second times I got 5ms, third times I got 4ms:
But the algorithm should work the same for these 3 times.
I am using stopwatch from C# library to count the time, is there a better way to measure the performance without subjecting to those fluctuations?
I'm trying to find a way to display the current processor time of an application to the user via the taskbar when my application is minimized. For reference, I want something like what is implemented in Coretemp, where if you minimize the application, you can still see the temperature of the computer processor cores in the taskbar. Does anyone know of how this is done in C#?
Hi folks:
I cannot ensure whether the background-image style is valid for <tr> b\c the image doesn't display in my computer.
<tr style='background-image: url(/images/Bet188/LeftMenu/xyz.png>...</tr>
Thanks.
Hi, I would like to have some rotating sequential images on my home page of my website. I do not know how to do this and have found code on the internet for only displaying random images. The main problem is this. Every time the page loads I get a pop-up "to help protect your security, IE has restricted this webpage from running scripts or ActiveX controls that could access your computer". Please can someone help prehaps with an example to enable this to work without this pop-up Thanks Richard
After choosing 'Range Type:' Table Range and 'Select Range:' Sheet1!Table1
I get the error pop-up 'Import to Windows SharePoint Services list' 'Cannot connect to the server at this time. Your table cannot be published.'
Is there somewhere in my computer I can look at for more information as to what I am doing wrong?
Installed Tomcat 6 on WinXP 64. It installed just fine. But when I try to launch it ( from Windows Services) I get the following error :
"Can not start an the Apache Tomcat Service on Local computer."
error 216:0xd8
I have a swc(degrafa) that I have been referencing externally in another folder on my computer. When I tried to move the swc to the libs folder I was no longer able to access the swc from my application. Is there a step im missing?
In my development computer I have .net 3.0 and 3.5 installed.
I'm developing with vs2005 on .net FW3.0
How can I tell the application to use the 3.0 assembleis insted of the 3.5?
Hi,
I have .net webservice working in computer machines, am i not sure whether i can use the same in iphones.
Can i run the webservices webmethods that is developed for web-browsers in iphones?
Thanks.
I need a reliable way to detect how many CPU cores are on a computer. I am creating a numerically intense simulation C# application and want to create the maximum number of running threads as cores. I have tried many of the methods suggested around the internet like Environment.ProcessorCount, using WMI, this code: http://blogs.adamsoftware.net/Engine/DeterminingthenumberofphysicalCPUsonWindows.aspx. None of them seem to think a AMD X2 has two cores. Any ideas?
Like in fiddler you can watch the logs between client and server. Like fiddler; which logs all HTTP(S) traffic between your computer and the Internet. I want to inspect all traffic happening on the client side JavaScript that runs on a page.
Best wishes
bk
I've just started to use netbeans IDE 6.8. And consulted youtube for tutorials. And I've seen that the code is being completed just like in dreamweaver. Whenever you type something. And it shows some suggestions on what probably would be the next code.
But when I tried it on my computer. It does not do this. How do I configure it?
I know it's a very vague question, but maybe the answers could act like a poll about what could possibly be the next big event in computer science. A new language ? A new technology ? A new architecture ? A new business model ?
Please provide details, what is it and why do you think it's going to rule the world.
I just followed How to use Group Policy to remotely install software in Windows Server 2003 to try publishing a software (MSI file). I could follow all the steps, but the supposedly successfully published software does not appear on client/user machine's Add/Remove Programs.
Could some help figure why this may not be working.
Update:
On reading this question on Experts-Exchange, tried gpresults. Output extract follows:
COMPUTER SETTINGS
The following GPOs were not applied because they were filtered out
XADistribution
Filtering: Denied (Security)
Default Domain Policy
Filtering: Denied (Security)
Hi,
I am creating an application that is connecting to another computer through an Ethernet cable in XP. I need to execute the network setup wizard to setup a local area connection (with File sharing Turned On) and then set static ips and the default gateway; all this programmatically using C#. How can this be achieved?
In C++ is there a predefined library function that will return the size of RAM currently available on a computer a program is being run on, at run-time?
For instance, if an object is 4bytes, then can we divide the available virtual memory by 4 bytes to give an estimate of how many more objects could be stored by the program safely?
I have used the sizeof() function to return the size of objects within my program.
Thanks
I have to support an old C++ program (I am not its author) that uses Extended MAPI to scan mail folders from Outlook 2007.
Suddenly the software began meeting problems on one customer's computer by the following scenario:
call of OpenMsgStore fails for some folders with code 0x80040102 (MAPI_E_NO_SUPPORT ). for other folders it fails with code 0x80070005 (E_ACCESSDENIED). But other folders opened by OpenMsgStore OK.
What can be reason of the problem?
I just want to play a very simple, straight forward note by giving my computer a certain frequency as an integer, and from there I can figure out how to make it play the note longer or shorter. It does not necessarily have to come out of the actual sound card - if it's generated and output by the internal speaker that's okay.
I looked at the midi libraries that java has included, and they are way more than what I want to do. This just needs to be very basic.
I have a certificate installed in windows server 2003
The path I can see from MMC is:
Certificates(Local Computer)/Personal/Certificates
I want to configure it in my wcf config. How do I know what the storeName is?
This is what I get so far in my wcf config
<serviceCertificate findValue="certificate.example.com" storeLocation="LocalMachine" storeName="???" x509FindType="FindBySubjectName" />
How are paths determined on a remote machines?
I have been assigned a network loaction. Let's call it \wassup\test1
I assume that wassup is the ame of the computer. The question I have is this. How can I determine what the local path from the point of view of the remote machine would be for "test1". For example, how would I know if it is c:\test1 or d:\test1 ?
here's my code:
Public Sub SendSMS()
Dim n As Integer
n = FreeFile
' Change the string below if using a different COM port or the port speed
Open "COM3:9600,N,8,1" For Output As #n
Print #n, "AT"
Close #n
End Sub
i'm trying to connect to my phone that is attached to this computer.
how do i catch responses to my AT COMMANDS? in hyperterminal you see responses right away, i want to be able to see them here as well, how do i do it?
My asp.net web app is hosted on this URL on my local machine:
http://localhost:45433/
I want to access the same application from a different computer on the network. I tried replacing the localhost with my IP but it did not work.
any ideas!
UPDATE 1:
Now, I am getting this error:
Login failed for user ''. The user is not associated with a trusted SQL Server connection.
Hi ,
Is it possible to edit the application in the localhost of another machine from another computer. Both are in different network.
Example :
I am having a application app1 in my localhost of my office network(Ubuntu machine)
If i want to do some modifications in the application from my home machine (Xp )in a different network..how can i do so ??
please give me some suggestions..