Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008


all groups > dotnet general > november 2005

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

are objects assosiated with the thread they are created on?
Posted by MariusI at 11/30/2005 11:56:03 PM
Are objects implicitly stored in the TLS of the currently running thread? When creating multithreaded applications i get errors when accessing data from a different thread than the thread used to create the objects (which is easely fixed by calling Invoke()). Also, is there a way to acces the ...more >>

c# prg will run in any m/c
Posted by murali NO[at]SPAM Pune at 11/30/2005 11:22:11 PM
hi, my c# program will run in any m/c without .net framework. ???? Murali ...more >>

User Control
Posted by Gary at 11/30/2005 11:16:02 PM
I have a label in a user control and I want to be able to modify the text from the code behind the page using the user control. How can I do this? I've tried buy using the following code but I receive a message saying the property is "inaccessable due to it's protection level a.b.text = "xx...more >>

Restricting access of class variable to another single class?
Posted by Danny Tuppeny at 11/30/2005 9:43:02 PM
Hi all, The next few paragraphs put my question in context, but feel free to skip down to the end if you don't care *why* I need the answer! :) **************************************** *** Start of long-winded description *** **************************************** I've got some classe...more >>

Treeview + Controle
Posted by t at 11/30/2005 4:29:47 PM
Bonjour, Je voudrais inclure des controles (ex : textbox , checkbox) dans un noeud du treeview . Comment puis je faire en c# ? Merci d'avance tof ...more >>

C# control in MFC Window/Frame
Posted by Bill at 11/30/2005 4:21:01 PM
I have an existing MFC based application that I prefer not to change much. For some new functionalities in this application, I'd like to write in C#. Potentially there are substantial two-way data exchanges between the existing MFC components and the new C# ones. In addition, I'd like the C# F...more >>

NET2.0, VS2005 beta, ListView Drag&Drop
Posted by Bjoern Dietz at 11/30/2005 4:17:26 PM
Hi All, perhaps it is way to early in the morning to do proper coding, but somehow I don't get it. I try to drop a file into a Listview (.view=details), but somehow my tool doesn't let me drop it there, even with option ListView.AllowDrop set to True. I'm doing this the first time in .NE...more >>

Global.asax
Posted by Gomathi at 11/30/2005 3:24:33 PM
hi all, I want to send mail during my application crashes. I wrote my method in application_end event in global.asax. Its working fine when i'm running through visualstudio.net. When i tried by stopping my IIS server, it doesnt work. Where i have to write my method to get fire when my applica...more >>



Regions and GDI+
Posted by Mirano at 11/30/2005 2:43:03 PM
Hi everybody. What is a general way to code the application that has some regions and needs to do the hit testing. Say, for example, I have a bitmap that shows the United States, now I want to be able to display a message showing the name of the selected State. Or, I increase or decrease th...more >>

Application blocks and .NET 2.0
Posted by MattBell at 11/30/2005 2:16:02 PM
I heard recently that the microsoft application blocks possibly aren't compatible with .NET 2.0 can anyone either verify or rebuke this claim for me? I'd appreciate it Thanks, Matt Bell ...more >>

Create a Mailto: link from a SQL Database with asp.net 2.0
Posted by Paolo at 11/30/2005 1:50:09 PM
While it is not a problem to create a mailto link in HTML, <a href= "mailto: <%# Databinder.Eval(Container.DataItem,"StoreEmail") %>" ><%#DataBinder.Eval(Container.DataItem, "StoreEmail")%></a> I would like to do so using an ASP.Net 2. 0 hyperlink, or some other control (in Visual Web ...more >>

Serious Threading.Monitor issues in .NET 2.0
Posted by Michael Kennedy at 11/30/2005 1:32:06 PM
Hi, I have been looking into the claim that the keyword lock is not safe when exceptions are possible. That lead me to try the following code, which I think has uncovered a serious error in the .NET 2.0 framework. Note that this runs better, but not perfectly, on .NET 1.1. Note: The numbers...more >>

textarea web form
Posted by Leon Chuck Gosslin at 11/30/2005 12:24:32 PM
Is there an asp web form object for a text area? Thanks, Leon --- Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/...more >>

