all groups > dotnet general > december 2005 > threads for thursday december 22
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
OnShutdown not executing in Windows service
Posted by Peter Meinl at 12/22/2005 11:25:54 PM
Restarting Windows seems not to fire the OnShutdown event in the
Windows Service.
Does not work on Windows XP SP2 and not on Windows 2003
Server SP1.
OnStart and OnStop do work fine.
Steps to reproduce:
Create a Windows service in VB.NET using VS 2005.
Set CanShutdown property to true.
... more >>
load a dataset with an XMLString
Posted by Newbee at 12/22/2005 9:53:37 PM
How do I load a data set with an XML string.(not Xml file).
... more >>
Can you queue install apps or msi's
Posted by John Keers at 12/22/2005 3:35:16 PM
Hi
Can anyone tell me how you run multiple msi's or install programs from a
single msi. I'm using VS2005?
Thanks
... more >>
Launching command line compiler
Posted by Michael Moreno at 12/22/2005 3:01:22 PM
Hello,
I am trying to automatically compile all my projects but I am stuck on
something silly: launching csc with the right arguments.
Here is my code
private void CompileProject(string RSPFile)
{
System.Text.StringBuilder sbArgs = new
System.Text.StringBui... more >>
Smart Pointers (SQLDMO): Acquiring SQLServer2 interface from SQLServer interface?
Posted by Mark Findlay at 12/22/2005 12:20:13 PM
My C++ .Net project currently uses smart points for SQLDMO object
manipulation:
SQLDMO::_SQLServerPtr spSQLServer;
HRESULT hr = spSQLServer.CreateInstance(__uuidof(SQLDMO::SQLServer));
if (FAILED(hr))
{
return;
}
Is there a way I can acquire the SQLServer2 interface from the spSQLS... more >>
Branch a project from VS 03
Posted by John A. Bailo at 12/22/2005 10:03:42 AM
Is there a way to branch a source safe'd project from within VS03 ?
... more >>
VS2005 & MSDE compatability
Posted by John Keers at 12/22/2005 9:38:09 AM
Can anyone tell me if there is a solution to the following problem.
I have an application that uses MSDE, I cant use SQL Express because we
still need to support Windows 98. In VS2003 the bootstrapper plugin allowed
us to install MSDE but now we have changed over to VS2005 there doesnt seem
... more >>
Using Directory.Exists for UNC path is sloowwwwww
Posted by css at 12/22/2005 7:59:02 AM
When I call Directory.Exists for a UNC path like below...
if (Directory.Exists(@\\SomeServer\C) == false)
{
....
}
and that server does not exist on the connected network, it takes around a
minute to return from the call which properly returns false.
Is there a f... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Windows Service Stream issue
Posted by cjohnson275 NO[at]SPAM hotmail.com at 12/22/2005 7:32:14 AM
Hi,
I have some code that uses HttpWebRequest to request data from an
Internet site, performaing a "screen-scraping" of an html page textual
data. I then use the HttpWebResponse.GetResponseStream() to retrieve
the data as a stream.
I put this stream into a MemoryStream, and I use a StreamR... more >>
Raise Events in a control inside another
Posted by Martin at 12/22/2005 7:25:03 AM
In a VB.NET windows forms
I have a custom control which I have added a number of instances to a panel
control. I want to raise a event when one of the controls on one of the
custom controls is changed etc. and trap this event in the Form code where
the panel is
Each copy of the control ... more >>
Unable to read from my App.config
Posted by poppy at 12/22/2005 3:22:02 AM
I have a windows app in a virtual folder which works great on my test server.
However, when I move the application to a production server I get the
following error :
An unhandled error has occured in your application. Object not set to an
instance of an object.
This only occurs when I try... more >>
.net memory leak problem in exe
Posted by anandav2001 NO[at]SPAM gmail.com at 12/22/2005 1:51:52 AM
Hello developers,
I have created an executable(system tray application) in VS.net 2003
using VB.net. My app was taking 30 MB memory(since some web services
call are there which happens for each 10 sec checking internet is
available or not). Inorder to reduce huge memory consumption, what i
... more >>
|