all groups > dotnet framework > november 2006 > threads for november 22 - 28, 2006
Filter by week: 1 2 3 4 5
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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
3D with .NET
Posted by bbembi_de NO[at]SPAM lycos.de at 11/22/2006 9:25:00 AM
Hello everyone,
I want to create an application where I can display a structure of
pipes in 3D.
What API should I use? OpenGL, Direct3D or something elese?
It should be a simple API.
bye juergen
... more >>
System.OutOfMemoryException
Posted by raise at 11/22/2006 8:04:01 AM
Hi!
I have the following problem on .net 1.1:
I reduced the problem to the following code:
byte[] ByteArrayOk=new byte[17000000];
ByteArrayOk=null;
byte[] ByteArrayOutOfMem=new byte[16773276]; // Exception here!!!
ByteArrayOutOfMem=null;
which throws a System.OutOfM... more >>
Key repetition
Posted by Romain TAILLANDIER at 11/22/2006 7:27:42 AM
Hi group
I have a control looking like a TrackBar, a bar, with a cursor.
I need when the user push the left arrow of his keyboard, the cursor
move left until the key released.
I have overloaded the OnKeyDown method like this :
protected override void OnKeyDown(KeyEventArgs e)
{
base.OnKe... more >>
[Conditional("DEBUG")]
Posted by Martin Madreza at 11/22/2006 1:42:25 AM
Hi,
maybe someone knows if there is a possibility to use the
[Conditional("DEBUG")] method sign with a 'Not' like
#if !DEBUG
....do somethin
#endif
[Conditional("DEBUG")]
private void myMethod()
{
}
exists somethiong like this???
[Conditional("DEBUG", false)]
private void myM... more >>
Can I develop .NET 3.0 with Visual Studio 2005 Express?
Posted by W. Jordan at 11/22/2006 12:00:00 AM
Can I develop .NET 3.0 with Visual Studio 2005 Express?
I did not see any settings in the interface to use the 3.0 runtime.
... more >>
|