Byte() to String and String to Byte(). How?
Posted by ThunderMusic at 11/30/2005 12:00:30 PM
Hi, I have to go from Byte() to String, do some processing then reconvert the String to byte() but using ascii format, not unicode. I currently use a stream to write the char() (BinaryWriter.Write) from the string (String.ToCharArray), then use Stream.ToArray to convert everything to byte(...more >>

how to create a soap proxy
Posted by Craig at 11/30/2005 10:40:48 AM
Hello, I need to create a soap proxy from this schema.. http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-2 I can't create the proxy with the schema only. So, I need just to create the classes like classes generated using xsd.exe, but I want to generate classes wit...more >>

Top Developer Conferences 2006
Posted by JoSkillz at 11/30/2005 10:02:45 AM
I am trying to get my training budget organized for 2006 and I was wondering if anyone could provide feed back on what they feel are the top developer conferences for 2006? ...more >>

is NOT CLS-Compliant warning in VS2005?
Posted by Rob R. Ainscough at 11/30/2005 9:14:51 AM
When I use the DataSet wizard to create an .xsd I get a "...is not CLS-compliant" warning -- now this is code generated by VS 2005 (aka Microsoft) -- why would it generate none compliant code?? Do I care about CLS compliant code? Rob. ...more >>

Does SmtpFailedRecipientsException ever occur?
Posted by GoogleNewsReaderMan at 11/30/2005 9:11:22 AM
I can't seem to ever get this exception when sending to a bogus address. Can anyone else? Does the SMTP server need to implement a particular protocol version for this to work? I thought mail was sent to an SMTP server and it could be queued there for a while, and so information like this woul...more >>

GC, Finalization, and thread-specific APIs
Posted by Brian Gideon at 11/30/2005 8:07:44 AM
How have you handled the finalization of thread-specific unmanaged resources? My question pertains specifically to using the DDEML which is a thread-specific API. In other words, every call to the API using the same handle must be made on the same thread as the one that obtained the handle. ...more >>

General design with mulitple forms
Posted by code3_brent at 11/30/2005 7:02:16 AM
Moving from VB6 to VB.NET or C# and had a general design question... I currently have a VB6 app that functions like a wizard. Form1 is displayed with configuration settings. The user enters the data and presses the Next button to navigate to Form2. On Form2, the user can move to Form3 and als...more >>

Date calculations.
Posted by Miguel Arenas at 11/30/2005 6:31:09 AM
In VB6.0 I Did This operation with dates. Dim d as String D=Date D=D-1 or D=D+1 In Vb.2003 Dim d As String d = Microsoft.VisualBasic.Today.Date-1 and I received a error. Who this work in Vb.2003? Thanks. ...more >>

Inteface (and life) sucks
Posted by Marius Horak at 11/30/2005 3:12:21 AM
I've never used Interface and never will. But now I have to make major modifications to a large system where almost all classes are based on some kind of Interface. Hundreds of classes. When I want do add a new property or method I have to modify the interface and next I have to modify dozens o...more >>

EventHandling problem : Java has solution but what about Microsoft???
Posted by Mahesh Devjibhai Dhola [MVP] at 11/29/2005 9:44:44 PM
Hi, I have added few of the events in some control, example code is: btnControl.GotFocus +=3Dnew EventHandler(EventHandlingMethod); btnControl.Click +=3Dnew EventHandler(EventHandlingMethod); lblControl.Click +=3Dnew EventHandler(EventHandlingMethod); private void EventHandlingMethod(object s...more >>

Dataset.BeginInit
Posted by Ravi at 11/29/2005 9:12:02 PM
Hi All, i would like to know what is the use of DataSet.BeginInit function. Thanks in Advance. Thanks -- ravib...more >>

Array of TextBoxes
Posted by Bruce F at 11/29/2005 7:42:56 PM
VBasic.net 2003 I have an array of 12 TextBoxes: Dim tbArray(4,3) As TextBox What I need is an Event Handler that will tell me in which TextBox a key was pressed. Can anyone enlighten me with a little code to do this. Thanks...more >>

beginner help working with text files
Posted by Gaz at 11/29/2005 5:12:55 PM
Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit > Hi all > > I am trying to write a program that opens a text file and manipulates the data. > > I have managed to open the text file into a textbox1 as a string > i now wish to add code to a b...more >>

Monitor and TV Support
Posted by John Young at 11/29/2005 4:56:36 PM
Hi, I'm not sure if I am posting in the correct group, but have been trying to find a way to change the output settings of my gfx card (Nvidia FX5200) on the fly using c# and framework 1.1 or 2.0. I have noticed that the Nvidia Control Panel has options to clone or span the desktop to 2 ...more >>

How would you do this?
Posted by Doug Bass at 11/29/2005 3:44:04 PM
I am soliciting feedback on the best way to accomplish the following in ..NET... just a general idea of how you would meet the following business requirements: 1. Results screen has checkboxes next to each transaction in a grid 2. User can click one or more checkboxes and then click a "view ...more >>

Multiple Inheritance scenario
Posted by DKode at 11/29/2005 2:04:35 PM
i'm a little confused as how to accomplish this I have multiple actors in a timesheet system I am developing. Some of the actors are: Administrator, Manager, Reviewer, DefaultUser, etc... Now, all users inherit from DefaultUser, but I also want an Administrator to inherit from a Reviewer. How ...more >>

Checking if web page exists
Posted by M Keeton at 11/29/2005 12:18:08 PM
I'm building a web site and I need to link to an external page which at any one time may or may not exist (server is not always on). What I need to do is check before redirecting to this page whether it exists and if not go to a different page internally which can explain that the external pag...more >>

Com/Com+ confusion (all comments welcome)
Posted by poppy at 11/29/2005 11:05:05 AM
I am in a bit of a quandry at the moment. I have to develop 2 applications, 1 a windows app and the other thin client. Each application will share the same business classes and the same database. Normally I would start a new solution, add my business class project then add my asp.net web proj...more >>

Serializable attribute necessary when serializing
Posted by Gabriel Lozano-MorĂ¡n at 11/29/2005 10:57:11 AM
I always thought you could serialize instances of classes marked WITHOUT Serializable attribute for a shallow copy and for a deep copy you needed to mark the class. Has this been changed of was this never the case? Currently at work running .NET 1.1 without SP1. Gabriel Lozano-Morán ...more >>

vb compiler error in Visual Studio 2005
Posted by Mattias at 11/29/2005 8:57:07 AM
Hi I have The new Visual Studio 2005 Professional installed, I have created a vb project as windows application and receive a perculiar error when trying to open the Form designer. "Microsoft Visual Basic Compiler has encountered a prblem and needs to close, No information has been lost. C...more >>

How to include other controls
Posted by Gary at 11/29/2005 8:35:35 AM
I have a simple question. I have about 25 web pages, all with the same heading, error message, etc. What is the best option to include these controls in all of the pages? Basicly they're just labels. I started to figure out how to create a user control, but it seems like a lot of work for j...more >>

\s does not work for javascript ???
Posted by zhuang at 11/29/2005 7:44:31 AM
Hi, I try to use javascript for validation, re = new RegExp("^(([a-zA-Z]|\s)+)$"); but it does not work, problem comes from \s, but \s works well with RegularExpressionValidator control. Surprisly, if I just use a space instead of \s, it works. I searched some javascript tutorial on...more >>

Stuck in stream.read ... plz help.
Posted by mulham.haffar NO[at]SPAM gmail.com at 11/29/2005 6:31:22 AM
hi guys.. im writing an application that uses windows service to listen (as a tcplistener) for any data sent (by a tcpclient) ... one kind of the requests might be a file sent by client and the service should recieve it as number of packets. the problem is: in the windows service when it detec...more >>

Arrays
Posted by Bruce F at 11/29/2005 12:00:00 AM
Questions from a newbie... Can I have an array of ArrayLists? Can I have an array of TextBoxes? If so, how do I define them, and how to use? Many Thanks...more >>

I'm tring to use Microsoft.Office.Interop.Outlook
Posted by Miguel Arenas at 11/28/2005 5:31:01 PM
I want to develop a aplication with VB.2003 and Microsoft outlook 2003. I have this code. Imports OutLook = Microsoft.Office.Interop.Outlook Imports System.Reflection Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ...more >>

Estimated cost for converting PHP to ASP.NET
Posted by lwzmovie NO[at]SPAM hotmail.com at 11/28/2005 3:54:41 PM
Hi - if I have created a PHP web application in 5 months (850 workign hours) and now I want to convert it to ASP.NET, then how many hours do I need to invest in to make this happen? Anybody has any experience on this? ...more >>

.net codes for printing & printer management
Posted by CM at 11/28/2005 2:22:03 PM
Hi, I'm thinking about writing .net codes (asp.net, vb.net) for printing management, such as keep tracking of who prints what on when...etc. The app will need to find all available network printers and then manage them. Also it will have the ability to deny printing job base on user. S...more >>

SendMessage works, PostMessage doesn't work.
Posted by Max M. Power at 11/28/2005 1:07:08 PM
When I use the SendMessage API I can sucessfully send and receive a user defined message. When I use the PostMessage API I can NOT sucessfully send and receive the same user defined message. I've got a C# class library project with two classes: Class 1 is derives from : System.Windows.Fo...more >>

ascx changes input id
Posted by Leon Chuck Gosslin at 11/28/2005 12:32:24 PM
When using an ascx page, I use a textbox input as follows <asp:TextBox id="txtDate" runat="server" Width="130px"></asp:TextBox I want to use javascript to access this textbox, but when it posts to a browser, it gives some wierd id to the textbox, like <input name="_ctl0:txtDate" type="text" id...more >>

multiple parent categories
Posted by Howard at 11/28/2005 12:03:01 PM
how would you design a table that allows an item to belong to multiple parent categories. single parent example: select * from table1 where parentid = 5 in this case parentid is an indexable unique integer possible multiple parent: select * from table1 where parentid = '5,6' a problem is...more >>

System.Drawing.Color in a public class?
Posted by Steve at 11/28/2005 11:42:53 AM
I'm a bit baffled. I'm fairly new to VB.NET so maybe I'm missing something. I'm creating a class that has some application-specific methods and properties and one thing I'd like to do is define some properties specific to form colors. So what I want to do is define my class like Imports Sy...more >>

Recursion or not?
Posted by Stedak at 11/28/2005 10:41:04 AM
In the below class which is the a preferred method for iterating through the link list? I am told that the first method uses recursion and is less effiecient than the second method which uses a whiile loop. Thanks! public class MyLink { private MyLink next; //get last link ...more >>

VS 2005 and VS 2003 on the same machine?
Posted by KriDotNet at 11/28/2005 9:20:35 AM
Can I have both VS 2005 and VS 2003 on the same machine (desktop or server)? Can someone point me to a MS article that discusses this? Thanks in advance for your help. KriDotNet ...more >>

Convert MS Word Document in HTML
Posted by Nikolay Petrov at 11/28/2005 6:56:07 AM
I want to convert MS Word Document in HTML file. I would like to do it, without having MS Word installed on server. Is this possible? ...more >>

Add Command button not present and SQL Expression syntax error
Posted by richardkreidl NO[at]SPAM northwesternmutual.com at 11/28/2005 5:33:49 AM
Two questions, first I'm using CR 10 and connecting to a Sybase database. I don't see a 'Add Command' button in the 'Database Expert' dialog. Second is how would I correctly code the syntax for the following SQL code in the SQL expression editor: SELECT JobNam, JobFailInstrTxt FROM Sched...more >>

DBNull.Value
Posted by bafidi at 11/28/2005 5:31:10 AM
i cant use DBNull.Value i have a date property Private m_son_degisiklik_tarihi As Date Public Property Son_Degisiklik_Tarihi() As Date Get Return m_son_degisiklik_tarihi End Get Set(ByVal Value As Date) m_son_degisiklik_tarihi = Value ...more >>

Is it possible to implement a realtime refresh program with B/S structure?
Posted by Bill at 11/28/2005 12:00:00 AM
Hi all, I have little experience of B/S application. I face a project that marketing want a pure B/S structure.But the refresh rate is 60 times/sec at the most,For example,a realtime curve. Do you think it is possible? Thank you! ...more >>


DevelopmentNow Blog