all groups > dotnet framework > july 2007
Filter by week: 1 2 3 4 5
GetStream.Read behavior changed in .Net 2.0 with respect to ReceiveTimeout
Posted by Keith Langer at 7/31/2007 9:35:15 PM
Hi,
I've noticed that the behavior of ReceiveTimeout has changed
between .Net 1.1 and .Net 2.0 when it comes to the GetStream.Read
method. In .Net 1.1, if the timeout period elapsed, I would get a
System.IO.IOException, but the connection stayed open. I could then
check the InnerException ... more >>
How to change update microsoft.NET framework v1.14322 update warning in order for screen to hibernate please
Posted by jmscearce at 7/31/2007 1:22:27 PM
How to change update microsoft.NET framework v1.14322 update warning in order for screen to hibernate please..thanks
From http://developmentnow.com/g/6_2006_2_0_0_0/dotnet-framework.htm
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com... more >>
Update for KB928367 fails
Posted by Peter Croft at 7/31/2007 11:23:14 AM
I am trying to update a system running win 2000 pro sp4 with Security Update
for Microsoft .NET Framework, Version 1.0 Service Pack 3 (KB928367).
It says it's done but then after a minute or two the update reappears in the
notification area to do again.
How do I find out if the install worked?... more >>
VS generates event handlers in Form1.cs when they already exist in partial class
Posted by damian NO[at]SPAM gcoders.com at 7/31/2007 9:21:36 AM
I have seperated my Form1 class into several partial classes, but if i
make a modification to the main form, it generates event handlers in
Form1.cs when they already exist in another partial class. Is there
any way of stopping this?
thanks in advance
... more >>
Printer Status over the Network
Posted by Roop at 7/31/2007 3:01:45 AM
Hello all,
Please help and suggest the code to get the printer status over the
network.
for Example, i have an string "\\\\os1\\PtName"
where os1 is the system name
and PtName is the printer name
I need to know the status of this printer on the system name "os1".
Please suggest me the c... more >>
Visual Studio publish, storing login details?
Posted by damian NO[at]SPAM gcoders.com at 7/31/2007 12:53:40 AM
Every Time I publish my application VS asks me for my FTP server's
authentication details. Is there any way VS can remember this?
thx in advance
... more >>
Use GZipStream to decompress winzip file
Posted by VancouverMike at 7/30/2007 9:22:01 AM
Hi there,
I am trying to use GZipStream class to decompress winzip files in .NET 2.0
C# and getting the following error message:
The magic number in GZip header is not correct. Make sure you are passing in
a GZip stream.
The zip file I am using for testing was compressed by winzip and n... more >>
Strange Compile Problem With Generics
Posted by Brett at 7/30/2007 8:14:01 AM
I've tried to debug this every way I can think of, but I can't figure out
this strange compile problem I am having. Any help is greatly appreciated.
I have a generic collection class that inherits from
System.Collections.ObjectModel.Collection(Of T) called
MatrixGenericCollectionBase (Matr... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
ClickOnce deplyment
Posted by bede at 7/30/2007 5:25:03 AM
I am having some major issues with Clickonce and would like a wee bit
of advice.
I cannot create a clickonce package as I will not know which web
server the application will be launched from until the last minute.
I need to wrap up my click once application, place it onto a memory
stick or cd... more >>
Regular Expression problem
Posted by Barry at 7/30/2007 3:22:13 AM
Hello
Regex regex = new
Regex("((?<field>[^\",\r\n]+)|\"(?<field>([^\"]|\"\")+)\")(,|(?<rowbreak>\\r\\n|\\n|$))");
The above regualr expression return 24 fields instead of 42 for the record
below, it ignores empty fields like ,,,"Hello World",,,,,
1002,Jack,Wack,23772 East Rd,... more >>
New character
Posted by Allen Maki at 7/29/2007 8:01:14 PM
Can anybody tell me what is ^, in some V C++, susch as:
public:
virtual String^ ReadLine ()Thanks.
... more >>
WritePrivateProfileSTring funstion
Posted by Nhan at 7/29/2007 12:00:00 AM
Hi,
Is there any way to use the API function WritePrivateProfileString in NET
framework 2.0?
Thanks
Nhan
... more >>
Framework 2.0 Question
Posted by Denny at 7/28/2007 2:38:03 PM
Hi ! I'm a casual computer user, no interest in development or programming.
I have a program on my computer called Net framework 2.0 It's 88.80 mb and I
would like to delete it if I don't need it. Can I safely delete it or is
this program used for other things. I do have a wireless networ... more >>
Knowing the clr version of running .net process
Posted by user at 7/27/2007 8:42:32 PM
Hi All,
Is it possible to know the version of clr(.net) of a running .net process.
As I could have installed different versions of .net on my windows machine
and I can run multiple .net applications using different versions of .net.
user
... more >>
NetworkStream EndRead SocketException OperationAborted
Posted by John at 7/27/2007 3:18:00 PM
I have a .NET 2.0 application that acts as a TCP/IP server, and I’ve
discovered an issue with NetworkStream. I’ve accepted a client socket and
called steam.BeginRead(…) and my AsyncCallback has been called, so it calls
EndRead. EndRead occasionally throws an IoException that has an
I... more >>
Installing VS2005 on Vista : Suite integration Toolkit Executable has stopped working
Posted by Rogier at 7/27/2007 12:58:45 PM
Hello,
After I've started the setup.exe (run as admin) the VS setup crashes
during the loading of the installation components. Vista gives the
following message: Suite integration Toolkit Executable has stopped working
Rogier... more >>
CardSpace on Windows XP under FAT32
Posted by darkrats at 7/27/2007 9:21:46 AM
Installing .NET 3.0 on my Windows XP (FAT32) system puts a CardSpace icon in
the control panel. Clicking on it brings up an error messages saying that it
won't work because either my system is not NTFS, or I'm not running it under
Administrator's Rights etc.
I tried to start the CardSpace s... more >>
Threading and WaitAny
Posted by GCeaser NO[at]SPAM aol.com at 7/27/2007 6:31:51 AM
I am encountering a challenge while using WaitAny to detect when any
of my async processes have finished.
The scenario is I have a master class which instantiates two other
classes and calls a method on each asynchronously. The async method
returns output that is processed via code on the mai... more >>
Looking for Ftp client class library for .net 1.1
Posted by Giorgio at 7/27/2007 12:00:00 AM
I'm looking for a free, maybe open source, class library to access a remote ftp
service from a C# application.
Is there something on the web? Where can I find it?
I've found the following:
http://www.codeproject.com/cs/library/ftp_class_library.asp
http://www.c-sharpcorner.com/UploadFile/nku... more >>
JAVA works C# not !!!!!!!
Posted by Hovhannes Asatryan at 7/26/2007 5:11:47 PM
Hello guys,
I'm newbie in .NET.
I have agent server works with SOAP protocol.
Added web service which have getFiles and setFiles methods.
SoapServer soapServer = (SoapServer)Activator.GetObject(typeof(SoapServer),
http://localhost:port/Server);
SoapServer is the interface with methodts ... more >>
article/cheat sheet on .NET formatting (ToString, String.Format)
Posted by John Mott at 7/26/2007 4:18:18 PM
Hi All,
I finally sat down this morning and plowed through the docs on .NET
formatting and wrote an article with a visual aid and little cheat sheet. I
hope its helpful, and would welcome comments.
http://www.nicecleanexample.com/ViewArticle.aspx?ID=2
best,
John
... more >>
error while using SmtpMail to send a simple html formatted message
Posted by DotNetJunkie at 7/26/2007 12:46:04 PM
Hi,
I am trying to send an email using System.Web.Mail.SmtpMail. I am getting
error: "Could not accessCDO.Message object"
It was a HTML formatted message, if I try to use Text BodyFormat it sent the
mail successfully. But my need is to send a HTML formatted message.
So I tried to unregiste... more >>
WebParts and Ajax - cannot find UpdatePanel
Posted by deano at 7/26/2007 12:25:55 PM
Hello,
I have multiple webparts on a page, several utilizing Ajax.
If user closes one of those webparts, removing from that portal, then
tries to use one of the other webparts with Ajax, a client error
pops up stating that it "could not find the UpdatePanel" of the
closed
webpart. "If... more >>
ClickOnce Skip
Posted by pipbailey NO[at]SPAM gmail.com at 7/26/2007 10:38:37 AM
I am using ClickOnce to deploy a VB.Net 2005 application. It all works
well, but I have a question about how ClickOnce works.
If a newer version of the application is available and a user chooses
to "Skip" installing it, they don't ever get asked again. Is this the
designed behaviour of ClickO... more >>
.NET 3.0 System.Printing
Posted by torsti181279 NO[at]SPAM googlemail.com at 7/26/2007 2:37:33 AM
Hi there,
i try to clone a printer .. just as it was posted at
http://msdn2.microsoft.com/en-us/library/aa970846.aspx
"How to: Clone a Printer"
but i got problems when setting PrintQueueAttributes ... is there
anyone who can show me the way getting
from PrintPropertyDictionary to PrintQueu... more >>
Set an icon for the Add / Remove programs
Posted by Empi at 7/26/2007 12:00:00 AM
Hi,
I looke for documentation regarding how to set an icon for an application
on the Add/Remove programs.
Any clues?
Thanks.
... more >>
ORCAS - System.Numeric.BigInteger - unable to compile
Posted by Auto at 7/25/2007 11:00:38 PM
I am unable to compile the code below - using C# ORCAS (9.0.20404.0 Beta 1 -
JUNE 2007), because i get the following error:
'System.Numeric.BigInteger' is inaccessible due to its protection level
C:\Documents and Settings\Massimo\Local Settings\Application Data\Temporary
Projects\TestBigInt... more >>
boot up problem
Posted by crazycanuck at 7/25/2007 9:20:01 PM
i have a problem on boot up,when i turn my pc on it has a black screen with
the problem saying
passwords have been cleared?
set switch' clear password' to the open position before rebooting!
press f1 to continue
so i press f1 and xp boots up, anyone know why?... more >>
CultureInfo problem
Posted by Tom at 7/25/2007 6:04:49 PM
Hello all,
I need to add support for Macedonian language to rather old project (C#,
..NET 1.0).
When user changes language, following code is executed:
Thread.CurrentThread.CurrentUICulture = new CultureInfo(code); // this
sets culture for current thread
Grid cells use... more >>
Skip some code in Design Time.
Posted by deneb at 7/25/2007 5:10:43 PM
Hi
I want to prevent some code to run in design time.
I have a base form that have some code in its Load event.
And I create a form inherited from base form.
When I watch the form design in design time, codes that is in base
form's load event are excuted.
The problem is that because it's... more >>
Null Exception Referecne error
Posted by Fred at 7/25/2007 4:27:15 PM
In my project I have a reference to a third party DK dll, at times when I
end the application I get an error stating "Null Exception Reference" and it
has the Dll's name. When I choose break it takes me to the Disassembly
screen. Can anyone advise of how to get rid of the error or how can I
... more >>
WeakReference not working?
Posted by Pieter at 7/25/2007 3:53:37 PM
Hi,
We have written a cache, which can have different behaviours. One of these
is a WeakReference-Cache. The purpose is that, once an object isn't referred
anymore in the application, it should dissappear from the cache.
This works almost always fine, but not for some objects, and I can't ... more >>
question about data contract in wcf
Posted by Roy at 7/25/2007 8:02:04 AM
I have a complex data contract sending to wcf service side. After processing
on the service side, some of the data members will be modified by the
service. Does the sending know the change automatically(just like the one
pass by reference)? If not, how does the client know the change?... more >>
Remote folder (and files)
Posted by lewix at 7/24/2007 5:17:35 PM
Hi,
i need that my application share a remote folder/files to an other one.
I would like to know any suggetsion how can i do (if it is possibile).
Maybe can i use TreeView control and i have to use it by remoting?
Or i have to build a whole new protocol via tcp/ip between 2 application to
make... more >>
Event for activating "title" bar in WPF
Posted by John at 7/24/2007 1:42:05 PM
Hi,
I am wondering what event is raised if Window title is activated (i.e. if it
is inactive window title is by default grey and if it is activated it is
blue) in WPF. Activated event does not work :-( and I have tried many other
events and no luck :-(.
Please, help.
Thank you :-).... more >>
General design of WPF
Posted by John at 7/24/2007 11:56:02 AM
Hi,
In WPF, I would like to create similar functionality as Windows Explorer has
for renaming folders. (If you press F2 over selected tree view item is
displayed textbox which contains name of folder which can be edited).
In WPF I can do it using TreeView control but I do not know how to po... more >>
IL-to-IL "front-end-compiler" ... ?
Posted by Michael Crawley at 7/24/2007 10:48:03 AM
There are many source to source compilers for C, C++, and other languages.
CodeDom is .NET's closest attempt for C# and VB.NET. I am trying to explore
the idea of an IL-to-IL "front-end-compiler" that would take a managed
assembly created by Visual Studio and convert it into a "set of struct... more >>
Help -- Microsoft.mshtml events stop responding...
Posted by celoftis at 7/24/2007 10:24:27 AM
Using VS2003, VB.NET, HTML and javascript,
BACKGROUND
I have a windows app that has an ActiveX (AxInterop.SHDocVw) browser
control.
During the execution of my app, a display a HTML page that has a radio
group on it... as radio buttons are selected, I am (mostly) able to
catch the event (oncl... more >>
Is there a way to request an update to a MS article?
Posted by sloan at 7/24/2007 10:13:05 AM
Microsoft Articles.
Is there a way to request an update to an article.
http://msdn2.microsoft.com/en-us/library/ms978496.aspx
That was a 1.1 article, I'd like to see an update for 2.0 (esp adding
Generics to the conversation)
Is there a way to request an update to a MS article?
... more >>
dotnet framework 1.1 and screen flicker
Posted by edavid3001 NO[at]SPAM gmail.com at 7/24/2007 7:45:45 AM
I think I've narrowed a problem I'm having down to the 1.1 version of
the .net framework.
I've got an issue where software clients will display a lot of flicker
on the screen. About ever 10 seconds these clients will distort, with
the text of the client being overlayed about 6 pixels down and... more >>
Pre and post processing before a method executes
Posted by lukev123 NO[at]SPAM gmail.com at 7/24/2007 3:08:07 AM
Hi,
I have a class that has many methods and is growing all the time. In
each method I do a security check to see if the caller is allowed to
call the method. I also have a try catch block in every method for
exceptions.
This seems to be a lot of code for each method, so I'd like to know if... more >>
Regex help
Posted by Shem at 7/24/2007 2:32:04 AM
Hi Folks,
Can anyone assis me in creating a regex for the following formats
AA.
AA.A
AAA
AAAA
A denotes alpha characters only
Thanks in advance... more >>
.NET Wrapper for Windows Firewall... ?
Posted by Skybuck Flying at 7/24/2007 1:08:06 AM
Hello,
I like to play around with the windows firewall and maybe make a nice
appliction/gui for it.
However it seems COM based and that's difficult.
..NET is more easy to program for.
So a .NET Wrapper for the Windows Firewall would help...
Bye,
Skybuck.
... more >>
how to populate an explicitely loaded DataTemplate?
Posted by Lloyd Dupont at 7/24/2007 12:00:00 AM
I am working on some drag and drop code.
When some data is moved over a target which accept it I want to show a data
preview.
For this I attempt to create an UIElement with the default DataTemplate.
Problem is, I don't know how to setup the UIElement returned by the
DataTemplate! (i.e. setu... more >>
How to install Language packs in Vista?
Posted by Sakura at 7/24/2007 12:00:00 AM
When I installed the language pack, the setup program shows a message that
"You must use add/remove windows features to install the language pack".
But in the "add/remove windows features" I can not find language packs, when
I chosen to install all the items of .NET Framework 3.0, it seems th... more >>
Web service - Large dataset problem
Posted by kasi.uh NO[at]SPAM gmail.com at 7/23/2007 8:37:53 PM
I have a web service that is up and running. I query a central
database on the client side and pass the DataSet to the webservice. It
works fine for small datasets. When I try to call a webmethod on that
webservice for a large dataset (A table with 300,000 rows), I get the
following error mess... more >>
Trust Listen port in the window service
Posted by hash at 7/23/2007 7:50:00 PM
Hello
I am not sure that what I want to know is a big problem, but ... I
created windows service which listen internet connection to some port.
Everythings ok, but windows firewall denyed any connection to this.
Can somebody tell me what should I do please?
Thanks.
... more >>
Exception when closing threaded splash screen using Invoke
Posted by hileyj at 7/23/2007 3:04:03 PM
Hi,
I have an application that seems to crash upon startup in isolated
situations (double clicking an associated file). I looked into it a little
bit and noticed it was getting to the point where it was closing a splash
screen that the problem occurred.
Example:
In the main form -
/... more >>
Checking against null in generic code
Posted by Adam Badura at 7/23/2007 12:44:27 PM
How to check if a value of generic type is null f it is not known if it
is a reference type or simple type.
Lets look at the example:
class Test<Type1, Type2> where Type1 : IEnumerable<Type2>
{
public Fun(Type1 item)
{
// a check is here needed
foreach (Typ... more >>
Add a DLL into GAC, but fail to find it from reference windows of Visual Studio.
Posted by zlf at 7/22/2007 10:50:33 PM
Hello,
I have a C# library project. I've built a strong named DLL, then add it into
GAC via gacutil /i XXX.dll.
After adding it, I can see it in gacutil /l.
But I fail to find it in reference window in Visual Studio. What is problem?
Thanks
zlf
... more >>
|