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

Software Development Network >> SAGautam's Q&A profile

SAGautam

Member List

Karan Chhabra
Raymond de Bourbon
Ben Ronco - MSFT
BALA SINGAM
Jamie Kurtz
Mike14598
Dave M.
CodeJingle
Nick Jovanelly
dmoses
Ratzu
PedroPQR
Deadlock42440
raj4work
A. Argueta
Adrian Cordoba
Barry Harkness
Jit
jlim
Bruno Jouhier
Only Title

SAGautam's Q&A profile

  • Visual Studio Team System How can i write custom rules in FxCop?

    Hi All, I like to know the step by step procedure to write the custom rules in fxCop. I got some articles regarding this subject from the net, but all are confusing. I'm using FxCop 1.32. I like to know the following things 1. How can I write a simple custom rule using Visual Studio.Net (in C#)    for the Introspection engine. 2. How can I debug it and make sure that it is error free. 3. After developing my custom rule, how can I add it to the FxCop Plz explain the procedure with a simple example. Thanks in advance, Jack There is no official documentation for the FxCop sdk. We are working on a plan to develop one. http:/ ...Show All

  • Windows Forms TextRenderer and TextRenderingHint

    Am I missing something or does the new TextRenderer.DrawText method not support the TextRenderingHint All of the text it draws is pixelated instead of being anti-aliased. I'm passing it a graphics object with the TextRenderingHint set to Anti-Alias but that doesn't seem to work. Also, the TextRenderer output doesn't look anything like a label control with the same text. What is the point of this new class again TextRenderer matches the Graphics.TextRendereingHint as close as it can but there isn't a direct mapping beteween the Graphis.TextRenderingHint (GDI+) and the GDI font quality. Anti-Alias shou ...Show All

  • Windows Forms control changed

    There are several controls on the windows form (i.e. textboxes, datetimepicker, etc...) on clicking a button such as Apply button, how can I find out if the user has changed the values in the controls Thanks   fmardani wrote: this event does not get called when the combobox is changed. do you know why private void statusComboBox_TextChanged( object sender, System.EventArgs e) { valueChanged = true ; } thanks The text changed event fires when you change the text in your combobox by typing on it. But as the last post suggested, if you set the style of your combo into DropdownList, the ...Show All

  • Windows Forms Exit Application and auto login with previous user

    Hi all, Please help me, I want to logout and then auto re-login user with previous username/password session. Here is the structure of My Application: MyMain project: - MainForm.cs - Reference to: MyUtils project MyUtils project: - Login.cs (form) - ManageMenu.cs (form) - SystemProperty.cs (class) MainForm.cs using MyUtils; private static bool IsLogin = true ; private static void Main() {    MainForm frmMain = new MainForm();    Login frmLogin = new Login();    frmLogin.ShowDialog();     if (!IsLogin)    {        if (frmLogi ...Show All

  • Visual C++ OK, Dilema...It couldn't get any bigger..and my brain hurts.

    Someone please help me out before I get an anurism from thinking.  Ok here it is.   I have an edit box. and the box only accepts numbers.  Now, I want it to take negative numbers too. how do i do that   Also, i want to get the input and place it into a float variable.  How do i do this   I am not using vc++, but the Win32api and the original c++.  Please explain ur help too.  This is the only way i understand what someone is saying.  thanks in advance. How are you filtering for numbers   What comes to my mind is to handle the WM_CHAR message.  If the keyboard code is a digit o ...Show All

  • Windows Forms ComboBox issue

    Hi all, I'm having serious trouble with an thing that is supposed work without troubles. I'm using VS 1.1 with XP pro for an Win32 app. Thing is: Have an form with an ComboBox, that is filled from an Business Object, to have the name displayed, but at same time have respective value as an integer: SomeList list = new SomeList.GetList; comboX.DataSource = list; comboX ...Show All

  • .NET Development access permission probelms. HELP ME!!!

    I have two computers, a desktop and a laptop, both running win xp home. Both are wirlessly enabled and connect wirelessly to the internet through a belkin router. The desktop will happily see the laptop and share files, and everything seems to work just fine. The laptop, however, refuses to see the desktop. I have shared all folders properly, both are part of the same workgroup, and I have run the network set up wizard, and tried to connect using RUN and the IP address. Whenever I try to connect the laptop to the desktop I get the same message; \\... is not accessible. You might not have permission to use this network resource. Cont ...Show All

  • .NET Development Enumerating ports in use?

    Hi, Is there a way to enumerate ports in use Thanks in advance, Rana It is often overlooked that a simple list of ports in use is not that useful. A given port can exist actively in multiple tuples <Protocol, local IP, localPort, remoteIP, remote port> Eventhough is hard to believe You can have two tcp connections from same local ip and local port to the same remote address as long as you connect to a different remote port. A better thing to consider is why would you want a list of ports in use ...Show All

  • Visual Studio Express Editions Newbie Trying to get specific data from an sse database

    I am trying to query a specific field from my sse database based on two different variables. And use this information to fill a textbox with an integer. The first variable is a combobox that is filled with data in one of the other tables in the sse database. This table has a PKcolumn that is an integer and the identity of the column. The only other column is a nvarchar(30) string (which is the actual data in the combobox) The second variable is a numeric up down that isn't actualy using info from the database but will be a reference. It has a max value written in to the code: if NumericUpDown1.Value > 20 Then MessageBox.Show ...Show All

  • Visual Basic starting interactive process from windows service

    Hello there, Don't give any suggestions or ask why i need to do this because i have spent too much time with it witout any success. I have a windows service running under system account, interacting with desktop. i need to launch a Gui application written in vb.net(or any Gui app) from my service(also written in vb.net). i am monitoring a program and need to restart when/if it dies. I can launch application and it does show up the gui, user can interact with it as well but only problem is that it runs under system account and i want to make it run under current logged in user(there is going to be only one user logged in to the system wher ...Show All

  • Visual Basic disable DataGridViewCheckBoxColumn

    Is there a way to disable a cell in a column of the datagridview control of type DataGridViewCheckBoxColumn Using the three state property and the indeterminated state I get a green rectangle. I want to have a disabled checkbox. Do I need to create my own images in the cell paint event Use the ReadOnly property. Me .DataGridView1.Rows(0).Cells(0).ReadOnly = True ...Show All

  • Windows Forms Terrarium communication problems

    Recently it seems that I had to restart my terrarium quite often because it somehow got stuck when communicating with other peers. When this happens, I see one of the lights (either receiving or sending) is forever yellow without being able to turn to either green or red. Should it time out after certain time during a failed communication attempt  But& ...Show All

  • .NET Development Dynamically change DataGrid Column Names

    How can I do it, dynamically change the Text of each column, and organize the columns as I want them to display. Thanks   PS: is it posible that there is a way that I can basically do the same as a datagrid, as with a ListBox, with the SelectedItemChange, or some, similar Event.   Thank You You can add a DataGrid TableStyle wich you can fiddle around with at run time, you can arrange, name and format the columns any way you like. ...Show All

  • .NET Development Bug using a Serialization Surrogate

    Using also a very simple implementation of Serialization Surrogate the deserialization fail, if there is a forward reference, with a SerializationException and a message:    "The object with ID 1 was referenced in a fixup but does not exist." this is a sample to see the bug: Can anyone tell me if I'm wrong or confirm the error. Also any workaround are welcome. ------------ using System; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters; using System.Runtime.Serialization.Formatters.Binary; using System.Reflection; namespace SerializationTest { sta ...Show All

  • Software Development for Windows Vista ICredentialProvider

    Did anybody make a successful user logon using the new ICredentialProvider interface My credentials are displayed, but I can't make them to logon. And what worse - after 20 or 30 seconds, the winlogon crashes completely with no recovery possible excepting hardware reset. I thought I basically did something wrong and decided to wait for more detailed documentation or some sample code. But MS doesn't seem to put too much effort on improving their SDK documentation and I also found that at least one other programmer has the same problem: http://msdn.microsoft.com/newsgroups/default.aspx query=vista&dg=microsoft. ...Show All

©2008 Software Development Network