RSUser's Q&A profile
Visual C# How to invoke a form class from different NameSpace?
Hi, I have a situation with multiprojects created using VS IDE with different namespaces as mentioned here. I first created a windows application with the name App1 and i created another new project with name App2 and added to the exisiting project. ie., App1 Now, all i want is how can i call the Form1 of App2 in some event of Form1 of App1 Regards, DSK Chakravarthy This should work. Set a reference to App2 and then in your event in App1. Assuming App2 is your namespace in the second app... App2.Form1 form = new App2.Form1() form.Show ...Show All
Visual Studio Team System Remote access to TFS
When I connect remotely to my TFS server Documents and Reports folder is not accessible, and the right click option to ope Project Portal is grayed out. Has anyone else had this problem, and found a solution to it When I connect to TFS directly from the server everything works just fine. Installation is single server beta 3, no active directory. No, I think that covers the ports that influence this scenario. There are a few others that are used for features like Team Build and the Version Control Proxy, but they would not cause project creation to fail. You can find a complete list of ports used by TFS in the Visual Stud ...Show All
Windows Forms oleDbDataAdapter and Updating
I am using an oleDbDataAdapter and a dataset. When I use this code to insert a new record, the record instantly is included in the dataset.... this .dataSet11.tblDVD.AddtblDVDRow(field1, field2 ); this .oleDbDataAdapter1.Update( this .dataSet11, "myTable"); this .dataSet11.AcceptChanges(); But, when I use this code to update a record, the changes are in the database, but NOT the dataset.... this .oleDbDataAdapter1.UpdateCommand.CommandText = sql; this .oleDbConnection1.Open(); this .oleDbDataAdapter1.UpdateCommand.ExecuteNonQuery(); this .oleDbDataAdapter1.Fill(dataSet11); this .oleDbConnection1.Close ...Show All
Visual Basic vb express 2005 beta2 avalon code-behind files don´t show up on solution explorer
Hi. I have installed winfx beta1 and vs 2005 extensions. When I open a Sample Avalon solution the xaml's code-behind files don’t appear on the solution explorer. I have tried to add them manually with no sucess. Thanks for any info you may provide. In the solution explorer - have you got the show all files button selected. Its the second icon from the left at the top of the solution explorer window. ...Show All
Visual Studio Team System rule to check is string.empty used instead of ""
hi, I have written a rule to check is Equals method is used instead of "==". This rule is not working. I have attached the code snippet here. Could you check and tell what is wrong with this code. public override ProblemCollection Check(Member member) { Method method = member as Method; if(method==null) { return null; } foreach(Instruction instruction in method.Instructions) { if(instruction.OpCode==OpCode.Call) { &nb ...Show All
Visual C++ console from form
Hi! How can I call a Console window from a form application Ok: I dug a little deeper and I think I know what is going on here. The problem is that by-default a Windows Form application does not have a console associated with it: so any calls to Console::WriteLine will send the output into a black hole (\dev\null). The case where the application will work is if you start it from a console window because in this case the application will have this console associated with it and so calls to Console::WriteLine will have some where to send the output. In order to ensure that an Windows Form application always has a console to write to you ...Show All
Visual Studio Team System Beta3 extensibility with VS 2005?
" NOTE : The release version of the Visual Studio 2005 SDK now contains the Visual Studio Team System Extensibility kit for Beta 3 of Foundation Server. The files below are considered legacy and are included for completeness and testing purposes. For the most recent Extensibility Kit, please download the Visual Studio 2005 SDK - October 2005 ." This means extensibilty kit is available only with VS2005 now. Trying to download this downloads an exe file. Now to get extensibility kit in my single server beta3 refresh box , should I run this exe and install Vs2005 as well with it I think you have to use a compatible version of the fram ...Show All
Visual Studio Drag-and-drop from Server Explorer
Hi folks, I'm trying to drag and drop a table from Server Explorer onto a another toolwindow (managed). The DataObject I get from the drag contains a format called CF_DSREF, which returns a MemoryStream. Anybody know how to read the data in this stream Is it a serialized object (COM or .NET) Is the structure published John OK, that's a little embarrasing. I'm pulling my hair out searching documentation, MSDN & Usenet trying to figure out how to read this thing AND THERE'S AN EXAMPLE on my HD. Thanks for the help, Mike. For the next guy looking for info on this topic, here's my code to go from a DataObjec ...Show All
Windows Forms David Guyer DataFile DirectoryNotFoundException
Please I ask all of you not to answer unless you are sure that this is the answer Hey David I publish an application using ClickOnce, in the visual studio I add a folder called: ProjData and put a file in it and call it Con.xml Set the file to be DataFile and publish. It works fine, now I add a nother file to the directory and change the current file again works great, BUT Now I add another directory, into the other directory and set a file in it and set him as DataFile as well, on the client computer when update I recieve a directory not found exception (For the new directory offcourse) and the application will not work un ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Texture0...Texture8?
What are the Texture"N" formats If you define a vertex element you have only one set of texure coordinates...right Why are there 8 more Unless you HLSL.... Thank you. It's for multitexture You can actually Modulate one texture on another one So you can have more then one set of texture and more then one texture coordinate So you can put an Environement texture Modulate with a Material texture To simulate a reflective surface You can do this by selecting the correct COLOROP0 and COLOR_ARG0 If your Color Op of the current level is not DISABLE it will be in the multitexture Make sure your TEXTURECOORD for ...Show All
Visual Basic Published in Beta
Hi, I have created a program in Visual Basic 2005 Express Edition BETA 2, I have .net runtime beta 2 installed. When my program is published, will the end user have to install a new .net runtime. Will it work on 1, Beta 2, or 2 itself What will they have to install (if anything ). Thanks alot... I would recommend you download and install the final version vb.net express and recompile the application. There are bugs in the beta editions that have been fixed in the final version. Your app will only work with the final edition of the dot net framework 2.0 ...Show All
Visual C# SQL server and C#
hi can someone please answer me, can command SqlCommand execute any T-sql query or just SELECT, INSERT, UDATE... like for example is it possible to execute CREATE command or all others Hi there, Yes you can execute DDL statements using SQL Server. Just create the command object set the DDL query to it. Set and open the connection. Finally execute ExecuteNonQuery Statement. Cheers, Nasha. from eeks to geeks ...... you can catch me @ nam_shah at hotmail.com or namratha1 at hotmail.com ...Show All
Software Development for Windows Vista Cant uninstal MSH
I had the following installed previously on my computer: .NET Framework 2.0 beta 2 (50215 build) Visual C# Express 2005 beta 2 WinFX runtime components beta 1 WinFX SDK beta 1 MSH Now, after Nov 7, I wanted to install VC# Express 2005 (RTM), so I downloaded and ran the auto uninstall utility. It removed the following components from my system: .NET Framework 2.0 beta 2 (50215 build) Visual C# Express 2005 beta 2 After that, I installed the following: .NET Framework 2.0 (RTM - 50727 build) Visual C# Express 2005 (RTM) Now, I want to remove / reinstall MSH and WinFX but the uninstaller is exiting with the message that "a m ...Show All
Microsoft ISV Community Center Forums DataGridView and ComboBox Column Problem
Hiii all I have a problem in DataGridView, and i need help. I use DataGridView has column its "column type property" is ComboBox ok..., i want to add items into every cell of type comboBox, i want to add items in a cell of type comboBox different from items in another cell. this line adds items in all cells of type ComboBox Column1.Items.Add( "value" ) please help me Thnx Hi, I'm just wondering what software your developing with. Are you developing an Access database and the problem your having is with creating a form, or are you developing in .NET need more information. ...Show All
Architecture Advantages of OOP ?
Hello, Im a fun of OOP designs. I design my bussiness classes when I start a new project. Then maybe I will write mapper classes for bussiness classes to map DB tables or using an O/RM tool or an ODBMS . Think that this project is big one and it has long deadline. You will develop it 2 or 3 years. Requirements will be changed. To develop this project with OOP designs and n-Tier application design is good idea. But I am asking myself this question "Why am I choosing this long way ". I think the advantages of OOP are re-usable and flexible (when there is a new requirement). OOP makes less code behind user-interface. But I dont un ...Show All
