|
For licensing purposes, Windows counts CPU sockets, not cores or hyperthreading pipelines. You're fine.
|
|
|
|
|
You mean actual cpu chips on the motherboard
thankx
|
|
|
|
|
|
You can test that easily with a simple app:
launch N threads (N will vary), each thread performs the same lengthy calculation that does
not stress the memory, disk, network, it just stresses the CPU; now measure elpased time t(N).
if t(1)==t(2) < t(3) then you are running on two CPUs (or two-way hyperthreading)
and not on 4 CPUs.
|
|
|
|
|
|
Hello!
I have installed Microsoft Frontpage Server Extensions for IIS 7.0 in Vista Ultimate. However I have faced with the following problems. If you have already solved the similar problem in your OS, would you please guide me how to solve it.
1. Primarily I want to develope web sites with Microsoft Sharepoint Designer (MSPD). MSPD doesn't use Inetbup. It has deployed the web sites under a different directory but I want to be able to use Inetpub directory with MSPD.
2. I am not able to process any asp files with MSPD because it says that it requires a web server!
3. If i try to open a web site under inetpub, It doesn't open the pointed site specifically but opens the wwwroot and brings all the other websites under main root.
4. When I try to create a website with MSPD under intetpub, It rejects so it doesn't create!
Any help will be appreciated. THANK YOU!
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
Officially FrontPage Server Extensions are not supported on Windows Vista. "Ready-To-Run Software" have ported them in an unsupported fashion. Make sure you've downloaded the IIS 7.0[^] version of FPSE, and installed according to the instructions at that page.
See also here[^] which gives a contact email address.
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
Are you decended from the folks who decided that instead of using a boat/ship to traverse the Atlantic ocean they built a raft to accomplish this journey? Serious, unless you absolutely have no choice jettison Frontpage and go with the Asp.Net extensions. Sharepoint truly hums with the framework.
“If we are all in agreement on the decision - then I propose we postpone further discussion of this matter until our next meeting to give ourselves time to develop disagreement and perhaps gain some understanding of what the decision is all about.”-Alfred P. Sloan
|
|
|
|
|
Hi,
I would like to write a program for Windows XP that will change the following network settings depending upon the network I am going to log on into.
1. I.P. Address
2. Default Gateway
3. DNS Server Address.
I need this I log on to multiple networks and have to manually go and configure the settings for each network.
Thanks in advance.
Regards,
Dhruv Chandna
|
|
|
|
|
Im quite sure that you can change such settings via CMD in netsh, or just do start run netsh to see what you can do.
You could then create a batch file wich calls the right commands, or make a C++ Console app to do it for you...
//Johannes
|
|
|
|
|
Hi,
Thanks a lot. I made a batch file using the netsh commands and it runs smoothly.
Regards,
Dhruv
|
|
|
|
|
I suggest you start by writing the pseudo-code first, then maybe looking to see if you can do this using a batch file written with Powershell.
“If we are all in agreement on the decision - then I propose we postpone further discussion of this matter until our next meeting to give ourselves time to develop disagreement and perhaps gain some understanding of what the decision is all about.”-Alfred P. Sloan
|
|
|
|
|
Thanks a lot. I wrote a batch file and now it works fine.
|
|
|
|
|
You can also do this on VBScript.
---------------------------
Both optimists and pessimists are important in technology. The optimist invented the aeroplane; the pessimist invented the parachute.
Regards,
Hesbon Ongira
Nairobi, Kenya.
|
|
|
|
|
Thanks a lot for you help. I implemented it using a batch file with netsh commands.
But it would be great if you can just tell me how to implemented using VBScript. I am just a little curious to know.
|
|
|
|
|
i have created multiple filenames for various clients.now i want to unlink them.how do i do it??the program is running on the server
prashant jain malviya national institute of technology
|
|
|
|
|
Overview
A Multi-version Timestamp Ordering Simulator (MTOS) is a program that takes in a schedule, applies on it Multi-version Timestamp Ordering, then outputs the names of the transactions that are going to be aborted if this schedule is implemented in a real system using Multi-version Timestamp Ordering. The following is a detailed description of the program.
Input
The input to MTOS should be a schedule of operations. The schedule is saved in a text file (.txt). And the file name is input to MTOS. Each line in the file is in the following format:
Operation TransactionNum [DataItemNum]
Operation is the operation to be performed. It is one of the following:
• begin indicates the beginning of a transaction.
• read indicates a read operation on a data item by a transaction.
• write indicates a write operation on a data item by a transaction.
• Commit indicates an end of a transaction.
TransactionNum is the number of the transaction performing the operation. It is a non-negative integer.
DataItemNum is the number of the data item the operation is performed on. It is a non-negative integer.
Sample Input Lines
begin 4 means that T4 has started.
read 8 5 means that T8 is reading X5.
write 20 3 means that T20 is writing X3.
Sample Input File à input1.txt
begin 1
read 1 3
write 1 3
begin 2
read 2 4
begin 3
read 3 6
commit 3
read 2 3
write 2 3
read 1 4
write 1 4
commit 1
commit 2
Note: All input is in lowercase.
Output
MTOS produces output in a text file residing in the same directory as MTOS. The file should have the following name “result_X.txt”. X is the input file name (without the extension) for which this output is produced. The system produces exactly 1 line of output transaction aborted after applying multi-version:
TX has aborted.
TY has aborted.
Transaction X aborted THEN transaction Y aborted. Order is important.
Sample Output File for input1.txt à output file name: result_input1.txt
T1 has aborted.
Implementation Notes
• After the input file is read, Multiversion timestamp ordering is applied by building an in-memory table to hold the read and write timestamps of the different versions of each data item.
• Keep track of previous changes to each field in case a transaction is aborted and you need to go back to the previous value in the schedule.
• Use a counter to assign timestamps to transactions.
• Do not worry about cascading rollbacks.
Assignment
1- Implement MTOS described above using any programming language.
a. Name your program MTOS.
b. Your program should take from the command line one argument which is the input file name.
c. The output of your program is a text file named inputFileName_result.txt. Where inputFileName is the name of the input file without the extension.
d. You need to follow the input\output format very carefully. Grading will be done automatically so any difference in formatting may lead to errors and therefore you getting a zero.
Both will help him thanks a lot
|
|
|
|
|
Do I take it that you are wanting somebody to do your homework for you?
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Richard A. Abbott wrote: Do I take it that you are wanting somebody to do your homework for you?
Naw. He was just wondering aloud what force caused the apple to fall from the tree...
“If we are all in agreement on the decision - then I propose we postpone further discussion of this matter until our next meeting to give ourselves time to develop disagreement and perhaps gain some understanding of what the decision is all about.”-Alfred P. Sloan
|
|
|
|
|
modified 1-Aug-19 21:02pm.
|
|
|
|
|
I you some work on the programme .. Reached a certain point I could not complete help me pleas
#include < iostream><br />
#include < fstream><br />
<br />
using namespace std;<br />
<br />
int timeStamp[];<br />
<br />
int count = 0;<br />
int variable [][];<br />
char ch;<br />
int num , I;<br />
<br />
int main ()<br />
{<br />
<br />
char fileName[80];<br />
<br />
cout<<"Enter the file name: \n";<br />
<br />
cin.get(fileName, 79);<br />
<br />
fstream out (fileName , ios::in | ios::out | ios::binary);<br />
<br />
if(!out){<br />
<br />
cout<<"cannot open file.\n";<br />
<br />
return 1;<br />
<br />
}<br />
<br />
<br />
<br />
<br />
while(out!="\n")<br />
{<br />
out.get(ch)<br />
if(ch=="B" | ch == "b")<br />
{ <br />
out.seekg( 7 , ios::beg);<br />
out.get(x);<br />
x= atoi(x);<br />
count++;<br />
timeStamp[x]=count;<br />
<br />
}
<br />
if(ch == "R" | ch == "r")<br />
{<br />
out.seekg( 6 , ios::beg);<br />
out.get(t);<br />
t= atoi(t);<br />
num=timeStamp[t];<br />
<br />
out.seekg( 8 , ios::beg);<br />
out.get(v);<br />
v= atoi(v);<br />
<br />
I=1;<br />
<br />
while(variable[v][i]<=num)<br />
I=I+2;<br />
<br />
I=I-2;<br />
variable[v][i]=num;<br />
<br />
<br />
}
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
out.close();<br />
<br />
return 0;<br />
<br />
<br />
}
|
|
|
|
|
No no no, you got it all wrong. This is what you want to do...
private void btnSummary_Click(object sender, EventArgs e)<br />
{<br />
rtbSummaryInfo.Text = "";<br />
if (cboDays.Text == "One")<br />
{<br />
rtbSummaryInfo.Text = "Your date: "+ dateTimePicker1.Text;<br />
}<br />
else if (cboDays.Text == "Two")<br />
{<br />
rtbSummaryInfo.Text = "Your dates: "+ dateTimePicker1.Text + " and "+ dateTimePicker2.Text;<br />
}<br />
else if (cboDays.Text == "Three")<br />
{<br />
rtbSummaryInfo.Text = "You have chosen "+ dateTimePicker1.Text +","+dateTimePicker2.Text+","+dateTimePicker3.Text;<br />
}<br />
else if (cboDays.Text == "Four")<br />
{<br />
rtbSummaryInfo.Text = "test four";<br />
}<br />
else if (cboDays.Text=="Five")<br />
{<br />
rtbSummaryInfo.Text = "test five";<br />
}<br />
else if (cboDays.Text == "Zero")<br />
{<br />
MessageBox.Show("You need to select a minimum of one rental day", "Alert", MessageBoxButtons.OK, MessageBoxIcon.Warning);<br />
}<br />
}
“If we are all in agreement on the decision - then I propose we postpone further discussion of this matter until our next meeting to give ourselves time to develop disagreement and perhaps gain some understanding of what the decision is all about.”-Alfred P. Sloan
|
|
|
|
|
I'm not sure if this would be the right forum (though I would think so). But I just got a new computer. It's MUCH, MUCH better than my old one. LoL. I'd like to keep my old harddrive along with the new one. The new one is WinXP Pro SP2, and the old one is Win2K Pro SP4. I have my old harddrive plugged in using 'Cable Select', and it's picked up as the primary slave.
If I change the boot order in BIOS, and attempt to boot from my Win2K HDD, I get a blue screen saying "INACCESSIBLE_BOOT_DEVICE" and a bunch of other text. I didn't figure it'd work. But I don't necessarily know why either.
Is there a way that I can boot from either HDD? If so, I will upgrade my Windows 2000 HDD to WinXP Pro SP2 as well. Most of my applications are installed on the Windows 2000 HDD, but I installed my VS .NET 2005 Pro to my new HDD. But I do quite a bit of music production also. I wanted to use my new HDD strictly for programming and music, and use my old one for misc. things. Is this possible?
Would it be an issue with the hardware? I'm using the same graphics card (swapped it out), but the motherboard, processor, audio card, etc., are not the same (of course =P).
If you need any clarification on my question just post it. Or IM me on Yahoo! (the_dadd_from_tn2005).
Thanks in advance,
Matt U.
|
|
|
|
|
Matt U. wrote: I get a blue screen saying "INACCESSIBLE_BOOT_DEVICE" and a bunch of other text
This typically means that either the new platform or the old (or both) requires a non-standard disk driver. When Windows boots, the initial boot loader has to be able to read the disk in protected mode (where it can't drop back to an add-in ROM) at a point where it only has the capability of reading the root directory, and when it hasn't yet loaded the registry. To do this, either the disk must be connected to a legacy hard disk controller or register compatible (such as on-board non-RAID IDE or SATA) or there must be a copy of the disk (controller) driver copied to ntbootdd.sys in the root of the boot partition.
Alternatively it may be as simple as the line in boot.ini referring to the old location of the drive, for example if it was the primary master in the old system but is now primary slave.
You can typically do a repair install of the OS to fix this. Boot from the install CD, hit F6 to select an additional drivers required, insert the driver floppy when prompted, then select to install or upgrade (not the first Repair option), then select the location of your old Windows installation and choose to reinstall over the top. This will cause setup to write a new ntbootdd.sys driver, if needed, or fix up the line in boot.ini if that's the problem. It'll also re-do all of the hardware detection so you shouldn't have any more problems with incorrect drivers.
See also How to perform an in-place upgrade of Windows 2000[^] in Microsoft's Knowledge Base.
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
If I'm not mistaken, you can only boot a Windows partition from a master drive. Or at least, the boot sector must reside on the master drive; given that, booting multiple operating systems from multiple disks will be difficult, but dual booting from one master disk is easy.
Anyway, I think to answer your question, you need to change the jumper on the drive to "Master" to get the drive to boot properly, but just know that only that partition will boot, you will not be able to select the other operating system (whichever it may be).
If you want to dual boot both XP Pro and W2k, repartition your master drive the way you want (minimum of 2 partitions). Now install W2k FIRST onto the FIRST partition on the disk. Now install XP Pro onto the SECOND partition on the disk.
You can use the remaining portion of the first disk and all of the second disk for additional storage.
XP Pro will rewrite the boot sector of the disk and will recognize the W2k partition as bootable and will add it to the boot menu. The only thing you need to know now is that ALL post-BIOS and pre-Windows boot management is handled by the XP Pro installation.
|
|
|
|