all groups > dotnet framework > may 2007 > threads for may 1 - 7, 2007
Filter by week: 1 2 3 4 5
How do I avoid performance-robbing operations while resizing a form?
Posted by Peter Duniho at 5/7/2007 8:39:02 PM
The basic idea: I've got a form in which I draw a bitmap, scaled to fit
the form. For obvious reasons, I want to cache the scaled version of the
bitmap so that repainting the form is faster. I need to update the cache
any time the form size is changed. But I don't want to generate the
... more >>
VISTA and installing .NET 1.1
Posted by Evan Camilleri at 5/7/2007 6:35:29 PM
I have .NET 2.0 on a VISTA machine and am trying to install .NET 1.1
It is failing with the following error in Events Viewer:
Source: MsiInstaller
Event ID: 1030
Description:
Product: Microsoft .NET Framework 1.1. The application tried to install a
more recent version of the p... more >>
Asynchronous server implementation using either byte array or memory stream.
Posted by Roger Down at 5/7/2007 12:22:29 PM
Hi all... :)
I'm in the process of coding up some "high-speed" asynchronous server. The
server must handle many simultaneous connections. The amount of data to be
transported on each connection is not very big, typically 1000 bytes, but
the server must process the data using the fastest tec... more >>
Where to ask
Posted by David McCallum at 5/7/2007 11:26:01 AM
Where should I ask this question?
I'm new to VS2005. When trying to publish a program I get the following
error. I downloaded and copied the DLL into the relevant directory, so I
assume I don't have the necessary permissions.
What can I do next?
TIA
David McCallum
Error 2 SignTool... more >>
What's the best way to do WPF application unit test
Posted by jim1800 NO[at]SPAM community.nospam at 5/7/2007 10:14:25 AM
Backgroudworker question
Posted by Andrew at 5/7/2007 7:53:03 AM
Hello, friends,
I am using BackgroundWorker() to import files into viewer while users are
working with our app.
However, this backgroud file importing made the app much slower. For
instance, it took about 5 seconds for the app window to refresh. Moreover,
most of the time, the mouse poi... more >>
SONY DV Camera does not work with Movie maker
Posted by nick npn29 at 5/7/2007 12:24:01 AM
Hi, I have a Sony Mini DV DCR-HC44 video camera. Worked fine with XP using
a Firewire to upload my video. Since installing Windows Vista will not work.
Have used MM to acquire capture but says can not find camera, firewire card
all installed and said to be working fine. Did once get the ... more >>
XML Serialization of several objects over NetworkStream
Posted by Kitto at 5/6/2007 4:54:50 AM
I ran into a serious problem and couldn't find any help on the web:
I want to XML serialize several objects and send them over a
NetworkStream. The serialization for a single objects works fine and
the client can deserialize it without any problems but as soon as
there is more than one object ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
System error while calling fill method for second data
Posted by Rachana at 5/5/2007 9:52:31 PM
Hi,
I am having vb2003-net 1.1
Code was working fine yesterday, today getting error
-----------------------------------------------------------
error:
An unhandled exception of type 'System.Data.SqlClient.SqlException'
occurred in system.data.dll
Additional information: System error.
-----... more >>
Monitor printers
Posted by Fredrik at 5/5/2007 11:47:13 AM
Hi,
I have a problem google or these groups has not yet been able to provide
an answer for, I could be missing something obvious. But I certainly
hope not.
I want to monitor all printer queues on the computer - and get a
notification when something changes (i.e. a new job is added or such).... more >>
Can't create user accounts
Posted by tkilmer at 5/5/2007 7:08:00 AM
Hi,
I have a new laptop with windows vista. I have the admin account setup.
However, when go to control panel/add or remove user accounts and click on it
does not work. The clock flashes quickly like it is going to do something but
nothing happens.
I can change account picture, password, ... more >>
byte
Posted by AVL at 5/5/2007 6:19:00 AM
hi,
I've a byte value of 15...
i wan to get it's representation a follows
0x01 | 0x02|0x03|0x04
basically i want to know by OR ing which numbers,..am I getting a value of
15...
help me out..... more >>
datagridview help
Posted by AVL at 5/5/2007 6:06:03 AM
i've used .net 2.0 datagrid view control/..
i want to show a dropdowm menu whenever i doubleclick a row on my grid..
how do I achieve it...any good samples... more >>
need xml help
Posted by AVL at 5/5/2007 6:04:00 AM
I'm a newbie to xml concepts..
my requirement is to read a very big xml file and pick up few slected nodes
and build List array out of it.....
how to I acheive it with minimal coding?
which xml class supports this..
any good samples? please help out... more >>
Concurrency violation: the UpdateCommand affected 0 of the expecte
Posted by mkomasi at 5/5/2007 1:01:00 AM
Hi
When I want to update a record folowing exception has been appeared:
Concurrency violation: the UpdateCommand affected 0 of the expected 1 records
Can anyone help me about the cause of the exception?
regards
Mehdi... more >>
Learning & Frustration.
Posted by Brent at 5/4/2007 8:15:03 PM
Ok I'm sure there are a lot of people in my position. I am a professional
developer and have a situation of information overload here. Microsoft is
pushing out stuff so fast these days that's its IMPOSSIBLE to keep up with
even 1/2 of the technology. I get really frustrated and start reading a... more >>
Most popular object persistence framework
Posted by Peter Morris at 5/4/2007 10:46:10 AM
Hi all
What is the most commonly used object persistence framework for .NET?
Thanks
Pete
... more >>
custom serialization..need help
Posted by AVL at 5/4/2007 7:01:03 AM
Hi,
I'm new serialization concepts....I need some hwlp..
I've a class defined as follows
class CustomSerialization1
{
private string s;
public string Test
{
get { return s; }
set { s = value; }
}
private int i;
... more >>
VDPROJ, and install problems
Posted by Romain TAILLANDIER at 5/4/2007 2:26:04 AM
Hi group,
I have a little problem using the deployement project. I have develop
some kind of sp=E9cific file editor, and i install with it some example
of those specific files. these file are not necessary, but if i
suppress or rename it, and run the program, before it start Windows
Installer... more >>
Merging Visual Studio & SDK Help
Posted by scolemann NO[at]SPAM gmail.com at 5/3/2007 11:24:01 PM
Hi all,
I recently installed windows workflow foundation and then realized
that I could no longer see .NET framework documentation in my MSDN
help. I installed the SDK hoping that it would merge back in.
However, I now have two separate help collections, one with the
framework classes etc...... more >>
Right Click Context Menu of a C# windows application not working o
Posted by TL at 5/3/2007 7:14:01 PM
Hello,
I have developed a C# windows appl using .Net framwork 1.1, it is working
fine on Windows XP. But one of my workmate tooks it home to try, when she
tried right click to get to the context menu of the application, it doesn't
work at all.
Does anyone know what causes it?
Thank yo... more >>
Problem : 2 different ASP .Net running in one IIS
Posted by Masita at 5/3/2007 6:23:51 PM
Hi all,
I am having a problem with different version of website.
One website written in Dot Net I and another one usig Dot Net II.
The 1st website using Dot Net I had successfully run for few years.
Until, I am configuring another website in same IIS whcih using Dot Net II.
Once I start the s... more >>
serialize a property of a collection
Posted by Daniel at 5/3/2007 5:54:35 PM
Hi,
I have a collection, which is a property of a class:
public class PostcodeCollection : CollectionBase
{
// ...collection specific properties
[XmlAttribute("Total")]
public int Total
{
get { return List.Count; }
set {}
}
}
The main class is:
[Xml... more >>
My manifest loading a reference twice
Posted by commanderjason NO[at]SPAM gmail.com at 5/3/2007 5:49:20 PM
im getting the ol' Could not load file or assembly
'ComponentArt.Charting.WebChart, Version=2007.1.1052.2,
Culture=neutral, PublicKeyToken=9bc9f846553156bb' or one of its
dependencies. The located assembly's manifest definition does not
match the assembly reference.
as you can see the .net fr... more >>
Code working in 1.1 stops working in 2.0
Posted by Piyush Daiya at 5/3/2007 3:40:01 PM
Hi All,
I have this following code which works fine in 1.1 but gives runtime
exception 2.0:-
Reflection Code to get One Property from COM Object
-------------------------------------------------------------------------------
Dim objSession as Interop.ComObj.Session
Dim objAgent... more >>
2.0: "Debugging failed because integrated Windows authentication in not enabled"
Posted by R.A.M. at 5/3/2007 3:23:00 PM
Hello,
I am writing my first ASP.NET application (I use .NET 2.0, Visual Web
Developer 2005 Express Edition and SQL Server 2005 Express Edition).
The application builds successfully but when I try to start debugging from
Visual Web Developer I receive message box:
Unable to start debugging on... more >>
Setting required framework version
Posted by QDL at 5/3/2007 2:07:06 PM
Hello everyone,
I'm experimenting running side by side fw versions on a test box. One thing
i do not understand is how it is determined the version to use when running
an app. I wrote a very small proggy that just displays the version of the
framework it is run by. If i use vs2003 (with fw1.1)... more >>
Using cacheing??
Posted by JP at 5/3/2007 11:58:01 AM
I’m researching the idea of using caching in my application. And I wanted to
get other people thoughts that have used it with .NET 2.0. Below is an
explanation of the current process:
I have an application with several web pages. When any of these pages is
first loaded, it retrieves the i... more >>
Programmatic diagnostic questions about dlls
Posted by Jason Ratke at 5/3/2007 11:29:37 AM
Hi,
I am currently working on a diagnostic utility for developers, and some of
the things I want to check are whether a dll in a project output folder is
locked and cannot be over-written, or if an incorret version of a dll has
been cached in the temporary internet files folder.
A friend... more >>
DoEvents in c#.net
Posted by Andrew at 5/3/2007 11:01:03 AM
Hi, guys,
As you know, in VB6, we have have DoEvents.
How can we do the same job in c#.net? Thanks.... more >>
compact framework
Posted by liliana at 5/3/2007 9:32:03 AM
Abstract
The solution scope is to redirect intercept and redirect every call that
accomplish with a call number pattern on Windows Mobile smartphones to a toll
free number which is a prepaid platform.
Solution Components
CallListener:
This is the component responsable to monitor when an end-... more >>
Is This Overkill?
Posted by Mike Hofer at 5/3/2007 8:52:26 AM
I've been maintaining some source code, and I've noticed some radical
inconsistency in the code, particularly in the way that parameters are
validated. I've noticed that this seems to have been pretty much the
case throughout my career.
For instance, consider the following block:
If siteI... more >>
HatchBrush in WPF
Posted by joris.spriet NO[at]SPAM gmail.com at 5/3/2007 8:17:22 AM
Hi,
is it possible to fill a shape, for instance a Rectangle, with a
HatchBrush ? Is it possible to do this in XAML ?
Thanks,
Joris Spriet
... more >>
Framework, ProtocolType.Icmp and VISTA
Posted by Andre Lorbach at 5/3/2007 7:23:01 AM
Hi all,
I did not find any other suitable newsgroup for my question, so I took this
one here.
I have a little project which has some kind of a network scanning wizard, to
find local area computers and access them using the Eventlog or simple
pinging them.
1-2 years ago I wrote some cod... more >>
laptop
Posted by Irfan at 5/3/2007 12:00:00 AM
hi, Nigel
The laptop that I want to have, has Windows Media Center. I was reading on
net that the main differance between
Win XP Pro and WMC is that WMC has 'joining a domain capability disabled'.
..---------------
Here is an excerpt:
Media Center is essentially just an application that's
... more >>
How to get a mini dump?
Posted by Lloyd Dupont at 5/3/2007 12:00:00 AM
On some client's computer the XmlDocument.Save() fails with some weird
internal error such as:
==============
Exception : System.IO.IOException
Message : Unknown error "-1".
Source : mscorlib
Help :
Stack :
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullP... more >>
How to find the Parent Thread
Posted by Mark Howell at 5/2/2007 4:59:23 PM
Is there a way to find the Parent Thread that spawned a certain Thread?
For example:
Thread a
Spawns Thread b
From inside Thread b's process, can I get to Thread a's TLS
(Thread Local Storage)?
... more >>
Getting 3.0 Facts Straight
Posted by sloan at 5/2/2007 2:42:57 PM
Ok.
If anybody has a url , that'd be great.
My IT Department is asking for the exact lowdown on 3.0, from a machine/OS
perspective.
3.0 projects can be
developed on
a. XP SP2
b. Vista
c. ( I guess 2003Server, but how uses that as their personal OS)
and deployed on... more >>
Are they the same day?
Posted by Andrew at 5/2/2007 2:25:00 PM
Hello, friends,
What is the best way to test if two date values are the same day (same hour)
or not in c#.net?
As you know, in VB6, we have a fuction DateDiff("d", date1, date2). Do we
have a similar one in .net?
Thanks.... more >>
VB 2005 Serial Port Close() Method
Posted by Steve at 5/2/2007 1:54:47 PM
Hey all,
I am having problems with the close method of the serial port class in
vb 2005. I have a button on a form that calls the Close() method, but
every now and then the program freezes. I have go into task manager to
end the process to get it to stop.
Just before I call the close() meth... more >>
case values in switch statement?
Posted by Andrew at 5/2/2007 9:09:01 AM
Hi, guys,
I have a switch statement like the follows in a KeyPress event:
switch (e.KeyChar)
{
case '0' - '9':
case 'A' - 'Z':
break;
default:
break;
}
Of cours... more >>
win32 error
Posted by AVL at 5/2/2007 7:48:00 AM
i've created a console application whcih reads different file formats and
scans for some for words....
the application builds fine and executes finely..but sometimes, the exe
automatically becomes 0kb and gives me this error
<Application.exe> is not a valid win32 application..
can anyon... more >>
checkboxlist query
Posted by AVL at 5/2/2007 7:43:01 AM
I've used a checkboxlist control on my form..
i'm populating values dynamically at runtime to this list..
but when i do it, the checkboxes so added are remaining unchecked...
but I want a newly added item to be checked by default...
how do i do it? any good samples...... more >>
convert an object to string and back (in a culture independent fashion)
Posted by Lloyd Dupont at 5/2/2007 12:00:00 AM
to store user preference in our application we have an 'hand written' XML
file. (as opposed to XmlSerializer written one, which crash sometimes, on
some user's computer, for some unknown reason.. but I'm digressing)
In this XML file I store object value, which I convert to string (when
writ... more >>
How can I get volume ID
Posted by Alexi F. Sharafutdinov at 5/2/2007 12:00:00 AM
Hello.
How can I get volume ID on which I have open file?
Alexi.... more >>
Overriding "OnXXX" versus adding event handler
Posted by Peter Duniho at 5/1/2007 5:50:43 PM
Okay, this has come up in the past but I haven't seen anything that I
would call a good, solid general rule.
The question applies more generally, but I'm going to ask in the context
of a Control. How does one decide whether to write an "override" method
to an event and when to simply ad... more >>
.Net Windows Service ...data access problem
Posted by Samuel Rhodes at 5/1/2007 3:10:03 PM
Hi,
I am writing a .NET windows Service that will access the database every 10
minutes. When the service calls the function in the business services layer
which in turn calls the correponding function in data access layer, this DAL
function fails. The reason 'apparently' being that the it ca... more >>
Truly cross platform?
Posted by Ray Cassick at 5/1/2007 2:40:22 PM
The thread bellow titled 'Determining if two paths are the same' brings to
mind some of the first 'things' I had heard way back when DotNet started. It
was going to be the panacea of cross platform development.
I am asking the question here of the group to find out if everyone (anyone)
... more >>
Windows Workflow - What basic tutorials? What's going on here?
Posted by B. Chernick at 5/1/2007 12:10:00 PM
I thought I was an experienced programmer but I'm looking at the beginning
WWF tutorial (Simple Expense Report) and I'm baffled. I feel like I don't
know how to even begin reading this. I thought this was supposed to be
interactive coding. Since when do we cut and paste into a project file?... more >>
Questions about clickOnce
Posted by Irfan at 5/1/2007 10:53:52 AM
hi,
I have couple of questions about clickonce again,
I am publishing a Winform appplication using ClickOnce. In the 'Publishing
Location' text box I input the directory name
(C:\CLICKONCE\Test2\). In the 'Installation URL' what shall i input. Why do
i need to input a URL when it is
simp... more >>
Locking Desktop and Threading Issue
Posted by Jenbo at 5/1/2007 9:35:44 AM
Hi, I have an application that displays forms on the users desktop,
what I am doing with it is having a SystemEvents
SessionSwitchEventHandler to capture the lock of the desktop, I would
like to kill the forms when this event is captured, that piece is
fine, but I would like to sleep the app unt... more >>
Installation problem - MSDN Libs for VS2005
Posted by B. Chernick at 5/1/2007 6:31:01 AM
I'm trying to jury-rig an installation of MSDN for VS2005 from ISO disks.
The company I'm working for has an 'install drive' so I'm not sure of the
pedigree of these directories. Essentially, since I don't have a CD burner
at my disposal, I'm trying to run the installation directly from the ... more >>
|