Home All Groups Group Topic Archive Search About

.NET Framework

microsoft.public.dotnet.framework
Score Can't serialize a simple string when using the FileOpenDialog
Jerry J - 22 Apr 2006 3:49 PM - 7 messages
I have a simple serializable class that just has 3 public string properties. The strings will contain paths to files that are chosen by a user via the OpenFileDialog. The serialization works perfectly if I set the path values via code such as: ...
Score Dialog with no TitleBar: is it possible?
Roland - 22 Apr 2006 11:52 AM - 5 messages
Is it possible to have a form with no titlebar (caption) that shows as a dialog? When I create form with no titlebar and call its ShowDialog method, it shows up briefly closes immediately. I couldn't find any documentation onthis ...
Score StreamReader.StreamReader(String, bool) bug - no BOM detection
Polanski24 - 22 Apr 2006 11:38 AM - 5 messages
Hello! During my app testing I discovered the following bug in .NET v2.0 (have not tested 1.1 yet). Constructors of StreamReader supposed to detect byte order mark fail to do so. Simple test case is below just feed it with files with different BOM ...
Score Format
Wallace - 22 Apr 2006 9:36 AM - 3 messages
Hai All,   I am working in asp.net...   I need to format a number in the following manner...    number  = 500    After formatting i need the number as string as "     500" ...
Score Is there a limit of number of nodes for a TreeView?
Chris - 21 Apr 2006 8:45 PM - 5 messages
Hi, I am using TreeView control from .Net Framework 1.1. Everything works if the number of nodes is not too big. When the number reaches thousands and the tree is fully expeanded ,  some nodes(the nodes at the end) are missing. ...
Score Access Violation Releasing CComPtr<IAzAuthorizationStore>
Mike - 21 Apr 2006 8:45 PM - 1 message
I have a .NET remoting server that uses some unmanaged c++ under the hood, and one portion of this is Authorization manager. I have a static CComPtr<IAzAuthorizationStore> that sits around for me to do some authorization checks from. When I stop the remoting application the ...
Score ftp active connecting
Humberto Alvarez - 21 Apr 2006 8:26 PM - 4 messages
Hi Does someone know how to create a socket to connect to a ftp server that does not accept passive connections? I need to modify my ftp class (wich works pretty good in passive mode) to connect to the ftp in active mode. ...
Score WMI and AD
Marek - 21 Apr 2006 8:06 PM - 1 message
Hi all, I have questation about add user to active direcory . I have code : System.Management.ManagementClass micc = new ManagementClass("\\\\furoladnt2\\root\\directory\\LDAP:ds_user"); micc.Scope.Options.Password = "xxxxx"; micc.Scope.Options.Username = "Administrator"; System.Management.ManagementObject mcoo = micc.CreateInstance(); ...
Score help: how to use vb.net to query AD
Paresh - 21 Apr 2006 7:19 PM - 4 messages
Scenario: Create an application which will query Active Directory based on a user's short name or last name. It will return the user's: -home path, profile path, and login script properties -short name -location of publication (i.e. which OU it resides in) ...
Score Group membership for a user
Jeff - 21 Apr 2006 3:20 PM - 5 messages
I'm looking for a .NET Framework class that will allow me to determine if a specific domain\user is a member of a domain\group.  Any suggestions? ...
Score Garbage collection working sometimes and not others...?
Hassiah - 21 Apr 2006 1:33 PM - 8 messages
Hi, I am using Team Foundation Server's unit testing features and I have discovered something that is causing me a bit of a problem: please take a look at the following test code:         public void UnloadAnyControlTest() ...
Score code for displaying a linked list in form of label controls
dennyd - 21 Apr 2006 1:14 PM - 1 message
please any one can help me by sending me the code for displaying a linked list in form of label controls using vb.Net ...
Score Format a TimeSpan
Guido Kraus - 21 Apr 2006 12:55 PM - 2 messages
Hi, I'd like to convert a TimeSpan value to a String - but without seconds (e.g. "12:01" for 12 hours and one minute). Is there a way to use String.Format() or other functions to do this? Thanks, ...
Score Login to remote server
Dorte - 21 Apr 2006 12:03 PM - 1 message
Hi, I have an ASP.NET application where the user can enter an IP address, windows login and password information for remote servers (connected to the same network). The information is stored in a SQL server for different purposes. Before saving the login and password information in the database, I would ...
Score How to set assemble version compiling single file ?
shel - 21 Apr 2006 10:24 AM - 2 messages
Hi, When I compile a single file using command line, the assembly version is 0.0.0.0. Is there anyway to set the assemble version in the class or in command line? ------------------------------------------- csc /target:library Logic.cs Output is Logic.dll but version is 0.0.0.0 ...
Score DateTimeFormatInfo.DateSeparator
kh - 21 Apr 2006 8:08 AM - 2 messages
hi. DateTimeFormatInfo.DateSeparator seems to supply the separator for the short date pattern (for axample, "/" in en-GB) but the long date pattern is "dd MMMM yyyy" which is obviously separated by spaces. is there a generic way to determine the date separator for the current LongDatePattern? ...
Score pop3 C#
arjunondkarster - 21 Apr 2006 7:57 AM - 2 messages
I m using C# .net1.1 and want to develop componenet for received mail from pop3 account. Please send related information for this or sample code ...
Score public folder in exhange 2003
Vaidas Gudas - 21 Apr 2006 5:39 AM - 1 message
I want to read all mails from public folder in MS Exchange 2003. and after I want to move mails from one folder to another folder or subfolder. How to make it with vb.net Thanks ...
Score Random appdomain restarts
J_A5 - 21 Apr 2006 3:49 AM - 1 message
Hi, I recently upgraded my web app from 1.1 to 2.0 and SQL Server 2005. After the upgrade, I am seeing random appdomain restarts. It was not even logging any information untill I turned on logging all events in the healthmonitor ...
Score Load an object reference onto the stack ???
VivekR - 20 Apr 2006 11:13 PM - 13 messages
Hi I have a class CodeGen in which GenerateILBody is a method that uses ILGenerator.Emit to create the IL code as method body for a dynamic method DynMethod. GenerateILBody at runtime must call another method CallBack of the class CodeGen. ...
Score Catching Line Numbers with XmlDocument.Validate()
Brian Cobb - 20 Apr 2006 9:15 PM - 4 messages
I have this code: XmlDocument x = new XmlDocument(); x.Schemas.Add(      null  //use the targetnamespace stored in the schema file    , ExtendedTreeViewSchema  //URL of schema file. ); x.LoadXml(XmlSource); x.Validate(new ValidationEventHandler(Handler)); ...
Score Comparing delegates
Quimbly - 20 Apr 2006 9:01 PM - 10 messages
I'm having some problems comparing delegates.  In all sample projects I create, I can't get the problem to occur, but there is definitely a problem with my production code. I can't give all the code, as there's simply too much, but here's the ...
Score Need help debugging aspx at the server.
intrader - 20 Apr 2006 7:11 PM - 3 messages
I have the trouble debugging at the server with Visual Studio 2003. I have the development environment running and I choose Tools/Debug Processes and I attach to apsnet_wp.exe, click on Break - it tells me 'Unable to break in ...
Score How to Detect if you're still subscribed to an event
James Hancock - 20 Apr 2006 6:05 PM - 3 messages
Ladies and Gents, I have an event that I raise.  When that event is raised I raise it like this: if (NewAlert == null) return; AlertEventArgs aea = new AlertEventArgs(EmployeeID, AlertID); EventHandler<AlertEventArgs> eh = null; foreach (Delegate del in NewAlert.GetInvocationList()) { ...
Score C#, WinForms, DataGridViewComboBoxColumn
Richard - 20 Apr 2006 5:51 PM - 4 messages
I'm using a datagridview that's populate from a products table. In the grid, I need to have combo box column, that's populated from a different table, but needs to be selected from the rows in the products table. ...
Score WaitHandle and Threads
Michael D. Ober - 20 Apr 2006 5:06 PM - 1 message
In the Windows API, WaitForMultipleObjects can wait on Thread Handles.  Can the .NET 2.0 WaitHandle.WaitOne (or WaitHandle.WaitAll) methods use an array of Thread variables? For example: dim ThreadWait(10) as Thread ThreadWait(0) = new Thread(addressof MyThreadProc) ...
Score V2 Framework GZip problem
Brad Roberts - 20 Apr 2006 5:03 PM - 3 messages
I noticed that when  I ceated an archive with the VS sample code for using GZip that WinZip was not able to read it. Is there code available (free) that will create one that is usable with WinZip? ...
Score Tracing with web.config
Mitkip - 20 Apr 2006 3:41 PM - 5 messages
Hello, I just want to know if it's possible to trace an application into a dedicated EventLog by just adding a new tag in web.config. I don't to have to create it by coding something like : ev as new ...
Score Real value of "Visible" property?
Michael Kremser - 20 Apr 2006 3:24 PM - 3 messages
Hi NG! If you put a control on a tab page and you set its "Visible" property to "True" and you select another tab page, the "Visible" property returns "False", because the control is currently not visible to the user. But ...
Score Simple question - how to use AppDomainSetup.PrivateBin prop?
Sneil - 20 Apr 2006 2:42 PM - 3 messages
Situation: I have non-strong-name library _1Lib_.dll and want to load it in new domain. Startup app - just console app with code: using System; using System.Reflection; namespace _1Main_ {     class Program     {         static void Main(string[] args) ...
Score Problems compiling an ASP.NET application with ReportViewer rdlc f
otto - 20 Apr 2006 2:24 PM - 1 message
Hi, all: we have a problem when trying to put an ASP.NET application in a production environment. We are using Visual Studio 2005 and ReportViewer control. In order to compile the application, we pass the source code to a server and we ...
Score make a dll registrating in registry from a webserver
Lars Skogshus - 20 Apr 2006 2:03 PM - 1 message
I made a UserControl in VB.NET and uploaded it to the webserver, my problem is that the dll dont register in the registy at the client registry.  I think it do How should i do? here is my code from the website. ...
Score WindowsFormsParkingWindow
rpmcq - 20 Apr 2006 1:55 PM - 1 message
I need to determine if the write protect tab is on. I test this by creating a file on the removable disk inside a try/catch block. On some machines I get an error: WindowsFormsParkingWindow MyApp.exe - Write Protect Error ...
Score Is there a way to crate a "common" config file in .net 2.0 ?
orental5 - 20 Apr 2006 1:46 PM - 1 message
Is there a way to crate a "common" config file in .net 2.0 ? i want to create a single class library with one config file  and all the rest of mine projects reads from it. in .net 2.0 we can create a app.config with the settings desginer olso ...
Score Requesting Assistance
sushant sarswat - 20 Apr 2006 10:31 AM - 1 message
Dear Mr. Dave Hello. I am a novice as far as voice chat application goes. Looking into your problem and the amount of time you have already spent tackling the issue, it would be highly appreciable if you can provide me with your ...
Score Book recommendation
Materialised - 20 Apr 2006 9:23 AM - 2 messages
Hi Everyone, I am looking for a book on C#.net (2005) which will give me a insight into programming using more advanced techniques such as multi-threading and sockets examples. Does anyone have any recommendations? Kind regards ...
Score Monitor.Pulse Methos
Søren M. Olesen - 20 Apr 2006 9:22 AM - 3 messages
Hi In the VS2005 documentation, the sample below exists. One thins that puzzle me however, is that both threads can be indside the SyncLock-block....HOW COME?? Isn't the whole purpose of synclock to prevent to different threads to access resources at then same time??? ...
Score Console output in C# windows service?
Zhenxin Li - 20 Apr 2006 9:12 AM - 1 message
Hello, Can I enable console output in C# windows service? How to configure? Thanks! Best regards, Zhenxin Li ...
Score FileSystemWatcher.Created checks for completed files?
mathiasfritsch - 20 Apr 2006 8:18 AM - 5 messages
Does  FileSystemWatcher.Created event fires when the file is created, or when writing the File is completed? In my App users upload files via FTP and I want to start handling the files when they are completely Uploaded. Mathias ...
Score Need version independent reference - possible?
Roland_Müller - 20 Apr 2006 7:09 AM - 1 message
Hello, i have a solution with 20 projects. One exe, rest dll. Well, there are 3 dlls that have the same "face": in there are stored images, constants and so on for customers. On a webserver there are 3 different source versions, one for each ...
Score Waiting for ThreadPool
Michael D. Ober - 20 Apr 2006 2:18 AM - 4 messages
If I use standard Threading.Thread threads, I can issue a Join on the thread variable and wait for it to complete.  How can I do this on the Background Worker Threads in a threadpool without looping.  Basically, I will be ...
Score TypeLoadException
Aberro-Bill - 19 Apr 2006 10:00 PM - 8 messages
Hi All, I have code that loads a strongly named assembly using "Assembly.LoadFrom()" and then finds all the types in the assembly using "GetTypes()".  The code has worked flawlessly in .NET 1.1 both on a development box and a clean box. ...
Score Custom character escape in a regular expression?
Bob - 19 Apr 2006 9:57 PM - 2 messages
I am trying to parse a fairly simple expression: arg1|arg2|arg3 The problem is that in arg2, sometimes I see the pipe character.  The difference is that the pipe character is prefixed by a backslash.  For example: ...
Score String Format
rwoo_98 - 19 Apr 2006 9:35 PM - 1 message
I have a drop down list box, and I want to limit the number of characters displayed in the Text Field.  I want to use the DataTextFormatString if at all possible.  In some programming languages the format can be used to limit the number of characters formatted.  Is ...
Score Not logging in application log
Priya - 19 Apr 2006 9:06 PM - 2 messages
Hi, I'm developing an asp.net application which logs the error in case of exceptions. In case of exception i'm getting the following error: Error loading an Event Sink of type 'Microsoft.EnterpriseInstrumentation.EventSinks.LogEventSink'. The Event Source of name 'Application' will not write events out to this Event Sink. ...
Score Missing ASP.Net tab in IIS
xaviero - 19 Apr 2006 8:41 PM - 3 messages
I am missing the ASP.Net tab in the properties section of a virtual directory in IIS 5.1. I have been doing some research and have not been able to find a solution that works for me. Most of the solutions that I have found deal with problems arising from ...
Score Deploy .Net 1.1 SP1
Scott - 19 Apr 2006 8:16 PM - 1 message
Does anyone know of a way to extract the MSI file and Deploy the SP1 for v1.1? The  following link provides guidelines to deploying the 1.1, but not the SP1. [link] ...
Score Dowloading through webrequest class
Praveen - 19 Apr 2006 7:40 PM - 5 messages
Hi all, I have written a class to download pages and files from the internet. The code is like below    if (WebResp.StatusCode != HttpStatusCode.OK)    { // throw error }     Stream Strm = WebResp.GetResponseStream();     int n = Strm.Read(b,0,b.Length); ...
Score How to use Reflection to use method as an argument
Tim Johnson - 19 Apr 2006 6:31 PM - 8 messages
I know how to use Reflection to instantiate a class from an assembly and then call it via InvokeMember.  But now I need to use that method as an argument to pass into an internal routine I have that saves the method reference as a ...
Score Convert string to enum
Tim Johnson - 19 Apr 2006 6:26 PM - 5 messages
I know I can do this: string value = myenum.enum1.ToString();  //= "myenum1" but how can I do the reverse?  Given a string "myenum1", how do I turn it into myenum.enum1?  I was hoping there's some more clever way than this: ...
Score Access to Structured Storage?
MikeL - 19 Apr 2006 5:31 PM - 1 message
Hello, Is there anything in .Net that I can use to get the "Subject" property of a file on disk? I looked into Structured Storage and Compound Files but everything I found discusses using MFC and COM. Thanks in advance, ...
Score HasMorePages = true doesn't let me jump to next page
Leo - 19 Apr 2006 4:31 PM - 1 message
I set HasMorePages to true, but it doesn't let me jump to next page. (Of course, if I remove the HasMorePages = false in my if statement, it will create hundreds of pages). Any suggestion? Thanks in advance. Leo My code to call the print event: ...
Score .Net 2.0 compatability with 1.1
Joshua Ellul - 19 Apr 2006 3:52 PM - 6 messages
Hi There, I want to write some code that will work both with .NET 2.0 as well as on ..NET 1.1 frameworks.  Should my code be written in 2.0 or 1.1? I tried writing an application with 1.1 however on a machine with 2.0 ...
Score VS 2005 thread safety issue regarding HashTable and other objects.
Randolph Neall - 19 Apr 2006 2:13 PM - 4 messages
In VS 2005 do multiple threads and multiple writers impair a hashtable to the extent that an actual exception would be thrown? Or, on the contrary, do you simply get a badly-written hashtable? We are trying to track down why a ...
Score On demand ASP table rows
bigbrorpi - 19 Apr 2006 1:43 PM - 2 messages
Hi - I have an ASP .NET 2.0 page that has an ASP table within a formview for data entry. I want the user to be able to click a button and have the table redrawn with a new row containing data entry controls i.e. ddl, ...
Score How to prevent "Input string was not in a correct format" in DataGridView
Pieter Coucke - 19 Apr 2006 9:29 AM - 4 messages
Hi, When a user types a non numeric-value in a numeric column in a DataGridView, and he tries to leave the cell, he gets this "Input string was not in a correct format."-exception. Is there a (nice) way to get rid of this exception? And just put a "0" in ...
Score deploy winCE 4.2 under VS2005
Bruno Alexandre - 19 Apr 2006 9:24 AM - 1 message
Hi guys, How can I deploy application to Windows CE 4.2 using Visual Studio 2005? How can I add "Windows CE 4.2 Device" or an Emulator under Device Target in deployment? Anyone know? ...
Score Socket: Send vs. BeginSend / EndSend performance problem
tamberg - 19 Apr 2006 9:01 AM - 3 messages
We experience a major performance difference between sync and async usage of the Socket class. Is there an explanation why the following program runs about 250 times slower when async is set to true? (scroll to end of post for usage hint) ...
Score Updating BindingSource.DataSource from non UI thread
peancor - 19 Apr 2006 8:56 AM - 3 messages
Hello, I have an UserControl with a BindingSource linked to a datagrid. if i create the control and show it in a form and then try to set the DataSource property from a non-UI thread i get a CrossThreadException as ...
Score FS: 11 Books for $50 CHEAP - Microsoft VB.NET, Windows Programming Books
MiniMe - 19 Apr 2006 5:49 AM - 1 message
I am selling these books in a lot.  I am not selling them individually. Total Number of books: 11 Total List Price Value: $476.98 Total Asking price: $50 Location: Houston, TX USA, but willing to ship via Media Mail. ...
Score Getting method parameters values at runtime
Tom Jastrzebski - 19 Apr 2006 5:16 AM - 4 messages
Hello, Is it possible to get access to method parameters values at runtime, without referencing them directly? I am working on a universal error logging for my application. I can easily obtain class and method names using the StackFrame object but it also would ...
Score System.Configuration.Configuration.Save not working
ilya - 19 Apr 2006 4:53 AM - 2 messages
Hi, I am writing a small library for my application and I am trying to add section to my App.Config file using System.Configuration.Configuration and then I call save but nothing happens. I was wondering about what I should do. ...
Score is there any limit to how long of a string SqlDataReader.GetString() can return?
Daniel - 19 Apr 2006 3:41 AM - 3 messages
is there any limit to how long of a string SqlDataReader.GetString() can return? ...
Score Out Of memory error ASP.NET with impersonate
boricua - 19 Apr 2006 1:06 AM - 4 messages
I have a TAPI application that passes through authenication and impersonates the user.  Application fails with OUT OF MEMORY error when app Initializes TAPI class object.  When I add the user group that holds the users to the local admin group on the web server it works ...
Score c# string size limit? length of string limit?
Daniel - 19 Apr 2006 12:38 AM - 2 messages
c# string size limit? length of string limit? ...
Score Signing and trusting assemblies
Stephen - 19 Apr 2006 12:19 AM - 1 message
Hi, I have a Dev box and suppose I create an app and create a strong name and then sign my app with the key in (AssemblyInfo.vb) Question: Now I want to deploy it on another box and I use .NET Configuration manager ...
Score How to filter a dataset using relationships like a sqlcommand
Alvaro E. Gonzalez - 19 Apr 2006 12:17 AM - 7 messages
Hi, I have a dataset with many ralated datatables, i need execute filter that gives back datarows to me that gives back to me if outside the following SQL command. SELECT  distinct   GE_SERVICE_TYPE.SERVICE_TYPE_ID, GE_SERVICE_TYPE.DESCRIPTION    FROM  PS_PACKAGE_TYPE, ...
Score Unattended update ClickOnce deployed application
farmer - 18 Apr 2006 11:33 PM - 1 message
Our application is deployed by ClickOnce works like some NT Services at the background, doesn't always has chance for users to confirm when new version updating prompts. Is there a good way for that? I knew entirely move the updating work into the application itself is a ...
Score Bug in SerialPort class of .NET Framework 2.0?
Russell.Klenk@gmail.com - 18 Apr 2006 11:27 PM - 3 messages
I've been using the SerialPort class new to the .NET Framework 2.0 to control a thermal printer, and have encountered some strange behavior, where the SerialPort class seems to miss or eat the first byte of data it receives from the device. The port is configured as follows: ...
Score Is this a bug in NET framework 2.0.50727?
czchen - 18 Apr 2006 11:13 PM - 1 message
I used 'allow paging' with numeric buttons = 20 in my datagrid. I found the numeric button section will have 'colspan=#" (#=columns count) automatically added at run time with .NET framework 1.1 but not ..NET framework 2.0. With .NET framework 2.0, the first <td> got VERY ...
Score ApplicationDeployment.CurrentDeployment.CheckForUpdate() has serious memory leak problem
farmer - 18 Apr 2006 11:10 PM - 1 message
I schedule CheckForUpdate() in a application which need to persist running. Every loop after CheckForUpdate() is called,the memory this application occupied will increase for about 150k,till 3days later,it throws this exception and absolutely stops:          "An unhandled exception of type 'System.OutOfMemoryException' ...
Score Assembly-Qualified Type Names
Mark Olbert - 18 Apr 2006 6:20 PM - 8 messages
When creating a Type from a string type name [e.g., via Type.GetType(<type name string>)], when is it necessary to qualify the type name with an assembly name? In other words, when is "Namespace.Path.To.Type.TypeName, HostingAssemblyName" required, rather than ...
Score When to Strong Name an Assembly?
Mark Olbert - 18 Apr 2006 6:17 PM - 8 messages
I'm looking for some "policy guidance" on when I should strong name assemblies. All of my NET libraries are intended to be private assemblies, not installed in the GAC. I've read in various places that even in that situation using strong names can be "useful" because doing so "ensures" the assembly is coming, unchanged, from the party that ...
Score Filetransfer via HTTP
Markus Hildebold - 18 Apr 2006 6:00 PM - 2 messages
Hello NG! i´m looking for a DotNet Component enabling our own Clint application (VB.NET) with filetransferpossibilities via http. Can anybody help us? do you know anyone?? We already use PowerTCP (.net Component), but it doesn´t support ...
Score Type-Safe / Thread-Safe
Scott M. - 18 Apr 2006 2:37 PM - 7 messages
Can someone explain the two terms "type-safe" and "thread-safe"?  I understand what a type and a thread are, but what does it mean for them to be "safe"? ...
Score Web service request does not reach IIS
rpmendes - 18 Apr 2006 1:51 PM - 1 message
I'm writing a Windows Forms application which gets data through a Web Service. I'm trying to use the IIS HTTP 1.1 native compression. In order to do that I've added the following methods to the proxy class ...
Score Mob-ocracy and the Fall of the Republic
The Right Perspective - 17 Apr 2006 10:17 PM - 1 message
Are we fools? Or are we slaves? As in the film Gladiator, are we as a nation going from free men to slaves? Would we restore the Republic? Are we even still living in a Republic? Or a mob-ocracy? And where is our representation in ...
Score Exception occurs when getting ProcessName
Patriot - 17 Apr 2006 8:38 PM - 2 messages
I am having this error quite often, but not every time. I have looked around some of these forums and don't seem to find any post with the similar problem. Could someone point out what could be the problem? ...
Score Intel or AMD for 64-bit?
twotoed - 17 Apr 2006 8:31 PM - 3 messages
Hi everyone, I want to do some 64-bit programming with .NET so I am looking to buy a 64-bit machine. My question is, as far as .NET is concerned, is there any difference between developing on an Intel-based machine or an AMD-based machine? Is there any ...
Score Using InvokeMethod to circumvent compile-time type checking
Jeff Stewart - 17 Apr 2006 7:54 PM - 3 messages
I've got several classes that are all concrete implementations of an abstract class.  I have a separate comparer class full of AreEqual() methods, each with a signature that accepts a pair of concrete classes:   AreEqual(ConcreteA x, ConcreteA y) ...
Score Validating user credentials against active directory
Raghu - 17 Apr 2006 6:33 PM - 2 messages
I have following code that validates a given user credentails against a active directory. The login part works but I can not search fails to return the record. Does any one have any idea what is wrong?         public void Login(string user, string pwd, string domain) ...
Score Dynammically adding project references into the webproject.
Anubhav Jain - 17 Apr 2006 2:40 PM - 1 message
Hi, I am creating a visual studio template in VS.Net 2005. It contains webproject or website as one of the project. I am successfully abele to add the references into the other project. using this following lines of code. ...
Score DataReader's GetSchemaTable Method not fully working
Jaffa - 17 Apr 2006 1:44 PM - 3 messages
Hi, So I have this: SqlDataReader rdr = ExecuteDataReader(connection, Command.Text, "Select * from myTableName"); DataTable table = rdr.GetSchemaTable(); This is working great and telling me all the defined columns within the myTableName, except if the column is an identity and autoincremented it is ...
Score DataGrid, with editable fields in form
Joe Spears - 17 Apr 2006 1:18 PM - 2 messages
Hi I want to display a datagrid summary of a datatable. The grid will not show all the fields, but when the user selects a row, I want the other controls (text boxes) to also bind to the same row that is ...
Score FW 1.1 problem
Ron Allen - 17 Apr 2006 12:33 PM - 7 messages
Hello,     I have a friend who called me Saturday with a framework problem.  It seems that after a Windows Update session that installed FW2.0 he was looking at his system and thought that he didn't need FW1.1 anymore and did ...
Score Propagate Permissions in ACL in C#
tirathankarg - 17 Apr 2006 5:05 AM - 2 messages
hi, If you click on a folder and go Advanced Options in Security tab, there are two options there: 1. Inherit from parent permission entries... 2. Replace permission entries on all child objects... I want to set the second option of "Replace permission entries..." on ...
Score Simple method of binding PictureBox Image to Datatable
Joe Spears - 16 Apr 2006 7:58 PM - 2 messages
Hi Is there a simple way to bind a PictureBox image to a datatable?? I've tried pictureBox.DataBindings.Add("BackgroundImage", dt1, "Picture"); But it doesn't seem to work. Do I have to go to the trouble of creating memorystreams?? I thought there ...
Score Easiest way to get Strong Name?
William Sullivan - 16 Apr 2006 4:53 PM - 6 messages
Okay, somebody hands me a signed .NET assembly.  What's the easiest way to get its strong name WITHOUT writing a program to do it?  I'm wondering if there is a tool that will print out the strong name or something similar.  I ...
Score for sale: internetDotComs.com
internetDotComs.com - 16 Apr 2006 1:31 PM - 1 message
domain for sale:  internetdotcoms.com   [link] ...
Score how to set listview's backgound image?
±è¿ë°Ç - 16 Apr 2006 7:27 AM - 1 message
i tried to set listview's background image (using managed C++) first try, i maked bitmap and set back ground image like below code but, it had no effect LiveView * listViewJobTable .... HBITMAP hBitmap = LoadBitmap(g_hInstance,MAKEINTRESOURCE(IDB_BITMAPJOBLIST)); listViewJobTable->BackgroundImage = Image::FromHbitmap(hBitmap); ...
Score how to set listview's backgound image?
±è¿ë°Ç - 16 Apr 2006 7:24 AM - 1 message
i tried to set listview's background image (using managed C++) first try, i maked bitmap and set back ground image like below code but, it had no effect LiveView * listViewJobTable .... HBITMAP hBitmap = LoadBitmap(g_hInstance,MAKEINTRESOURCE(IDB_BITMAPJOBLIST)); listViewJobTable->BackgroundImage = Image::FromHbitmap(hBitmap); ...
Score .NET Frame work 1.1 install problem
Tim Johnson - 16 Apr 2006 12:14 AM - 10 messages
Hello, I have a new Dell E-310 with XP-home media edition. One of the first things I did when I put it on-line was get the latest Windows critical updates. One of those was for .NET 1.1. This failed to install. After ...
Next »