|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.NET Frameworkmicrosoft.public.dotnet.framework
Get the current active process from winform
Tal Shachar -
3 Feb 2007 6:41 PM - 5 messages
Hello, I'm writing a windows application, that monitors running processes/applications on my machine. One of the requirements is to identify the current active process/application. I tried to use the System.Diagnostics.Process.GetCurrentProcess() method, but the thing is that it always returns my application's process. ...
How do you tell 3.0 is installed?
byron -
3 Feb 2007 6:31 PM - 3 messages
I went through the3.0 installation (3.0 redist, SDK, extensions) and I have the new Workflow project availalbe, but the IDE still lists the version as 2.0.50727. I also have a new folder "Microsoft Visual Studio 2005 Extensions for ...
Javascript equivalent in C#
Barry -
3 Feb 2007 1:54 PM - 2 messages
Hi Is there any equivalent for Javascripts Array methods lik push pop shift unshift .... ..... etc Barry ...
Why is system.console so slow?
Nik Coughlin -
3 Feb 2007 8:35 AM - 4 messages
System.Console is really slow. I wanted to make a retro text-only console application game (a roguelike), but I can't get decent performance out of it. Does anyone know how to get decent performance out of it? Is there ...
how to display formulas in spreedsheet11.0
marxi -
3 Feb 2007 2:24 AM - 2 messages
as you know, when we input a formula in cell of axspreedsheet, it will become its responsed result. But I need it display the formula rather than its results! ...
Assembly Security
Octavius Khan -
3 Feb 2007 2:19 AM - 3 messages
Forgive my ignorance. :) I am new to .Net development and I am a little confused as to how assemblies are protected from someone stealing them. I am used to using Delphi to develop Win32 applications and in that arena, ...
Where should a LocalSystem service store data files under Windows
cypher -
2 Feb 2007 10:57 PM - 2 messages
I have a .Net 2.0 Windows service (C#) that runs as system and needs to store state in files. The files are created and used only by the service. Where should I store them? I have tried using ...
MultiThreading Dataset Strange Problem
Matt Barley -
2 Feb 2007 8:48 PM - 4 messages
I have a multithreaded vb .net app that uses several datasets; all writes to the datasets are synchronized using synclocks, no synchronization is used for reads. No items or rows in the sets are being deleted, just updating values. At random times it will break into the debugger with index outside ...
.Net 2.0, PerformanceCounter.NextValue() exceptions
Joe K -
2 Feb 2007 8:46 PM - 1 message
I recently ported some code that retrieves performance data using performance counters from .Net 1.1 and .Net 2.0. I intermitently receive one of the three exceptions when calling NextValue() on a PerformanceCounter object. As you can see, each of the underlying exceptions occurs within ...
TimeSpan inadequacies
Chris -
2 Feb 2007 5:28 PM - 4 messages
Just wanting to vent my dissatisfaction with the TimeSpan type. It isn't IConvertible and there is no TypeCode for it; so, when someone passes my interface an Object and I need to deal with it according to its type, I have to make a special case for it. ...
VS@005 Extensions for .NET Framework 3.0
Thom Little -
2 Feb 2007 10:19 AM - 10 messages
When installing Visual Studio 2005 extensions for .NET Framework 3.0 (WCF_WPF) November 2006 CTP I get two error messages (below). Before this installation I installed both of them. How do I install the two missing components? Is there a required order of installation that must be followed? ...
ActiveX in DLL
hufaunder@yahoo.com -
2 Feb 2007 7:51 AM - 3 messages
I have an ActiveX component that I want to use in a library that I am writing. As a first test I used the ActiveX component in a windows form application. Adding the component created: Ax[ActiveXName].dll [ActiveXName].dll ...
Web Part with listbox Textbox and button
dhmason -
2 Feb 2007 4:01 AM - 1 message
I have a user control in a web part that contains an asp TextBox, an asp Button ('search button') and an asp ListBox. I need to enable the user to do the following: 1) double-click on an item in the listbox, copy the value of the selected ...
Javascript in Web Parts and DOM
dhmason -
2 Feb 2007 3:12 AM - 2 messages
How do use Javascript within a Web Part to set a document.form item's value, etc.? As in, document.forms[0].myTextBox. value = "abc"; Since the html form is not within the web part, this does not work. ...
.NET assembly, version information and VS 6/7 .res
russiandevil -
2 Feb 2007 2:57 AM - 1 message
hi all, For the versioning purposes, my previous application versions (Visual Studio 6, Visual Studio 7.1) were using a versioninfo.res file, that was compiled at the start of the build process (using a header file with a dynamically-generated #define for subversion revision number), ...
threads and GUI update
Jeff Boeker -
2 Feb 2007 1:23 AM - 6 messages
Background: My GUI has multiple screens but only one is visible at a time so when I change screens I hide the first one and show the second one. There are many elements on each screen that need to be updated and this is done in a ...
Encoding convertions... optimized two-stage table?
ThunderMusic -
1 Feb 2007 10:13 PM - 4 messages
Hi, I want to convert UTF-16 (or unicode) to ISO-8859-1... The .Net encoding does a pretty code job, but some characters are not converted, like "O" that becomes "?"... I want it to become "oe"... So, what I want to know ...
Exellent consultants available immediately with us
Sachin -
1 Feb 2007 8:43 PM - 5 messages
Hi All, Let me present you with list of consultants currently available. Name / Job Title Summary Ramchandran/Java · 7+ years experience in the field of Software Development. · Expertise in full Software Development Life Cycle (SDLC) · Expertise in J2EE architecture and application development using ...
GAC, AssemblyResolve event, fusion.dll, Assembly.Load fails
jc -
1 Feb 2007 8:40 PM - 2 messages
I am having an issue where Assembly.Load fails, even after installing a signed assembly to the GAC via the fusion.dll API. I have supplied a link to the simple test harness that reproduces the issue. I use the AssemblyResolve event to determine what assemblies are ...
ASP.NET - Deleting rows from an unbound gridview
Greg -
1 Feb 2007 7:16 PM - 4 messages
I have a gridview on my form which I have populated using a datareader. What I would like to do is to be able to remove specified records from the gridview, without affecting the source of the data. I'm a bit confused about how to go about removing the rows - all the ...
Updating AssemblyInfo
Mike -
1 Feb 2007 6:04 PM - 2 messages
I have been banging my head on this one for a few days and can't seem to find an answer anywhere. I have written an app that updates a project's version number in the assemblyinfo.vb file during the Prebuild event. With the aid of ...
Macro to run Debug Process
Mike Grice -
1 Feb 2007 5:16 PM - 2 messages
I wanted to create a macro to open the debug...Processes window, make a specific selection, attach to it, make that selection then close down. Unfortunately, the debug...Processes window is modal and I can't get anything to occur after opening the window. ...
Hashtable MultiMap
aryan -
1 Feb 2007 4:43 PM - 5 messages
Hi, I hope someone can help me with the following prob.. I need to implement a hashtable (or a dictionary) whose KEYs are strings and VLAUEs are again hashtables. ie key - is a string and value -is another hashtable . I want to implement it in C# .net but dont know the proper syntax to ...
app.config and user.config files
Mark -
1 Feb 2007 4:33 PM - 10 messages
..Net framework 2.0 I've read up on persisting user settings. As I understand it, the app.config file contains both the application and user settings when the app is first installed. A user then makes a change in the app that ...
DataSet and SQL results dont match, help
JP -
1 Feb 2007 4:17 PM - 3 messages
As anyone ever run into this before. VS 2005 C#. This is a combination of SQL and framework so I wasn’t quite sure where to post it. I have a SP that executes multiple SELECT statements. If the ROWCOUNT = 0 it ...
Keeping a service alive
Jeff Johnson -
1 Feb 2007 3:23 PM - 3 messages
I guess simply waiting on an asynchronous Receive from a message queue is not enough to keep a Windows service alive? I've written a service whose only purpose is to process a message queue. The OnStart method looks like ...
Encoding to ISO-8859-1 problems
ThunderMusic -
1 Feb 2007 3:16 PM - 7 messages
Hi, We are trying to encode to ISO-8859-1, but we have problems doing it using the encoders in .NET. We get some unknown characters in some culture which comes out fine if we post (from IE) from a page in ISO-8859-1 to another ...
SortedList serialization in .NET 2.0
Aitor -
1 Feb 2007 2:36 PM - 1 message
Hi, I´m having a curious problem upgrading an app from .NET 1.1 to 2.0. I have two processes comunicated using remoting. In 1.1 I used to pass a SortedList object between them with no problem. But when I have migrated to 2.0, I get a ...
Error installing .NET 3
spp -
1 Feb 2007 2:16 PM - 3 messages
When I try to install .NET 3 on a windows 2003 server R2 fresh machine (only SQL Server 2005 on it) I get an error. The error log contains [02/01/07,12:39:58] Windows Communication Foundation: [2] Error: ...
JIT debugger trouble
no name -
1 Feb 2007 12:20 PM - 1 message
I've 'googled', tried reinstalling .NET v2, uninstalled it, now I've tried with .NET Compact framework SP1, still no solution. The thing is, when launching some progs I get the message 'registered JIT debbuger is not avaliable. An attempt to launch a JIT ...
Accessing a .NET 2 webservice from a .NET1 client
Accomplice -
1 Feb 2007 10:37 AM - 2 messages
Greetings! I am trying to access a webservice developed in MS .NET Framework 2 from a .NET 1.1 client. The service works fine when I access it on my local server. However, once it has been published to the remote web ...
Sorting a filtering a generic list bound to a paged GridView?
Harry Haller -
1 Feb 2007 8:30 AM - 1 message
Hello, I want to implement a generic list which will be used to display 7 columns in a GridView. One should be able to sort, filter and page each of the 7 columns. Ideally the filter should be implemented simultaneously for multiple columns - but the data need ...
.NET to x86
Markus Eßmayr -
1 Feb 2007 8:22 AM - 6 messages
Hi everybody! Does anybody of you know a way to compile any .NET assembly to x86 code? But I don't mean NGen or something like that!!!! I'd like to get a DLL which has absolutely NO DEPENDENCY to the .NET runtime ...
How to display RTF
n_lloyd -
1 Feb 2007 3:46 AM - 2 messages
Hi, I'm trying to display an RTF string on a Windows Mobile device running Pocket PC 2003 with .Net framework 1.X (Compact). I've been hunting all over the net to get some idea of how I might go about this. ...
.NET property names and translation
John Allen -
31 Jan 2007 2:30 PM - 7 messages
Hi there, Does anyone know if the standard "PropertyGrid" control is (foreign) language sensitive. If I display an object in the control, and my object has the native .NET "Size" struct as a property (which also contains its own ""Width" and "Height" members), will someone running my app on a German ...
Timers.timer Stops in W2K SP1 With hotfix 900822!!!
Bobby -
31 Jan 2007 12:13 PM - 4 messages
Hi, We have a .NET 1.1 Windows service which has some timers.timer running. A while back we notified microsoft and subsequently were informed of HotFix 900822. On most of our sites, this has resolved the issue. On 1 site however, the problem still occurs. We trace output from one ...
Excel grid in Visual Studio 2005 app
Any User -
31 Jan 2007 10:06 AM - 2 messages
Hello I have an Excel spreadsheet, that holds some tabular data, and a macro, that exports it daily do SQL Server 2000 table. Now I want to build VS2005 application, that embeds Excel grid, that is connected directly to SQL Server, so all editing will go directly to ...
Deserialization type load exception even when using a serialization binder
john_smith_677 -
30 Jan 2007 9:52 PM - 3 messages
Hi, I moved some code from my project to a separate assembly. I have some saved definitions that were saved using regular .net serialization. When trying to open the saved definitions, I get type load exceptions. I am getting around this by implementing my own ...
|
|||||||||||||||||||||||