all groups > dotnet framework > march 2005 > threads for monday march 14
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
Application.EnableVisualStyles and no image in Tab control
Posted by #ROBERT at 3/14/2005 8:09:53 PM
(VS 2003 + .NET Framework 1.1 + WinXP Pro SP2)
Calling Application.EnableVisualStyles() after the initialization() removes
all images in the tab control (in the tab headers I mean). Without visual
styles enabled, I have no
problem. What is wrong and what is the solution?
(PS: Using a manifes... more >>
Virtual Constructor or dynamic new()
Posted by Bryce Covert at 3/14/2005 7:51:08 PM
Hi everyone.
This is more of a curiosity question than anything, because there are
several ways to work around this problem (including another similiar way I've
used before), but the way I'm doing this is the way I find most "clean".
Essentially, I have an MDI form. All of the forms one ma... more >>
Registry
Posted by Charles A. Lackman at 3/14/2005 6:48:10 PM
Can anyone tell me where would I look in the registry to find out is a user
is using Large Fonts or Normal Fonts?
I need to know this from the registry so that I can make a program display
differently based on what the systems fonts are set to.
Thanks,
Chuck
... more >>
Required runtime for assembly
Posted by Riki at 3/14/2005 3:45:53 PM
I know that I can set a required runtime version for an application in the
config file.
I can also configure the runtime version for an assembly in the GAC.
But how can I set a required runtime for an assembly in the assembly itself?
Meaning that the framework should give an error when I ... more >>
InteropServices.COMException
Posted by Quinn at 3/14/2005 2:57:47 PM
Hello all,
I have a program using
AxInterop.MSFlexGridLib.dll
Interop.MSFlexGridLib.dll.
When I run this program I got the following errors:
" An unhandled exception of type
System.Runtime.InteropServices.COMException' occurred in
system.windows.forms.dll
Additional information: Clas... more >>
PERFMON and PerformanceCounterCategory return different counters
Posted by Bert Hyman at 3/14/2005 1:05:46 PM
Using the PerformanceCounterCategory methods on SQL Server objects
returns counters that don't show up in PERFMON, in particular:
SQLServer:AccessMethods \ Worktables from cache ratio base
SQLServer:BufferManager \ Buffer cache hit ratio base
SQLServer:CacheManager(_Total) \ Cache hit ratio... more >>
How can I force server GC under W2K3 using Framework 1.1 SP-1?
Posted by dmako at 3/14/2005 12:43:04 PM
I have been reading about a new setting that under FW 1.0 SP-3, and FW 1.1
SP-1 which allows you to choose the Server GC.
i.e.
<Configuration>
<runtime>
<gcServer enabled="true" />
</runtime>
</Configuration>
Well I tried this under Windows Server 2000 and it seems to ... more >>
Error: Reqiured component Misiisng.
Posted by Gaffar at 3/14/2005 12:30:23 PM
Good morning Sir,
I am working with microsoft visual studio 2005 express edition beta1 =
version which is a sql server embedded. in this while i am creating =
database i am getting an eror "Required Component Missing : connection =
to sql server datafiles(*.mdf) require sql server ver 9.0 or a... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Thread pool
Posted by Reza at 3/14/2005 9:09:02 AM
Hi
As we know thread pool threads are background by default. Suppose that we
change them to foreground as soon as they are started, they do some task and
exit. The problem is that the application never ends.
This is a sample:
private void MyThread(object state)
{
Thread.Curr... more >>
UML thoughts and advice
Posted by aaj at 3/14/2005 8:59:18 AM
Dear all
I work with a small team of developers (3 people) and we are looking at
trying a CASE tool that supports UML 2.0.
We haven't used this type of product before and don't really want to spend
thousands just yet.
I'm wondering if any of you guys have any recommendations or thoughts... more >>
Compiled executable causes crash on startup
Posted by Neil at 3/14/2005 8:48:00 AM
Hi,
We're having a problem with VB6 on win2k machines where,
generally on a second or subsequent build, the compiled
executable will either crash immediately when run (Illegal
instruction) or will cause an untraceable 'Object variable
or with block not set' error. 95% of the time the fir... more >>
How can Process.Start() command be used in a Web Application??
Posted by bwalke NO[at]SPAM lbrspec.com at 3/14/2005 7:50:21 AM
I was wondering if and how the Process.Start() command can be used in a
VB.NET Web Application. I want the client side to invoke an .exe
application by clicking a button and I want the .exe to run on the
server side. When the button is clicked the .exe does not run and the
process fails. I have... more >>
DateTime.ParseExact( ) usage
Posted by Dave P at 3/14/2005 7:41:53 AM
I'm trying to parse a string into a DateTime object. I
want to try using ParseExact to see if I can improve
performance of a frequently-called method (i.e., please
don't suggest using Parse()). My code looks like this:
IFormatProvider fp = new System.Globalization.CultureInfo
("en-US")... more >>
Clustering a .NET Windows Service
Posted by Fabio Hemylio at 3/14/2005 5:01:03 AM
Hi,
I have build a Windows Service using Microsoft .NET Framework. This
service works listening a port and validating the received messages against a
database. This application have a high availability requirement that must be
achieved by configuring it on a cluster.
When testing... more >>
Search Query..?
Posted by Wong CS at 3/14/2005 2:12:10 AM
Dear developers,
i would like to giv my scenario here:
my DB wif a field, called Title varchar(40) where user can put their item
wif title, for example, "40GB harddisk for sale" and other item..
for another user who wish to buy harddisk wil search for his desired item
but typing "harddisk... more >>
Install require server reboot?
Posted by Chris Hagon at 3/14/2005 2:09:03 AM
Hi
I have a Windows 2000 server that is our FSMO role holder (hence quite
important!). We need to install ditnet Framework 1.1 - will this require the
server to reboot to take effect?
Any help would be much appreciated!
-------
Tech Admin
West Midlands, England
Stressed and Tired!
----... more >>
"Using Udp Services" example not working
Posted by Avi Shilon at 3/14/2005 1:13:03 AM
Hi all,
I'm trying to use the example in the .NET Framework SDK
about using Udp services, but it just doesn't work.
The example is the one with the two classes,
UDPMulticastListener and UDPMulticastSender.
If anyone knows what's wrong with the code in that
example, can you please help me?... more >>
[C#][AddIN] How to obtain attributes in the current class ?
Posted by Freddyboy at 3/14/2005 12:59:02 AM
Hi,
I'am developping a simple addin for visual studio .NET 2003.
I'd like to obtain attributes in the current class.
Somebody know how it's possible (EnvDTE CodeVariable ?)
Do you have an exemple ?
Thanks.
Best Regard.... more >>
|