Might be worth checking to see if there is a new BIOS flash out for your MoBo also try turning of the power saving settings in the BIOS and Windows/Linux. Does the Event Viewer give any common event prior to each crash?
Hi - looking at this in simple terms: its either your system or theirs (ISP) so unless you have a hub/switch/network locally thats not correct configured or is faulty the chances of multi system all having a network fault at the same time is not high so I guess its the ISP.
I suggest that when...
Get a free copy of Ubuntu and boot from and run the live CD (does not install or touch Win) try that see if you get a reboot might help test some hardware.
Also get to safe mode if possible and run Microsoft Boot Vis, it will log every step of you system booting so good to help trouble shoot...
Hi, on the BSOD you should recieve a STOP code (something line 0x00000007e) find this and Google it - will really help point you in the direction (I expect memory, might be cos its mixed timings or something - try running with just 1GB then switch over to other if still BSOD)
Also go to Control...
STARTUPINFO StartInfo; // name structure
PROCESS_INFORMATION ProcInfo; // name structure
memset(&ProcInfo, 0, sizeof(ProcInfo)); // Set up memory block
memset(&StartInfo, 0 , sizeof(StartInfo)); // Set up memory block
StartInfo.cb = sizeof(StartInfo); // Set structure size
int res =...
Hi all,
I am getting stuck with a piece of code to execute a process and wait for it to close, so found this example:
//-------------Code Start-------------
STARTUPINFO StartInfo; // name structure
PROCESS_INFORMATION ProcInfo; // name structure
memset(&ProcInfo, 0, sizeof(ProcInfo))...
Ok thanks to Cogman's help I have now got it all working - For others here is the code:
//////////////////////////////Code Start//////////////////////////////
#include <iostream>
using namespace std;
int main( int argc, // Number of strings in array argv
char *argv[], //...
Hi Cogman,
Tried that and get this error for Option 1:
[BCC32 Error] File1.cpp(18): E2093 'operator==' not implemented in type 'string' for arguments of the same type
Full parser context
File1.cpp(8): parsing: int main(int,char * *,char * *)
Option 2 does compile fine and...
Thanks Cogman for your suggestions but getting an error.
Using suggestion 1 I get this error message on line 'if (Val == argv[1])':
[BCC32 Error] File1.cpp(16): E2094 'operator==' not implemented in type 'string' for arguments of type 'char *'
Full parser context
File1.cpp(8)...
Hi all,
I am very new to C++ but have been asked by work too figure this out, having tried for a few hours I am turning to you guys hopefully for some help.
I want to execute the appplication with a command line e.g. 'program.exe -FS' and this will change the options displayed in the...
Have you tried another partition tool like partintion magic (£/$) or EASEUS Partition Master Home Edition (free) I would expect these to have more control.
Ok, so it sounds like a software/OS issue not hardware.
Are you able to open things like notepad and MS paint?
Are you running Win 7 64 bit?
If 64bit are these apps 32 bit?
What does the event log say is going on, anything standing out?
Cheers, J
If I was going to buy then it would be OEM Win 7 as I play PC games. If it was not for the games I would just use something like Ubunutu or MINT for free
Thanks WannaFly thats great I have to alter the code a little to get it to work:
set ws = wscript.createobject("WScript.shell")
ws.run("notepad.exe"), 0, true
FYI:
0 = Hidden
1 = displayed
True = Waits till command has completed before moving to next
False = Does not wait for...
Hi guys,
I am using a little bit of code to launch a command and then via a loop wait for it to complete:
------------------------Code Start-----------------------
Dim oWsc, oExec
Set oWsc = CreateObject("WScript.Shell")
Set oExec = oWsc.Exec(""".\AeXAgentUtil.exe"" /Clean")
' wait...
Thanks KB some great information. You mention Altiris it is the Altiris service that we are wanting to check is running and if not restart. Our users are local admins to their machines to they often stop/uninstall Altiris. I think that I will host the small VBS to check and restart each start up...
We want to have a local vbs which checks for a windows service is running and if not to start it backup. We want to run this via a GPO from the network.
1. Is this the best approach when using a GPO?
2. Should the file be hosted in %netlogon% or other remote location?
2. What type of GPO...
Ok I have started to play with the timer. I added the timer from toolbox and code:
Dim sec As Integer
Timer1.Enabled = True
Timer1.Interval = 60000
Do Until sec = 10
MessageBox.Show("Timer test")
sec = sec + 1
Loop...
I have a snippet of code that needs to check every 10 seconds to see if a program is running. This is the code I currently have:
Dim loopcounter As String
loopcounter = "0"
Do Until loopcounter = "1"
Sleep(10000)
If...
I just changed it a little bit as if you include '.exe' it does not detect it correctly and added >=, so:
If Diagnostics.Process.GetProcessesByName("notepad").Length >= 1 Then
'it is running
MessageBox.Show("notepad IS running")
Else
'it is not...
Hi,
I am looking for a snippet of VB.net code that will search for a running program i.e. notepad.exe and keep checking to see when it is no longer is running. When it detects that it is no longer running continue the code. Example:
----------------------
loop start
is notepad.exe...
I was unable to get this working but I am sure it is just me.
I got this working however:
--------------------Code Start-----------------------------------
Dim sCommand As String
sCommand = "c:\dir.bat"
Dim p As Process = Process.Start(sCommand)...
Guys,
I am looking for a small bit of code that will launch a batch file and wait for that to complete then continue with the code.
Sudo code to try to better explain myself:
Run batch.bat
wait for batch.bat to stop running (loop maybe?)
If batch.bat not running/finished then
Run...
I have been tasked with writing effectively a user selection GUI in VBS that writes out to a text file that the migration application can use to select the users to be migrated. It needs to be written in VBS. To display all users local and network (domain) with a checkbox option next to each...
Hi I currently have a HTPC that I use mainly for DVD playback which is fine. I now have a new Samsung 40" 1080P screen and want to upgrade my HTPC to allow Blu Ray play back. I have the sound, speakers etc sorted out so it just leaves the Video Card...
I understand that it has to support HDCP...
I currently have a HTPC but only has stereo through the TV and I use it for DVD play back. I am now interested in updating the system to support Blu Ray.
The system is Vista and has a onboard RealTek HD sound card. For the speakers I was wanting to buy the Logitech Z-5500 speakers and connect...
Hi there,
What is the name for the mesh that is like a netting tunnel that cables go in and helps tidy the case and helps air flow. I see it in all the OC powerful systems and want to buy some for myself but not know the name :(
TIA, J
Hi,
I built my system with a Raptor SATA v1 75gb as the only HDD on Slot0. I installed Vista and the few games that I was playing at that time never a problem. I have just bought a new Samsung Spintop SATA v2 500gb which I installed as the 2nd drive Slot1. I installed Crysis to what I thought...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.