Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score JIT Debugger
Romain TAILLANDIER - 25 Nov 2006 1:34 PM - 2 messages
Hi group I have a video game wich probably make an error. this error is catched by the MS JIT debugger and my game is closed. i would like to deactivate the JIT to see if my game could continue ... ...
Score Get the record count of SQL table w/o retrieving records
Eve - 24 Nov 2006 8:00 PM - 5 messages
How can I get a record count of an SQL table without the actual records being retrieved? This is what I'm using right now and it does take a long time for big tables: SELECT COUNT(colName) FROM myTable ...
Score Managed C++ Mixed Assembly
Olivier Matrot - 24 Nov 2006 5:01 PM - 10 messages
Hello, I have a VC++ Project that outputs an unmanaged DLL. I would like to convert this project to a managed C++ Project. The goal is to mix unmanaged and managed code. Un unmanaged exported function will need to run managed code. Is it possible ? ...
Score How to read 'There is an error in XML document (x,y)'?
Eve - 24 Nov 2006 4:48 PM - 1 message
I'm getting 'There is an error in XML document (x,y)' message. I'm trying to figure out what's wrong with my document (it's really big, so it would take me very long time to look at every single line), but I'm not sure how to ...
Score DataGridView performance
John Brown - 24 Nov 2006 4:05 PM - 11 messages
Hi there, Has anyone had any serious performance problems with this class. A couple of hundred rows of data with 4 columns (everything loaded on-the-fly with no DB involved, all simple strings, 90% under 10 characters, the rest as high as ...
Score Check these dot net Interview Questions
chrisplanters - 24 Nov 2006 10:03 AM - 1 message
Hi All Check this link... [link] nice set of Interview Questions Thanks Chris ...
Score drag and drop issue...
Lloyd Dupont - 24 Nov 2006 3:44 AM - 5 messages
If I use software like OpenOffice and try to drag text I could notice that 1. when I drag inside the document I'm moving the text 2. when I drag outside the document I'm copying the text Yet it all looks like one smooth operation. With correct cursor feedback ...
Score Question on .Net Remoting Connection
Leon - 23 Nov 2006 10:48 PM - 3 messages
Hi, In trying to understanding the .Net Remoting plumbing I have a questions and wondering if anyone can help me? I have read Rammer's excellent book but still having got all the answers. This is what I have and I know of. ...
Score Windows 2000+framework 2.0
Pablo Salazar - 23 Nov 2006 8:24 PM - 4 messages
hi everybody. I have a server with windows 2000 server and framework 1.1 Can intall framework 2.0? for your suggestion thanks. ...
Score References not updating
Paul Miller - 23 Nov 2006 6:52 PM - 3 messages
I am referencing another dll from within a class library and it seems to allways be looking for an older build version of the reference.  I have tried removing and re-adding the reference but to no avail.  Originally I was ...
Score VS.Net : Shortcut key for Immediate Window doesnt work.
ASP.NEt Multilingual Web portal - 23 Nov 2006 5:12 PM - 9 messages
in my Visual Studio installation ,  I cannot go to immediate window using Ctrl+Alt+I ? Could anybody tell me how to set it work ? Thanks in advance. ...
Score ASP.Net ValidationControl display dynamic property
ASP.NEt Multilingual Web portal - 23 Nov 2006 5:10 PM - 1 message
I have two validation controls namely RequiredFiledValidaiton and RegEx validation control for a textbox field. I have set display to dynamic but still the content is pushed to rightif second validation control fails. You can see some space next to the textbox. ...
Score Common Language Specification
Jeff - 23 Nov 2006 2:48 PM - 2 messages
Hey I'm wondering if Common Language Specification is a subset of Common Type System? Jeff ...
Score Net1.1 => COM =>Net2.0 Problem
Daniel - 23 Nov 2006 1:42 PM - 1 message
Hello *, I have the following problem: The situation is: A VB Net (1.1) dll is using a webservice. This dll can be used from COM Applications. A VB6 Application is using the dll. This is working since some years without problems. ...
Score get the project path
Irfan - 23 Nov 2006 12:30 PM - 2 messages
hi, I need to know the locaton of a project that i am referencing in my project. So in the project that i want to reference I created a public method in a class that returns Application.StartUpPath . However, when i access this method from my project it return the StartUpPath ...
Score Remote Desktop
TigerMan - 23 Nov 2006 12:02 PM - 2 messages
I want to be able to detect in vb.net when a user has logged on to a domain via remote desktop on a Windows 2003 Server. Is there any way to do this? TIA ...
Score Capturing HTTP requests from WebBrowser 2.0
Murad Ismayilov - 23 Nov 2006 10:53 AM - 1 message
I'm going to make cache of images for defined site. I'm going to catch HTTP requests from WebBrowser control, filter them and generate responses using saved images. However I cannot find how to capture these events. I know there ...
Score Shall I now always use String.Empty instead of ""
anonieko - 23 Nov 2006 9:57 AM - 27 messages
In the past I always used "" everywhere for empty string in my code without a problem. Now, do you think I should use String.Empty instead of "" (at all times) ? Let me know your thoughts. ...
Score Process.Start failes on Win 2000 after showing open file dialog
ssissa@newsgroups.nospam - 23 Nov 2006 9:57 AM - 8 messages
Hi, I have an application that is launching a process (see the code below) to perfom some operation on a file. On Windows 2000, if my application first uses the OpenFileDialog to open a file on the desktop, Process.Start failes ...
Score C# / 2005 / Async Socket Buffer Corruption
EmeraldShield - 23 Nov 2006 8:32 AM - 7 messages
I have been fighting a problem for about two weeks and I can't seem to find any info on it.  Any help is greatly appreciated. We have an ASYNC I/O system for email receptions (in bound email). ...
Score SocketException WSAENOBUFS on Socket.Connect
Jeronimo Bertran - 23 Nov 2006 1:56 AM - 4 messages
I have a client application that connects to a TCP server and uses the Socket class.   The application connects every 10 minutes to the server and exchanges information.  The application runs fine but we have been having a ...
Score Make compile silent in VS2005
B. - 22 Nov 2006 11:50 PM - 4 messages
How can I make the compile silently so that during the compiling of the solution, the .cs files name will not be listed in the output window? Thanks. ...
Score system.runtime.serialization assembly missing
Todd_C - 22 Nov 2006 7:45 PM - 4 messages
How can a 2.0 framework assembly like system.runtime.serialization be missing from my machine? How can I get it back? Do I have to re-install the 2.0 framework? If so how? tia ...
Score Reflection interface
A_Republican - 22 Nov 2006 7:25 PM - 2 messages
Hello I'm trying to create a class that maps other classes. Basically I want to pass a custom class to my class and retrieve all it's properties names and build: lists, arrays, list view controls, etc. Would the Reflection interface help me with this task? If so how do I go ...
Score Control properties say 1 thing but control visuals say another
wease - 22 Nov 2006 7:19 PM - 2 messages
I have a problem that I cannot figure out.  I have a number of controls (list boxes, radio buttons, text boxes, etc) that are not functioning properly.  The properties of each control are set (via code) but they are not being ...
Score Question about MemberInfo.ReflectedType
PIEBALD - 22 Nov 2006 6:15 PM - 2 messages
I'm writing a method (MethodA) that needs to know what method of what class called it (so it can say, "ClassX called me"). Without having to pass the type down the chain. To do this, MethodA walks back up the StackTrace and use GetMethod() looking ...
Score 3D with .NET
bbembi_de - 22 Nov 2006 5:25 PM - 1 message
Hello everyone, I want to create an application where I can display a structure of pipes in 3D. What API should I use? OpenGL, Direct3D or something elese? It should be a simple API. bye juergen ...
Score 3D with .NET
bbembi_de - 22 Nov 2006 5:25 PM - 5 messages
Hello everyone, I want to create an application where I can display a structure of pipes in 3D. What API should I use? OpenGL, Direct3D or something elese? It should be a simple API. bye juergen ...
Score 2003 server UDP buffer - looking for info ?
Scott - 22 Nov 2006 4:56 PM - 1 message
anyone know how to adjust the size of the UDP buffer on 2003 server ? any info on UDP buffer would be helpful. please post links. thanks for your time. Scott ...
Score proper use of codebase tag
Darren Mar-Elia - 22 Nov 2006 4:16 PM - 1 message
I have a .net 2.0 winforms app that references a MS DLL. When I run the app, it fails and says it can't find the DLL. I've turned on Fusion logging and clearly its only looking in the appbase directory. So I added a ...
Score System.OutOfMemoryException
raise - 22 Nov 2006 4:04 PM - 4 messages
Hi! I have the following problem on .net 1.1: I reduced the problem to the following code: byte[] ByteArrayOk=new byte[17000000];     ByteArrayOk=null;     byte[] ByteArrayOutOfMem=new byte[16773276]; // Exception here!!!     ByteArrayOutOfMem=null; ...
Score Key repetition
Romain TAILLANDIER - 22 Nov 2006 3:27 PM - 2 messages
Hi group I have a control looking like a TrackBar, a bar, with a cursor. I need when the user push the left arrow of his keyboard, the cursor move left until the key released. I have overloaded the OnKeyDown method like this : ...
Score Custom Form working at runtime but cannot be loaded in designer
ThunderMusic - 22 Nov 2006 2:43 PM - 5 messages
Hi, I have a custom form that works fine when I debug it or run it in release mode but cannot be loaded in the designer...  Actually, it can be loaded in the designer when no control is on it, but the resizing tool (in the ...
Score MS Enterprise Library vs. TransactionManager
Dominik Amon - 22 Nov 2006 12:04 PM - 1 message
hello, We are using Microsoft Enterprise Library ([link]) The problem is, using this lib causes the connection to use the ms transaction manager when connecting to a sqlserver2000 database (that ...
Score code for proxy script section
deepak - 22 Nov 2006 11:37 AM - 1 message
Hi All,     i  m develpoing a .net Window application which has 4 texboxes(tbxURLm for URL in URL Frame,tbxAddress for address in Proxy server frame,tbxPort for port in proxy server frame,tbxProxyScript for proxy ...
Score [Conditional("DEBUG")]
Martin Madreza - 22 Nov 2006 9:42 AM - 3 messages
Hi, maybe someone knows if there is a possibility to use the [Conditional("DEBUG")] method sign with a 'Not' like #if !DEBUG ....do somethin #endif [Conditional("DEBUG")] private void myMethod() { } exists somethiong like this??? [Conditional("DEBUG", false)] private void myMethod() ...
Score How to get multi-value AttributeMetadata from a Active-Directory object
dany70 - 22 Nov 2006 9:35 AM - 1 message
Hi, how can i retrieve AttributeMetadata for multi-value attributes from a AD-object? I can get the metadata for single-value attributes with the method GetReplicationMetadata() on the System.DirectoryServices.ActiveDirectory.DomainController object, but i need the metadata for the member attribute. ...
Score Missing mscoree.dll error when using Automation add-in
Schizoid Man - 22 Nov 2006 7:49 AM - 1 message
Hi, I'm using Excel 2002 (Office XP), and I'm trying to use an add-in I wrote using Visual C# Express Edition. I've written my class, marked the Build settings as Register for COM Interop and it looks like my program builds fine - no errors, no warnings. ...
Score Can I develop .NET 3.0 with Visual Studio 2005 Express?
W. Jordan - 22 Nov 2006 7:26 AM - 4 messages
Can I develop .NET 3.0 with Visual Studio 2005 Express? I did not see any settings in the interface to use the 3.0 runtime. ...
Score Calling URL through Proxy server(Address and Port)/Proxy Script
deepak - 22 Nov 2006 6:24 AM - 7 messages
Hi All,     i  m develpoing a .net Window application which has 4 texboxes(tbxURLmfor URL in URL Frame,tbxAddress for address in Proxy server frame,tbxPort for port in proxy server frame,tbxProxyScript for proxy script in proxy script frame) and a test button..The requirment is given below ...
Score Csharp files list when compiling in VS2005
B. - 22 Nov 2006 1:44 AM - 1 message
Hi when I compile a csharp solution, I got all .cs file listed in my output window and they are listed in a whole block which is very messy. How can I hide the file list? Thanks. GeneratedSource\Collections\JobCategoryList.cs GeneratedSource\ ...
Score System.Runtime.Remoting.RemotingException: Requested Service not found
Lambuz - 21 Nov 2006 10:15 PM - 3 messages
Hi all, I've got this terrible problem. I'm deploying 2 different .NET application (Framework .NET 1.1) that both use remoting technology, but one is a HREF no-touch-deploy smart client and the other one is a .NET control deploy by a tag object. ...
Score DataAdapter.Update bug updating Child table via Relations / RowState corrupted?
Chris Bordeman - 21 Nov 2006 8:30 PM - 10 messages
Hi all.  .Net 2.0. It seems the DataAdapter.Update Method changes the RowState of child records to 'Modified' when updating them through a Relation. If the child records' .RowState is "Added" or "Deleted," shouldn't they STAY that way?  Otherwise when you try to update the child table, you get ...
Score resource issues after converting from 1.1 to 2.0
miantosca - 21 Nov 2006 6:14 PM - 1 message
I have an ASP.NET Web Application project that I converted to 2.0 from 1.1 and ever since the conversion I have not been able to view any resources in any other language than the default (english). When I set the uiculture in ...
Score updating child records in a DataSet w/ new autoinc values after parent insert?
Chris Bordeman - 21 Nov 2006 4:54 PM - 4 messages
Hi all. Using Dot Net 2.0. I have a typed dataset generated by VS. It contains a parent and a child table with a relationship set up in the MSSQL database and showing in the dataset.  _Both_ tables have new records that need to be added to database. ...
Score Custom StringBuilder Marshaling
Olivier Matrot - 21 Nov 2006 2:46 PM - 7 messages
Hello, I'm in the process of writing a managed c++ wrapper class to use existing unmanaged C++ code. So I have to deal with custom marshaling. Given a StringBuilder, I need to produce a LPTSTR to call unmanaged code, ...
Score FileSystemWatcher.WaitForChanged surprising (wrong?) behaviour
John Aldridge - 21 Nov 2006 2:10 PM - 3 messages
I'm trying to use the System.IO.FileSystemWatcher class in code like...    using (FileSystemWatcher changeMonitor = new FileSystemWatcher("."))    {        for (; ; )        {            WaitForChangedResult c = changeMonitor.WaitForChanged( ...
Score Server Application unavailable error when password containing & character
TeenaFrancis - 21 Nov 2006 1:20 PM - 2 messages
Hi,                One of my application has <identify impersonate = true> in web.config. I have given my user name and password in machine.config. When i tried to access the application used to work perfectly. ...
Score "Attempted to read or write protected memory" since 10 days...
Pieter - 21 Nov 2006 10:58 AM - 3 messages
Hi, Since 10 days (the first time was the 10th of november) I have some weird exception happening in an application here: All (except 1 of the total of 5) users had this error now 1 of 2 times during the last 10 days. It happens mostly during startup or closing of the ...
Score I have problem whis Windows Media Services 9 Series.
vera esaulova - 21 Nov 2006 8:19 AM - 1 message
I have problem whis Windows Media Services 9 Series. I have videostream, which will consist of two streams(512k/bit and 256k/bit).I need to allocate a stream 256k/bit. In SDK is written: Supporting Multiple Bit Rate Files ...
Score webdev.webserv.exe
cooper.nicholas - 21 Nov 2006 8:08 AM - 1 message
Hi I'm not a programmer but need some help from those of you that are. I have a developer at my company that keeps on having the webdev.webserv taking up vast amount of mem. Most times up to 800 megs. ...
Score Free Video Tutorials
Axel Gallus - 21 Nov 2006 4:14 AM - 2 messages
Hi, i am looking for free video tutorials to learn the following: A.) Dot.Net Framework (Class Library) overview, Development Tools overview, general technology overview B.) Learning Dot.Net Programming B.) Learning to use Visual Studio in general and for Dot.Net Programming ...
Score Samples of MemoryMappedFile in C# or .NET
Valerie Hough - 21 Nov 2006 12:08 AM - 2 messages
I am interested in a sample in C# (or any .NET) that shows the bare bones of doing CreateFileMapping, et al. to share an existing file between two or more processes on the same workstation. Any help would be greatly ...
Score Can Borderless forms have a context menu in the start bar?
ThunderMusic - 20 Nov 2006 11:55 PM - 6 messages
Hi I'm currently developping a skinnable form by using a borderless form (Form.FormBorderStyle=None). Is it the right way to go in the first place? if it is. Assuming that when there is no border to the form there is no ...
Score Question regarding Shared Functions or Subs
Patriot - 20 Nov 2006 11:45 PM - 3 messages
I wonder if it is threadsafe to have a Shared Function or Sub like this: Public Class Data1     Public Shared Function Query1(Byref sCnxn as String, Byval sSql As String) As DataTable         Dim oCnxn As New SqlConnection(sCnxn) ...
Score Running 2.0 with 3.0 installed?
brett - 20 Nov 2006 11:35 PM - 2 messages
If I upgrade to framework 3.0 and install Studio components for 3.0, will I still be able to create apps for the 2.0 platform exclusively? Meaning, if a client has 2.0 framework installed on their machine, can ...
Score how to update session state server on Windows 2003 x64 version
med - 20 Nov 2006 10:57 PM - 2 messages
Sir/Madam, After set the session mode="StateServer" in the Web.config I get follow error, Unable to use session state server because this version of ASP.NET requires session state server version 2.0 or above. within the services, the ASP.NET State Service is pointed to ...
Score Event handling in Collections
gordigor - 20 Nov 2006 10:47 PM - 2 messages
I have a class that inherits from NameObjectCollectionBase. For simplicity, the collection is called reports, and the individual objects in the collect are called report items. Each report item has a property called .value that throws an event everytime the value ...
Score Assembly Minimum Security Requirements
Giovanni - 20 Nov 2006 9:25 PM - 1 message
Hi,      Using VS 2005 Pro., I have built a Class Library (DLL) with several functions, subs, etc...  I would like to determine the minimum security requirements.  For some reason, the "Security" tab does NOT appear when ...
Score Changing Route Table from C#
cyberco - 20 Nov 2006 8:57 PM - 3 messages
I've posted this question in 'microsoft.public.dotnet.framework.compactframework' as well, but despite the great help I still haven't solved the problem. So before going the C++ route I would like to see if anybody in this group may ...
Score access to path ' ' is denied when using createdirectory()
tmorr16 - 20 Nov 2006 6:37 PM - 1 message
I am pretty new to VB.Net, but I am in the process of creating an app that will force a folder to create, along with its subdirectories, when it doesn't exist. Every time I run the following code "Call ...
Score ClickOnce program fails to run properly after update
Michael D. Reed - 20 Nov 2006 6:31 PM - 9 messages
I am using ClickOnce to distribute a program.  It works well except for one detail.  When a new version is installed, the program does not initialize properly immediately after the update.  The sequence is the user starts the ...
Score How to speed up reading of large disk files
Valerie Hough - 20 Nov 2006 5:16 PM - 2 messages
Sorry if this is the wrong news group for this post. I have some large disk files (15-20 MB) that are made up of many records of different types and sizes. I use a BinaryReader to process all the data ...
Score How to access a network drive from a Windows service?
Eve - 20 Nov 2006 4:23 PM - 3 messages
I have a VB .NET app that lets you create a DTS Package that copies data from an SQL Server to a database located in the specified path (it should work with both local and network drives). You can either run the package from ...
Score Exception handling behaves differently in debug and release versio
RFlaugher - 20 Nov 2006 3:53 PM - 4 messages
I have a class library which throws exceptions on errors.  I have an exception handler several levels above where the exception is thrown to catch exceptions.  When I run the app in the debugger the exception handler is ...
Score certificazioni MCAD per il fmw 3.0
*FeDe* - 20 Nov 2006 3:31 PM - 4 messages
Quando verranno proposte le nuove certificazioni per il nuovo framework? ...
Score Debugger Step Over Attribute
Mark Ingram - 20 Nov 2006 3:22 PM - 5 messages
Hi, is there an debugger step over attribute that I can use on properties? For instance, I have a singlton class with an "Instance" property: public MyClass Instance {     get     {         if (m_instance == null) ...
Score How to dialup?
Massimo - 20 Nov 2006 1:59 PM - 3 messages
I need to activate an Internet dialup connection from a .NET application; how can this be done? Thanks Massimo ...
Score how to get the namespace inside a static method?
Kevin - 20 Nov 2006 12:15 PM - 3 messages
Hi there, I have a class with a static method, how can I find the namespace of the   class from inside the method. TIA ...
Score DataAdapter.Update PB with a new database
FG - 20 Nov 2006 9:23 AM - 1 message
Hi, With a NEW database, I have an auto-generate DataSet ()with menu "Add new DataSource...") with two DataTables, parentTable and childTable, and a relation between them. I fill these two tables with five records, then try to update database with these records, using the autogenerate ...
Score MyProj.svhost.exe running alone
Romain TAILLANDIER - 20 Nov 2006 8:58 AM - 2 messages
Hi group I am testing the Visual 2005 Express Edition. I have a solution with a few projects (WinForms, and ClassLibrary), the start up projet is MyProject. When i open the solution using visual, MyProject.svhost.exe start immédiately.I cant run my project using debug. i can run using ...
Score stupid .net framework 3.0 ?
Brent - 20 Nov 2006 5:47 AM - 4 messages
Ok guys i know this is a stupid question but here goes. I decided tonight was going to be the night to learn this new .net framework 3.0. I downloaded the new release of .net framework 3. I also installed windows SDK & the ...
Score BHOs, I.E. ToolBars, and such
GaryDean - 20 Nov 2006 1:57 AM - 4 messages
I am having to get involved in writing Browser Helper Objects in Managed Code and to write toolbars and interface the two.  Because BHOs have been clasically written in C++ using ATL, most of the discussions are in that ...
Score dose the attribute know what the class or property is?
Steven.Xu - 19 Nov 2006 9:50 PM - 3 messages
hi everybody, i am using some attribute for a proerty. could the attribute get some class or property information by itself? i mean, dose the attribute know what the class or property is? and how? thanks! ...
Next »