|
by: tjfdownsouth |
last post by:
Is there a straight forward way to tell .net to log any unhandled errors in
the application log. I am catching and logging in certain locations but its
the surprise errors that I need to log the information from. I know how to
log using a try-catch block but i need something for any unforseen error
since my users do not report the description and location correctly.
Thanks for any help.
|
by: jm |
last post by:
This works, but I don't know why.
static void Main()
{
// Queue the task.
ThreadPool.QueueUserWorkItem(new WaitCallback(ThreadProc),new
Form1());
Application.Run();
}
|
by: Gustavo L. Fabro |
last post by:
Greetings!
I'm testing VS 2005 Beta 2, and I've compiled a program that
runs just fine on my computer (where VS is installed).
I've tried to run this same program on another computer
(after having installed MS .NET Framework 2.0 Beta 2 on it,
from
http://www.microsoft.com/downloads/details.aspx?FamilyId=7ABD8C8F-287E-4C7E-9A4A-A4ECFF40FC8E&displaylang=en),
but got the following message:
|
by: Arran Pearce |
last post by:
Not sure if what i want to do will work.
If i start a new thread in the Application_Start event is there a risk that
that thread will be forced to stop? If no user uses my site for a while
(all session's time out) i understand the application stops until another
user comes to the site. if my thread is doing something will it be forced
to stop or will the Application stop after the thread is done.
|
by: Jim Butler |
last post by:
What are the drawbacks if any to this approach of not
using the gac for shared components... basically having a
central directory located outside of iis, that all web
applications have a virtual dir named bin pointing to this
dir. like below setup, all on each server in a farm
web site root one
vdir bin points to drive\sharedbin
web application a
|
|
by: CM |
last post by:
Hi,
I used to use the following code to play sound in VB6:
Public Declare Function sndPlaySound32 Lib "winmm.dll" Alias "sndPlaySoundA"
_
(ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
call sndPlaySound32("c:\WinNt\Media\ding.wav", 0)
|
by: mikes1962 |
last post by:
I am developing a Dialog based application using visual c++ .net 2003
running on XP, and when I run I periodically get the following error
message.
"The application has requested runtime to terminate it in an unusual
way"
The error doesn't always occur. and when I run within the IDE the error
never occurs.
Has anyone seen anything like this?
|
by: ganeshp |
last post by:
Hi ,
In my project i have come across a requirement where i must track the runtime of a process and terminate the process if it execeed a certain threshold limit.
semthing like
step 1: Create a child process
step 2. Make child process perfrom some operation.
Step 3: Make parent process monitor the runtime of the child process
Step 4: Parent process to terminate the child process after threshold time say 1000000 seconds is equal...
|
by: raul15791 |
last post by:
Hi,
I'm new to C#. I'm writing a program that open a new excel file, write into it and lastly close the file. But the program is that there will be a orphaned process named EXCEL.EXE left on the process queue whenever the program quit. Anyway to terminate it automatically when the application exit? I read some previous postings on the same problem and try to use Marshal.ReleaseCOMObject and Garbage Collection. None of these works. Here's my...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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: 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: 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: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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: 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...
|