Can't you go RAID 5+1 with hardware, have 3 disks in a RAID 5 configuration and 3 others mirrored off the first three. This way if 2 disks fail you can use the mirror set. (that is, if RAID 5+1 is possible)
Best Regards,
Nathan Martini
Advanced Computer Solutions
Try this code.
The function InStr searches one string for the existance of another.
If (InStr(1, stuff, "http://")) Then
MsgBox stuff & " is a website"
Else
MsgBox stuff & " is not a website"
End If
This should do the trick for ya. This...
Try this function, there's no need for loops, or brute force!
Private Function FindNumber(ByVal Msg As String, ByVal
Search As Long) As Long
Dim Found As Long
Found = InStr(1, Msg, CStr(Search))
If (Found <> 0) Then
FindNumber =...
Well, I don't see any difference from this password char than the XP version, except that the textbox itself is rounded on the edges! The characters are the same, I've checked it both on 98 and XP. 98's is * and XP's is a dot.
Place a textbox on a form and make the font Symbol and bold, maybe...
Try setting the text box's font to Symbol and Bold. Then put your password routine in the keypress event and make sure you make KeyAscii = 183 (183 is the ascii number for the dot). Try this and let me know if it works for ya. Best Regards,
Nathan Martini
Advanced Computer Solutions
Well, I'm not sure if this is what you're talking about but here goes, the functions are actually called Process32Next and Process32First.
Visual Basic API Declareation:
Private Declare Function Process32Next Lib "KERNEL32.DLL" (ByVal hSnapshot As Long, ByRef lppe As LPPROCESSENTRY32)...
Why don't you try a program called BurnIn Test made by Passmark, it tests all hardware from memory to hard drives in an infinate loop. It does tests like 2d graphics, 3d graphics, memory reading and writing, hard drive reading and writing, math functions and various CPU functions. That should...
make sure you are including the ddraw.lib as well as the ddraw.h and initguid.h files.
Make sure these are included in your source file:
#include <initguid.h>
#include <ddraw.h>
Make sure this is included in the Project > Settings > Link tab:
Where it says this half way down the properties...
Bits are used to hold information...
a bit is either 1 or 0, a byte holds 8 bits, for example:
1 byte = 11111111
So, for speed and size sake, lets say we have a game with 2 enemies and we want to store their states (ie. dead, rest, visible etc..) we would normally need 3 boolean or int values...
I'm at work so I need to be quick about this...
Set up a variable for a count, set up a while..do loop to read each byte until the EOF. for each byte it reads compare it with the bytes stored in a char array. if the first byte in the array matches the byte in the file, then read the next char...
I'm not sure if this is what you are looking for, but it is possible to control the stream of data going to the port in, I believe, 8 byte packets. In this case you can control each bit in the packet. As far as controlling each individual "pin", I'm not quite sure that is possible...
I'm working on something for that right now, but in the mean time let me get some more information from you.
Are you getting the string from user input, where there would automatically be a '\0' appended or from elsewhere that a '\0' would not be appended?
Is it possible that you can append a...
Here is just some code I'm going to throw at ya, just to give you an idea of what you could do.
#include <fstream.h>
fstream *File;
struct foobar {
char character;
int x, y;
};
int main(void)
{
foobar *fubar;
fubar->character = 'A';
fubar->x = 1;
fubar->y = 2...
OK!!! This is where your problem is... I don't know how to correct the problem, but I can give you a quick "fix".
The icon (shortcut) that you or whoever made, is set to automatically go into fullcreen mode. This is the mistake because Windows NT doesn't like this. This is what you...
When you run your program does it show this
Excuse my sloppy ASCII drawing
|----------------------|
| [COLOR=red]_____ _____ [COLOR=white]|
| [COLOR=red]| |--- \ / | [COLOR=white]|
| [COLOR=red]| |--- | | [COLOR=white]|
| [COLOR=red]| |--- / \ |...
It depends on what exactly you want... Your question is very vague and can have a whole slu of answers. But, here's my stab at it.
You need a variable for the total amount won, and a variable for the wager. Roll the dice and if the user won, add the wager*2 to the total won.
Without specifics...
This is kind of a cheap... really cheap and not recommended work around for this. Keep in mind that there probably is some way to do this from within WinMain. However, I don't have my compiler here and can't test anything so I'm just giving an example of something to try.
Create 1 MS-DOS based...
Make sure you are in fullscreen, not just maximized! I've tested your code and the code I posted on both my Windows 98 machine and my Windows NT machine at work. Both worked in fullscreen, but did not in maximized or windowed mode. To get to fullscreen you need to run the MS-DOS prompt or Psuedo...
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.