|
by: Barry Munro |
last post by:
Hi,
I'm using the following code to print documents from the file system but i'm
encountering strange behaviour. If I print one document it works ok but if i
say loop round a list of files and print them they start coming out in the
wrong order, some of the documents are printed multiple times and others are
not printed at all.
I think it might be the invoked application, word, outlook, acrobat etc,
getting in a mess when it has to...
|
by: Sriram |
last post by:
Hi.
Following code works fine on XP, but not on W2K+SP4. When I run it on W2K,
it does not give me any error, exception. I have tried setting
StartInfo.ErrorDialog = True, ErrorDialogParentHandle, CreateNoWindow =
False, but in vain...
The xcopy is available in the path set in system environment variable of W2k
box...
|
by: Daniel Reber |
last post by:
I am trying to start a process from a windows service but when the process
starts the command window that the process runs in never shows. Is this
because I am calling it from a windows service? Is there something else
that I need to do?
Here is my code:
System.Diagnostics.ProcessStartInfo info = new
System.Diagnostics.ProcessStartInfo();
|
by: Morten |
last post by:
Hi!
Does anyone know why the code below always returns an "access is denied"
error?
private void Page_Load(object sender, System.EventArgs e)
{
System.Diagnostics.Process meProc = System.Diagnostics.Process.Start
("cmd.exe", " /c echo y| CACLS C:\\Temp /E /T /G test:F");
|
by: Ram |
last post by:
Hey,
I'm trying to use the following code inside an ASP.NET project:
System.Diagnostics.Process objProcess;
objProcess = new System.Diagnostics.Process();
objProcess.StartInfo.FileName=@"c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
\gacutil.exe";
objProcess.StartInfo.Arguments = " /if c:\MyDLL.dll";
objProcess.StartInfo.RedirectStandardOutput = true;
objProcess.StartInfo.UseShellExecute = false;
|
|
by: garyusenet |
last post by:
I have been trying for some time now to launch Internet Explorer from
my code. I have read the MSDN notes on this way of starting processes
and used their example but couldn't get it to work.
I then searched the forums and made ammendments suggested to previous
posters but it still isn't working. Here is my StartInternetExplorer()
method. Could you please look and see what I am doing wrong?
Thankyou.
Gary.
|
by: Speech Lover |
last post by:
I am trying to find a sample from the Internet about invoking a command line
from .NET 2.0 by using System.Diagnostics.Process with Domain, UserName and
Password specified?
All samples I found so far are without UserName and Password specified.
thanks,
Speech Lover
|
by: Bali |
last post by:
Hi
I have an ASP.NET application. I am on the server side and trying to
start an application which is on the server. The process gets
started(can be seen in the Task Manager) but doesn't do anything(00
CPU cycles).
System.Diagnostics.Process.Start("c:\\Code\\testExe\\test.exe");
Now I have gone to the testExe folder and given both ASPNet and
|
by: JnrJnr |
last post by:
Hello. I am trying to open a .EXE file with the System.Diagnostics.Process.Start(some file path .exe) command. It works for most programs and apps but for others programs I get a warning message box
"WIN_IMPROPER_QUIT_BODY" with Yes,No,Cancel option. When I click Yes or No I get an error "Error during initialization: some blah blah file not found".
When I refer to the shortcut of the program Im trying to run it actually works and opens the...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|