all groups > dotnet framework > november 2007 > threads for november 1 - 7, 2007
Filter by week: 1 2 3 4 5
How to identify a .NET project
Posted by kilo at 11/7/2007 7:21:01 PM
I routinely import legacy C++ projects then convert them to DLLs. My working
IDE is Visual Studio 2005.
How do I recognize which projects are considered as .NET which projects are
considered managed/unmanaged? My goal is to convert these projects to
managed .NET where it is painless, sinc... more >>
Fatal Execution Engine Error using unmanaged obj from 2 appdomains
Posted by redec at 11/7/2007 9:52:02 AM
I originally posted this in dotnet.languages.vc, and it was suggested that I
post it in here as well...so here goes
I believe I've found a bug in either the compiler or in the runtime....for
some reason when accessing a specific unmanaged object from 2 appdomains it
causes a fatal execution... more >>
.net framework 3.5 beta 2 interfere w/other versions?
Posted by David at 11/6/2007 9:03:02 PM
Hi,
If I install .net framework 3.5 beta 2 will that interfere with the running
of the version 2 or version 3?
TIA, David
... more >>
Get UserPrincipalName
Posted by Dan at 11/6/2007 3:04:19 PM
Hi,
Is it possible to get the UserPrincipalName of a user from the
WindowsIdentity object ? I'm only able to get the sAMAccount from
WidowsIdentity.GetCurrent().Name.
Thank you !
... more >>
wpf-dataBinding - set DataContext in xaml to an object in code
Posted by Rolf Welskes at 11/6/2007 2:27:50 PM
Hello,
because there are no managed news group for window presentation foundation
and one
has told me I can use this, here my problem:
I have the following simple test:
<Window x:Class="Test02.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="htt... more >>
absolute assembly search path
Posted by T.G. at 11/6/2007 2:18:47 PM
Let's say I have a (dotnet) application based on a main .exe file
referencing and using a number of other dotnet dlls. Normally these dlls
would live in the application directory or in some other subdirectory
relative to it. Is it possibile to specify in the application configuration
file or... more >>
Build Date from ClickOnce Assembly?
Posted by Pieter at 11/6/2007 11:13:28 AM
Hi,
How can I knwo the BuildDate from an application distributed by ClickOnce?
When I use "System.IO.File.GetLastWriteTime(objAssembly.Location)" or
"System.IO.File.GetCreationTime(objAssembly.Location)" it returns me the
date and time that the user downloaded and isntaled the application,... more >>
Upgrade from 2.0 to 3.0
Posted by Alan T at 11/6/2007 10:46:33 AM
I have installed VS 2005.
Now would like to install .NET 3.0.
What files do I need?
I note some SDK, extensions or plugin files from MS site, not sure I need
all of them.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
.NET 3.0 when did it release?
Posted by Alan T at 11/6/2007 10:16:59 AM
How long had .NET 3.0 been released?
... more >>
Help reuired in building TCP/IP Server
Posted by Malik at 11/6/2007 10:08:40 AM
i am developing an application, in which i reuired a TCP server which
allow multiple users to connect at a time and then recieve the
data,process it and then send back to all the clients which are
connected to the server.
please helpme to do this,
Regards,
Malik Saqib Nisar
... more >>
In-Memory Assemblies
Posted by ThunderMusic at 11/6/2007 9:25:22 AM
Hi,
I'm trying to make something work and I'm pretty sure it can be done, but I
can't get it working.
I have a encrypted file that contains everything my software needs: exe,
dlls, et al. I want to make a "loader" that will decrypt the file and get
all parts in memory and run the exe in-me... more >>
How to convert ArrayList to generic counterpart?
Posted by hvj@paralax.nl at 11/6/2007 6:06:50 AM
Hi,
I want to be able to convert an ArrayList containing objects of one
type to a generic of a specified type, like
List<T> ConvertArrayListToGeneric(ArrayList list, System.Type
targetType)
How do I do that?
What I am doing now is to write a separate conversion method for every
target... more >>
verify if a given email address is exist
Posted by RGF at 11/6/2007 2:34:37 AM
Hi,
I wrote an application with VS2005 to send mail, while the application
works fine. I am trying to find a way to reduce email address bounce
backs, is there a .Net (or command line) method via which I could
verify if a given email address is exist.
To clarify, I am trying to validate beyo... more >>
Performance issue with filestream.write on huge file
Posted by Guy at 11/5/2007 3:52:19 PM
I have 6,235,099 records in my db table. Each record needs to be
converted to an XML element and outputed to a file. Since each XML
element have about 329 bytes, the resulting files will be about
2.05Gb.
I started my appliction yesterday at 5pm, and tody at 12pm, I got an
"System.OutOfMemoryE... more >>
Invalid UNC path in my .NET applicaton
Posted by Luke at 11/5/2007 3:41:29 PM
Microsoft Development Environment 2003 Version 7.1.3088
Microsoft .NET Framework 1.1 Version 1.1.4322
Windows 2000, version 5.0 (build 2195: Service Pack 4)
I am having problems loading xml stored as a blob in an Oracle
database.
I am getting the following error trying to display the xml o... more >>
How to use functions of Windows Services from a C#.net app?
Posted by Andrew at 11/5/2007 10:07:00 AM
Hello, friends,
We have a window application (in C++) installed as a service in a server
machine. We also have a c#.net 2005 application running on client machines.
This c#.net applicaiton needs to use the functions provided in that service.
How to instantiate/call those functions from a ... more >>
Client Socket Shutdown is not visible on the Server Socket
Posted by Miroslav Endys at 11/5/2007 9:22:52 AM
I have two apps. Client and Server (both are windows console apps).
Im using Client Socket of this definition AddressFamily.InterNetwork,
SocketType.Stream, ProtocolType.Tcp
and Im using async communication with the Server Socket.
I have no opened NetworkStream.
In case, I kill my client a... more >>
File Download warning
Posted by Xena at 11/4/2007 11:07:01 PM
I got a window alerting me to a program download if I opened or saved it.
The program ends in .exe, and I'm almost sure it's a trojan horse virus. How
can I delete it before it gets installed? Thanks in advance.... more >>
Ling to SQL and error recovery
Posted by Tapio Kulmala at 11/4/2007 7:23:25 PM
Hi!
Here is a simple console-program that illustrates the problem. It uses
Northwind database and requires only Customer and Order entities.
The problem is that if the first datacontext.SubmitChanges fails because
of validation errors also the second one will fail. It seems that the
seco... more >>
Vista X64 GDI+ and System.Drawing errors
Posted by Dale at 11/4/2007 5:06:02 PM
I have an application that I have used for years on 32-bit XP. It also
appears to run properly on 32-bit Vista - at least I haven't had any users
complain.
When I try to run the app on Vista X64, I get errors randomly in
System.Drawing and GDI+ when I call Image.FromStream(Stream).
If... more >>
process exit event and thread synchronization
Posted by tb2000 at 11/4/2007 2:41:02 PM
I hope someone could help me with a hint, maybe I am having a problem to
conceptually understand whats going on:
I am starting a new process (.NET20, c#, command line app) which launches an
external cmd shell and some external code (.NET remoted into from my manager
code).
I am subscrib... more >>
How to debug Powershell commandlets?
Posted by Alexander Vasilevsky at 11/4/2007 11:57:18 AM
Hi!
How to debug Powershell commandlets?
--
http://www.alvas.net - Audio tools for C# and VB.Net developers
... more >>
What a difference PowerShell Cmdlet and PSCmelet?
Posted by Alexander Vasilevsky at 11/4/2007 11:56:41 AM
Hi!
What a difference PowerShell Cmdlet and PSCmelet?
--
http://www.alvas.net - Audio tools for C# and VB.Net developers
... more >>
Debugging the System...
Posted by Sriman at 11/4/2007 6:52:00 AM
We are faceing Problems in debugging the System. The system hangs up often
as well as for Stepping into each line of code we need to use Ctrl+Alt+Del
and refresh to . Any idea?
Any help would be greatly appreciated.... more >>
Accessing C# Enum in vb6
Posted by Sriman at 11/2/2007 8:56:00 PM
Hi,
Did any one tried to access/called C# enum in vb6? Actually we are
migrating the few vb6 components to C#.net. Conversion process went fine. But
I could not able to access/see the exact Enum values in vb6 Like
C# Enum
==========
public enum test
{
Grade = 1
}
..Net regasm/tlbex... more >>
Viewstate Problem
Posted by Ritu at 11/2/2007 7:03:26 PM
Hi,
I get a viewstate error on my machine when trying to load a page with
grids. The error is
The viewstate is invalid for this page and might be corrupted.
The bizzare part is that the error occurs only one my machine. There
are other developers working on the same piece of code and ... more >>
What ports do i need to unblock on client and server (running msvsmon.exe) to debug remotely from my client box with visual studio 2005 pro?
Posted by DR at 11/2/2007 4:53:36 PM
What ports do i need to unblock on client and server (running msvsmon.exe)
to debug remotely from my client box with visual studio 2005 pro?
When I attach to remote process a connection shows up in msvsmon.exe on the
remote machine, however, the client box with visual studio displays error:
... more >>
Casting Rules
Posted by Aeden Jameson at 11/2/2007 3:57:23 PM
Suppose I have the follwing
Public Interface IEntity
End Interface
Public Class TestEntity
Implements IEntity
End Class
Public Interface IRepository(Of T As {IEntity})
End Interface
Public Interface IConcreteRepository
Inherits IRepository(Of TestEntity)
End I... more >>
Where is my DB?
Posted by darrel at 11/2/2007 3:47:43 PM
I'm still trying to wrap my head around how VS.net, SQL Express, and the
built in membership provider all works.
At home I've been struggling to get it all to work. I constantly run into
errors with the ASP.net configuration wizard.
So, at work, I thought I'd try and go through the same st... more >>
Thread handle & synchronization
Posted by John at 11/2/2007 10:22:02 AM
Hi,
I need to get handle of thread so I can pass it into WaitHandle.WaitAny
method and wait until thread finishes its execution. How can I obtain
WaitHandle from Thread ?
Is thread signaled if it is in sleep state ? If not, is it possible to find
out when certain thread goes to sleeping ... more >>
Windows Desktop Search (WDS) APIs
Posted by Sriman at 11/2/2007 9:29:01 AM
Has anyone worked on Windows Desktop Search (WDS) APIs for Windows Vista?
Need some help/lead in resolving Vista Administrator issue for using WDS.
Any Help would be appreciated.... more >>
DotNetNuke Development
Posted by VB at 11/2/2007 2:53:44 AM
http://www.itechart.com/
DotNetNuke development services for DNN include:
=B7 Product Design and Analysis
=B7 Prototyping
=B7 Incremental Development Approach
=B7 Full Product Testing Cycle
=B7 Customization Services
=B7 Localization Services
=B7 Integration Services
=B7 Product Support
=B... more >>
Get the Project and Class Name in Runtime
Posted by Alfredo Barrientos at 11/1/2007 9:09:44 PM
Hi,
How can i get the Project and the Class Name of my .net project in
runtime, i mean, i want to generate a new exception, and i want to
know, the project, the class, the method or function, where the error
ocurrs.
Thank you,
Alfredo Barrientos
... more >>
Exception handling in AppDomain threads
Posted by Marc Selis at 11/1/2007 12:45:00 PM
Hi,
I'm trying to build a robust application framework that will be used by
other developers in the future. Their applications should be able to recover
themselves if they are crashing.
So, I thought, the best way to handle this is to lauch their stuff in a
separate AppDomain and when t... more >>
Reflect on a property of a property
Posted by Barry Gilbert at 11/1/2007 11:25:00 AM
I have a class that has a property of a type of another class. Like this:
Public Class Employee
Public Property Shift As Shift
' Get and set stuff
End Property
End Class
Public Class Shift
Public Property ShiftId As Integer
' Get and set stuff
End Property
End Class
... more >>
Application Deployment
Posted by Symeonb at 11/1/2007 7:17:46 AM
Hi There, I am starting a project to choose the best method and tools
to deploy our c# app - it probably needs to include obfuscation, maybe
some for of encryption/source code protection etc and certainly be
able to run without the framework being previously installed. I know
there are a few pro... more >>
GetRequestStream Strange Behaviour
Posted by ashehu NO[at]SPAM gmail.com at 11/1/2007 2:12:23 AM
Hi all,
I have two applications on the same machine with exactly the same
code. One is a Console application that is used for testing and the
other runs in a sharepoint web part. The Console application works
fine, but calling this:
using (Stream requestStream = request.GetRequestStream())... more >>
|