all groups > dotnet framework > november 2006
Filter by week: 1 2 3 4 5
Set Value for Property in base class.
Posted by Ruben Gatt at 11/30/2006 4:45:04 PM
Hi,
I have a problem when im trying to set a value for a property in the base
class. the following example shows what i currently have...
Example:
Base Class
public class Person
{
public string Name
{
get {return m_Name;}
set {... more >>
codebehind for .master?
Posted by shaly at 11/30/2006 10:57:00 AM
Hi All,
I am a newbie to .net technology. So, please bear if this question
sounds very basic.
Is there a code behind file for .master page too? or should I write all
my script in .master itself. Thanks in advance. -Shaly
... more >>
Garbage collection and async operations
Posted by Bob Altman at 11/30/2006 10:49:33 AM
Suppose I have the following code:
' Get a new instance of some class
Dim myWorker As New MyWorker
' Start a long-running operation on a background thread.
dim deleg as new SomeMethodDeleg(AddressOf myWorker.SomeMethod)
deleg.BeginInvoke(...)
' Abandon the object instance
... more >>
Display currentDateTime on my asp.net page
Posted by shaly at 11/30/2006 10:42:44 AM
Hi Folks,
Is there a simple way to display current Date and Time on my asp.net
page. I am trying to display this in header of my .master page so that
it gets displaye dthrougghout the site. Please help.
Thanks,
Shaly
... more >>
Can't get Assembly.GetCallingAssembly() to reflect the proper assembly
Posted by Brad Wood at 11/30/2006 8:44:50 AM
I have an executable that references a separate .dll assembly. Inside the
..dll I call GetCallingAssembly and I always get a reference to the .exe.
Documentation for GetCallingAssembly says, "Returns the Assembly of the
method that invoked the currently executing method." Obviously that was... more >>
Reference Problem
Posted by pargat.singh NO[at]SPAM gmail.com at 11/30/2006 8:40:02 AM
Hi Everyone:
I developed a .Net 2.0 asp.net application and add some references
to VB DLL and every thing work fine. Once the development is complete
and i deploy the app on Integration server references t Vb dll does not
work.To fix the problem i have to open the solution on Integration
... more >>
.NET Framework 2.0 to 3.0
Posted by r.manikandan NO[at]SPAM gmail.com at 11/30/2006 6:38:50 AM
These different versions of frameworks which seems quite too many for
me, do they provide any sort of downward compatibility. I mean can I
assume that if I write a application on .net framework 2.0 will it work
okay when I move to 3.0 ? Or do I need to do some sort of conversion?
Is anyone h... more >>
when microsoft stop the support for ASP.Net 1.1
Posted by Pankaj Jain at 11/30/2006 12:00:00 AM
Hi All
Can any one tell me when microsoft stop the support for ASP.Net 1.1
Thanks,
Pankaj Jain
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Pump Messages During Long Operations
Posted by Mark Ingram at 11/29/2006 4:04:43 PM
"The CLR has been unable to transition from COM context 0x1b0f58 to COM
context 0x1b10c8 for 60 seconds. The thread that owns the destination
context/apartment is most likely either doing a non pumping wait or
processing a very long running operation without pumping Windows
messages. This si... more >>
VSNET: Problems adding VS 2005 extensions for .Net 3.0
Posted by Dave at 11/29/2006 8:42:00 AM
I am running vs.net 2005 on an up to date XP SP2 system.
I just added the .Net 3.0 framework as well as the "Windows SDK for
Windows Vista" just fine.
I think I am supposed to add the two VS 2005 extensions for .Net Framework
3.0 for WWF and another for WCF and WPF. Problem is I get an unsp... more >>
Updater Application Block Examples
Posted by TigerMan at 11/29/2006 12:00:00 AM
Hi,
Does anyone know any good examples of Application Block? I am using VB 2005
and know there is one click but that doesn't suit my needs. I want to be
able to check a server for a more recent exe and dlls and patch the local
exe.
TIA
... more >>
VB vs. C# language challenge question
Posted by Tomasz Jastrzebski at 11/28/2006 5:23:47 PM
Hello,
Below are to equivalent(?) pieces of C# and VB.Net code
While the C# version compiles with no warning, the VB.Net version does not
compile due to the compiler error BC30149: Class 'c2' must implement 'Sub
m1()' for interface 'i1'.
Does it mean that in VB interface must be implement... more >>
Dragging and dropping onto a form with many controls
Posted by Mark Ingram at 11/28/2006 2:52:15 PM
Hi, I want to be able to drag and drop some files onto my application
but it is only possible to drop at a location where I have no child
controls.
e.g. If i have a form with a textbox on it, I want to be able to drop
the files anywhere, but currently I can't drop them on to the textbox
i... more >>
Split .NET exe file into many smaller ones
Posted by Vlado Jasovic at 11/28/2006 9:21:54 AM
Hello,
We're developing application in VS2005 using vb.net.
Our application exe file is ~20mb when compiled.
Recently, we have developed auto-update feature that goes on our web-site,
authenticates through WebServices and if neccessary downloads updated
app.exe file. We had to use custom ... more >>
Regular Expression
Posted by C at 11/28/2006 7:59:03 AM
Hi,
I have a C# app where I want validate a year range (1900 - 2006) using a
Regular Expression.
Am not familiar with writing Reg Exp's at all.
Anyone got one that does something similar with Years?
Tnks.... more >>
Where to buy C++ in this version
Posted by michael.hanger NO[at]SPAM gmx.de at 11/28/2006 1:41:00 AM
Hello,
i want to use "MS Visual C++ .net Version 2003, Patch Level 7.1.3088,
..net Framework 1.1, Patch Level 1.1.4322".
The question is now where can i get this version? Is it included in a
bundle or can i also buy it separate?
Thanks for your help.
M.
... more >>
How to load an external assembly with references?
Posted by W. Jordan at 11/28/2006 12:00:00 AM
Hello,
I am trying to load an assembly A which references an external assembly B,
by using Assembly.LoadFile method. A was loaded but B was not.
When I try to invoke a method in A, which requires assembly B, it fails.
How can I solve this?
--
Best Regards,
W. Jordan
... more >>
Disposing EventHandlers
Posted by Mike Carlisle at 11/27/2006 8:46:01 PM
Hi,
In a windows app is it necessary to explicity release delegates from events
by implementing dispose, or should the framework take care of this?
I've read that you only need to implement IDisposable when handling
unmanaged resources, which makes sence... however...
Investigating a me... more >>
Dispose on Kill process
Posted by Mike Carlisle at 11/27/2006 8:35:01 PM
Hi,
Is it possible to catch event when a .net application process is killed in
order to do the required cleanup? ie. task manager - kill process.
The only way I can think of doing this currently is by using windows
messages to catch the destroy message. From what I've read CLR doesn't appe... more >>
Listening on localhost: how to bind on 2 IP addresses
Posted by Samik R. at 11/27/2006 3:40:56 PM
I am creating a TCP server app, which will run on a particular machine.
Currently I am using the following code (C#):
LocalHost = Dns.GetHostAddresses("localhost")[0];
Port = 2121;
CommandListener = new TcpListener(LocalHost, Port);
Command... more >>
Performance counter problem
Posted by dwhite at 11/27/2006 2:13:44 PM
Our software package works fine under XP but when I run under Vista RC1
as an administrator I get the following exception:
Exception has been thrown by the target of an invocation. --->
System.Security.SecurityException: Requested registry access is not
allowed.\r\n at
System.ThrowHelper.Th... more >>
Windows Workflow
Posted by Jeff at 11/27/2006 9:58:02 AM
Hello all,
What do I need to install in a Windows 2003 server and Microsoft Office
SharePoint Portal 2007 server in order to use the workflow features of
Windows Workflow?
Does Win2003 already have the priore version of WWF installed? if not, then
what file do I need to install on MOS... more >>
High Performance Xml parser
Posted by rony at 11/27/2006 9:16:34 AM
Hi,
I am looking for component which allows me to parse my xml file.
the reason i am asking this, is because my xml files are huge it can
reach as far as 1GB more or less.
the time to parse such a file is something like 5 Hours.
Now i am using the XmlRead, XmlNode ... (I do not load the file to... more >>
Why is there no Equals() or GetHashCode() in ArrayList?
Posted by eramfelt NO[at]SPAM gmail.com at 11/27/2006 5:38:50 AM
Why doesnt ArrayList implements the Equals() or GetHashCode() methods?
How is the developer supposed to check if an array list is equal to
another array list? Is the developer supposed to iterate through the
array list to find out if they are equal or not? This should be handled
by the framework... more >>
how to pass a byte array by reference
Posted by sreelakshmi.rajula NO[at]SPAM gmail.com at 11/27/2006 4:39:38 AM
Hi ,
I am new to Managed c++ and C# .
I've to use unmanaged code in C# . For that I've written a managed
wrapper. I am passing a byte array to a function and updating that byte
array. And I've to use that in my C# code.
And the link
http://groups.google.co.in/group/microsoft.public.dotnet.... more >>
Block WM_MOUSEACTIVATE messages
Posted by aimoz NO[at]SPAM intechinfo.fr at 11/27/2006 2:14:01 AM
Hello,
I am developping an application (using C#) and I need, whenever the user
click on the form, this one not to be activated. (the system mustn't give the
focus to the form).
After several search I saw a way : overriding the WndProc (wich belongs to
form class) and replace the WM_MOUS... more >>
C# windows application
Posted by deepak at 11/27/2006 12:04:01 AM
Hi All,
I read article
(http://msdn.microsoft.com/msdnmag/issues/05/08/AutomaticProxyDetection/default.aspx). I need yours help. Please advise me
My Requirement is given below.
This is C# windows .net application(application as i need *.exe file
rather than install file ) w... more >>
Building .Net 3.0 on Server2003
Posted by GaryDean at 11/26/2006 4:58:36 PM
On my Server 2003 image I have installed vs2005, an earlier Orcas
(wsextwfx.msi), the 6.0 Windows .Net SDK, the .Net 3.0 framework
(dotnetfx3.exe)and now I'm trying to install the latest Orcas. But I get an
error message that says I need the .Net 3.0 runtime installed first - but I
have tha... more >>
c# as operator
Posted by KShvats at 11/26/2006 1:18:15 PM
Hey there
Which is better: "(inSet as ICloneable).Clone()" or
"((ICloneable)inSet).Clone()"?
Thank you... more >>
Question on AppDomain and Thread
Posted by Leon at 11/26/2006 5:17:01 AM
Hi,
When you create a new AppDomain, objects you created in there using say
AppDomain.CreateInstanctAndUnwrap() run in the same thread as the caller is
that correct?
If so, how could I create an AppDomain having its distinct thread? In
particularly, I would like to create several AppDoma... more >>
JIT Debugger
Posted by Romain TAILLANDIER at 11/25/2006 5:34:04 AM
Hi group
I have a video game wich probably make an error. this error is catched
by the MS JIT debugger and my game is closed. i would like to
deactivate the JIT to see if my game could continue ...
How can i deactivate the MS JIT of VS2005 ?
thanks
ROM
... more >>
Managed C++ Mixed Assembly
Posted by Olivier Matrot at 11/24/2006 6:01:53 PM
Hello,
I have a VC++ Project that outputs an unmanaged DLL.
I would like to convert this project to a managed C++ Project.
The goal is to mix unmanaged and managed code. Un unmanaged exported
function will need to run managed code. Is it possible ?
TIA.
... more >>
drag and drop issue...
Posted by Lloyd Dupont at 11/24/2006 1:44:07 PM
If I use software like OpenOffice and try to drag text I could notice that
1. when I drag inside the document I'm moving the text
2. when I drag outside the document I'm copying the text
Yet it all looks like one smooth operation. With correct cursor feedback
(the little + marker next to the ... more >>
Get the record count of SQL table w/o retrieving records
Posted by Eve at 11/24/2006 12:00:01 PM
How can I get a record count of an SQL table without the actual records being
retrieved? This is what I'm using right now and it does take a long time for
big tables:
SELECT COUNT(colName) FROM myTable
Thank you!... more >>
DataGridView performance
Posted by John Brown at 11/24/2006 11:05:40 AM
Hi there,
Has anyone had any serious performance problems with this class. A couple of
hundred rows of data with 4 columns (everything loaded on-the-fly with no DB
involved, all simple strings, 90% under 10 characters, the rest as high as
500-600 characters, wrapping turned on) literally ta... more >>
Remote Desktop
Posted by TigerMan at 11/23/2006 10:02:14 PM
I want to be able to detect in vb.net when a user has logged on to a domain
via remote desktop on a Windows 2003 Server.
Is there any way to do this? TIA
... more >>
Common Language Specification
Posted by Jeff at 11/23/2006 3:48:05 PM
Hey
I'm wondering if Common Language Specification is a subset of Common Type
System?
Jeff
... more >>
Question on .Net Remoting Connection
Posted by Leon at 11/23/2006 2:48:02 PM
Hi,
In trying to understanding the .Net Remoting plumbing I have a questions and
wondering if anyone can help me? I have read Rammer's excellent book but
still having got all the answers.
This is what I have and I know of.
I have a client program, Client, and a server program, Server, w... more >>
Windows 2000+framework 2.0
Posted by Pablo Salazar at 11/23/2006 2:24:12 PM
hi everybody.
I have a server with windows 2000 server and framework 1.1
Can intall framework 2.0?
for your suggestion thanks.
... more >>
get the project path
Posted by Irfan at 11/23/2006 12:30:39 PM
hi,
I need to know the locaton of a project that i am referencing in my project.
So in the project that i want to reference
I created a public method in a class that returns Application.StartUpPath .
However, when i access this method from my project it return the StartUpPath
of MY proje... more >>
References not updating
Posted by Paul Miller at 11/23/2006 10:52:01 AM
I am referencing another dll from within a class library and it seems to
allways be looking for an older build version of the reference. I have tried
removing and re-adding the reference but to no avail. Originally I was
referencing the dll and so tried adding the project and referencing tha... more >>
VS.Net : Shortcut key for Immediate Window doesnt work.
Posted by ASP.NEt Multilingual Web portal at 11/23/2006 9:12:02 AM
in my Visual Studio installation , I cannot go to immediate window using
Ctrl+Alt+I ?
Could anybody tell me how to set it work ?
Thanks in advance.... more >>
Process.Start failes on Win 2000 after showing open file dialog
Posted by ssissa NO[at]SPAM newsgroups.nospam at 11/23/2006 1:57:01 AM
Hi,
I have an application that is launching a process (see the code below) to
perfom some operation on a file. On Windows 2000, if my application first
uses the OpenFileDialog to open a file on the desktop, Process.Start failes
with the following exception:
System.ComponentModel.Win32Exc... more >>
C# / 2005 / Async Socket Buffer Corruption
Posted by EmeraldShield at 11/23/2006 12:00:00 AM
I have been fighting a problem for about two weeks and I can't seem to find
any info on it. Any help is greatly appreciated.
We have an ASYNC I/O system for email receptions (in bound email).
This service has been working very well for years. I upgraded it to Dot Net
2 / VS 2005 and moved ... more >>
SocketException WSAENOBUFS on Socket.Connect
Posted by Jeronimo Bertran at 11/22/2006 5:56:06 PM
I have a client application that connects to a TCP server and uses the
Socket class. The application connects every 10 minutes to the server and
exchanges information. The application runs fine but we have been having a
problem after running it for several days where we receive a socket
e... more >>
Make compile silent in VS2005
Posted by B. at 11/22/2006 3:50:35 PM
How can I make the compile silently so that during the compiling of the
solution, the .cs files name will not be listed in the output window?
Thanks.
... more >>
system.runtime.serialization assembly missing
Posted by Todd_C at 11/22/2006 11:45:01 AM
How can a 2.0 framework assembly like system.runtime.serialization be missing
from my machine?
How can I get it back?
Do I have to re-install the 2.0 framework? If so how?
tia
... more >>
Reflection interface
Posted by A_Republican at 11/22/2006 11:25:02 AM
Hello
I'm trying to create a class that maps other classes. Basically I want to
pass a custom class to my class and retrieve all it's properties names and
build: lists, arrays, list view controls, etc.
Would the Reflection interface help me with this task? If so how do I go
about using ... more >>
Control properties say 1 thing but control visuals say another
Posted by wease at 11/22/2006 11:19:01 AM
I have a problem that I cannot figure out. I have a number of controls (list
boxes, radio buttons, text boxes, etc) that are not functioning properly.
The properties of each control are set (via code) but they are not being
updated in the form that contains them. The opposite is true as wel... more >>
Question about MemberInfo.ReflectedType
Posted by PIEBALD at 11/22/2006 10:15:02 AM
I'm writing a method (MethodA) that needs to know what method of what class
called it (so it can say, "ClassX called me"). Without having to pass the
type down the chain.
To do this, MethodA walks back up the StackTrace and use GetMethod() looking
for the first method it finds with a custom a... more >>
|