all groups > dotnet framework > february 2004
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
MonthCalendar: change color
Posted by samikdut at 2/29/2004 9:36:05 PM
Hello
is it possible to have 2 different dates with different color and format in Monthcalendar? If so,how
Please suggest
Thanks n Regards
Samik.... more >>
Differences between events and multi-cast delegates
Posted by I_hate_spammers NO[at]SPAM spammers_suck.com at 2/29/2004 7:17:42 PM
Hi:
I would like to know exactly what the difference is between an event
and a multi-cast delegate. From the little understanding I have, they
appear from the outside to be the same. Is this true? If not, how do
they differ?
Thanks in advance for any and all replies
Steve... more >>
making pop account on mail server from dotnet
Posted by MailYouLike at 2/29/2004 12:39:39 PM
Hi !
i need some help and advice
i am using asp.net to make a email application it is complete but just one
thing ,
i want to create a pop account at the mail server from my scripts is
that possilbe??? by soap or some thing else ?
Please let me know and if it is possilbe can you dire... more >>
[String]
Posted by gt at 2/29/2004 12:21:04 PM
I've been seeing syntax like: [String].Empty in VB.net code and can not find any explaination for the brackets []
... more >>
Exception setting SocketOption
Posted by Milosz - [playseven.com] at 2/29/2004 5:59:40 AM
Dim EP As System.Net.IPEndPoint = New System.Net.IPEndPoint(mIP, mPort)
Dim S As Socket = New Socket(EP.AddressFamily, SocketType.Dgram,
ProtocolType.Udp)
S.SetSocketOption(Sockets.SocketOptionLevel.Socket,
Sockets.SocketOptionName.SendTimeout, Me.mTimeOUT)
.......
it crashes with Ex... more >>
Versioning Problem
Posted by Sampat Dixit at 2/27/2004 9:16:06 PM
Hi
I am building a .NET Windows application using C#. In my application I am referring to shared library which updates very often(only revision change). Now I want my executable to load latest version of the shared library available in GAC
In short, If I have a shared assembly with version 1.0... more >>
.NET Framework makes me logon
Posted by John Blaustein at 2/27/2004 6:12:58 PM
Hi,
Windows XP Home SP1, all patches and updates applied.
I am the only user of this PC, so there is only one User Account set up
(me).
Today, I installed .NET Framework 1.1 because a small utility program I
wanted to use requires it. Now, when I boot my PC, I get the blue logon
screen ... more >>
how to set unlimited time for session expiry in ASP.NET
Posted by kannamma at 2/27/2004 5:25:58 PM
Don't see what you're looking for? Search DevelopmentNow.com.
Controling The GC
Posted by Rob Lowney at 2/27/2004 3:51:53 PM
Is there any way to tell .NET to "Wake up" the GC when available memory
reaches a set threshold?
Regards,
Rob.
... more >>
Help! MailMessage Body is stripping carriage return/line feeds
Posted by Tim Mavers at 2/27/2004 3:04:09 PM
I am using the MailMessage class and am dynamically building the message
body field. I know I am using String and not String builder but I don't
want to worry about that now. The problem is after I build my message
(which contains CR\LFs -- blank lines), the message received by the user
ha... more >>
design considerations
Posted by Yuval at 2/27/2004 2:53:23 PM
Hello,
I'm trying to figure out a "best practice" way to tackle the business layer
design in a better way than I do now.
My options for the business logic layer are (AFAIK) as following:
1. Create a custom business entity object for interaction with each, some or
all of the DAL objects.
2.... more >>
Missing system.xml.dll in .NET Framework on Windows Server 2003
Posted by isim at 2/27/2004 2:42:28 PM
Hi,
Does anyone know why one of the Windows Server 2003 would not have
System.xml.dll in the installation directory
(C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322)?
Is there a way to get it back or fix it? It looks like Framework is a part
of the Operating System so what do I do? Reinstall O... more >>
Movie to Thumbnail
Posted by db at 2/27/2004 12:19:31 PM
In explorer you can change the view setting to thumbnails, and you get
thumbnails even from movies.
I want to do the same from a dotnet project. I want to create 'on the fly'
thumbnails from some mpg movies, but I don't know if that's possible with th
dotnet framework. Who can help me with thi... more >>
doesn't run outside of VS.NET
Posted by mklapp at 2/27/2004 8:46:08 AM
Hello
The app runs from inside VS.NET. After installing it produces
The thread 'Win32 Thread' (0x774) has exited with code 0 (0x0)
An unhandled exception of type 'System.TypeInitializationException' occurred in Unknown Module
Additional information: The type initializer for "Vb3rdparty.RO... more >>
ILIST and Datagrid
Posted by oliver NO[at]SPAM drobnik.com at 2/27/2004 7:28:35 AM
Hi,
I have an XML Document. I tried to create a wrapper class to expose an
IList Interface to expose certain records in the XML Document as List,
so that I can bind a datagrid to this.
Binding seems to work, but how can I dynamically create an object that
has all the properties that I want ... more >>
Managed Code
Posted by Bob at 2/27/2004 6:36:07 AM
I am adding some of the .Net extensions to a Visual C++/MFC application that I have. I noticed that one of the System namespaces I wanted to use does not show in my intelesense. Is there a place I can look to see what are all the extensions that are available to me, or is the whole CLR available
... more >>
How to automate Microsoft Outlook Express ?
Posted by Dehaibe François at 2/27/2004 6:06:09 AM
Hi
I would like to know if it is possible to automate Microsoft Outlook Express with .net
... more >>
System.TimeSpan formatting
Posted by Eugen Gulinsky at 2/27/2004 2:16:06 AM
Hi guys
I have a problem trying to format a TimeSpan value in a custom grid like I would format a DateTime (through a format string). It seems impossible, I always get the standard "hh:mm:ss" formatting insead of "hh:mm", for instance. Any ideas? Would appreciate your help
Cheers
Eugen... more >>
Visual Studio .NET IDE and IIS
Posted by Chris A. at 2/27/2004 1:07:38 AM
Having a weird issue with IIS / VS.Net
When I try to start a new ASP.NET project I get the following error:
===
The default Web access mode for this project is set to file share, but the
project folder at 'http://localhost/WebApplication1' cannot be opened with
the path 'c:\inetpub\wwwroot\We... more >>
is Aborting threads really OK?
Posted by Jim at 2/26/2004 9:38:11 PM
Hi,
I remember from my c++ days that hard terminating a thread is a bad thing,
as it can cause
resource leaks since destructors and clean up code never gets a chance to
get executed.
I'm writing a multithreaded app in C# that has various threads running loops
that poll sockets.
I want to ... more >>
embedded dll
Posted by Franz at 2/26/2004 8:01:15 PM
I have a unmanaged dll, I use the functions of it by declaring its functions
as [DllImport(abc.dll)].
I want to embed this unmanaged dll to my application. But I don't know how
can the application load it, and what kind of parameters is needed for
DllImport?
Thanks.
--
My C++ and C# (Tradi... more >>
Please see statement encloded about postal and lottery laws
Posted by Linda Rowe at 2/26/2004 7:01:52 PM
A chain letter is a "get rich quick" scheme that promises that your mail box
will soon be stuffed full of cash if you decide to participate. You're told
you can make thousands of dollars every month if you follow the detailed
instructions in the letter.
A typical chain letter includes names an... more >>
Play embedded non-WAV sounds without COM components?
Posted by Mark at 2/26/2004 6:04:07 PM
The subject says it all really, but to emphasise that I don't wan't to play
WAVs (too big: MP3 or WMA would be better) and the sound file must be
embedded. Also, I want to ensure that the executable is a stand-alone. (That
is, it isn't accompanied by COM dlls, for example. This may sound a bit ma... more >>
GC.SuppressFinalize
Posted by Stephen at 2/26/2004 4:14:05 PM
In Visual Studio's help for GC.SuppressFinalize, it gives the following
example:
public void Dispose()
{
Dispose(true);
// This object will be cleaned up by the Dispose method.
// Therefore, you should call GC.SupressFinalize to
// tak... more >>
Is it possible to create single-instance assemblies?
Posted by Tim Long at 2/26/2004 2:35:26 PM
Can anybody tell me how I can ensure only a single instance of an assembly
is running on a given system at any given time?
To give an example, say I have an assembly "H" that provides hardware
abstraction and connects to a Comm port. Assebly H exposes two classes
H.ClassA and H.ClassB.
Diff... more >>
Reflection on existing variable
Posted by Brian Bischof at 2/26/2004 2:31:08 PM
I'm trying to loop through each field in a class and print its value out.
Using reflection I can build a list of the fields/methods/properties etc.
and I can use InvokeMember() to create a new class in memory. But I can only
do this by using the an object's Type and creating an empty instance of ... more >>
UdpClient.Receive issue
Posted by Jim at 2/26/2004 1:36:35 PM
Hello,
I'm stuck on a problem with the UdpClient.Receive method. I'm writing an app
that listens on
a multicast address for UDP packets sent from another machine. It uses the
UdpClient.Receive method to block while listening for a packet. When a
packet is received, it will return and allow me... more >>
Is it possible to execute a Windows application which uses a .net DLL on Linux
Posted by Balu Asokan at 2/26/2004 12:02:25 PM
Hi,
We created a .net windows forms application which uses a .net dll and placed
it on Apache(not using MONO, using Apache just to serve our .net application
files) on Linux machine . We tried to access the URL which points to the
application on the IE on a windows machine. Running the applica... more >>
LZW compression
Posted by Eduardo Pavinato Klein at 2/26/2004 11:55:29 AM
Hi all!
Where can I find a LZW compression source code for the .NET Framework?
What about the performance of the algorithm?
Thanks.
Eduardo Pavinato Klein
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.592 / Virus Da... more >>
TraceListener.Close when added in the config file...
Posted by Ryan Cromwell at 2/26/2004 11:16:09 AM
I have written a trace listener that has at least one worker thread to process an internal buffer. When Close is called explicitely in the tracelistener hosting application, everthing is fine and dandy. if i add the TraceListener from the system.diagnostics section of the config file, the Close me... more >>
using ITTAPI interface / determing which interfaces a dll exposes
Posted by Joe Momberg at 2/26/2004 10:57:35 AM
Hi
I'm trying to use the ITTAPI interface from my C# .NET Framework
application, but can't seem to reference it. I add a reference to
TERMMGRLib, and can see ITTerminal and others, but ITTAPI is not exposed.
Both these interfaces are defined in tapi3.h, I would assume that they're
both in tap... more >>
How to conditionally set focus to control in ASP.NET
Posted by Bruce HS at 2/26/2004 10:56:10 AM
I see several articles on using javascript to set focus to a control. I need to conditionally set focus to any of several controls, depending on what just happened on the server side. What can I do on the server side to send a message to to the javascript so it can set an appropriate focus?... more >>
.Net Application crash when .net framework is not installed
Posted by babylon at 2/26/2004 10:41:53 AM
How can I show a dialog to the user to indicate the .net framework is not
installed?
thank you
... more >>
Losing part of my querystring
Posted by louvig2 NO[at]SPAM att.net at 2/26/2004 10:35:28 AM
Hi all. Hope someone can push me in the right direction. I'm new to
ASP.net and I am not sure how I would fix this. I've searched
newsgroups, web sites and MSDN and haven't seen how to get around
this.
I created a master datagrid with a hypertext column. Clicking on any
item in this colu... more >>
Serial COMM on Pocket PC and .NET
Posted by Amil at 2/26/2004 9:29:22 AM
I'm considering using a Pocket PC to do some serial communications. I don't
really know anything about this, but am curious about:
- What do I need to do to run .NET on a Pocket PC (normal .NET redist or
some compact version)?
- What serial comm package will run on a Pocket PC using whatever ... more >>
.NET & McAfee
Posted by Chris Koiak at 2/26/2004 9:06:39 AM
Are there any known issues with .NET and McAfee?
Currently I have a windows service written in .NET which
uses Remoting. However I am seeing errors while its
running on machines with McAfee installed.
e.g.
System.NullReferenceException: Object reference not set
to an instance of an obj... more >>
Supporting ValueMap via System.Management.Instrumentation
Posted by GS at 2/26/2004 2:56:04 AM
Does anyone know how I can use System.Management.Instrumentation to instrument a C# class which ha
a) an enumeration property I want to expose as a WMI ValueMa
b) subclasses from an existing CIM_ class in the \root\CIMV2 namespace
thanks... more >>
Stopping and Starting a Windows Service
Posted by CG at 2/26/2004 2:36:06 AM
Hi
I have developed a Windows Service in VB.Ne
When I try to start the Service it tells me that it cannot start as there may not be any work to do
When I comment out below line of code in my OnStart event....
objEventLog.EnableRaisingEvents = Tru
....It starts fin
I have the same issue when... more >>
Binding listbox to a dataview. Please help...
Posted by max_btp NO[at]SPAM hotmail.com at 2/26/2004 2:10:50 AM
I am writing windows application in vb.net and I have scenario where I
have two listboxes side by side and I want to "copy" selected items in
listbox on the left to the one on the right. Both listboxes bound to
two different dataviews like this:
vueToStudents.Table = dsStudents.Tables("Students"... more >>
How can i know which version of .Net Framework
Posted by Zachary at 2/26/2004 2:06:05 AM
Hi guys,
How can i know which version of .NET Framework am i using in my server. Any command of any place can show me the correct information?
I found that the componenet i create is run smoothly in .NET Framework 1.0, and not so smooth in version 1.1. So i suspect the new server has install ... more >>
Help please,
Posted by intrader NO[at]SPAM attglobal.net at 2/25/2004 10:22:16 PM
[This followup was posted to microsoft.public.dotnet.framework and a copy was sent to the cited author.]
I am getting a server error when I try to create a Web Project from
Visual Studio 2003.
The error I get is:
The Web server reported the following error when attempting to create or
o... more >>
Initial Black Flicker on Fade
Posted by mdjhome NO[at]SPAM invalid.com at 2/25/2004 9:16:05 PM
Greetings
Having a problem with a little flicker that is annoying. On the close of the form, would like to fade it out. I use a timer and decrease the opacity as it ticks. Here's the deal, with a small form with few controls, the flicker is not too bad and could be tolerable. Now, when you hav... more >>
Policy Strong Name Trust Through Code?
Posted by localhost at 2/25/2004 8:42:10 PM
I opened the .NET Framework Configuration 1.1 and created a policy
manually to give my assembly Full Trust at the Computer level. I then
was able to create a seperate MSI.
I want to do this over and over for apps I distribute, but the thought
of manually making a seperate MSI is not a good ... more >>
Process Creation Listener
Posted by JMWilton at 2/25/2004 7:31:50 PM
I know that you can use WMI to detect when new processes are created...and
that you use the System.Management namespace.
Is there any way to do this without going through the "overhead" of WMI?
Can this be gotten by using the System.Diagnostics.Performance... classes?
... more >>
Controls in VC
Posted by SS at 2/25/2004 5:08:15 PM
Hi
I can't see the container controls displayed in VC at design time, unlike
VB.
Is there any way I can get it ?
Thanks!
... more >>
VS.Net 2002 and .Net 1.1
Posted by Chad Z. Hower aka Kudzu at 2/25/2004 4:57:38 PM
AFAIK VS.Net 2002 does NOT support .net 1.1 framework and CANNOT use 1.1
based assembhlies in its exe's. Is this correct?
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"... more >>
ASP.NET perfmon counters all 0 ... ??
Posted by Z D at 2/25/2004 4:11:13 PM
Hello,
I have a Windows Server 2003 machine running IIS6.0. I recently xcopied over
an ASP.NET application that was originally running on a Windows 2000 Server
machine.
The application works perfectly on the new server, however, when I run
perfmon and try to look at the stats then everythin... more >>
Windows service
Posted by NWx at 2/25/2004 3:26:40 PM
Hi,
I have an ASP.NET application which allow registered user to set-up
notifications, saved into an SQL server database.
I want to make a win service which periodically check this SQL server table,
and send e-mail at the moment a notification is scheduled.
Question: what is the best way to... more >>
Floating point representation issues
Posted by abhishek ghuwalewala at 2/25/2004 2:48:42 PM
The run-time is returning weird values when I do some floating point
arithmetic. For example, in the VS .NET debugger, if I try to add 0.2 (local
variable of type double) to 0.1 (local variable of type double) I get
0.300000000000000004 which messes up my other calculations. The Epsilon
trick de... more >>
.NET application does not release Excel
Posted by Cameron Eckman at 2/25/2004 2:07:47 PM
Let me prefix with, I've done many VB6 and ASP applications that read
from/write to Excel and have never had a problem. I'm not a beginner at
this...
I have created my first .NET Windows application that reads from Excel 2000
and writes to a tab file. I am using the code below and when stepp... more >>
|