|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.NET Frameworkmicrosoft.public.dotnet.framework
Implement vb.net interface event in managed C++
Brett -
8 Jan 2005 7:37 PM - 2 messages
I have a VB.NET interface that my managed C++ code is to implement. I seem to be stuck implementing an event defined in that interface. Does anyone have a simple code snippet that will show me the basics of what I need to implement? ...
Installation problem for .net FrameWork 1.1 sp1 on win2003
Yaseen D M -
8 Jan 2005 4:25 PM - 3 messages
..net framework 1.1 sp1 is unable to install on windows 2003 server. Gives error you dont have rights contact administrator can anybody help me Yaseen ...
Regional settings
Chakra -
8 Jan 2005 10:49 AM - 3 messages
We have a Windows.NET application which uses CultureInfo to set the date format based on the PC's regional settings. We find that if we change the regional settings on a PC, unless we re-build the application, it throws an ...
Windows Service / Interfacing with a Client Application
Eddie D -
8 Jan 2005 10:15 AM - 2 messages
I've developed a Windows Service that runs on a timer and performs a set of recurring actions. I've also written a client application that controls this service (e.g. Turn On, Off, Suspend, Restart) and allows for adjusting its ...
Form Focus Problem
XVida -
8 Jan 2005 8:16 AM - 3 messages
I have an application which loads a main form which contains text boxes and other details. This main form has a menu which opens another form. I want to have both forms accessible (i.e. I don't want the second form to be modal). ...
deploying configured assemblies
Mike G. -
7 Jan 2005 9:35 PM - 2 messages
I was able to use mscorcfg to create a policy that enables my app to use version 1.5.0.0 instead of 1.4.0.0 without difficulty. How do I deploy this change to other machines? Inside of mscorcfg you can easily create an MSI ...
Shell command not working from a DLL called from a windows service
Jeff -
7 Jan 2005 9:07 PM - 2 messages
I have a .NET DLL that has a shell command that maps a network drive. When I call this dll from a windows program, it works great. When I call the same dll from a windows service, the shell command does not ...
Manually creating a .sln file
Juan Dent -
7 Jan 2005 6:25 PM - 3 messages
Hi, Due to a project I am working in, I need to generate a solution file automatically that includes one C# project. I have taken the format for that ..sln file from existing solution files created by VS.NET 2003. I only ...
LinkDemand Error
Cristian Anca -
7 Jan 2005 3:39 PM - 3 messages
Hello, I have a class that implements the interface IMessageFilter. When I run FxCop on this class the following error appears: The virtual method IMessageFilter.PreFilterMessage(Message&):Boolean defined by type 'System.Windows.Forms. IMessageFilter' and its override MessageFilter.PreFilterMessage(Message&):Boolean do not have the same ...
Slow performance with garbage collection
Milan -
7 Jan 2005 3:03 PM - 7 messages
Just wondering if someone can help me with a problem with garbage collection that I seem to have: I have a client/server system where the clients are experiencing quite long delays because of bad performance on the server. The server uses Windows ...
Update from VS.NET 2002 to VS.NET 2003
Sami -
7 Jan 2005 12:27 PM - 9 messages
Hello, Is there anyway one can obtain the upgrade CD from VS.NET 2002 to VS.NET 2003. I bought the Visual Studio Enterprise Architect 2002 when it came out and missed out on the opportunity to buy an update to VS.NET 2003 when it ...
Deserialize an unknown class to show it in a property grid.
Romain TAILLANDIER -
7 Jan 2005 10:17 AM - 3 messages
Hi group I read XML data which i sometime can't know their type. But i have to show the property in a property grid. for example i get the following xml : <UnknownClass><Prop1>value1</Prop1><Prop2>value2</Prop2><Prop3>value3</Prop3 ...
threading
johnny -
7 Jan 2005 9:41 AM - 5 messages
Very simple question. I need to pass a parameter to a newly created thread. How can I accomplish it. I'm sure it must be very easy - something like it was in Win32 CreateThread had 1 4B parameter. ...
List enumeration exception under weird circumstances.
sk -
7 Jan 2005 8:57 AM - 3 messages
Hi, I hv foll. code: foreach(object obj in myChkedlistbox.CheckedItems) { Messagebox.show(obj.tostring()); } It gives me the foll exception: "The list that this enumerator is bound to has been modified. An enumerator can only be used if the list does not change." ...
URGENT: Why the impersonation work in one case and not the other?
CyberDigger -
7 Jan 2005 5:25 AM - 6 messages
I have two computers, client and server. The client is running Windows 2000 Professional and is in a workgroup, say "MyWorkgroup". The server is running Windows Server 2003 Standard Edition and is in a domain, say "MyDomain". ...
.NET equivalent to Java History.Back()
James W. Cross -
6 Jan 2005 11:19 PM - 3 messages
I have a System.Web.UI.WebControls.Button on a Web Form using VB .NET (lang. no matter here). In the Click event (e.g. Button1_Click) I do various things (db updates, etc.) and after all is done I want to go the user's ...
.NET equivalent to Java History.Back()
James W. Cross -
6 Jan 2005 11:09 PM - 3 messages
I have a System.Web.UI.WebControls.Button on a Web Form. In the Click event (e.g. Button1_Click) I do various things (db updates, etc.) and after all is done I want to go the user's previous URL (just like history.back(-1)). ...
Information about the class that created a thread
Johann -
6 Jan 2005 11:04 PM - 3 messages
Hi, Is it possible to get the class/object name that invoked a thread, from another process. From one process I could get another processes thread information, but how do I get the method that created it. Thx, Johann ...
Dynamic Assembly
BrianS -
6 Jan 2005 10:37 PM - 3 messages
Hello, I have Assembly (A) which dynamically loads Asembly (B). Both Assemblies are located in A's bin dir. If I query, AppDomain.CurrentDomain.GetAssemblies Returns an unloaded/unreferenced assembly (B) why? Assembly A does not refernce any types in B. Is there a way to prevent this assembly from loading ...
.NET Framework 1.1
DavidK -
6 Jan 2005 8:09 PM - 3 messages
I have a client which was 98 and could not install .NEt. He has upgraded to XP Home and still cannot install .NET 1.1. We removed the registry entries and the directory structure and renamed the file mscoree.dll in system folder and still no luck. All I could find on the ...
build / design time errors?
Nick Stansbury -
6 Jan 2005 6:28 PM - 4 messages
Hi, Is there any way to control the raising of "build" errors? For example - is there any possible way of, for example, raising a build error if the object user tries to call method(x) before having set property y ? ...
Why should I install the .NET Framework v1.0 SP3
Ruben Noorderijk -
6 Jan 2005 6:11 PM - 5 messages
Why should I install the .NET Framework v1.0 SP3 if v1.1 SP1 is allready present? ...
Manually Firing off Timer.ElapsedEvent
Weston Weems -
6 Jan 2005 5:22 PM - 2 messages
Hello, I've got timers launching every 3 minutes to run a somewhat lengthy process etc... and that all works fine. What I'd like is to have the timer fire immediately after starting then at <X> intervals. ...
Securing DLLs, Running App and AppDomain
Carlos Campos -
6 Jan 2005 5:21 PM - 3 messages
Hi: I want to create a DLL that only can be used from applications signed with my strong key file. I have checked the StrongNameIdentityPermissionAttribute but it does not work for me. So I did the next logic: When someone access the code in the ...
Message Loops and Application.Run()
Steve -
6 Jan 2005 2:43 PM - 7 messages
My code creates a new thread and in that thread I call System.Windows.Forms.Application.Run() to start an application message loop. ( I also have a message filter added on that thread to handle incoming messages.) Now, how do I actually send messages to the ...
Software shut down my PC, user authorization
Romain TAILLANDIER -
6 Jan 2005 9:39 AM - 5 messages
Hi group, I have a Test Bench, in a workshop. It is 'embedded' with Win2000. It have to be automatically shut down at 05h00 PM. It can be use by different user wich have 3 profiles (user, user with power, ...
TreeView Question
Beringer -
6 Jan 2005 9:19 AM - 2 messages
I am deriving my own TreeView control from the 1.0 Framework TreeView. I have overriden the OnAfterSelect method and want to respond to selection of a node. The issue I am having is that if the user selects a node and then clicks the ...
Usage of .net class lib in a windows service
Michael Ulmann -
6 Jan 2005 8:45 AM - 2 messages
Hi, I'm developing a windows service with c#. Now I'm trying to use a .net class library (dll) to include. For this I added the dll to my references. But unfortunately if i run the service i got always this error: ...
Array.Sort?
mabster -
6 Jan 2005 3:04 AM - 7 messages
Can someone explain to me (as something of a .NET layman) why the Sort() method of System.Array is static? Is it because it's changing the array you're sorting? Is there some limitation where if it was an instance method, it wouldn't be able to ...
Overflow or Underflow in the arithmetic operation
Chin Chien Ping -
6 Jan 2005 2:38 AM - 3 messages
I have wrote a program using vb.net v. 2002 and this program will send print out to a printer Xerox Phaser 3120 model. My program is installed on a Windows 98 client. My problem is when I try to send the print out to that ...
Postback form .NET bug
Tim Mavers -
5 Jan 2005 10:34 PM - 5 messages
I am having a problem that I swore I read about a long time ago and it was a ..NET service-pack/hotfix bug. The problem right now is that whenever I try to postback on form, it simply does nothing. I distinctly remember the issue being fixed by a hotfix, but ...
How can I know if I am in a Service or Application?
ToeKnee -
5 Jan 2005 9:27 PM - 5 messages
I have a c# component that can be used in various executables. I need a way in the code of this component to determine if the executable that loaded it is a Windows Service -or- a Console/Windows application? i.e. within the code ...
SP2 & "The Publisher could not be verified. Are you sure you want to run this software?"
Amos Soma -
5 Jan 2005 7:35 PM - 3 messages
Hello. Our company has created a .Net application which the user starts by executing via a URL (i.e., http://someserver/application.exe). On some machines running Windows XP SP2, the user will see a dialog containing the message "The Publisher could not be verified. Are you sure you want to run ...
hOW TO DO THAT IN .NET... FRAMEWORK?
Doug Zody -
5 Jan 2005 6:35 PM - 9 messages
I have wave files being recorded for interactive voice enabled application. Currently I have more than 1000 wave files implemented in the application. Since I have recorded using regular desktop PC the quality of the sound is not good. Also the volume levels in each of the wave files are different. ...
MarshalAsAttribute()
Zoury -
5 Jan 2005 6:05 PM - 6 messages
Good Day and Happy New Year to all of you! I was wondering if we should trust the auto-marshalling done by the CLR or not ? i mean this works very fine : '*** <DllImport("kernel32.dll", CharSet:=CharSet.Auto, SetLastError:=True)> _ ...
Validation Expression
Marlon -
5 Jan 2005 4:53 PM - 2 messages
Can someone help me with a validation to check for invalid characters in a filename ? ...
Required fields, pointers and VB.net
Nick Stansbury -
5 Jan 2005 3:46 PM - 3 messages
Hi, Given a set of objects like the following I have two questions - firstly is the technique used below for initialising what are effectively constants in Sub New() correct? Is there a "better" way of doing this? Secondly, I ...
Crystal Reports for .NET (VS 2003) limitations
Shikari Shambu -
5 Jan 2005 3:32 PM - 2 messages
Hi All, I have been using Crystal Reports for .NET that ships with VS 2003 to develop some reports that I plan to deploy as part of a web application. I want to find out the limitations of this version of Crystal Reports. I did ...
VB Studio 2005 and data access?
Brett -
5 Jan 2005 2:48 PM - 5 messages
I'm using VS Studio 2005 beta with VB.NET. The beta doesn't allow accessing data sources. I'm not sure what other limitations there may be. It seems VS Studio 2003 .NET is the latest version. I've found the Pro version on ...
Can anyone provide an example of how to write/install an .NET "applet"
skipintro -
5 Jan 2005 2:42 PM - 2 messages
Folks: I presume it's possible to write a browser-hosted .NET "applet" much like you can write a J*va applet. To get started, it would be nice to see some sort of "hello world" application, and sample <OBJECT> tag to see how to get it all together. ...
Threadpool and thread priority question
Kevin Jackson -
5 Jan 2005 2:39 PM - 3 messages
First question: I have read that you cannot change the thread priority of a thread pool thread. They always run at normal. Is this true? Second question: If I manage my own thread pool of thread objects, must the thread priority ...
Repost: Silent install of .Net Framework
STom -
5 Jan 2005 1:51 PM - 3 messages
I am trying to install the .Net framework 1.1 without seeing any GUI and specifically not seeing the licensing agreement. I am doing: dotnetfx /q:a It still asks me to agree to the licensing agreement. Is it possible to install the framework silently and if so, what is the ...
Microsoft Internet Controls: .net replacement ?
Craig HB -
5 Jan 2005 11:29 AM - 6 messages
I am using Microsoft Internet Controls (com dll) to open up a web browser with the address bar hidden and maximised. Is there a way I can do this with the .net framework ? Thanks, Craig ...
Overload Indexer
Dieter Pelz -
5 Jan 2005 10:57 AM - 2 messages
Hallo, could anyone explain why the double indexer ist called and not the overloaded int indexer. The Test Object is called with an int Value! Output: CALL Test this[double dbl] ?????????????? CALL Test this[int idx] using System; public class Test : TestBase ...
Equivalent of SIO_UDP_CONNRESET in .NET
Arnaud Debaene -
5 Jan 2005 10:30 AM - 2 messages
Hello all. Is there an equivalent to setting socket option SIO_UDP_CONNRESET to FALSE (ignore ICMP "port unreachable" messages when sending an UDP datagram) in .NET socket class? Thanks. Arnaud ...
Advice for how to store data
Andrei Pociu -
5 Jan 2005 10:19 AM - 2 messages
I'm starting to develop an application similar to an address book, task manager, etc. I'm going to develop this using C#, but that doesn't matter, my problem is another. I need to store contacts, tasks and a few other similar things. ...
strange form behaviour...
EMW -
5 Jan 2005 7:08 AM - 2 messages
I am busy with a program for my pocket pc. but since it is still compact famework, I'll post this here too, because I'm very much in need for some help with this: I have one form which is my main form and has 4 option buttons and two ...
Appdomain
Sara -
5 Jan 2005 6:59 AM - 3 messages
I am new to .net, I want to know what is appdomain and process? how they are related. how the .net framework executes the Windows application (C#) ...
Unable to start debugging on the web server
Symphony -
5 Jan 2005 12:57 AM - 5 messages
Hi, All: When I tried to run a web project on the web server from my local machine, I allways get this message: "Error while trying to run project: Unable to start debugging on the web server. The debugger is not properly installed. Run setup to install or ...
Framework 1.0 application looking for 1.1 dll
Dan B -
5 Jan 2005 12:08 AM - 3 messages
I wrote a windows application in VB Dot Net 2002. So that's Framework 1.0 right? It ran fine on several computers but then I tweaked it and rebuilt it and now I have the following exception when the application starts ...
Automatic startup of service
Jeremy Chapman -
4 Jan 2005 10:38 PM - 4 messages
I built a service in visual studio 2003 for the 1.1 framework. I used the wizard. For the most part this service works great, and has for several months, except for when the service restarts. on a 2003 server the service ...
Quick Questions on threading
Weston Weems -
4 Jan 2005 10:20 PM - 6 messages
I've been toying with threads the past couple days and I was curious if anyone could answer a few basic questions. 1) I'd like to take a method call I make currently successfully, and simply throw it into a new thread to run ...
Who is my calling object?
Bob L. -
4 Jan 2005 9:08 PM - 2 messages
Hi everyone, I am implementing I method where it would be convenient to get the instance of the object that is calling me. I know I can get the calling method using the StackFrame class, and I can get the calling assembly, but what about the ...
general question regarding when to abstract vs. interface
Trevor Braun -
4 Jan 2005 7:58 PM - 6 messages
This is just a thought I wanted to put out there to get some opinions... I've been programming for a number of years, but until a couple of years ago, always with VB6, so everything I did to "fake" inheritance was done ...
Proper place for custom CONFIG file
Vagif Abilov -
4 Jan 2005 7:39 PM - 11 messages
Hello, We have a set of applications and assemblies that belong to one project. Some of the configuration settings are supposed to be shared between various assemblies on the same machine. After long discussions we finally decided that the best alternative for us is to create a custom configuration file ...
Error 1937 on VS installation
news.microsoft.com -
4 Jan 2005 7:25 PM - 2 messages
Hi all. I'm trying to instal the VS 2003 in a machine with Win XP SP2 and, at end of the installation, I receive the follow error message: ERROR: Error 1937.An error occurred during the installation of assembly ...
Enum conversion from an Object in VB.NET
Marlon -
4 Jan 2005 6:13 PM - 2 messages
Which statement gives better performance (where obj can contain any of the CLR runtime types) 1) CType([Enum].Parse(GetType(UploadMode), tmp), UploadMode) or 2) Me._mode = CType(tmp, UploadMode) or 3) System.ComponentModel.TypeDescriptor.GetConverter( GetType(UploadMode)).ConvertFromxxxx(tmp) ...
Exporting registry key to a reg file?
Mark -
4 Jan 2005 3:46 PM - 5 messages
I've had a look around and AFAICT, the Microsoft.Win32.RegistryKey class doesn't have any members that write the registry to a reg file. So, as I see it, the options are: 1. Use Microsoft.Win32.RegistryKey to parse each value and write each to a ...
String conversion from an Object in VB.NET
Marlon -
4 Jan 2005 2:23 PM - 3 messages
Which statement gives better performance (where obj can contain any of the CLR runtime types) 1) CStr(obj) or 2) obj.ToString() ...
KISS Tutorials
LostInXMLWorld -
4 Jan 2005 7:01 AM - 2 messages
Keep It Simple Silly.... What ever happened to it? I am absolutly struggling to understand how to read XML files. I am not talking about mass sized, hugely complete XML files either. Im talking 1 level elements with attributes... So now back to my question, what ever happen Simple easy to understand ...
Unable to reuse remoting port
Tim Law -
4 Jan 2005 2:53 AM - 2 messages
I am registering an object for remote access in the constructor of a Windows Service using the following code: BinaryServerFormatterSinkProvider provider = new BinaryServerFormatterSinkProvider(); provider.TypeFilterLevel = System.Runtime.Serialization.Formatters.TypeFilterLevel.Full; IDictionary props = new Hashtable(); props["port"] =
Convert.ToInt32(System.Configuration.ConfigurationSettings.AppSettings["Listen On Port"]); ...
Change of .NET framework website
Glyn Meek -
4 Jan 2005 1:52 AM - 2 messages
Microsoft today appear to have changed the download site for the .NET 1.1.4322 framework! Does anyone know where we can point our customers so that they can download this? OR does anyone have a copy we can save ourselves and do it through our own ...
Silent install of .Net Framework 1.1
TheNortonZ -
4 Jan 2005 12:45 AM - 4 messages
We have created an install with Wise Installation. During this process it installs the .Net Framework v1.1 if it is not already on the machine. We see that the user has to select 'I agree' in the licensing agreement and ...
Uninstalling Microsoft .NET Framework 1.1 Sercice Pack 1
Ibnu -
4 Jan 2005 12:41 AM - 3 messages
I have a MS Windows 2000 Standard Server with SP4. When I went to [link] website to download and install new updates/patches, "Microsoft .NET Framework 1.1 Sercice Pack 1" was listed as one of the updates that I needed. ...
installing .net framework on XP Pro
Lindsay Cripps -
4 Jan 2005 12:19 AM - 3 messages
Looking for information on the changes made to XP Pro after installing .NET Framework 1.1. I only needed to install it because of a requirement needed by a program I need to use. For instance after installing .NET a new user account was created (not ...
sorting columns of DataSet
SK -
3 Jan 2005 9:56 PM - 6 messages
Hy! Is it possible to sort columns (not rows!) of a dataset (or DataTable)? I have dataset filled with data and I want to rearange it's columns. Any ideas would be appreciated! SK ...
DLL Re-distribution - Microsoft.mshtml.dll
David Elliott -
3 Jan 2005 9:48 PM - 2 messages
I am using the Microsoft.mshtml DLL and found today that it is not included as part of the .NET distribution. I need to distribute the DLL and need to know: 1) Is there any problems re-distributing this file. Is there a EULA? ...
Determining which Drive is the CD-ROM drive
Oldman -
3 Jan 2005 9:43 PM - 3 messages
What is the best way in .NET to determine which drive is the CD-ROM? ...
Error while executing my app on a target/client machine?
GTDriver -
3 Jan 2005 5:23 PM - 4 messages
I'm new at developing apps in VB.NET. I just created a small app that just has a text box and a button on the form. The button code will just write to the eventlog using eventlog.writeEntry(txtMessage.text). ...
Calling a MFC ActiveX Control from a ASP.net web service.
dmdaniels -
3 Jan 2005 4:37 PM - 3 messages
I am looking for some information about a problem I have run into. I have a third party MFC ActiveX Control and I would like to wrap it with a ASP.net web service. I add it to my project using "Add Reference" which creates the ...
What was the major need which forced to invent .NET?
Mohsin -
3 Jan 2005 10:51 AM - 3 messages
HI; My name is Mohsin. i want to know that what was the major reason due to which people (Microsoft) invented " .NET ".......... Waiting for reply in detail........... ...
How to tell .NET Framework 1.1 SP1 is installed
Sam Low -
3 Jan 2005 9:55 AM - 5 messages
I am certain I have .NET Framework 1.1. How do I tell whether I have installed SP1? It doesn't show up in Add or Remove Programs. ...
how many instances of a dll is loaded w/in a process/IIS.. HELP!!!
chinimimita.hernandez -
3 Jan 2005 5:14 AM - 3 messages
Hi guys, Does anyone know on how to check the number of instances of a dll is loaded within a process/IIS. I tried to use the performance application in the control panel but everytime i run and close my application the thread count gives different ...
GAC Question
Leo -
3 Jan 2005 3:19 AM - 3 messages
I have installed an assembly in the GAC but I don't see how to set a reference to it. If I set a reference to the original assembly that I copied into the GAC does the program then use the copy in ...
Quotes on call
Randy -
2 Jan 2005 6:23 PM - 3 messages
Consider the following piece of code: OnClientClick='<%#Eval("url", "openWindow({0})")%>' How will I place quotes on the call to openWindow. If I run the code now, the result will be: OnClientClick="openWindow(someUrl)" where I would like ...
EventLog object in win 2000 only
Leeor Chernov -
2 Jan 2005 5:19 PM - 2 messages
Hi , I am writing to Event Log by this code: if (!System.Diagnostics.EventLog.SourceExists("MyApp1")) System.Diagnostics.EventLog.CreateEventSource( "MyApp1", "Application"); EventLog1.Source = "MyApp"; EventLog1.WriteEntry ("This is a simple event log entry"); ...
Debug an ASP program
Eitan -
2 Jan 2005 12:57 PM - 3 messages
Hello, Can I debug an asp file with Microsoft Dotnet Development environment (dotnet architecture) (or check whether the syntax is correct) ? If so, than how can I do that - need sample, please. Thanks :) ...
.NET Framework 1.1 Service Pack 1 (SP1)
TeresaHenry -
2 Jan 2005 6:19 AM - 5 messages
I have Windows XP Service Pack 2. My problem is when i try to download .NET Framework 1.1 Service Pack 1 (SP1) i get it completly downloaded but it fails to instal. No matter what i do. is this a realy important service pack or ...
Control in listview
Theewara Vorakosit -
2 Jan 2005 4:13 AM - 2 messages
Hello, Can I place control, for example, checkbox, radio, combo box, in ListView (.net framework)? Thanks, Theewara ...
|
|||||||||||||||||||||||