473,406 Members | 2,378 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Process Hanging

Hello ,

I am developping a program for Win98 plateform, and I am stucking with a
problem, hope you can help me.

I have a program running 2 process :
- One process running the Xcopy.exe
- When the first process is finished, it runs another Exe process (HHC.exe)

The code is below:

// Process 1: Xcopy.exe to copy directory 1 to 2

compiler.StartInfo.FileName = "Xcopy.exe";
compiler.StartInfo.Arguments = Dir1 + Dir2 + " " + "/S /Y";
compiler.StartInfo.UseShellExecute = false;
compiler.StartInfo.CreateNoWindow = true;
compiler.Start();

while (!compiler.HasExited)
{
Application.DoEvents();
{

// Process 2: Recompilation the new CHM with Hhc.exe external command
compiler.StartInfo.FileName = Dir 2 + "\\" + "hhc.exe";
compiler.StartInfo.Arguments = Dir2 + "\\" + "Help.hhp";
compiler.StartInfo.UseShellExecute = false;
compiler.StartInfo.CreateNoWindow = true;
compiler.Start();

while (!compiler.HasExited)
{
Application.DoEvents();
}
My problem is that, when I run this program in Windows 98, the Xcopy process
runs in the black window and it hangs, the process 2 cannot be run until I
manually close it command window
The same program works fine in WinXP or 2000

Do you have a clue of what' s going on ?, how can I avoid this Xcopy black
screen to appear in win98 ?

thanks for your help

S
Nov 16 '05 #1
7 3322
Hi Samantha,,

Did you try yor xcopy command with all the needed parameter in win98 machine
manually..

becos I know win 98 has two command xcopy and *XCOPY32.EXE* may be there may
have some link here.. so first try the command manually in ur windows box
and see whether actaully it works..

Regards,
Nirosh.

"Samantha" <Sa******@discussions.microsoft.com> wrote in message
news:85**********************************@microsof t.com...
Hello ,

I am developping a program for Win98 plateform, and I am stucking with a
problem, hope you can help me.

I have a program running 2 process :
- One process running the Xcopy.exe
- When the first process is finished, it runs another Exe process (HHC.exe)
The code is below:

// Process 1: Xcopy.exe to copy directory 1 to 2

compiler.StartInfo.FileName = "Xcopy.exe";
compiler.StartInfo.Arguments = Dir1 + Dir2 + " " + "/S /Y";
compiler.StartInfo.UseShellExecute = false;
compiler.StartInfo.CreateNoWindow = true;
compiler.Start();

while (!compiler.HasExited)
{
Application.DoEvents();
{

// Process 2: Recompilation the new CHM with Hhc.exe external command
compiler.StartInfo.FileName = Dir 2 + "\\" + "hhc.exe";
compiler.StartInfo.Arguments = Dir2 + "\\" + "Help.hhp";
compiler.StartInfo.UseShellExecute = false;
compiler.StartInfo.CreateNoWindow = true;
compiler.Start();

while (!compiler.HasExited)
{
Application.DoEvents();
}
My problem is that, when I run this program in Windows 98, the Xcopy process runs in the black window and it hangs, the process 2 cannot be run until I
manually close it command window
The same program works fine in WinXP or 2000

Do you have a clue of what' s going on ?, how can I avoid this Xcopy black
screen to appear in win98 ?

thanks for your help

S

Nov 16 '05 #2
second... in between these argumanet Dir1 and Dir2 I don't see a space how
this really work in XP and 2000..

I think you are missing some thing here..

Nirosh.

"Samantha" <Sa******@discussions.microsoft.com> wrote in message
news:85**********************************@microsof t.com...
Hello ,

I am developping a program for Win98 plateform, and I am stucking with a
problem, hope you can help me.

I have a program running 2 process :
- One process running the Xcopy.exe
- When the first process is finished, it runs another Exe process (HHC.exe)
The code is below:

// Process 1: Xcopy.exe to copy directory 1 to 2

compiler.StartInfo.FileName = "Xcopy.exe";
compiler.StartInfo.Arguments = Dir1 + Dir2 + " " + "/S /Y";
compiler.StartInfo.UseShellExecute = false;
compiler.StartInfo.CreateNoWindow = true;
compiler.Start();

while (!compiler.HasExited)
{
Application.DoEvents();
{

// Process 2: Recompilation the new CHM with Hhc.exe external command
compiler.StartInfo.FileName = Dir 2 + "\\" + "hhc.exe";
compiler.StartInfo.Arguments = Dir2 + "\\" + "Help.hhp";
compiler.StartInfo.UseShellExecute = false;
compiler.StartInfo.CreateNoWindow = true;
compiler.Start();

while (!compiler.HasExited)
{
Application.DoEvents();
}
My problem is that, when I run this program in Windows 98, the Xcopy process runs in the black window and it hangs, the process 2 cannot be run until I
manually close it command window
The same program works fine in WinXP or 2000

Do you have a clue of what' s going on ?, how can I avoid this Xcopy black
screen to appear in win98 ?

thanks for your help

S

Nov 16 '05 #3
Hello Nirosh,

"> second... in between these argumanet Dir1 and Dir2 I don't see a space how
this really work in XP and 2000.."
There is a space at the end of Dir1, I run the command manually, it works
great. actually, when the program runs, it' s actually work because it show
up the Xcopy windows with the files being copied and there numbers, but this
black windows is not closing so the next process cannot be run.

Why the Xcopy window show up and not disappear after finishing his job ?

Regards

S.


"Champika Nirosh" wrote:
second... in between these argumanet Dir1 and Dir2 I don't see a space how
this really work in XP and 2000..

I think you are missing some thing here..

Nirosh.

"Samantha" <Sa******@discussions.microsoft.com> wrote in message
news:85**********************************@microsof t.com...
Hello ,

I am developping a program for Win98 plateform, and I am stucking with a
problem, hope you can help me.

I have a program running 2 process :
- One process running the Xcopy.exe
- When the first process is finished, it runs another Exe process

(HHC.exe)

The code is below:

// Process 1: Xcopy.exe to copy directory 1 to 2

compiler.StartInfo.FileName = "Xcopy.exe";
compiler.StartInfo.Arguments = Dir1 + Dir2 + " " + "/S /Y";
compiler.StartInfo.UseShellExecute = false;
compiler.StartInfo.CreateNoWindow = true;
compiler.Start();

while (!compiler.HasExited)
{
Application.DoEvents();
{

// Process 2: Recompilation the new CHM with Hhc.exe external command
compiler.StartInfo.FileName = Dir 2 + "\\" + "hhc.exe";
compiler.StartInfo.Arguments = Dir2 + "\\" + "Help.hhp";
compiler.StartInfo.UseShellExecute = false;
compiler.StartInfo.CreateNoWindow = true;
compiler.Start();

while (!compiler.HasExited)
{
Application.DoEvents();
}
My problem is that, when I run this program in Windows 98, the Xcopy

process
runs in the black window and it hangs, the process 2 cannot be run until I
manually close it command window
The same program works fine in WinXP or 2000

Do you have a clue of what' s going on ?, how can I avoid this Xcopy black
screen to appear in win98 ?

thanks for your help

S


Nov 16 '05 #4
Try this...
compiler.StartInfo.FileName = "Xcopy.exe";
compiler.StartInfo.Arguments = Dir1 + Dir2 + " " + "/S /Y";
compiler.StartInfo.UseShellExecute = false;
compiler.StartInfo.CreateNoWindow = true; System.Diagnostic.Process myPorc = compiler.Start();

When ever it is done..

// Close process by sending a close message to its main window.
myPorc.CloseMainWindow();
// Free resources associated with process.
myPorc.Close();

Regards,
Nirosh.
"Samantha" <Sa******@discussions.microsoft.com> wrote in message
news:A5**********************************@microsof t.com...
Hello Nirosh,

"> second... in between these argumanet Dir1 and Dir2 I don't see a space how
this really work in XP and 2000.."


There is a space at the end of Dir1, I run the command manually, it works
great. actually, when the program runs, it' s actually work because it

show up the Xcopy windows with the files being copied and there numbers, but this black windows is not closing so the next process cannot be run.

Why the Xcopy window show up and not disappear after finishing his job ?

Regards

S.


"Champika Nirosh" wrote:
second... in between these argumanet Dir1 and Dir2 I don't see a space how this really work in XP and 2000..

I think you are missing some thing here..

Nirosh.

"Samantha" <Sa******@discussions.microsoft.com> wrote in message
news:85**********************************@microsof t.com...
Hello ,

I am developping a program for Win98 plateform, and I am stucking with

a problem, hope you can help me.

I have a program running 2 process :
- One process running the Xcopy.exe
- When the first process is finished, it runs another Exe process

(HHC.exe)

The code is below:

// Process 1: Xcopy.exe to copy directory 1 to 2

compiler.StartInfo.FileName = "Xcopy.exe";
compiler.StartInfo.Arguments = Dir1 + Dir2 + " " + "/S /Y";
compiler.StartInfo.UseShellExecute = false;
compiler.StartInfo.CreateNoWindow = true;
compiler.Start();

while (!compiler.HasExited)
{
Application.DoEvents();
{

// Process 2: Recompilation the new CHM with Hhc.exe external command
compiler.StartInfo.FileName = Dir 2 + "\\" + "hhc.exe";
compiler.StartInfo.Arguments = Dir2 + "\\" + "Help.hhp";
compiler.StartInfo.UseShellExecute = false;
compiler.StartInfo.CreateNoWindow = true;
compiler.Start();

while (!compiler.HasExited)
{
Application.DoEvents();
}
My problem is that, when I run this program in Windows 98, the Xcopy

process
runs in the black window and it hangs, the process 2 cannot be run until I manually close it command window
The same program works fine in WinXP or 2000

Do you have a clue of what' s going on ?, how can I avoid this Xcopy black screen to appear in win98 ?

thanks for your help

S


Nov 16 '05 #5
thanks Nirosh,

I have tried your solution, but the compilation gives error at this line:
System.Diagnostic.Process myPorc = compiler.Start();
error message: cannot convert type bool to System.Diagnostic.Process.

compiler.Start() return a boolean value and it cannot this value to
System.Diagnostic.Process....how can it be done ?

regards

S


"Champika Nirosh" wrote:
Try this...
> compiler.StartInfo.FileName = "Xcopy.exe";
> compiler.StartInfo.Arguments = Dir1 + Dir2 + " " + "/S /Y";
> compiler.StartInfo.UseShellExecute = false;
> compiler.StartInfo.CreateNoWindow = true; System.Diagnostic.Process myPorc = compiler.Start();

When ever it is done..

// Close process by sending a close message to its main window.
myPorc.CloseMainWindow();
// Free resources associated with process.
myPorc.Close();

Regards,
Nirosh.
"Samantha" <Sa******@discussions.microsoft.com> wrote in message
news:A5**********************************@microsof t.com...
Hello Nirosh,

"> second... in between these argumanet Dir1 and Dir2 I don't see a space

how this really work in XP and 2000.."


There is a space at the end of Dir1, I run the command manually, it works
great. actually, when the program runs, it' s actually work because it

show
up the Xcopy windows with the files being copied and there numbers, but

this
black windows is not closing so the next process cannot be run.

Why the Xcopy window show up and not disappear after finishing his job ?

Regards

S.


"Champika Nirosh" wrote:
second... in between these argumanet Dir1 and Dir2 I don't see a space how this really work in XP and 2000..

I think you are missing some thing here..

Nirosh.

"Samantha" <Sa******@discussions.microsoft.com> wrote in message
news:85**********************************@microsof t.com...
> Hello ,
>
> I am developping a program for Win98 plateform, and I am stucking with a > problem, hope you can help me.
>
> I have a program running 2 process :
> - One process running the Xcopy.exe
> - When the first process is finished, it runs another Exe process
(HHC.exe)
>
> The code is below:
>
> // Process 1: Xcopy.exe to copy directory 1 to 2
>
> compiler.StartInfo.FileName = "Xcopy.exe";
> compiler.StartInfo.Arguments = Dir1 + Dir2 + " " + "/S /Y";
> compiler.StartInfo.UseShellExecute = false;
> compiler.StartInfo.CreateNoWindow = true;
> compiler.Start();
>
> while (!compiler.HasExited)
> {
> Application.DoEvents();
> {
>
> // Process 2: Recompilation the new CHM with Hhc.exe external command
> compiler.StartInfo.FileName = Dir 2 + "\\" + "hhc.exe";
> compiler.StartInfo.Arguments = Dir2 + "\\" + "Help.hhp";
> compiler.StartInfo.UseShellExecute = false;
> compiler.StartInfo.CreateNoWindow = true;
> compiler.Start();
>
> while (!compiler.HasExited)
> {
> Application.DoEvents();
> }
>
>
> My problem is that, when I run this program in Windows 98, the Xcopy
process
> runs in the black window and it hangs, the process 2 cannot be run until I > manually close it command window
> The same program works fine in WinXP or 2000
>
> Do you have a clue of what' s going on ?, how can I avoid this Xcopy black > screen to appear in win98 ?
>
> thanks for your help
>
> S
>
>


Nov 16 '05 #6
Hi Samantha,

Yes you got to use some other overload to have it.. may be you can try to
pass the startinfo object to the start method as a parameter, that will
return the reference of the active process. Or else just try to call
compiler.CloseMainWindow();

Second is try to use compiler.WaitForExit() Method to replace

while (!compiler.HasExited)
{
Application.DoEvents();
}

Note: Since this is a uncommon issue you got to try different ways to find a
work around.. so just go to msdn and have a look at
System.Diagnostic.Process class and it's memebers..

Regards,
Nirosh.

"Samantha" <Sa******@discussions.microsoft.com> wrote in message
news:95**********************************@microsof t.com...
thanks Nirosh,

I have tried your solution, but the compilation gives error at this line:
System.Diagnostic.Process myPorc = compiler.Start();


error message: cannot convert type bool to System.Diagnostic.Process.

compiler.Start() return a boolean value and it cannot this value to
System.Diagnostic.Process....how can it be done ?

regards

S


"Champika Nirosh" wrote:
Try this...
> > compiler.StartInfo.FileName = "Xcopy.exe";
> > compiler.StartInfo.Arguments = Dir1 + Dir2 + " " + "/S /Y";
> > compiler.StartInfo.UseShellExecute = false;
> > compiler.StartInfo.CreateNoWindow = true;

System.Diagnostic.Process myPorc = compiler.Start();

When ever it is done..

// Close process by sending a close message to its main window. myPorc.CloseMainWindow();
// Free resources associated with process.
myPorc.Close();

Regards,
Nirosh.
"Samantha" <Sa******@discussions.microsoft.com> wrote in message
news:A5**********************************@microsof t.com...
Hello Nirosh,

"> second... in between these argumanet Dir1 and Dir2 I don't see a space
how
> this really work in XP and 2000.."

There is a space at the end of Dir1, I run the command manually, it
works great. actually, when the program runs, it' s actually work because it show
up the Xcopy windows with the files being copied and there numbers,
but this
black windows is not closing so the next process cannot be run.

Why the Xcopy window show up and not disappear after finishing his job
?
Regards

S.


"Champika Nirosh" wrote:

> second... in between these argumanet Dir1 and Dir2 I don't see a space how
> this really work in XP and 2000..
>
> I think you are missing some thing here..
>
> Nirosh.
>
> "Samantha" <Sa******@discussions.microsoft.com> wrote in message
> news:85**********************************@microsof t.com...
> > Hello ,
> >
> > I am developping a program for Win98 plateform, and I am stucking
with a
> > problem, hope you can help me.
> >
> > I have a program running 2 process :
> > - One process running the Xcopy.exe
> > - When the first process is finished, it runs another Exe process
> (HHC.exe)
> >
> > The code is below:
> >
> > // Process 1: Xcopy.exe to copy directory 1 to 2
> >
> > compiler.StartInfo.FileName = "Xcopy.exe";
> > compiler.StartInfo.Arguments = Dir1 + Dir2 + " " + "/S /Y";
> > compiler.StartInfo.UseShellExecute = false;
> > compiler.StartInfo.CreateNoWindow = true;
> > compiler.Start();
> >
> > while (!compiler.HasExited)
> > {
> > Application.DoEvents();
> > {
> >
> > // Process 2: Recompilation the new CHM with Hhc.exe external
command > > compiler.StartInfo.FileName = Dir 2 + "\\" + "hhc.exe";
> > compiler.StartInfo.Arguments = Dir2 + "\\" + "Help.hhp";
> > compiler.StartInfo.UseShellExecute = false;
> > compiler.StartInfo.CreateNoWindow = true;
> > compiler.Start();
> >
> > while (!compiler.HasExited)
> > {
> > Application.DoEvents();
> > }
> >
> >
> > My problem is that, when I run this program in Windows 98, the Xcopy > process
> > runs in the black window and it hangs, the process 2 cannot be run

until I
> > manually close it command window
> > The same program works fine in WinXP or 2000
> >
> > Do you have a clue of what' s going on ?, how can I avoid this

Xcopy black
> > screen to appear in win98 ?
> >
> > thanks for your help
> >
> > S
> >
> >
>
>
>


Nov 16 '05 #7
Hi Samantha,

Yes you got to use some other overload to have it.. may be you can try to
pass the startinfo object to the start method as a parameter, that will
return the reference of the active process. Or else just try to call
compiler.CloseMainWindow();

Second is try to use compiler.WaitForExit() Method to replace

while (!compiler.HasExited)
{
Application.DoEvents();
}

Note: Since this is a uncommon issue you got to try different ways to find a
work around.. so just go to msdn and have a look at
System.Diagnostic.Process class and it's memebers..

Regards,
Nirosh.

"Samantha" <Sa******@discussions.microsoft.com> wrote in message
news:95**********************************@microsof t.com...
thanks Nirosh,

I have tried your solution, but the compilation gives error at this line:
System.Diagnostic.Process myPorc = compiler.Start();


error message: cannot convert type bool to System.Diagnostic.Process.

compiler.Start() return a boolean value and it cannot this value to
System.Diagnostic.Process....how can it be done ?

regards

S


"Champika Nirosh" wrote:
Try this...
> > compiler.StartInfo.FileName = "Xcopy.exe";
> > compiler.StartInfo.Arguments = Dir1 + Dir2 + " " + "/S /Y";
> > compiler.StartInfo.UseShellExecute = false;
> > compiler.StartInfo.CreateNoWindow = true;

System.Diagnostic.Process myPorc = compiler.Start();

When ever it is done..

// Close process by sending a close message to its main window. myPorc.CloseMainWindow();
// Free resources associated with process.
myPorc.Close();

Regards,
Nirosh.
"Samantha" <Sa******@discussions.microsoft.com> wrote in message
news:A5**********************************@microsof t.com...
Hello Nirosh,

"> second... in between these argumanet Dir1 and Dir2 I don't see a space
how
> this really work in XP and 2000.."

There is a space at the end of Dir1, I run the command manually, it
works great. actually, when the program runs, it' s actually work because it show
up the Xcopy windows with the files being copied and there numbers,
but this
black windows is not closing so the next process cannot be run.

Why the Xcopy window show up and not disappear after finishing his job
?
Regards

S.


"Champika Nirosh" wrote:

> second... in between these argumanet Dir1 and Dir2 I don't see a space how
> this really work in XP and 2000..
>
> I think you are missing some thing here..
>
> Nirosh.
>
> "Samantha" <Sa******@discussions.microsoft.com> wrote in message
> news:85**********************************@microsof t.com...
> > Hello ,
> >
> > I am developping a program for Win98 plateform, and I am stucking
with a
> > problem, hope you can help me.
> >
> > I have a program running 2 process :
> > - One process running the Xcopy.exe
> > - When the first process is finished, it runs another Exe process
> (HHC.exe)
> >
> > The code is below:
> >
> > // Process 1: Xcopy.exe to copy directory 1 to 2
> >
> > compiler.StartInfo.FileName = "Xcopy.exe";
> > compiler.StartInfo.Arguments = Dir1 + Dir2 + " " + "/S /Y";
> > compiler.StartInfo.UseShellExecute = false;
> > compiler.StartInfo.CreateNoWindow = true;
> > compiler.Start();
> >
> > while (!compiler.HasExited)
> > {
> > Application.DoEvents();
> > {
> >
> > // Process 2: Recompilation the new CHM with Hhc.exe external
command > > compiler.StartInfo.FileName = Dir 2 + "\\" + "hhc.exe";
> > compiler.StartInfo.Arguments = Dir2 + "\\" + "Help.hhp";
> > compiler.StartInfo.UseShellExecute = false;
> > compiler.StartInfo.CreateNoWindow = true;
> > compiler.Start();
> >
> > while (!compiler.HasExited)
> > {
> > Application.DoEvents();
> > }
> >
> >
> > My problem is that, when I run this program in Windows 98, the Xcopy > process
> > runs in the black window and it hangs, the process 2 cannot be run

until I
> > manually close it command window
> > The same program works fine in WinXP or 2000
> >
> > Do you have a clue of what' s going on ?, how can I avoid this

Xcopy black
> > screen to appear in win98 ?
> >
> > thanks for your help
> >
> > S
> >
> >
>
>
>


Nov 16 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: serge calderara | last post by:
Dear all, I have an application which is suppose to start another executable process. As soon as that process is running, I need to retrive its handle. The problem of the particular process I am...
5
by: ask | last post by:
Hi NG I'm a bit new to programming c# and have a question regarding ftp by the command prompt. As far as I can see it should be possible to start a process and pipe command streams into it. But...
2
by: Samantha | last post by:
Hello , I am developping a program for Win98 plateform, and I am stucking with a problem, hope you can help me. I have a program running 2 process : - One process running the Xcopy.exe -...
2
by: Jeffrey Palermo, MCAD.Net | last post by:
I have some classes that control file processing in c#. The files come from a mainframe and may take some time for each to process. I use the Threadpool to process multiple files at once. Each...
4
by: John Lee | last post by:
Hi, I developed a scheduler as service and kick off another console application "DTSRUN.exe" to run a dts package ProcessStartInfo psInfo = new ProcessStartInfo(command); Process process =...
0
by: joeted | last post by:
Hi, I am using system.diagnostic.process with the intention of running a program to communicate with a unix box: The program is "PuTTY", running from a batch script. I know it works because...
10
by: Lars-Erik Aabech | last post by:
Hi! This issue have been discussed a lot, but I haven't found a solution that applies to ASP.NET. I have a library which does some operations on Excel documents, and it will be used in an...
0
by: Daniel | last post by:
C# windows service freezes on System.Diagnostics.Process.Start(info) When I launch PSCP from a C# windows service and launch pscp 0.53 there are no issues. but when I use C# windows service to...
4
by: DubSport | last post by:
I am trying to get my .net page to run a simple batch file on my IIS server. I want it to run with specified credentials. It appears to start the program cmd.exe as the correct user (shows up in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.