all groups > dotnet framework > march 2008 > threads for march 8 - 14, 2008
Filter by week: 1 2 3 4 5
Multiple versions of framework at the same time
Posted by Massimiliano Alberti at 3/14/2008 8:41:15 PM
What happens if I write a .net program using the framework 3.5 and I use a
2.0 dll? Are both frameworks (3.5 and 2.0) loaded at the same time "eating"
more memory, or does the 2.0 dll uses the 3.5 framework?
--- thanks
... more >>
multithreading with WPF
Posted by hbrower at 3/14/2008 3:50:00 PM
I'm trying to understand how to speed up the ui. I have been experimenting
with background processing, but am not getting results that I think I should.
To experiment, I've created a window that contains a bunch of randomly sized
and placed circles. My goal is to be able to resize the windo... more >>
what's the difference between WebService & WCF Service?
Posted by soworl at 3/14/2008 3:46:00 PM
Can someone compare in detail?
I feel WebService is part of WCFservice now.
Thanks,
soworl... more >>
lambda question
Posted by Peter Larsen [CPH] at 3/14/2008 3:16:00 PM
Hi,
I have a question related to lambda expresions and how to prevent exceptions in a FindAll().
The following code create a list of objects and search for an item the "old" way and the "new" way:
Create the list.
List<object> list2 = new List<object>() { 1, 2, null, 6 };
Sea... more >>
Error occurred while initializing fusion (Error 25007)
Posted by PjjO at 3/14/2008 3:02:04 PM
I can't install .Net Framework (either 1.1, 2.0 or 3.0)
After a new installation of Windows XP Pro on an HP Workstation xw4200
machine it keeps giving me errors and can not get it to install.
I have tried a few things already that were on the MS KB site but nothing
worked so far. Also deleted ... more >>
ildasm
Posted by Norman Diamond at 3/14/2008 2:08:25 PM
I invoked ildasm, couldn't figure out what it was doing, and invoked it
again. Here's a screenshot of the twins:
http://www.geocities.jp/hitotsubishi/ildasm.png
What is the one on the left doing?
... more >>
Problem with SHA256Managed when running multi-threaded
Posted by Tristan MSDN Keen at 3/14/2008 8:30:01 AM
Hi,
I am experiencing problems with the SHA256Managed class when multiple
threads are simultaneously using it. I have reduced the problem to a small
piece of code (see below). This creates two threads, each of which repeatedly
attempts to hash a string and compare the result to a previous a... more >>
Read() on ResponseStream of a HttpWebRequest always returns zero bytes
Posted by Achim Domma at 3/14/2008 4:03:06 AM
Hi,
I have to check if a url like http://my_server/abc.aspx?id=123 sends a
valid file. The server always returns OK as status code, but sends
emtpy files, if the id is not correct. It's not possible for me to
change the server side. Content-Lenght is always zero, because files
are in a stream... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Framework retro compatibilty
Posted by Nico at 3/13/2008 1:31:02 PM
Hi,
I know it's possible to call a Framework 3.5 compile dll in a with a
Framework 2.0 compile executalbe for exemple. Is it supported and recommended
???
And what about with a 1.1 Framework execuable??
Thank for your help.
--
Nico... more >>
Crystal Report Error with datasource of linq-to-sql classes
Posted by Trolane at 3/13/2008 12:58:01 PM
I have a crystal report that i added datasources to that are classes made
from linq-to-sql designer.
This report errors trying to find logon info when i tell it export data or
use it in a viewer. There is no logon info so whats up?
I am settings the SetDataSource method with the object returne... more >>
.NET Compact Framework - Better with C#, not VB?
Posted by tucson at 3/13/2008 11:31:04 AM
According to this article, if using VB FileSystem I/O isn't supported.
http://msdn2.microsoft.com/en-us/library/t340010s.aspx
Does this mean that if using C# it is supported? Or does it only mention VB
but it applies to all languages?
Also, all the links on this page only refers to VB, not C... more >>
LINQ question
Posted by news.microsoft.com at 3/13/2008 8:55:36 AM
I have a desktop aplication which use an embeded database engine (embeded in
the application that is) to store its data.
And I used LINQ 2 SQL as an ORMapper to synchronize the database with my
object representation in memory.
What I want to do is load most object at the start, do in memory wo... more >>
Locate ending bracket in VS for obfuscated code !
Posted by Horacius ReX at 3/13/2008 4:36:57 AM
Hi,
I am using Visual Studio 2005 to debug a program. It is like
obfuscated code, so I wonder if given a starting bracket, VS can tell
me where the closing bracket is.
By the way, I also wonder if this is the right group to ask these
questions. Otherwise suggestions are welcome !
Thanks ... more >>
distribuzione di un'applicazione
Posted by giacomo at 3/13/2008 1:27:00 AM
Ho finito di sviluppare un'applicazione Windows (C# 2005), composta di un
..exe di avvio e vari .dll, e la devo distribuire. Domanda: come faccio a
impedire che le dll che distribuisco insieme all’applicazione siano open
source, cioè utilizzabili per un altro progetto (non mio) semplicement... more >>
How to capture "printfs" from unmanaged C++
Posted by barker7@yahoo.com at 3/12/2008 1:33:41 PM
I posted this to the interop group. I'm reposting to troll for a few
more ideas.
In my managed C# app we capture trace statements and direct them to a
log file using trace listeners. Part of the app uses unmanaged C++
dlls, and unfortunately, the C++ printfs don't get picked up and are
simply... more >>
Microsoft Office compatible with Mac and Pc
Posted by Pammie at 3/12/2008 10:25:03 AM
Hi there I am looking to buy MO 2007 Home and Student version. I have both a
PC and a Mac and would like to install a suite on both. Is this possible or
will I have to buy seperate packages?
Best wishes,
Pam... more >>
() in attribute declaration
Posted by wdudek at 3/12/2008 9:05:01 AM
I have seen attributes, specifically Serializable declared in 2 ways and was
wondering if anyone had any insight on the differance if there is any. These
2 ways are [Serializable] and [Serializable()]. Does the addition of the
parenthesis do anything? Is this calling a constructor? Both seem t... more >>
System.Timers.Timer and Close/Dispose
Posted by AMercer at 3/12/2008 8:18:00 AM
The short form of this post is as follows. For an instance of
System.Timers.Timer, after setting Enabled to False, is there a foolproof way
to tell if an Elapsed event will or will not fire?
The long form follows. I have a class, MyClass, that declares
Private WithEvents MyTimer As Sys... more >>
Good C# profilers?
Posted by Mark at 3/12/2008 8:06:01 AM
Hi...
I was just wondering what recommendations people had for C# code profilers?
I'm trying to figure out where a lot of our app's time is going.
I downloaded and am trying ProfileSharp Enterprise Edition, but I'm finding
the interface awkward and the results suspect (profiling for cpu c... more >>
EnterpriseLibrary.Logging
Posted by Andrew at 3/12/2008 4:37:03 AM
Hi all,
I have installed EnterpriseLibrary v3.1 (latest version) on my pc. When I
create the app.config file using the "EnterpriseLibrary Configuration"
utility, I get an error saying it can't detect the EL.Logging.dll file. I
fixed the problem by setting the PublicKeyToken= "null" instead ... more >>
GDI and Rotating Text
Posted by trullock@googlemail.com at 3/12/2008 3:46:52 AM
Hi,
I want to use GDI to rotate some text at an angle and output the
resultant image to the asp.net response stream.
I can do that all fine, however what I'm struggling with is trimming
the whitespace from the resultant image.
What im doing is creating a blank canvas image (of arbitrarily... more >>
framerwork distriburion - licence
Posted by ccezarr at 3/11/2008 11:37:18 AM
I'd like to distribute the .NET framework with my application. I'm
wondering about the license. My application is being created with
Borland Delphi 8 (with .NET) - I've the license for that product. So
the question is: may I distribute the .NET framework with my app?
I was trying to find this in... more >>
Windows service startUp error
Posted by Andrew at 3/11/2008 9:56:04 AM
Hi all,
My question consists of 2 parts:
1) I have installed my windows service [by right-click on Setup.exe in
SolutionExplorer, then Install ... ] onto a folder on my desktop. When I
click on the MyNewService.exe file, I got the following error message:
" Cannot start service from th... more >>
Caching of DateTime.Now?
Posted by Mark at 3/11/2008 9:51:01 AM
Hi...
We have some elapsed time stopwatches using the QueryPerformanceCounter()
win32 api, but since I was getting tired of doing the arithmatic all the time
I added some DateTime.Now.ToString("HH:mm:ss.fff")'s to the log and I noticed
an interesting quirk.
There's often about a 5ms diff... more >>
Create Visual Studio Tools for Office Projects
Posted by Mike at 3/11/2008 7:26:01 AM
Hi. I've downloaded & installed the Visual Studo Tools for Microsoft Office.
I have both Visual Studio 2005 Pro & Microsoft Office 2007 Pro installed.
I'm trying to create my first Office project, but I don't see 'Office' as an
available Project Type.
I'm following the directions shown he... more >>
Metafile & Graphics
Posted by Marco Rego at 3/11/2008 6:07:00 AM
I have a Metafile and a Graphics attached to it and I do several drawings on
the Metafile through the Graphics. After the drawings I need to print the
metafile.
If I try to print the Metafile right away, nothing shows on the page, now,
If I do a Graphics.Dispose() and then print the Metafile,... more >>
Compiling WF assemblies with /platform:x64
Posted by PReichert at 3/11/2008 4:21:03 AM
Hello,
I have a service application that uses Windows Workflow Foundation as part
of its processes. One of the class libraries in this application is a
collection of custom WF activities that I have written to represent the bits
of business process.
The solution compiles fine when compil... more >>
The installer was interrupted before [AppName] could be installed.
Posted by James Holak at 3/10/2008 5:19:01 PM
I have created a simple Web Application that just contains default.aspx and a
web.config. I have added a Web Setup project to this solution, it Built Fine
in VS2008. The installer works fine on windows Vista x64, but fails on the
Virtual Machines of XP and 2003 R2. The installer reads "The ... more >>
Need help diagnosing WCF timeout exception
Posted by Keith at 3/10/2008 1:53:51 PM
Hello,
I have a Windows Service-hosted WCF service that occasionally throws an
timeout exception, or something that looks like one. The call chain looks
like this:
Client->WCF Service->COM Server->COM App
The exception seems to appear as the call to the service is completing.
Interes... more >>
xsd.exe
Posted by Roy at 3/10/2008 6:17:00 AM
How do I control the xsd.exe so that it will generate C# class files with one
class per file?... more >>
how to send a reference/addressof some procedure to a new thread?
Posted by buu at 3/9/2008 7:01:03 AM
So, I have a new thread creating something like:
dim myThread as new System.Threading.Thread(AddressOf myProcedure)
but, could I send an any kind of parameter instead of call to myProcedure???
I don't know did I made myself clear, but I would like to have something
like:
public sub St... more >>
smtp DeliveryMethod
Posted by Sonu at 3/8/2008 8:46:12 PM
Any help with -
'=========== THIS PART IS NOT WORKING ========
section in the code.
I'm not able to send using emails using "C:\temp\" folder!
Any idea!
Thanks
-------------------------------------------------------------------------
Sub SendAsync()
Try
Dim strmsgBody As... more >>
Tab and Ctrl+I in a richtextbox
Posted by Fred at 3/8/2008 2:50:03 PM
Hello,
I program a user control which display a RichTextBox and a format
ToolStrip.
I want to process some shortcut keys.
The RichTextBox accepts tab.
Ctrl + I is supposed to format the selection in italic.
But Ctrl+I is also de code for Tab.
So when I press Ctrl+I, a tab is inserted (rep... more >>
|