Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score .net framework x64 2.0 installs on largest disk available
P.H. - 2 Dec 2006 12:50 AM - 1 message
When installing .NET Framework x64 2.0 on a 2003 x64 either packed with SQL 2005 x64 installation or by separat downloading, it installs on C: but also files on the largest partion available. Im my case the S: partition which ...
Score IPAddress.Parse and IPAddress.TryParse Rules
Ian Lowe - 1 Dec 2006 11:54 PM - 2 messages
Hi, Can someone provide a complete set of rules for the IPAddress.Parse function? The remarks section in the .NET Framework Class Library provides some of the rules but it appears that .010 for example is interpreted in Octal. Does this mean that one can mix octal, decimal and hexadecimal octets? ...
Score Creating keys/indexes for SQL table
Eve - 1 Dec 2006 10:27 PM - 4 messages
My application reads the data from one database (using ODBC connection) and copies the data to an SQL database (using SQLBulkCopy). This is how I create an SQL table: Dim NewTable As Table = New Table(sqldb, "test") .... NewTable.Columns.Add(cSQL) ...
Score Strange problem
Larry Smith - 1 Dec 2006 9:45 PM - 20 messages
Hi there, When I run the following on my app's primary thread: System.Type.GetType("System.Windows.Forms.Form") It works as expected. If I then launch a thread via the "BackgroundWorker" class immediately after the above call, and invoke the above again as soon ...
Score .Net Development
joelranck - 1 Dec 2006 8:36 PM - 6 messages
My company is looking to migrate from classic ASP to ASP.Net. I know the de facto IDE for ASP.Net is Visual Studio which will be a good step up from Dreamweaver. We are currently on a shared hosting plan and I'm ...
Score How to limmit who can call my assembly
Kenneth Baltrinic - 1 Dec 2006 5:30 PM - 5 messages
Very simply, I have two assemblies, A and B where A calls methods on B.  I want to set it up so that only assembly A can call assembly B.  I am sure I have seen something out there on how to do this but now that I need, to, I ...
Score Can you force ClickOnce to build release configuration?
Paul Fountain - 1 Dec 2006 4:49 PM - 1 message
When I publish an application with ClickOnce, it always builds based on the active configuration in my Visual Studio environment.  Is there any way to force ClickOnce to always build the Release configuration before deploying the application? ...
Score Fonts
jens_o - 1 Dec 2006 9:31 AM - 1 message
How do I include a Font in a ClickOnce installation? ...
Score Time zone information related to standardDate incorrect
John K - 30 Nov 2006 9:36 PM - 3 messages
Our .NET 2.0 server application needs to determine when daylight savings time ends and starts for a particular time zone, which will not necessarily be the time zone of the server.  Devices from various time zones call into the ...
Score codebehind for .master?
shaly - 30 Nov 2006 6:57 PM - 2 messages
Hi All, I am a newbie to .net technology. So, please bear if this question sounds very basic. Is there a code behind file for .master page too? or should I write all my script in .master itself. Thanks in advance. -Shaly ...
Score Garbage collection and async operations
Bob Altman - 30 Nov 2006 6:49 PM - 12 messages
Suppose I have the following code:   ' Get a new instance of some class   Dim myWorker As New MyWorker   ' Start a long-running operation on a background thread.   dim deleg as new SomeMethodDeleg(AddressOf myWorker.SomeMethod)   deleg.BeginInvoke(...) ...
Score Display currentDateTime on my asp.net page
shaly - 30 Nov 2006 6:42 PM - 3 messages
Hi Folks, Is there a simple way to display current Date and Time on my asp.net page. I am trying to display this in header of my .master page so that it gets displaye dthrougghout the site. Please help. ...
Score Need debug info for GAC *.dlls
RapidFireBill - 30 Nov 2006 5:22 PM - 2 messages
Our application is launched by an application that needs our *.dlls located in the GAC. How do I put *.pdb files in the GAC so we can debug during development? What is the recomended way to debug with Visual Studio 2005 when your *.dlls ...
Score gacutil error in .NET 2.0
RapidFireBill - 30 Nov 2006 4:59 PM - 5 messages
The command: gacutil /i C:\A10CSS\A10CSS\bin\Debug\OOALC.CSS.A10.A10CSS.dll from a command window gives the following error since moving to Visual Studio 2005: "Failure adding assembly to the cache: Unknown Error" I can drag the strong named dll to the GAC and and it is successfully ...
Score Reference Problem
pargat.singh@gmail.com - 30 Nov 2006 4:40 PM - 4 messages
Hi Everyone:     I developed a .Net 2.0 asp.net application and add some references to VB DLL and every thing work fine. Once the development is complete and i deploy the app on Integration server references t Vb dll does not ...
Score Set Value for Property in base class.
Ruben Gatt - 30 Nov 2006 3:45 PM - 2 messages
Hi, I have a problem when im trying to set a value for a property in the base class. the following example shows what i currently have... Example: Base Class public class Person {     public string Name     { ...
Score Can't get Assembly.GetCallingAssembly() to reflect the proper assembly
Brad Wood - 30 Nov 2006 3:44 PM - 4 messages
I have an executable that references a separate .dll assembly.  Inside the ..dll I call GetCallingAssembly and I always get a reference to the .exe. Documentation for GetCallingAssembly says, "Returns the Assembly of the method that invoked the currently executing method."  Obviously that wasn't ...
Score .NET Framework 2.0 to 3.0
r.manikandan - 30 Nov 2006 2:38 PM - 6 messages
These different versions of frameworks which seems quite too many for me, do they provide any sort of downward compatibility.  I mean can I assume that if I write a application on .net framework 2.0 will it work ...
Score resource provider factory in .NET
walter - 30 Nov 2006 2:33 PM - 2 messages
Hi all, there is nice resource provider mechanism in asp.net. But since my core app is shared by both rich client and web client, I'm wondering if there is resource provider factory provided by .NET framework ? If no , would you like to share some idea with me on the implementation ? ...
Score WebBrowser control in .NET 2.0 and Windows 2000 doesn't work...
Peter Row - 30 Nov 2006 11:53 AM - 1 message
Hi, We have recently moved our application to using .NET 2.0 and having fixed all the things indicated by errors and warnings and everything works great. However.... We switch to using the new WebBrowser control for displaying some auditing information as HTML (transformed from XML). Problem is on ...
Score FormView - default value as expression
Rafal - 30 Nov 2006 10:02 AM - 1 message
Hello, I think my problem is very easy to solve but I'm new in asp.net. I'm building a Web-based application and I use .NET 2.0 and MS SQL Server 2005. I have implemented FormView control. I have 3 TextBoxes in ...
Score when microsoft stop the support for ASP.Net 1.1
Pankaj Jain - 30 Nov 2006 9:40 AM - 2 messages
Hi All Can any one tell me when microsoft stop the support for ASP.Net 1.1 Thanks, Pankaj Jain ...
Score Workflow/Infopath/MOSS 2007
Jeff - 29 Nov 2006 10:58 PM - 3 messages
Hello All, I am trying to find some info on what I need to do for building a workflow that will be used in conjunction with a Forms Library workspace in SharePoint whenever a document is uploaded to it.  ...
Score Pump Messages During Long Operations
Mark Ingram - 29 Nov 2006 4:04 PM - 4 messages
"The CLR has been unable to transition from COM context 0x1b0f58 to COM context 0x1b10c8 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows ...
Score Developing for .NET on a Macintosh
Luis Rojas - 29 Nov 2006 3:38 PM - 3 messages
Hi All, I am new here, and have been trying to find information regarding developing aplications based on .NET framework 2.0 ( testing 3.0 ) intended to run on a windows enviroment but i would like to do my development from my Mac without ...
Score Help in signing SoapEnvelope using wse 3.0
sridhar - 29 Nov 2006 3:31 PM - 2 messages
hai Friends, I have a typical requirement.we are integrating with a partner that needs signed soap xml to be posted to an url. The partner provided me with their public key.and will post me a response can any one please help me how to ...
Score VSNET: Problems adding VS 2005 extensions for .Net 3.0
Dave - 29 Nov 2006 1:42 PM - 6 messages
I am running vs.net 2005 on an up to date XP SP2 system. I just added the .Net 3.0 framework as well as the "Windows SDK for Windows Vista" just fine. I think I am supposed to add the two VS 2005 extensions for .Net Framework ...
Score Marshalling string to PWSTR
Roshan - 29 Nov 2006 11:41 AM - 5 messages
Hi List, I am trying to call a method from a native DLL which takes a PWSTR as an input param. From my managed code (C#), I want to pass a string as a parameter. How do I convert a C# string to a PWSTR? ...
Score Compute expression
Ivana - 29 Nov 2006 11:05 AM - 6 messages
I need to compute a expression that user set as string in my project. It will look like: string s = "2*(a+5)/6"; and I need to compute a value of expression in string s. Is there some class in framework that solves this problem? Is a way how ...
Score Updater Application Block Examples
TigerMan - 29 Nov 2006 9:51 AM - 2 messages
Hi, Does anyone know any good examples of Application Block? I am using VB 2005 and know there is one click but that doesn't suit my needs. I want to be able to check a server for a more recent exe and dlls and patch the local ...
Score Retrieving the COM class factory for component with
mina - 29 Nov 2006 6:52 AM - 1 message
One of my client want to export data into excel file but he can not installed office just installed exccel and want to export file into ..xls file at that time he got error .... Retrieving the COM class factory for component with ...
Score About the setting "Http Compression" of IIS. Is is really useful for web application?
Benny Ng - 29 Nov 2006 6:40 AM - 5 messages
Dear All,     Now I met some performance problems in my application. Because according to our business. The size of some web forms are larger than 1xxx MB. So it takes a long time for user opening a web page. Surely we are modifying some ...
Score VB vs. C# language challenge question
Tomasz Jastrzebski - 28 Nov 2006 11:23 PM - 12 messages
Hello, Below are to equivalent(?) pieces of C# and VB.Net code While the C# version compiles with no warning, the VB.Net version does not compile due to the compiler error BC30149: Class 'c2' must implement 'Sub m1()' for interface 'i1'. ...
Score Sql server connection over WiFi
JohnNorth - 28 Nov 2006 10:45 PM - 1 message
I’m putting together a WiFi application on a Pocket PC connecting to a backend Sql Server2K. I’ve written a large percentage of the application but would like some advice on a strategy for connecting and disconnecting to Sql ...
Score System.Net.GlobalProxySelection failing
Chris DiPierro - 28 Nov 2006 9:31 PM - 1 message
In our code, we make the System.Net.IWebProxy xProxy = System.Net.GlobalProxySelection.Select; This, in all our testing, gets the proxy setup for use in IE. However, a customer is experiencing a situation where their IE proxy is setup, but that call returns an empty proxy. We've worked around the ...
Score Regular Expression
C - 28 Nov 2006 3:59 PM - 3 messages
Hi, I have a C# app where I want validate a year range (1900 - 2006) using a Regular Expression. Am not familiar with writing Reg Exp's at all. Anyone got one that does something similar with Years? Tnks. ...
Score Split .NET exe file into many smaller ones
Vlado Jasovic - 28 Nov 2006 3:21 PM - 7 messages
Hello, We're developing application in VS2005 using vb.net. Our application exe file is ~20mb when compiled. Recently, we have developed auto-update feature that goes on our web-site, authenticates through WebServices and if neccessary downloads updated app.exe file. We had to use custom solution vs. ClickOnce for several ...
Score Dragging and dropping onto a form with many controls
Mark Ingram - 28 Nov 2006 2:52 PM - 3 messages
Hi, I want to be able to drag and drop some files onto my application but it is only possible to drop at a location where I have no child controls. e.g. If i have a form with a textbox on it, I want to be able to drop ...
Score Where to buy C++ in this version
michael.hanger - 28 Nov 2006 9:41 AM - 3 messages
Hello, i want to use "MS Visual C++ .net Version 2003, Patch Level 7.1.3088, ..net Framework 1.1, Patch Level 1.1.4322". The question is now where can i get this version? Is it included in a ...
Score How to load an external assembly with references?
W. Jordan - 28 Nov 2006 9:17 AM - 3 messages
Hello, I am trying to load an assembly A which references an external assembly B, by using Assembly.LoadFile method. A was loaded but B was not. When I try to invoke a method in A, which requires assembly B, it fails. ...
Score Disposing EventHandlers
Mike Carlisle - 28 Nov 2006 4:46 AM - 2 messages
Hi, In a windows app is it necessary to explicity release delegates from events by implementing dispose, or should the framework take care of this? I've read that you only need to implement IDisposable when handling unmanaged resources, which makes sence... however... ...
Score Dispose on Kill process
Mike Carlisle - 28 Nov 2006 4:35 AM - 2 messages
Hi, Is it possible to catch event when a .net application process is killed in order to do the required cleanup? ie. task manager - kill process. The only way I can think of doing this currently is by using windows ...
Score Windowsforms printing issue
sswrighton - 28 Nov 2006 12:21 AM - 1 message
I'm having an issue with a .NET 2.0 winforms application. The application runs in the taskbar, at all times querying a webservice, and when the webservice returns data, it prints out that data in a certain format. This works fairly well for quite a while, until suddenly the ...
Score Listening on localhost: how to bind on 2 IP addresses
Samik R. - 27 Nov 2006 10:40 PM - 5 messages
I am creating a TCP server app, which will run on a particular machine. Currently I am using the following code (C#):              LocalHost = Dns.GetHostAddresses("localhost")[0];              Port = 2121; ...
Score Performance counter problem
dwhite - 27 Nov 2006 10:13 PM - 3 messages
Our software package works fine under XP but when I run under Vista RC1 as an administrator I get the following exception: Exception has been thrown by the target of an invocation. ---> System.Security.SecurityException: Requested registry access is not ...
Score objects in GridView resets after databind,how to stop?
JP - 27 Nov 2006 9:27 PM - 1 message
I have a grid view that I databind in code. Column 0 of this GridView is hidden and the item template of this column contains hidden Label controls with misc error messages. When the user submits changes to the grid, any changes will be submitted. ...
Score Exception Thrown: FileIOPermission
abe a - 27 Nov 2006 6:03 PM - 1 message
I've created a .Net Form Control and have it loading within IE6 as instructed at: [link] . When i go to connect to the .HTM page from either a different PC or locally i receive the following error from the IEHost log file: ...
Score Windows Workflow
Jeff - 27 Nov 2006 5:58 PM - 2 messages
Hello all, What do I need to install in a Windows 2003 server and Microsoft Office SharePoint Portal 2007 server in order to use the workflow features of Windows Workflow?  Does Win2003 already have the priore version of WWF installed?  if not, then ...
Score High Performance Xml parser
rony - 27 Nov 2006 5:16 PM - 2 messages
Hi, I am looking for component which allows me to parse my xml file. the reason i am asking this, is because my xml files are huge it can reach as far as 1GB more or less. the time to parse such a file is something like 5 Hours. ...
Score Problem with partial post back & master page
Samuel - 27 Nov 2006 2:53 PM - 3 messages
Hi, I have ASP.NET user control that implements ICallbackEventHandler. Partial postback works perfectly when I put control on a regular webform. But when I put it on page that has master page control doesn't work. I'm getting following error :"The target <name> for the callback could not ...
Score Publicar Sitio
Pablo Salazar - 27 Nov 2006 2:52 PM - 1 message
Buen dia a todos. Tengo un sitio con Framework 1.1 y lo tengo en mi computadora con windows XP, funciona bien. Pero cuando copie el sitio completo al servidor ( windows 2000 server ) , me empezo a emitir una serie de errores. ...
Score Why is there no Equals() or GetHashCode() in ArrayList?
eramfelt - 27 Nov 2006 1:38 PM - 5 messages
Why doesnt ArrayList implements the Equals() or GetHashCode() methods? How is the developer supposed to check if an array list is equal to another array list? Is the developer supposed to iterate through the array list to find out if they are equal or not? This should be handled ...
Score how to pass a byte array by reference
sreelakshmi.rajula - 27 Nov 2006 12:39 PM - 3 messages
Hi ,   I am new to Managed c++ and C# .   I've to use unmanaged code in C# . For that I've written a managed wrapper. I am passing a byte array to a function and updating that byte ...
Score Block WM_MOUSEACTIVATE messages
aimoz@intechinfo.fr - 27 Nov 2006 10:14 AM - 8 messages
Hello, I am developping an application (using C#) and I need, whenever the user click on the form, this one not to be activated. (the system mustn't give the focus to the form). After several search I saw a way : overriding the WndProc (wich belongs to ...
Score CardSpace (Creating Managed Cards)
BA - 27 Nov 2006 9:22 AM - 1 message
Hello, My company is in consideration of integrating the new Windows CardSystem mechanism to our SSO structure. I am wondering if there is a graphical tool (just like Active Directory, etc..) to generate managed cards for the employees of our company? ...
Score C# windows application
deepak - 27 Nov 2006 8:04 AM - 2 messages
Hi All, I read article ([link]). I need yours help. Please advise me  My Requirement is given below.    This is C# windows .net application(application as i need *.exe file ...
Score Enumerate System Folders Windows Mobile 5
Jeremy - 27 Nov 2006 5:14 AM - 1 message
I am having a problem enumerating System folders on a pocket PC, specifically the \Databases\ folder on WM5. Does anyone have any tips on how to accomplish this. I would like to view all the files/Databases available in the Databases ...
Score Print Legal Size in System.Drawing.Printing
Rick Lubanovic - 27 Nov 2006 1:07 AM - 1 message
Hi,   I am having an issue trying to print using legal size.  I have a printer that can successfully print legal size from Word, when the paper size is selected in the print setup dialog.   There is only one paper tray, and it can print letter or legal.  The code ...
Score Building .Net 3.0 on Server2003
GaryDean - 27 Nov 2006 12:58 AM - 2 messages
On my Server 2003 image I have installed vs2005, an earlier Orcas (wsextwfx.msi), the 6.0 Windows .Net SDK, the .Net 3.0 framework (dotnetfx3.exe)and now I'm trying to install the latest Orcas.  But I get an ...
Score dynamically determine .net baseframework version of exe or dll
Anthony LaMark - 26 Nov 2006 6:45 PM - 4 messages
Hi All, Whether in a Winform application (.exe) or a .Net assembly (.dll), is there a way to determine what version of the .net baseframework the run-time module (i.e. exe or dll) was loaded with (is using)?  Seems that using ...
Score Question on AppDomain and Thread
Leon - 26 Nov 2006 1:17 PM - 11 messages
Hi, When you create a new AppDomain, objects you created in there using say AppDomain.CreateInstanctAndUnwrap() run in the same thread as the caller is that correct? If so, how could I create an AppDomain having its distinct thread? In ...
Score c# as operator
KShvats - 26 Nov 2006 12:18 PM - 11 messages
Hey there Which is better: "(inSet as ICloneable).Clone()" or "((ICloneable)inSet).Clone()"? Thank you ...
Score My homepage
Thank you! http://lmqfzlzr.com/syhj/kuap.html | http://zazxbrpo.com/pejt/kimj.html - 26 Nov 2006 4:09 AM - 1 message
Thank you! [link] | [link] ...
Score My homepage
Nice site! [url=http://lmqfzlzr.com/syhj/kuap.html]My homepage[/url] | [url=http://xazizjug.com/zhb - 26 Nov 2006 4:09 AM - 1 message
Nice site! [url=[link]]My homepage[/url] | [url=[link]]Cool site[/url] ...
Next »