|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.NET Frameworkmicrosoft.public.dotnet.framework
Master Volume Control in C#
Alex Maghen -
7 Apr 2007 11:40 AM - 3 messages
I'm looking for a nice compact class for controlling the Master Volume of the PC speakers in C# *without* using DirectShow. I have found one sample that works fine for getting and setting the volume. But it does not support ...
Java to C#
dotnetboy -
7 Apr 2007 8:57 AM - 2 messages
i want to convert a java project to a c# project. i found a lot of tools on the internet. anyone can tell me which one is best one? Cheers ...
socket programming in asp.net possible?
John -
7 Apr 2007 7:10 AM - 3 messages
Hi all, I am new to .net technologies. ASP.NET supports socket programming like send/receive in c or c++? I am developing web-site application in asp.net and code behind is Visual ...
System.Security.SecurityException, EnumWindows & Callback
Zamdrist -
6 Apr 2007 8:47 PM - 3 messages
Running an application executable (release) runs find on my computer: "The application attempted to perform an operation not allowed by the security policy."... System.Security.SecurityException: System.Security.Permissions.SecurityPermission... Thoughts? I was able to narrow the problem down the EnumWindows API call and ...
windows xp pro activation
macka -
6 Apr 2007 7:00 PM - 5 messages
4 months after recieving windows genuine advantage kit for win xp pro my pc crashed and after rebooting it says you need to activate windows before you can log on so I click on yes to activate now and the pc logs out and in again ...
Third Party Assembly - Strong Naming - URGENT!!!!
BillGatesFan -
6 Apr 2007 4:12 PM - 3 messages
I trying to use a third party assembly that was written in 1.1. I'm trying to use it in 2.0. In order to use it in my project I have to strong name it, because my assembly is strong named. ...
EnumWindows, how to identify windows
Zamdrist -
6 Apr 2007 1:19 PM - 3 messages
I can return a list of windows and their titles using the API, AddressOf & Callbacks, however I get all programs/processes like GDI+, DDE Server, etc. I really just want the programs opened in the taskbar, such as Outlook, Query Analyzer (whatever)...How can I fliter ...
Working with database in C# Pocket PC
Sheikko -
6 Apr 2007 11:00 AM - 3 messages
Working with database in C# Pocket PC Hi all, I want to develop an application that work with DB on pocket PC. I have added the DB to the project from Menu->Data->Add New Data Source. I want to insert some Rows in a table of this Db. ...
new vista kernel, registry and NTFS transaction
RE66 -
6 Apr 2007 7:48 AM - 1 message
Does the new vista kernel, registry and NTFS transaction are supported in the ..NET 3 ? or 3.5 ? It seems that the transaction namespace would be the write place but no documentation show it does. ...
OO Architecture Question
Mike Hofer -
6 Apr 2007 3:33 AM - 10 messages
In a large application I'm working on (ASP.NET 1.1, VS2003), we have a base class that wraps stored procedures. Essentially, this base class (StoredProcedureBase) encapsulates the code to set up the connection, transaction, command and parameters required to invoke a stored ...
Product Key
Terry -
6 Apr 2007 2:46 AM - 2 messages
Can anyone help me with getting a new Product Key #, I have misplaced the original. Is there anyone outhere that knows a substitute I can use. Please help, I'm desparate, I can't open any files. Thank you
From [link]
Posted via DevelopmentNow.com Groups
[link] ...
Video playback
Joel -
6 Apr 2007 1:20 AM - 2 messages
Just wonder... i just recently upgraded my computer... have Media player 11 installed. I can hear the sound, but can't see the picture. If I turn down the accelleration, i can see the picture, but it's dark with no color. ...
PC won't start automaticly after re-start
Sentinel -
6 Apr 2007 12:38 AM - 2 messages
While I am signed into Windows if I "re-start" my PC,(not Turn Off) it closes Windows and goes through it's normal rebooting process before it should re-open the login window once again of it's own accord, except as it's coming ...
Exception in RSACryptoServiceProvider
ajayleo -
6 Apr 2007 12:13 AM - 2 messages
Hello The following line of code throws an exception" The System Cannot find the file specified". This is on .Net 2.0. RSA rsaKey = new RSACryptoServiceProvider(); //Creating with Default key Appreciate the help Thanks rsaKey shows up as follows during debugging. ...
Convert string to KnownColor?
mianiro -
5 Apr 2007 8:12 PM - 3 messages
I have a piece of code that is trying to convert a string to a knownColor via CType. Is this not possible? I keep getting an error that you cant convert a string to an integer. Is there another way to ...
Need Help: DateTime.Parse CultureInfo Problem
kilaen -
5 Apr 2007 7:46 PM - 2 messages
I have this method that converts dates from a culture of origin to a destination culture. It's not working as intended, hopefully someone can enlighten me and tell me what I'm doing wrong. I've included the code, the values being passed in, and the output. Thanks in advance! ...
vs 2005 c#: where is configurationmanager class?
Ace -
5 Apr 2007 7:46 PM - 2 messages
hi, i have a web project that was converted to .net 2.0. i am trying to read a value from web.config; however, i can't see to have access to configurationmanager class rather i only see configurationsettings class. ...
Append Nodes to existing XML File/Document .net 1.1
Daniel Di Vita -
5 Apr 2007 6:38 PM - 6 messages
I have a XML file that I need to append child nodes to. Here is an example of that file: <root> <item> <stuff1>The Stuff for 1</stuff 1> ...
Problem catching all exceptions in a windows service
Simon -
5 Apr 2007 1:18 PM - 2 messages
Hi all, I'm having a problem creating a global exception handler in a windows service that I'm making. Another poster suggested that the way to do this was to use the CurrentDomain.UnhandledException event to catch and deal with any exception that crops up. The problem is, when I try and ...
Shell MegaPack.Net 8.0 Released.
Sky Software -
5 Apr 2007 11:48 AM - 1 message
Shell MegaPack.Net 8.0 recreates the entire Windows Explorer shell browsing UI functionality in your app in just a couple of seconds. It provides a familiar yet powerful file/folder browsing UI right inside your own forms and dialogs and is a perfect replacement for the plain, inflexible, modal APIs which UI developers are currently limited to. Consisting of a folder tree control, a file/folder list control and a drive-selection control, it mimics every Windows Explorer UI feature including Thumbnail/Details/Group Views, dragdrop, icons, context menus, virtual items, infotips and renaming. Its powerful behavior control and customization functionality takes it miles ahead of Windows Explorer by adding features like item filtering, item checkboxes, custom items, custom columns and customization of context menus, dragdrop, appearance, display names, icons, overlay icons and infotips. Also included is ShellObjects - a set of controls which bring various shell features to your app included the ability to display multiple MSN/Office2003 style popups, create quick launch-like appbars, animated tray icons and create and read shortcuts and internet shortcuts. Shell MegaPack.Net is written in 100% managed code for speed and efficiency and completely supports a variety of IDEs and tools including Visual Studio 2005/.Net 2.0. Shell MegaPack has a royalty-free redistribution license; it has no external dependencies which allows ease of redistribution and it comes with comprehensive documentation and numerous samples to quickly get you started. ...
Shell MegaPack.Net 8.0 Released.
Sky Software -
5 Apr 2007 11:48 AM - 2 messages
Shell MegaPack.Net 8.0 recreates the entire Windows Explorer shell browsing UI functionality in your app in just a couple of seconds. It provides a familiar yet powerful file/folder browsing UI right inside your own forms and dialogs and is a perfect replacement for the plain, inflexible, modal APIs which UI developers are currently limited to. Consisting of a folder tree control, a file/folder list control and a drive-selection control, it mimics every Windows Explorer UI feature including Thumbnail/Details/Group Views, dragdrop, icons, context menus, virtual items, infotips and renaming. Its powerful behavior control and customization functionality takes it miles ahead of Windows Explorer by adding features like item filtering, item checkboxes, custom items, custom columns and customization of context menus, dragdrop, appearance, display names, icons, overlay icons and infotips. Also included is ShellObjects - a set of controls which bring various shell features to your app included the ability to display multiple MSN/Office2003 style popups, create quick launch-like appbars, animated tray icons and create and read shortcuts and internet shortcuts. Shell MegaPack.Net is written in 100% managed code for speed and efficiency and completely supports a variety of IDEs and tools including Visual Studio 2005/.Net 2.0. Shell MegaPack has a royalty-free redistribution license; it has no external dependencies which allows ease of redistribution and it comes with comprehensive documentation and numerous samples to quickly get you started. ...
.Net 2003 C# (with Crystal..being culprit) error
Neal -
5 Apr 2007 11:26 AM - 3 messages
Hi All It's windows app, runs fine of course on Dev machine, produces the Crystal Reports but on Client Machine with DotNet runtime installed and also app, get Runtime error. (Take out the Crystal refs + reports) and no Errors. ...
Why Excel.PrintOut(.....) is not working?
How to embed a Browser............... -
5 Apr 2007 9:54 AM - 1 message
I have written a code for printing excel sheet programatically? The code is: Excel.PrintOut(......); I even passed the required parameters exactly,but Iam getting the printout from only few machines... Can any one help me in knowing the problem behind this? ...
Reflector
Citizens in the world -
5 Apr 2007 8:14 AM - 2 messages
Hello Expert, Can you recomment some materials about Reflector in .Net? How should I use it in application buiding?What's the relation between CTS and CLR? Any help will be appreciated.Thanks in advance. ...
Forcing a .NET framework 1.1 application to use .NET framework 2.0 without creating application conf
pdabak -
5 Apr 2007 6:02 AM - 3 messages
Hello, I have a console application that is compiled using VS 2003 and hence targetted for .NET 1.1 runtime. This application uses some shared assemblies (my own) that were also initially compiled using VS 2003 and hence targetted for .NET 1.1. ...
Illegal System DLL Relocation
pia -
4 Apr 2007 11:52 PM - 4 messages
I receive this message when starting my computer, seems to be after automatic windows update: RTHDCPL.EXE – Illegal System DLL Relocation. The system DLL user32.dll was relocated in memory. The application will not run properly. The relocation occurred because the DLL ...
Developing Multimedia streaming application
Punit Kaur -
4 Apr 2007 10:08 PM - 1 message
Hi, I need to develop a web application where we can search and display records from a remote mySQL database having records consisting of file paths to audio files stored in that pc. I need to develop the entire thing from ...
.Net 2.0 & Dns.GetHostEntry
Joe K -
4 Apr 2007 7:11 PM - 4 messages
I am intermitently getting a System.Net.Sockets.SocketException ("No such host is known") when calling Dns.GetHostEntry(). It doesn't seem to have any pattern to it, but seems to be occurring on a variety of IP addresses ...
Importing .NAB File In Outlook 2003
laitkens -
4 Apr 2007 6:54 PM - 1 message
I have a NAB file that I need to import into Outlook 2003. CAn anyone let me know how I would go about doing this?? Thank you ...
visual studio 2005 installation
Mohammed Youssef -
4 Apr 2007 6:04 PM - 2 messages
I am trying to install visual studio 2005 on my by, allways i am getting error message, Error 1304.Error, writing to file C:\Program files\Microsoft visual studio 8\common7\tools\spyxx.exe verify that you have access to that directory ...
What is System.Collection.Specialized.OrderedDictionary - .net 2.0 msdn
Rolf Welskes -
4 Apr 2007 3:41 PM - 4 messages
Hello, in .net 2.0 I find System.Collection.Specialized.OrderedDictionary. Ok it's a dictionaly, collection of key-value-pairs and I have access over index. BUT: Nothing about the kind of implementation. So I have no idea, for what best to use this collection. ...
Working with windows out side the VB.Net app
Zamdrist -
4 Apr 2007 2:15 PM - 3 messages
Looking for a clue in on the .Net functionality to manage windows outside the application, i.e. other applications. Just looking to find the window handle by title and adjust its properties such as top, left, etc. Much like here, but using Win32 API ...
Forms Control in IE
Peter Hemmingsen -
4 Apr 2007 1:49 PM - 1 message
I got a Win Forms Control embedded in an HTML (used by IE) like this: <object id="rtfcontrol" height="472" width="488" classid="RtfControl.dll#devhood.rtfcontrol"> It Works fine when running inside VisualStudio 2005 but not when copied to ...
Project new "ItemGroup" reeking havoc
mario -
4 Apr 2007 1:11 PM - 2 messages
I believe the following started after I installed ASP.NET 2.0 AJAX Extensions 1.0, but I cannot be certain that that is the cause. Scenario: Using VS.NET 2005 SP1 When I attempt to build any project it wants to check the ...
URLDecode differences in NET 1.1 and 2.0
samuelhon -
4 Apr 2007 11:06 AM - 6 messages
Hi all I'm attempting to decode a string which works fine in 1.1 However, we've now moved the project to 2.0 and its not happy. The length of the decodedString is different. I've tried changing the ...
c# 2.0 iterators
AVL -
4 Apr 2007 10:52 AM - 4 messages
Hi, what is the c# 2.0 iterators features.. where can i get more information on this feature with some good smaples.... please help me out ...
C# Nullable types
AVL -
4 Apr 2007 10:38 AM - 58 messages
hi, i'm a new bie to c#.net 2.0.... i've come across a new feature by name nullable types...need some info on it what is actually a null value... what exactly is advantage we get by specifying a value type as a null value... ...
textreader vs stream reader
AVL -
4 Apr 2007 8:52 AM - 2 messages
hi, i'm a newbie....... i would like to know the usage of text reader and streamreader... which of these would give better performance..... when shud one use textreader and streamreader..... ...
system assigned port with HttpListener?
Phil Bolduc -
4 Apr 2007 6:44 AM - 4 messages
I want to be able to use an ephemeral port (system assigned port) with the HttpListener class but cannot figure out how to do it. With a TcpListener, you would do something similar to: IPEndPoint localEP = new IPEndPoint(IPAddress.Any, 0); ...
Bits built by VS2005 SP1 can NOT run when just copied it to another developer machine without SP1
dotNeter -
4 Apr 2007 1:14 AM - 1 message
Our team have several development machines, some installed VS2005 SP1, the others NOT. I found that bits built by VS2005 SP1 can NOT run when just copied it to another developer machine without SP1. But it's okay when copied bits to another machine with SP1. ...
.Net system service??
GaryDean -
4 Apr 2007 12:19 AM - 7 messages
How do I write a system service in .Net? ...
Multiple inheritance alternative
koulbassa -
3 Apr 2007 11:50 PM - 4 messages
I have several classes in my project: varietyData gradeData attributeData TreeData Because the TreeData class encompasses each of the previous 3 classes, to me it would make the most sense to allow TreeData to inherit from each of them. ...
Command Window error when attempting to modify variable
luke_airig -
3 Apr 2007 9:54 PM - 2 messages
Microsoft Development Environment 2003 Version 7.1.3088 Microsoft .NET Framework 1.1 Version 1.1.4322 I am trying to modify the value of a variable in the Command Window (immediate mode) but I am getting an error. ...
How to read configuration section for sub-classes
Roy -
3 Apr 2007 8:12 PM - 2 messages
Can ConfigurationSection or ConfigurationElement retrieve the configuration information in a generic way such as string or XmlNode type? I have sub-sections in the configuration which is specific for sub-class to initialize itself and needs to be passed to it in a generic way defined in ...
Crash with WPF Reportting .NET Runtime 2.0 Error
stevendom57 -
3 Apr 2007 3:11 PM - 3 messages
I have an app written with a WPF '/ Winform hybrid application. On most machines it runs fine. On one machine I get a crash and the following is contained in the event viewer. EventType clr20r3, P1 ispec.exe, P2 1.0.0.8, P3 46124125, P4 ...
powerpoint to video component
Manuel -
3 Apr 2007 3:10 PM - 3 messages
Hi Can you guys point me out a component (either activex or .net) to convert ppt to video. Google fond me several applications to do so... Not a single component, though! Cheers, manuel ...
DllImport attribute
Dmitry Dorobin -
3 Apr 2007 2:42 PM - 3 messages
How I can write somthing like this: [DllImport("%ProgramFiles%\\aaa.dll")] where %ProgramFiles% - some DOS variable? ...
Killing a process while in a TransactionScope
gareththackeray -
3 Apr 2007 2:26 PM - 4 messages
Hi, We've been using the TransactionScope class which is great and really makes using Transactions a doddle. However, if we kill the process in the middle of a using(TransactionScope) block, it leaves it hanging, seemingly indefinitely, until we restart the DTC on either client or ...
PlatformNotSupportedException on Windows 2003 server x64
Geofrey van Hecke -
3 Apr 2007 12:44 PM - 3 messages
Hi everybody, I've devloped an .NET DLL (written in C#) and referenced by a VB6 application. The dll uses the System.Net.Sockets.Socket class to connect a remote PC. For an unknowed reason, under Windows 2003 server x64 version, this DLL ...
Find COM device connected
SP -
3 Apr 2007 12:03 PM - 4 messages
Hi, I would like to make a win service that test all the com ports and find the deviced connected. Some device have some commands that return data. How can I make this test? ...
Making a copy of session objects
Abhishek -
3 Apr 2007 11:54 AM - 4 messages
Hi, Is there any way so that I can create a copy of session object... Dim _mclass As New _MyClass _mclass.GetSetVar1 = "Value1" _mclass.GetSetVar2 = "Value2" ...
Trouble with multiple projects in a solution: VS 2003
yashgt -
3 Apr 2007 9:17 AM - 1 message
We have 2 web VB ASP .NET 1.1 projects: proj1 and proj2. The individual projects are placed in directories as follows: Code>proj1 Code>proj2 Each has its own .sln and .vbproj file. So far, we have been compiling them separately. The proj1.dll is then ...
Recrute_Microsoft_.NET_d=E9veloppeur
Stefan -
2 Apr 2007 9:55 PM - 1 message
ITS Consulting Recrute: Détail de l'annonce sur [link] Notre agence Banque/Finance est reconnue comme étant à la pointe des ...
Initialization of mixed assemblies
Jim -
2 Apr 2007 9:35 PM - 1 message
I have an old C++ application. On .Net 2.0, I can add another dll with /clr enabled dll and it worked fine. With .Net 3.0, once I enabled the /clr without any managed code I got R6033 error. It says "Attemp to use MSIL code from this assembly during native ...
Installer and app.config
William Stacey [C# MVP] -
2 Apr 2007 9:06 PM - 1 message
Have a need to load app.config inside the Installer for a service. This took me a while to figure out and is now obvious, but SCM just uses the exe as a "library" and calls the Installer class, so you don't get the ...
Accelerator key not working
B. -
2 Apr 2007 7:51 PM - 3 messages
I have a C# winform with accelerator key associated with some menus. If my exe is in unmanaged C++ and the winform is invoked through interop, the accelerator key not working. If I create a new C#.Net project and the same winform is invoked in the C#.Net project, the ...
assembly always gets built optimized
bonk -
2 Apr 2007 7:17 PM - 8 messages
I have a c# project as part of a larger VS 2005 solution that always gets build optimized and I therefore can not evaluate any values while debugging through the code ("Cannot evaluate expression because the code of the current method is optimized."). This happens alltough the ...
TextWriter.Synchronized
Kris Erickson -
2 Apr 2007 6:03 PM - 4 messages
Hi, Have run into a problem with TextWriter.Synchronized where we are logging errors. The call get the Textwriter looks like this: return TextWriter.Synchronized(File.AppendText(filename)); Where filename is the name of the log file and there are no other ...
Regex question
Dave E -
2 Apr 2007 5:24 PM - 4 messages
I am trying to build a regular expression that will fail to match if the line starts with a particular phrase, for example I want the match to fail if the line starts with "To Do". In other versions of regular expressions there is ...
Fundamental COM incompatibility or newbie head-scratcher?
carl.clawson -
2 Apr 2007 4:46 PM - 3 messages
Take a COM interface with a property declared like this: [propget, id(1)] HRESULT SomeProperty([out] int *sideProperty, [out, retval] int *mainProperty); This is weird but in COM it returns sideProperty when you call it. It even marshals correctly if you remote it. ...
Re: Why does "TypeConverter.GetProperties" exist
Larry Smith -
2 Apr 2007 3:46 PM - 1 message
s/who does this/but who does this/ ...
What version of .net?
Egghead -
2 Apr 2007 3:46 PM - 3 messages
Hi here, I installed the Mar 2007 CTP and build some solutions with different .Net versions for learning some new C# features. After a few days, I lose track which solution building to which .Net version, and I cannot find it at the ...
C# code works if running from Visual studio, but not from executable file?
linda.chen -
2 Apr 2007 2:52 PM - 5 messages
Greeting. We have a 6 year old application, which contains both managed (C#) and unmanaged code (C++). For all the new components we try to create them in C#. We build all projects (both C++ and C# code) into a solution ...
Why does "TypeConverter.GetProperties" exist
Larry Smith -
2 Apr 2007 2:08 PM - 7 messages
Hi there, Can anyone provide any insight on why MSFT introduced "TypeConverter.GetProperties()". There are two classes for dealing with metadata in .NET, 'Type" and "TypeDescriptor". Each has a "GetProperites()" method so why complicate the situation even more than it already is by ...
create new StackTrace-object for a thread
Markus Eßmayr -
2 Apr 2007 11:50 AM - 2 messages
Hi, in my application I need to get the current executing location of a thread. Until now I did this by Thread executingThread; .... executingThread.Suspend(); StackTrace executionLocation = new StackTrace(executingThread, false); executingThread.Resume(); .... This works very good. Since .NET Framework 2.0 the Suspend and Resume functions are marked ...
Web service exception
Shlomy -
2 Apr 2007 9:24 AM - 3 messages
Hi, I have a web service installed on windows 2003 x64 machine. I have a consist exception from the web service: System.InvalidOperationException: There was an error generating the XML document. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. ...
saving object properties in sqlserver
Jeff User -
1 Apr 2007 9:38 PM - 2 messages
Hi Using vs2003 and sql server 2000 I would like ot save asp.net object attrributes such as alignment for a table cell, in sql server database. In my C# code I ahve to declare this as a HorizontalAlign type. then I ...
VB.Net on the network
Marcus via DotNetMonster.com -
1 Apr 2007 7:32 AM - 4 messages
We have 200+ concurrent users. We are looking at using Oracle database as the backend and VB.Net on the network as the front-end. Does anyone know if this will work and how? We will go to the web in a couple of years, but right now we are limited to ...
VS 2005 and .NET version selection
Z -
1 Apr 2007 7:30 AM - 11 messages
Hi, I am told that in VS 2003 (which I am running now) I cant select between ..NET 1.1 and .NET 2.0. I am considering buying VS 2005. Can I select .NET versions in VS 2005 (I ...
Windows Service Memory Usage.
Greg -
1 Apr 2007 1:58 AM - 2 messages
Hi, I previously posted this in the performance newsgroup but thought I might get some better exposure here. I have a windows service thats sole purpose is to cache a large set of data from a web service. The service writes the data to cache and ...
|
|||||||||||||||||||||||