Software Development Network Logo
  • Smart Device
  • Windows Vista
  • Microsoft ISV
  • Windows Forms
  • VS Team System
  • Visual Basic
  • SQL Server
  • Game Technologies
  • VS Express Editions
  • Visual Studio
  • .NET Development
  • Visual C++
  • Visual FoxPro
  • Windows Live
  • Visual J#

Software Development Network >> Neelesh Thakur's Q&A profile

Neelesh Thakur

Member List

noirs
John A Grandy
Kevin Cochran
The_Jackal
Richard III
Chris_1246
Ronan_g
Bruce Englar
Thomas Jespersen
Klaus.Lucas
TNROROC
bhatt
IAmaNewDba
P. van der Velde
Débil
Jordan-Hoff
mukri743
breedlings
GT_MSDN
SerenityNever
Only Title

Neelesh Thakur's Q&A profile

  • Windows Forms Disabling all the Panel elements...

    Hello, I want to do someting which disables all the controls in the panel control.I mean something like: if (m_RadioButton.Checked) { foreach ( Control c in m_Panel) c.Enabled = false ; } But I get the following error: "foreach statement cannot operate on variables of type 'System.Windows.Forms.Panel' because 'System.Windows.Forms.Panel' does not contain a public definition for 'GetEnumerator'." How can I do this Hi, you have to iterate through the controls of a panel not through the panel instance itself: foreach(Control c in m_Panel.Controls) c.Enabled = false; ...Show All

  • Visual C# bytes in a byte[]

    Hi maybe this will sound idiot.. but.. The number of byte recived( from client ina byte[] buffer) is the buffer.Length buffer.Length will return the number of elements in te byte array ...Show All

  • .NET Development Unable to load .NET shell context menu extension; CLR version issue

    I have a series of Windows Shell extensions (column, context and namespace extensions) built with .NET 2.0. Everything works as expected until some other application, built with .NET 1.1, calls (via the class library) through to GetOpenFileName() or GetSaveFileName(). The Open or Save As common dialog uses Windows Shell functionality, and if one right clicks to bring up a context menu, our context menu extension is invoked. There is one *small* problem ... it was built with .NET 2.0. Needless to say, it doesn't work (the item does not appear on the menu). My understanding is that you cannot load two versions of the .NET CLR into the sa ...Show All

  • Windows Forms Acrobat Nightmares! Need help printing

    Hi all,   I'm completely stuck and need some help.  In fact I'm so stuck i dreamed about it all last night!!  What is the EASIEST way to get Acrobat 7.0 to batch print a certain folder AUTOMATICALLY when I run a program.  Now I know there is Advanced->Batch Processing and then run the print process, but I can't figure out how&nbs ...Show All

  • .NET Development WebService with Threads ... what's the correct way?

    Hi! I need develop a webservice for too many concurrent users so i need programing with threads. I'm looking for a simple (or not simple) example, now i have one but don't work very good :P A greeting This question belongs in the Web Services forum. Anyway, why do you worry about infrastructure Providing a scalable execution environment is being taken care of by ASP.NET and IIS. ...Show All

  • Visual Studio Team System Numerous errors in the Application Event Log when TFS host is rebooted

    I'm not sure that there's anything "wrong" here, but it seems worth asking about - I noticed in the event log for my TFS host that quite a number of errors and warnings were logged within the first 15-20 seconds of operation following a reboot. Subsequent to that, everything's working just fine. Off hand, it looks like most of the issues stem from Tfs services spinning up and attempting to (directly or indirectly) use SQL Server before it's ready to accept connections, but that's really just a guess, not the result of any detailed analysis. Of course, in the long run, I'd like to see a reboot that doesn't log bogus exceptions ...Show All

  • Visual Studio 2008 (Pre-release) Error deserialzing a Typed Dataset with a System.Object column

    I have a WCF service that returns an instance of a custom typed dataset. The dataset's table has three columns: Category : System.String Key : System.String Value : System.Object (I'm simplifying things a bit, of course, and yes - I did have to manually tweak it in order to create a column of type System.Object in VS.NET) The service returns the dataset based on a query passed to it. The reason I use a DataSet rather than a Dictionary or something similar is that DataSets give me a lot of functionality I would otherwise have to implement - searching, serialization and so on. Now, when I return this dataset, I get an exception on ...Show All

  • Windows Forms font color changing

    Now I need to change the color of a font using a line of code, I've tried several combinations but have had no success. Thanks again button1.ForeColor = Color .Red; any control has this property ...Show All

  • Smart Device Development DataGrid issues

    Hi, I've installed the CF2.0 SP1 patch so that my DataGrid could be align to the right (I'm writing a RTL program.. hebrew) But I didn't understand how to get the headers to be align to the right aswell, another question regarding the binding of the SQL MOBILE and the DataSet, I have a table, and i want the user to see only 3 columns in the datagrid, but the problem is that one of the columns vary in the DB, I need to display in the datagrid somesort of the "final" column, which i need to manipulate data into (For example: I have a weight and quantity fields, and the user can choose which one to enter, the o ...Show All

  • Visual C# Well Done !!!

    Well Done Microsoft!!! I think The graphics class is the most iritaiting class of all, when u need an object of it you have to do 30 other things to get an graphics object, no offence but if u wanted to make the hardest thing to draw something u really done it, and i`m not talking about Paint Event Why didn`t let the constructor of the graphics class public (maybe u did have your reasons, mabe it was the only way, but heck man u are the MICRSOFT) Anyway, Thanks for the best Language of all ahmedilyas you are really funy MS PAINT :))))) ...Show All

  • Visual Studio Express Editions How do I get different colors of text in a RichTextBox?

    How do I get the following to display "Light Blue" in light blue letters and "Black" in black type RichTextBox1.Text ="Light Blue " & "Black" Module ColorText Public Sub ColoredText( ByVal ParamArray saElements() As Object ) Dim A As Integer For A = LBound(saElements) To UBound(saElements) Step 2 With Form1.RichTextBox1 .SelectionStart = Len(.Text) .SelectionLength = 0 .SelectionColor = saElements(A) .SelectedText = saElements(A + 1) & Left$(vbNewLine, -2 * CLng ((A + 1) = UBound(saEl ...Show All

  • Visual Studio Express Editions Visual Studio Common IDE Package Failed to load

    Hello, I just installed the new Visual Web Developer 2005 Express Edition Beta 2 and I get this error everytime I open up the application: The Visual Studio Common IDE Package ({6E87CFAD-6C05-4ADF-9CD7-3B7943875B7C}) did not load because of previous errors. For assistance, contact the package vendor. To attempt to load this package again, type 'VWDExpress /resetskippkgs' at the command prompt. I did try to do as it had stated to, but no dice. HELP! The first Beta version worked great. I uninstalled everything as requested before installing the Beta 2 Version. Can someone let me know how to fix this. Also, where I can get training in ...Show All

  • Windows Forms databind and addnewrow

    i've a datagrid with datasource set to a datatable; then i've some textboxes databinded to datagrid.datasource (so them show selected row values!) now i need to allow adding new rows in the datagrid, but when i click on it i get an error... how can i do it  thanks a lot Well, without really knowing what events you are using, how you are&n ...Show All

  • Windows Forms Usercontrol DataBinding possible ?

    Hi all, I have a user control that has many combobox. I'd like to be able to bind those combobox. Is it possible to do it if i have many like .. 6 combobox. The datasource will be a dataset and each combobox will point to a table in the dataset. thanks you ...Show All

  • Visual Studio Team System Administration

    Hi just managed to install the Foundation Server & client Beta 2. Was looking for information regarding administering it, like creating users, user groups, assigning them to projects etc. Can you point me in the right direction. Thks For Beta 2, a very early version of the Administrator's Guide is available on the installation media: \at\Program Files\Microsoft Visual Studio 2005 Enterprise Server\1033\dv_vsetAdmin.chm A more current version will appear in the July CTP as TFSAdmin.chm. ...Show All

©2008 Software Development Network