Fahad349's Q&A profile
Windows Forms Using SplitContainer and multiple forms
Hi, What I'm trying to do is create an application that has a treeview on the left and a form on the right. For example I have a database application that need to manipulate many different areas of information and the selection from the tree view will decide what controls will be shown on the right. The easiest way to create a panel of controls is with the form designer ie a form I did not find a way to replace a splitcontroller panel with a new form. Is this the right approach Basically I need the 2nd panel to be replaceable with a form ( created from the form designer) I did this in MFC and it was a piece of cake, using Cformview's ( which were created in with the gui editor). Suggestions Cheers ...Show All
Windows Forms GridView Class and DataGrid
Can someone tell me what is the diffrence between GridView Class and DataGrid. I know GridView Class was developed in 2.0 framework. Both of them has allpaging, onpageindexChanging.. and etc. How does Gridview is better Thank you, Hi take a look at the following: http://www.wwwcoder.com/tabid/68/type/art/parentid/459/site/6454/default.aspx Hope this helps you out, please close the thread if it does... ...Show All
Visual Studio 2008 (Pre-release) Listview Editable
Hi, I have to Add rows dynamically using Listview.... And each rows should be editable. See my post here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=714418&SiteID=1 ...Show All
Visual Basic Problem registering active x control
I have vb.net application that uses vb activx dll. I need to programmtically register this dll I use following code Dim ProcStartInfo As New System.Diagnostics.ProcessStartInfo ProcStartInfo.Arguments = ""C:\vb Code\activXdll\actdll.dll"" ProcStartInfo.CreateNoWindow = True ProcStartInfo.WindowStyle = ProcessWindowStyle.Hidden ProcStartInfo.UseShellExecute = False ProcStartInfo.FileName = "C:\WINDOWS\system32\Regsvr32.exe" System.Diagnostics.Process.Start(ProcStartInfo) I still keep geting Com exceptions till I manually register it using Regsvr32. What wrong with above code Well the problem was when I use above code my vb.net application throws exception th ...Show All
Visual Studio Team System Can I undo a move?
Usinng the TFS Source Control Explorer, I attempted to move three folders from Team Project A to Team Project B. I right-clicked on each folder I wanted moved, selected Move from the menu, and then browsed to the Team Project B. So the move dialog box looked something like this: Move From: $/Team Project A/Folder 1 To: $/Team Project B I moved three folders in this manner. All seemed to go well, but Folder 3 did not show up in Team Project B, even though it was deleted from Team Project A. I thought this was odd, but figured the Source Control Explorer was not refreshing correctly, so I went ahead and checked-in the changes. Well sure enough, Folder 3 is in fact missing. It got deleted from Team Project A, but never made it to Tea ...Show All
Windows Search Technologies #msntb_toolbar_full_name#
I have the following sign come up on the screen. #msntb_toolbar_full_name# is unable to load config file. If you recently upgraded to a newer version of #msntb_toolbar_full_name # and have not restarted your computer since the upgrade,please try resarting your computer.If the problem persist,please reinstall the #msntb_toolbar_full_name#. I'm currently running WXP Home Edition,IE7. W Defender.This problem only occured after I completed system restore two days ago. Thanks to any person who can help. CEEBEE Hello drumboy, I would suggest that you give Jeff_R's instructions a shot (see his post above). If those don't work for you please let us know. Paul Nystrom - MSFT ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Issues rendering a triangle
I understand this is beta and the docs aren't complete, but the docs are very limited. I'm attempting to render a triangle to the screen and am failing. I was hoping for basic code as was provided with MDX. Currently I get a cornflower blue screen but nothing is rendered. I've attempted taking the vertex declaration out of a using clause, and that did nothing. Any ideas I figure I must be missing some setting somewhere. Here's my draw function: protected override void Draw() { // Make sure we have a valid device if (!graphics.EnsureDevice()) return; VertexPositionColor[] triangle = new VertexPositionColor[3]; triangle[0] = new VertexPositionColor(new Vector3(-1.0f, 0.0f, 5.0 ...Show All
Windows Forms DataGrid Windows forms Insert - delete problem
Iam using Windows forms 1.1 Datagrid to create a online edit of some datatables. I use dataset as a datasource for my grid and have provided insert and delete functions in any row of the grid. The problem i face is after deleting a row. I have a validation routine that validates the rows below the deleted row. If one of row has a problem i am restoring the deleted row in same place. As datagrid doesnt support of roll back in deleted row i have a backup datatable before deletion and restore the record from it. The problem i face is here only. when i restore the record i update it directly in Datasets datatable and call its acceptchanges() method too. so the table has the new record and dataview too gets the new record in the same position w ...Show All
Visual Studio Express Editions Can I hide a VB Shell command like this...
Hi, I'm using the code below which is showing me a wscript window in which the command is performed... Can I make this command completely invisible Would be awesome! Thanks! Dim retval As Double retval = Shell("schtasks /run /tn.....blabla", 1) ...Show All
.NET Development DS HELP
I currently have this error when I delete a record and then save it. My code is at the bottom of this post, im a newb to this though wish to learn. Though i've tryed to google this many a times and still come up blank with out knowing how to fix this problem. Can anyone help much thanks and please keep the answer with simple instructions. --------------------------------------------------------------------- ERROR: Update requires a valid DeleteCommand when passed DataRow collection with deleted rows. {"Update requires a valid DeleteCommand when passed DataRow collection with deleted rows."} System.InvalidOperationException was unhandled Message="Update requires a valid DeleteCommand when passed DataRow col ...Show All
Software Development for Windows Vista performance of 32 bit applications on 64 bit systems
We are using some demanding MS Access 2000 applications on Windows XP PC's and need them to perform faster. Will a 64 bit system (e.g. vista 64 + intel core 2 duo) improve performance of 32 bit applications, or will it work better to move to the fastest available 32 bit processor/system Thanks! Arjan, 64 bit OS might improve the performance of your 32 bit application. It depends on what your application is doing and the only reliable way of knowing is actually testing it. Maarten ...Show All
SharePoint Products and Technologies Infopath & Sql Server
Hello Friends, I am very new in using infopath. I am using infopath for creating forms for sharepoint. So how I can create infopath form so that the data can be stored into a table in sql server and the form can be listed in the sharepoint site and then lateron on any site we could be able to retrieve the data from the database through the sharepoint. Kindly give me a solution or suggest me some articles on net whhich culd demonstrate connection between infopath and sql server. Thanks & Regards Girish Nehte Check out these two articles for the InfoPath - SQL Server connection: http://blogs.msdn.com/infopath/archive/2007/02/05/infopath-and-yukon-the-details.aspx http://aspalliance. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Humorous but somewhat serious question about XNA
Microsoft has claimed the Nintendo Wii as a "kids toy;" however, if XNA can produce graphics and push performance up to what the Wii is capable of handling (games like Half-Life, Sims 2 from most XNA performance claims), does that mean that XNA is a kids toy too Edit: I'm going to go ahead and use XNA. Sure, it may not be the fastest thing in the world for making games such as Oblivion, but if it's any company that can boost performance heavily in later versions, it's Microsoft. It has already been seen with DirectX and DOS, so I'm comfortable enough to say why not. Version 1's are usually "out the door" products. I shouldn't speculate too quickly, but it'll do the job for this upcoming game. I'm sor ...Show All
SQL Server SET options have incorrect settings: 'QUOTED IDENTIFIER'
Hi, I've run into following problem. I've got about 20 stored procedures to be updated in an excisting system. Executing them on my database works fine but when I then run these I get the following error on two of them. UPDATE failed because the following SET options have incorrect settings: 'QUOTED IDENTIFIER'. Verify that SET options are correct for use with indexed views. Now, if I just open these two in SQL Server 2005 (modify) and execute them again (without changing anything) the error disapear. Why does this happen in the first place The QUOTED IDENTIFIER is nothing I set manually in my Stored Procedures. SQL Server autogenerate these SET QUOTED IDENTIFIER to ON or OFF. Could it be in which order I run them /J ...Show All
Visual Studio Team System Issue in executing unit tests with code coverage option enabled
Hello, I was getting code coverage results till last week both from IDE and from TFS (team build). We reinstalled TFS (in different machine) and created a new Team Project and workspace. For new solutions the unit tests are not getting executed if I enable "Code Coverage". The error I am getting is Test method <method name> threw exception: System.Security.VerificationException: Operation could destabilize the runtime.. For some solutions I am still able to execute unit tests and the code coverage from IDE. Does anybody have a clue I am experiencing a similar problem when trying to run tests with code coverage. Although in my case, no copying or reinstalling was done. I simply ...Show All
