|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.NET Frameworkmicrosoft.public.dotnet.framework
Cannot find the System.Windows.Forms assembly
nr0mx.g@googlemail.com -
17 Feb 2007 11:45 PM - 5 messages
I am trying to build a WinForms application, and I'm using the Visual Studio C# 2005 Express edition. Doesn't it bind to .NET 2.0 by default, and shouldn't it be able to find the dll without any settings ...
Anyone knows the C# Equivalent
alee via DotNetMonster.com -
17 Feb 2007 4:52 PM - 13 messages
Hello, I am trying to convert a program from Microsoft VB.NET team: [link] I am having a hard time converting the following two sections. Anyone knows ...
SMTP sink on win2003
pickedaname -
17 Feb 2007 2:37 PM - 5 messages
Hi, I have a sink class which is registered on the server correctly. I know this because in my class I put in some ex handling that writes to the event log and I do get entries. Wat I want to do is get my class to see the content of ...
Bypassing Disk Caching
sturnfie@gmail.com -
17 Feb 2007 12:36 AM - 2 messages
Anyone know a way to bypass disk caching in Windows XP? I am working on a C# program that needs to verify the integrity of data that was copied to a removable drive. My approach is to read the ...
Strange exception with ReportViewer control
Quimbly -
16 Feb 2007 9:25 PM - 1 message
We're the ReportViewer Control in a .NET 2.0 winforms app. Here's the call I'm making: byte[] reportBytes = this.reportViewerInstallRpt.LocalReport.Render("PDF", null, out mimeType, out encoding, out extension, out streamids, out warnings); Here's the exception: ...
.NET service running as user (HKEY_CURRENT_USER?)
Mike -
16 Feb 2007 3:15 PM - 2 messages
Greetings, I trust that I am writing to the correct newsgroup or that at least I can find direction here. We have an issue with a custom-developed service which we would like to run as a specified set of user credentials. This is on account of a ...
CSS and MasterPage
spp -
16 Feb 2007 12:27 PM - 4 messages
I can't apply a CSS file to a web site with a masterpage. In design mode I see it's applied but at runtime no. ...
Saving updated binding source
alee -
16 Feb 2007 11:46 AM - 8 messages
I created an object using BindingList<T> for GetObjects() and assigned that to a objectBindingSource in a WinForm application. The ObjectBindingSource then assigned to a DataGridView. There was a objectBindingNavigation also on the form. Everything worked as expected when I run the application. However, ...
UdpClient Question
Vikas Manghani -
16 Feb 2007 10:23 AM - 1 message
Hi I am new to network programming. I had a question about UdpClients. Is the following possible: I have a UdpClient bound to say port 5000. The UdpClient also joins a multicast group which has some IP Address like 224.x.x.x and the same port number 5000. ...
could'n read memory
jaro -
16 Feb 2007 10:16 AM - 1 message
Hi, I'm using Text Control comercial component (comprehensive text editor writen as ActiveX). It's placed on form. If I paste image from clipboard into text control and close main window I receive exception "could'n read memory ..." (it comes from wnd proc of text control obejct while processing WM_DESTROY ...
dotNet Class for Printer ACL
SteveYau -
16 Feb 2007 4:46 AM - 2 messages
Hi there, Knowing that .Net 2.0 has new System.Security.AccessControl namespace. I read through the documentation but I cannot find a class that can manipulate printer's ACL, e.g. Print, ManageDocument, ManagePrinters... Basically, I've written a Windows Service that need to check a particular ...
User from not behaving as expected
newscorrespondent -
16 Feb 2007 12:57 AM - 2 messages
I am using Visual Studion 2005 SP1 and C#. I have a User Control that has a single label docked at the top of the control. This control is to be the basis for a number of inherited controls. Many of the inherited controls will have a split container docked as fill ...
1.1 Framework hangs during install on aspnet.mof on Windows 2000
WB -
16 Feb 2007 12:27 AM - 3 messages
I've seen others with this same issue, but no replies. I did see someone with a similar issue on XP in this newsgroup, and they got it to work by deleting files, rebooting, and installing .NET FW 1.1 SP1. I cannot (feasibly) do this ...
Fields in Interfaces, Indexer
hufaunder@yahoo.com -
15 Feb 2007 10:09 PM - 3 messages
SITUATION: I have a class "MainClass" that has an indexer "SubClass1Indexer". This indexer returns an instance that implements a particular interface "ISubClass1". This interface defines another indexer "SubClass2Indexer". Bellow is some code with comments. It should compile. PROBLEM: I would like to write something like this: ...
Does calling GC.Collect() only work from the main thread?
don -
15 Feb 2007 10:06 PM - 8 messages
To take advantage of the hardware power on my company’s application server, which has 4 CPUs and 8Gs of memory, I have created a multi-threaded application that would simultaneously process multiple requests to generate reports. The main thread of the application would spawn several worker threads to ...
Could not find a part of the path
Larry Epn -
15 Feb 2007 9:58 PM - 8 messages
Environment: Windows 2003 Server R2 Application type: ASP.NET application sample code: string filePath variable = "c:\xyz\abc"; FileStream clientFilew = new FileStream(filePath, FileMode.Create); //blows here Error message: Could not find a part of the path. Now, the filePath variable = "c:\xyz\abc" MOST CERTAINLY EXISTS on the web ...
SOS Command not working
johnxhc -
15 Feb 2007 8:30 PM - 3 messages
I am trying to use sos extension but almost half of the sos command do not work, for example 0:027> !findtable No export findtable found 0:027> !bpmd No export bpmd found 0:027> !GCHandleLeaks No export GCHandleLeaks found ...
Deadlock in XmlSerializer when using RedirectStandardInput
MinerDev -
15 Feb 2007 7:04 PM - 6 messages
I have encountered a situation where a thread (say, thread-1) blocks for 10 minutes in an XmlSerializer constructor. This occurs when another thread (say, thread-2) is blocked in a call to Console.ReadLine and the process was created using System.Diagnostics.Process with RedirectStandardInput = true. ...
Writing to an external config file.
Martin Hart -
15 Feb 2007 5:54 PM - 5 messages
Hi: I am having trouble writing to an external .config file (a .config file from another application, not the running application) Below I have included the code I am using, but although no exception or error is thrown, noting is written to the file! All the sections and ...
Double.MaxValue Casting Problems
Kevin Blakeley -
15 Feb 2007 4:26 PM - 4 messages
I have some code that takes Double.MaxValue and converts it to a string, but when I try to convert it back to a double, it fails. Shouldn't the value be able to be converted back to a double without error? ...
Generic BindingList.SumItems.MyProperty: howto?
Pieter -
15 Feb 2007 8:29 AM - 2 messages
Hi, I use a customized Generic List (VB.NET 2.0) inherited from BindingList(Of T). I made some methods in this BindingList, to allow me to do some standard functions on the BindingList-Items. One of them is for instance SumItems, which returns me the sum of a given ...
The program 'XXX.exe: Managed' has exited with code -1073741819 (0xc0000005).
vve -
15 Feb 2007 7:58 AM - 1 message
I'm discovering a strange behaviour in an C# project using ZedGraph (https://sourceforge.net/projects/zedgraph/). After adding a signal to it, it seems that the clr goes mad for some reason. I don't get a nice exception in the debugger - instead I get a ...
PDF exporting using reportviewer control for Visual Web Developer
akosinorman -
15 Feb 2007 4:43 AM - 1 message
I just want to share some aspects that might help novice developers out there like me... Since Visual Web Developer doesn't have a reportviewer control built-in ( unlike with visual studio 2005 ) so it seems to be very impossible for us ( developers ) to make a pdf export ...
FileIOPermission usage
ttrudeau -
15 Feb 2007 12:48 AM - 1 message
I read in an old response to a question about the FileIOPermission (from May 5, 2006) that you could use the security imperatively using something like: FileIOPermission perm = new FileIOPermission(FileIOPermissionAccess.Read, path); perm.Demand(); However, code analysis barks at this method with the following: ...
Process redirectStandardOutput into a textBox?
Ole -
14 Feb 2007 11:28 PM - 4 messages
Hi, Is it possible to bind the output from process to a textBox? Thanks, Ole ...
.Net 2.0 memory usage
Joe K -
14 Feb 2007 10:01 PM - 11 messages
I ported a .Net service from 1.1 to 2.0. In .Net 1.1, the total private bytes for this service ran around 40MB. In .Net 2.0, the same service has total private bytes of around 140MB. I then ran our service under a memory ...
What framework ???
Madison -
14 Feb 2007 7:58 PM - 14 messages
Hi: We have visual studio 2005 and framework 2 running on window XP, we are planning to switch to window vista in 3 months. We are going to develop new web application that will take about 6-8 month to develop. We want to make ...
XmlSerializer and Custom Attribute Inclusion?
lucius -
14 Feb 2007 7:30 PM - 3 messages
I have a CustomAttribute class that decorates properties and methods in a class that is serialized with the .NET 2.0 XmlSerializer. I would like to have these attributes interpreted as XML Comments and embedded inline or at least at the top of the result document when it is ...
custom attributes
Random -
14 Feb 2007 5:33 PM - 6 messages
I have a class with methods that I am applying custom attributes to. Right now, I'm using reflection within each method to check for the attribute and do something if it exists and depending on it's settings. I'd like to ...
Uninstalling older versions of .net framework.
Alex -
14 Feb 2007 5:03 PM - 2 messages
Hi I've got VS2005 and .NET framework 3.0 installed. Can I uninstall older .Net frameworks 2.0, 1.1 (and 1.0). Does .NET framework 3.0 cover all previous .net framework versions nowadays? Cheers Alex ...
Enterprise Library Deployment
apandapion -
14 Feb 2007 3:59 PM - 2 messages
I am looking into the Microsoft Enterprise Library 2005 for my organization. My question is: What machines would the Enterprise Library need to be installed on to take advantage of it? I would think that because it is a code library, installation would ...
Cardspace is something to do with Framework 3.0 but what?
Mike Bernstein -
14 Feb 2007 3:14 PM - 3 messages
I have had an icon for Windows Cardspace (supposedly something to do with Framework 3.0) in my XP Control Panel (SP2 and fully updated including the February Cardspace update) since installing Framework 3.0. Whenever I click on the icon, Windows Cardspace tries to open and then irretrievably crashes ...
updating document.xml example?
chandy -
14 Feb 2007 3:12 PM - 2 messages
Hi, I am able to build a package in code as there are plenty of examples but I haven't seen one about updating. Can someone point me in the right direction? I have a docx that will be used as a template and I simply need to ...
How to find out the OS is Real or VPS?
Muhammad Nasir Waqar -
14 Feb 2007 12:17 PM - 5 messages
Dear All, Can anyone tell me that How can I figure out that the OS system running on some system is Real OS or it is running on VPS? ...
Disabling chunking in HTTP 1.1
joseph_gallagher -
14 Feb 2007 11:43 AM - 5 messages
Hi, I'm not sure if this is the right place to post this but when searching for the exception I got this group came up the most. I'm making a HttpWebRequest to get data from a web page but am getting ...
ListBox not updating when datasource changes
Tarscher -
14 Feb 2007 11:03 AM - 4 messages
Hi all, I bind a list to a ListBox. Binding works but when I change the list the data is not updated in the listbox. Someone knows how to signal the listbox to update when the datasource changes? Thanks Stijn ...
how to fight a password cracker
Madni -
14 Feb 2007 10:24 AM - 1 message
Dear All, Using pdflib library in C# I have created a pdf file which is protected using owner password .Different options are disallowed like print, copy contents etc. Things were working very fine untill i came to know about some password crackers which could easily crack the ...
ClickOnce deployment over the internet
Jeff -
14 Feb 2007 8:10 AM - 1 message
Hi I'm using ClickOnce to deploy a small application over the internet. On some machines this works and on others (in a different organisation) I get the stack trace below. It mentions "Too many automatic redirections were attempted". Is this caused by proxy ...
Free .Net Framework quiz site @ http://www.quiznetonline.com
Mark C -
14 Feb 2007 6:25 AM - 1 message
Hi I am in the progress of developing a web site whereby developers can do free online tests on various programming languages. I would just like some advice or feedback on ways to improve the site or other comments of the site ...
Framework 2.0 still used after 3.0 install
Chris -
14 Feb 2007 3:45 AM - 14 messages
Hi, In updated to .NET Framework 3.0 but projects, even new, still reference the 2.0 framework. If I go to my ASP .Net tab in web site properties, my only options are framework versions 1 and 2. A reinstall of 3 tells me that it is already installed. ...
BitmapDecoder not releasing file lock
Roger Martin -
13 Feb 2007 7:29 PM - 4 messages
I am using System.Windows.Media.Imaging.BitmapDecoder as part of some code that extracts metadata, but my problem can be reduced to the following simple example: using System; using System.Windows.Media.Imaging; namespace ConsoleApplication1 { class Program ...
Indexed Properties
hufaunder@yahoo.com -
13 Feb 2007 6:26 PM - 4 messages
I wonder about the pros and cons of a setter for an index property. As an example let's look at the Dataset DataSet ds; ..... ds.Tables[0] = new Table(); //Assume Tables[0] exists already The above will generate a compile error. Why is this allowed? Tables ...
Exception trying to retrieve from My.Resources
Barry Gilbert -
13 Feb 2007 4:44 PM - 1 message
In a Property Set statement, I'm trying to retrieve a value from My.Resources like this: Public Property TimeEnd() As DateTime <System.Runtime.CompilerServices.MethodImpl(Runtime.CompilerServices.MethodImplOptions.NoInlining)> _ Get ...
Exception trying to retrieve from My.Resources
Barry Gilbert -
13 Feb 2007 4:44 PM - 2 messages
In a Property Set statement, I'm trying to retrieve a value from My.Resources like this: Public Property TimeEnd() As DateTime <System.Runtime.CompilerServices.MethodImpl(Runtime.CompilerServices.MethodImplOptions.NoInlining)> _ Get ...
Exception trying to retrieve from My.Resources
Barry Gilbert -
13 Feb 2007 4:44 PM - 1 message
In a Property Set statement, I'm trying to retrieve a value from My.Resources like this: Public Property TimeEnd() As DateTime <System.Runtime.CompilerServices.MethodImpl(Runtime.CompilerServices.MethodImplOptions.NoInlining)> _ Get ...
Can't install Framework 2.0 - help help help
Ole -
13 Feb 2007 4:29 PM - 6 messages
Hi, I've have tried to install .Net Framework 2.0 on my windows 2000 machine with plenty of disc space and ram, over and over again without any luck. After unpacking the files and the installation starts it stops after about 1 ...
Unique Identifier for a computer.
UJ -
13 Feb 2007 2:44 PM - 9 messages
I need to come up with a way to uniquely identify computers that can't be hacked easily. Something like the system id or info from the CPU that is then sent over the internet to a central database. What we are trying to do is have a unique identifier that is machine based ...
BitConverter.ToInt32 - weird optimization?
Morten B. Post -
13 Feb 2007 12:41 PM - 7 messages
Now, if we take a look at the reflected BitConverter.ToInt32 method it looks something like this: public static unsafe int ToInt32(byte[] value, int startIndex) { if (value == null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.value); ...
WPF ListBox Selecteditem colors
Damian -
13 Feb 2007 8:51 AM - 4 messages
I'm struggling with knowing how to change the colors used when selecting an item in a databound ListBox. If I have a listbox which uses a datatemplate for items, I don't know how to use triggers to change the foreground and ...
TcpListener.Start() segfaults
Thos -
13 Feb 2007 7:39 AM - 5 messages
I have a TcpListener that gets started from a GUI button event handler: TcpListener listener; listener = new TcpListener(IPAddress.Any, 1234); listener.Start(backLog); As soon as the third line runs, the app freezes, the CPU goes to 100% on that CPU (Core Duo) and debugging can't break out of it. I can't ...
Do any microsoft buildtime dependancies C#/C/c++/VB/etc. need to be updated for the 2007 policy on d
Daniel -
13 Feb 2007 3:49 AM - 2 messages
Do any microsoft buildtime dependancies C#/C/c++/VB/etc. need to be updated for the 2007 policy on daylight savings time? I know the OS needs to be updated but I care now about C libraries, .net binaries, etc. that microsoft maintains which have coded in them logic ...
Is there a patch for congress new 2007 daylight savings time change?
Daniel -
13 Feb 2007 1:03 AM - 4 messages
Is there a patch for congress new 2007 daylight savings time change? [link] This could have economic impact like y2k did. Is there a patch for windows 95/98/me/xp/2000/2003/etc. to handle new daylight savings time rules? are ...
Edit Templates
mianiro -
12 Feb 2007 6:48 PM - 1 message
I have a datagrid with edit/update functionality. In the template columns, I have put more than one control in the editItem Template area I have more than one control. A text box , label and a checkbox with a label. When i click edit on the grid, The two labels and the ...
WPF/Avalon: Adding Controls During Runtime
hufaunder@yahoo.com -
12 Feb 2007 6:24 PM - 3 messages
I have to present inputs (textbox, combobox, etc) that are not known during design time. In the past this was pretty simple to do. You just add a new control to the Controls property of a form. How can I ...
Wireless Info
midas360 -
12 Feb 2007 6:13 PM - 3 messages
What's the recommended way to obtain wireless information in .NET using C#? I am looking for SSID, signal strength, security mode, channel, etc. TIA, midas ...
Windows Service Registration
vovan -
12 Feb 2007 5:12 PM - 5 messages
I created Windows Service in VB 2005. Using InstallUtil.exe I register it on any machine with Windows XP, Windows 2003 Server without any problem. I even never had to learn that process. After registration I see a couple of new files in the folder where I have My ...
Visual Inheritance
Mike C -
12 Feb 2007 4:42 PM - 1 message
(This is being reposted from the CompactFramework group because I don't belive the situation is specific to CF). I am creating a CF application using VB.Net 2.0 and VS2005. I am trying to create a heirarchy of controls to give my application ...
Serialization Error
mianiro -
12 Feb 2007 3:40 PM - 3 messages
Has anyone had a serialization error occur when adding a variable to a viewstate? The error states 'Error serializing value 'System.Data.SqlClient.SqlDataReader' . It does not mention explicitly that it is from the viewstate, however, when I remove the ...
Max pool size reached exception when trying to open a new connection
ramneekm -
12 Feb 2007 3:40 PM - 2 messages
hi all, i am working on a asp.net web app and using ado.net 's SqlClient Data Provider to connect to sqlserver 2005. I am getting the exception "Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred ...
EnterpriseService deploy
theking2 -
12 Feb 2007 3:09 PM - 1 message
Installing a pre-built .NET EnterpriseService on a winxp box results in the follwoing error message: The typelib could not be loaded. The MSI package was created on win2003 and exported there. I can install 'n run the component on the winxp box. but I want to be able ...
common config file
orenl -
12 Feb 2007 1:44 PM - 2 messages
I have a server application which can be called by web services or directly from the command line. the solution has a website with web.config and a consoleProject with app.config. I need to work with a single config file (preventing duplication). ...
Client-side Data
Barry -
12 Feb 2007 11:39 AM - 2 messages
Hi there are 2 variables in PHP $REMOTE_ADDR $HTTP_REFERER does anyone know what are the equivalent of these variables in ASP TIA Barry ...
WPF/E doesn't work in Windows 2000
Auto -
12 Feb 2007 11:10 AM - 4 messages
The WPF/E doesn't work in Windows 2000 unsing IE6. On the contrary it works on MAC OS. I can't belive it. Microsoft did a big mistake! WPF/E MUST work in Windows 2000 unsing IE6. What do you think about? ...
XmlSerializer without namespaces?
Jens Weiermann -
12 Feb 2007 7:32 AM - 9 messages
Hi, I'm using XmlSerializer objects to - surprise - serialize objects to xml. My problem is that it includes the xml namespace references xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" for every single object which 1) isn't necessary in this case and 2) makes ...
AppDomains and shared Threadpool?
Shawn B. -
12 Feb 2007 3:23 AM - 4 messages
Greetings, I have an application that must load various modules. Each module must be able to execute concurrently, so I'm spawning a thread and each thread hosts its own AppDomain. I for various reasons, I must create a custom ...
How to Create WinForms client and ClassLib server as one assembly?
Joseph Geretz -
12 Feb 2007 12:02 AM - 7 messages
I'd like to break up my aplication into a WinForm executable, plus a class library containing application utility functions. But I don't want any client other than my own application to have access to my application library. Isn't this the point of an 'assembly'? So how can I generate these ...
How to find connected adapter on win 2k
Anant -
11 Feb 2007 3:38 PM - 1 message
Win32_NetworkAdapter class has "NetConnectionStatus" and "AdapterTypeID" properties. I was thinking if i can iterate through all the adapters and will check the NetConnectionStatus == connected. As soon as i will find adapter connected i will get its AdapterTypeID. But NetConnectionStatus is not supported on win2k.So can anyone ...
Problem with .NET 2.0 sending mail with Password by NetworkCredential
mtczx232 -
11 Feb 2007 2:32 PM - 2 messages
I find below code or like in some sites ([link] articles/sending_smtp_authenticated_email.aspx) my ISP announce that soon we need to give Authentication for sending EMAIL. I add this code to my App, and I see that Even the Username & ...
finding connected users in current ftp sessions programatically i
John Smith -
11 Feb 2007 10:47 AM - 1 message
hi all, i am trying to programatically get a list of connected users that in are the current ftp sessions tab in iis6. i cant find anything on the net that seems to be able to help me, i've ...
.NET Framework v3.0 x86 question
--== Alain ==-- -
11 Feb 2007 8:53 AM - 2 messages
Hi, I've seen a strange thing today. Windows update proposed me to download and install "Microsoft .NET Framework 3.0 Redistributable Package" for 50.8 Mb whereas on standard MS website ([link]" the same package is only 2.8 Mb. ...
Best way to pass string from Win32 to DotNet
hB -
11 Feb 2007 4:47 AM - 1 message
Hello all, What is the Best way to pass string (char*) from (Win32DLL) C/C++ to (DotNet)C#? Say if we allocate strings in win32 c++ dll in the heap (using new / sysalloc - without using ATL/MFC bstr functions) Then how to ...
Wrong discussion group
mollybean -
11 Feb 2007 12:21 AM - 1 message
Sorry, I was in the wrong discussion group ...
|
|||||||||||||||||||||||