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

Software Development Network >> Bhanu Prakash Nunna - MSFT's Q&A profile

Bhanu Prakash Nunna - MSFT

Member List

Joe W
Henry Chen
Tarun Makhija
CRYOS
Jayanth
chinaboy
Mark Wistrom
Darren1234
SQL DBA
sammye
pmcdermott
Serpen
Hexar Anderson
e-u-l-o-g-y
applepie
SrijitCN
Tadek
dfrandin
eric_l
Amirc
Only Title

Bhanu Prakash Nunna - MSFT's Q&A profile

  • Visual J# Problems with 'Alter Login'

    I have a Win32 program to restore a SQL Server backup, and properly map the SQL Server login IDs in the restored database, with the Logins on the Server. I even create the Logins on the server if they don't exist. All this worked great on 7.0 and 2000. In 2005 I'm using the 'Alter Login' command, as I need to specify 'CHECK_POLICY = OFF'. If I restore a backup from my Win32 program, the restore works. The I execute the following command to set the password: ALTER LOGIN MyUserID WITH PASSWORD = 'NewP@ss' , CHECK_POLICY = OFF I see the command executed on the server via Profiler. But I'm unable to log onto the database with that UserI ...Show All

  • Visual C# Window's form - control what happens when user closes it

    I have a windows form. If the user goes to FILE>>CLOSE to close the form, code is executed to save some information. But, how can I get the same code to be executed if the user clicks the X at the top right of the form to close it Thanks! ~Lauren i think you can use the form closed event FormClosed += new FormClosedEventHandler(MyForm_FormClosed); ...Show All

  • Visual J# Can any one give me code or help me set up Microsoft Visual J# to Run Faster

    My program is loading a file and I nead it to go into many combo boxes. the problem i am having is that the program runs to slow. far to slow for what it is supposted to do. I was wondering if any one knows any code to make it run faster. or can help me configure the editor to compile faster. Could you please paste the code for which you feel it consumes time That will help us to provide a better solution. Neela ...Show All

  • Visual Basic Value list for a combo box

    I want to make a simple value list hard-coded as the selection for a combo box in VB.NET 2.0. Where do I enter the values Im not sure what 2.0 is but the same is true for .net and the combo box. Select ComboControl in designer, Press F4 to display properties windows, locate the Items property which will display as Collection ... click this and then you can just type the values in. In 2005/Express this can be reached even quicker by selecting the control, you'll notice a little sort of arrow character which can be clicked and a menu appears - select edit items and your at the same point where you ...Show All

  • Visual Studio Express Editions missing features?

    Hi everyone. Can anyone tell me if features such as the bookmark window, refactoring fields into properties (among other refactoring options), and other similar types of functionality are not availabe in the Express Editions I can't find these options in C# EE, even though I'm looking exactly where they should be. Thanks, John Yes, I've seen that comparison, but it doesn't mention anything about refactoring (unless it's under a different name), nor does it refer to something as specific as the bookmark window. I understand that the Express Editions are slimmed down, but the features I'm asking for aren't ...Show All

  • Visual C# how to share a function call with thread?

    Which is the best way to check if a function is running or not. I have a function of type void. it's called between 2 threads. i wanna make sure that the other thread is finished with it before my main thread use that same function. Hi, You are refering to thread sync. You should check the AutoResetEvent and the ManualResetEvent. You can use them to sync the threads. Check out this link: http://www.csharphelp.com/archives2/archive409.html ...Show All

  • Visual C# Threads and events

    If i have two classes like this:     public partial class Form1 : Form     {         public Form1()         {             InitializeComponent();             MyTimer timer = new MyTimer();             timer.tick += new MyTimer.TimerTick(writetext);             timer.start();         } ...Show All

  • Visual C# What is the best way to send and receive xml data via POST to server

    Hi all, I need to send POST of some xml data and the server will respond afer checking some parameters for validation. Currently i'm using XmlReader class inside System.Xml reference. From what i know, this XmlReader is actually iterating thru all the nodes in the XML file and stop at my specified nodes to retrieve string/text data. Is this efficient in terms of performance or is there any other means that do not require the cursor to go thru all the nodes Maybe can jump straight to the intended node/nodes and retrieve content. Help from u guys out there much appreciated. Thanks. Regards. ...Show All

  • Visual Basic openfiledialog default view

    is it possible to change the default view of the openfiledialog box i want to see "details" view, not "list" thanks found the answer in another forum: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_vstechart/html/vbpowerpack.asp ...Show All

  • Windows Forms How would I create a control that looks like this?

    Hi. Here is an example of something I want to create graphically: Now I think I can handle the content (i.e. get a datagrid and populate it :P) but want im after is information on how I would create the item. It needs to have the little button in the right to collapse and expand the 'mini-form', it needs to have the heading (table name) and it needs to be drag-able. Another criteria is this has to be able to go into a form... specifically PART of a form (so im not sure if i can inherit from the windows form class as i only know of normal forms and mdi forms, not something inbetween!). So how do I go about doing soemthing like this Ive cr ...Show All

  • Software Development for Windows Vista Correlation with nested custom activities

    (beta 2.2) I want to make a custom activity (1) that contains another custom activity (2). The innermost custom activity contains a CallExternalMethod activity that builds a message (in the MethodInvoking event), and sends this to an external application. On the ExternalDataExchange interface a "CorrelationParameter" is defined. My outermost custom activity (1) contains as its first step my custom activity (2), because the building and sending of the messages is something I'd like to share in multiple other custom activities. The second activity is a HandleExternalEvent activity that receives the response to the CallExternalMeth ...Show All

  • Visual C# XML/XSLT -I think I'm going to put a hammer throught the screen!

    Hi Everyone,    for the sake of my monitor can someone please help me with an xml/xsl problem that I'm having. I have the following xml file (really simple stuff): <root rname="Directory"> <company name="XYZ Inc.">  <addressLines addressdata="One Abc Way">   <address2 val="his avenue"></address2>   <city cname="Tech city"></city>   <country cname="Neverland"></country>  </addressLines> </company> <company name="ABC Inc.">  <addressLines addressdata="One Abc Way">   <address2 val="his avenue">Add ...Show All

  • Windows Forms Virtual ListView (.NET 2.0)

    Greetings, I'm having performance problems with ListView control from .NET Framework 2.0 working in virtual mode. I wrote simple test program (see bellow), and  I see that framework many times repeatedly calls OnRetrieveVirtualItem method for each item (In my case sometimes it can call OnRetrieveVirtualItem ten times for each item). Is this normal Why even so simple program run too slow How can I speedup everything   My code: using System; using System.Collections.Generic; using System.Windows.Forms; public class MyClass { public class MyListView : ListView { const int ItemCount = 1 ...Show All

  • .NET Development Advantages and disadvantages of using AsyncCall over Threading

    Hi buddies, Can any one please help me to understand the advantages and disadvantages of using AsyncCall over Threading I am totally confused on these two. Thanks for your time to read my question and sending me the answer. Regards, Vinu.P.K You might want to check "Improving .NET Application Performance and Scalability" - Chapter 5 — Improving Managed Code Performance - Threading Explained... ...Show All

  • Windows Forms EditorAttribute with C++

    Hi, I'm using Visual C++ Express, and I'm currently trying to use the propertygrid. I created a managed class with all the properties I need to display in the propertyGrid, and that worked fine. But now, I'd like to display a file browser icon on a String property, like on this tutorial : http://www.dotnet-tech.com/tutoriels/propertygrid1/PropertyGrid.pdf (page 7) So, I looked the documentation to see how to use the EditorAttribute, and, this is what is written in the doc : [EditorAttribute(System::ComponentModel::Design::CollectionEditor::typeid, System::Drawing::Design: ...Show All

©2008 Software Development Network