Sunil Sarlaya's Q&A profile
Visual Studio Express Editions Numeric Automatic
I want to fill column in datagrid with id and want it fill automatic when the row focus so that i wrote this code and it'snot correct i want any one correct it Dim i As Integer For i = 0 To i Step +1 Coming_tblDataGridView.CurrentRow.Cells(1).Value = Now Coming_tblDataGridView.CurrentRow.Cells(2).Value = i Next Catch ex As Exception End Try Datagridviews are normally bound to ...Show All
Windows Forms Connect to SQL Server
Hi! I tried to connect to SQL Server database by the following code: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try Dim con As  ...Show All
Visual Studio Express Editions cannot install visual web developer
Hello, I am trying to install Visual Web Developer 2005 Express Edition. I get following Error message: Background Intelligent Transfer System (BITS) Error signature EventType : visualstudio8setup P1 : 5647 P2 : 8.0.50727.42_rtm_x86_ixp P3 : gen P4 : inst P5 : f P6 : dlmgr_bitsdisablederror P7 : -2146959355 P8 : -2146959355 P9 : cdownloadmanager__cdownloadman P10 : - Error report contents C:\DOCUME~1\User\LOCALS~1\Tem ...Show All
Visual Studio Team System Unable to browse to VSTFWeb - Error HTTP 403 - Forbbiden access
I have posted this question before, but now I will rephrase it, maybe it’ll get more attention. We have installed successfully Team Foundation Server on a Win2K3 Server box that’s part of a Win2K Active Domain. The account used to install TFS has local administration privileges (not that it matters) and is also an existing domain account. We have a Single Server installation (both Data Tier and Application Tier) being hosted on the same mach ...Show All
Visual Studio Team System Exception when using MSSCCI provider 1.0 in VS2003
i am getting an error when trying to connect to TFS server some kind of exception System.Net.ICredentials... any idea why Please post the full exception message. That should help us figure out what this is. Here are a few questions that will also help us. If there's anything else interesting about your environment, please post it. Are you connecting over the internet Are you using the workgroup edi ...Show All
Visual C++ Cpp AddIns 4 MS-Word
Hi all, I programed an addin (with C++ .NET) which works with ms-word. I wish to parse the text of an active ms-word document and to replase some of its words and chars. The questions are: How can I retrieve the documents text How can I write text into the document AND how can I replace text in the document. Moreover, can I get a text with specific format ; as example, all the text in the document which is in Bold or Italic format or al ...Show All
Visual Studio C++ / Add Class / Class Wizard replacement
Hi, I want to create a more flexible C++ Class wizard then the existing one. I want to access my wizard from the "Add/class" contextual menu item, the same way as the current wizard is accessed, or add my own "Jamea Class" under the "Add" contextual menu item. Three questions: What extensibility machanism I would want to use to create the wizard I know some VB and no C# ( I am a quick learner though ) Wou ...Show All
Visual Studio Team System Including Custom rules developed in VS 2005 into FXCop 1.35
Hi We have developoed some custom rules in VS 2005. When I try to add these rules (.dll) into the FXCop 1.35 stand alone tool it is unable to do so (Giving an assembly load exception). Is this because of some problem in the .dll ( it is running fine in the built in FXCop toll of VS 2005) or is there some other reason Thank You Bharat A Umarji FxCop 1.35 uses a different IntrospectionAnalysis ...Show All
.NET Development 64 bit PE File Format(Native and .Net)
Hi Where can i find/download microsoft documentation about 64 bit pe file format(both native and .net). Thanks... You can find the most up to date PE/COFF specification here: http://www.microsoft.com/whdc/system/platform/firmware/PECOFF.mspx -josh ...Show All
Windows Forms spurious cell ToolTip shows up when leaving DataGridView before ToolTip can show in cell
We display a ToolTip for a particular cell by doing the following within our DataGridView subclass: protected override void OnCellMouseEnter( DataGridViewCellEventArgs e) { DataGridViewCell cell = Rows[e.RowIndex].Cells[e.ColumnIndex]; cell.ToolTipText = GetCellToolTipText(e.RowIndex, this .Columns[e.ColumnIndex].Name); base .OnCellMouseEnter(e); } GetCellToolTipText() just returns our desired string based on row and col ...Show All
Windows Forms How can I find out if a form (in my case a child form of MDI parent) is maximized?
Hi, How can I find out if a form (in my case a child form of MDI parent) is maximized is there a way to know the MDIParent max size for its child forms Thanks, You can use the WindowState property to determine if the form is maximized: if (myForm.WindowState == FormWindowState.Maximized) { } > is there a way to know the MDIParent max size for its child forms I'm not sure what you me ...Show All
Visual Studio Team System Custom check-in policies through FxCop
Hi, We have customized FxCop rules and now we would like to enfore these custom checks when the files are being checked-in to version controler system of TFS. We would like to have a custom check-in policy buit using customized FxCop component (MyCustomRules.dll) The only way I know of doing this is putting the dll into the %Program Files%\Microsoft Visual Studio 8\Team Tools\Static Analysis Tools\FxCop\Rules directory on every develope ...Show All
.NET Development Insertion of node to XML doc
hi.. I already have a XML document ..in which , time to time with the occurance of some event i want to insert a node..Can anyone suggest how to do that. Thanks You have a lot of options using the XmlDocument class, here is one of the things you can do: // Open the XML file you want to edit. XmlDocument xd = new XmlDocument (); xd.Load( @"c:\My xml file.xml" ); // Se ...Show All
Visual C++ Dual threaded bitmap creation
Hi there, I have a simple example below showing how I create a bitmap from a data array: void Form1::ImageUpD(array<double,2>^ image) { ImageBmp = gcnew Bitmap(image->GetLength(0),image->GetLength(1),PixelFormat::Format24bppRgb); BitmapData^ data = ImageBmp->LockBits(Drawing::Rectangle(0,0,image->GetLength(0),image->GetLength(1)),ImageLockMode::WriteOnly,PixelFormat::Format24bppRgb); unsigned char *bits = (unsigned char*)d ...Show All
Visual Studio Is it possible to diable sourcesafe ?
I have a program that I need to edit that is protected by sourcesafe. The problem is, the code knows it is protected by SourceSafe so when it is opened for modification and can't find the SourceSafe information, it opens as "Read Only". It's a database program that was written by a person who has not worked at the company for quite some time and there's some bugs in the programming that need to be fixed. Is it possible to diable this &n ...Show All
