blanc0's Q&A profile
Visual Studio VSS no longer finds the 'Registered Application' for .sql files
Hi, I have no idea how this happened, but VSS no longer shows a 'Registered Application' for .sql files. In the Windows Explorer, however, I do still have a registered application set, do doing a get latest version and then double clicking the filename in Windows Explorer still works, but double clicking in VSS Explorer, no longer shows a Registered Application. I already posted this question months ago in the newsgroups http://www.eggheadcafe.com/forumarchives/sourcesafe/feb2006/post26006178.asp This KB article is about the only reference I can find, but it does not help much; http://support.microsoft.com/default.aspx scid ...Show All
Visual Studio Express Editions ToolStripMenuItem1.Click makes bgcolor change
Hi, I am building a program with several textboxes, and I have a ContextMenuStrip to use with the textboxes. Now I want to make the textbox's backgroundcolor change into an other color if the user clicks on the ToolStripMenuItem_1, but how do I make this work, because I don't know how to do this. Grtz, Tom. mmmm the problem is i don't know any connection between teh control and the contextmenu , so i think you can do it this way Public Class Form1 'indecate which textbox was clicked Dim mytextbox As TextBox Private Sub Form1_Load( ByVal sender As System. Object , ByVal e As System.EventArgs) Han ...Show All
.NET Development Failed to access IIS metabase
Hi, I have a problem referencing a Webservices from my windows application in the same machine. I have created a Webservices in VS2005, and trying to reference that in my windows application with in the same solution. When i try to add web reference, if i go thru the "webservices with in the solution" option then the reference gets added and i dont get to any other problems using the webservices. But, if i try to reference the web services thru "webservices in the local machine" then it tells me that "Failed to access IIS metabase" Exception Details: System.Web.Hosting.HostingEnvironmentException ...Show All
.NET Development Access Data From Multiple SqlSever Instances
Hi I am having two SQL Server instances installed at two different systems and want to fetch data from both of them in a sigle query with joins using the ADO.NET SqlConnection and SqlCommand objects. Kindly help with a code sample. Thank you for your response Jeff, Do you have any idea of joining two sql servers at the admin level. ...Show All
SQL Server Doubt in Select query
hai.. am havinf a table like.. tblMonths mon years Jan 2000 Feb 2003 Mar 2004 May 2005 No i want a query to give o/p as... jan feb mar may 2000 2003 2004 2005 Please help me... Regards, Satheesh http://www.aspfaq.com/show.asp id=2462 -- Adam Machanic SQL Server MVP http://www.datamanipulation.net -- < SatheeshLives@discussions.microsoft.com > wrote in message news:5cd34b4c-1425-4c92-906a-26c1d0fe3436@di ...Show All
Visual Studio Add field to CR at runtime - C#
Hi I'd like to ask if is possible in CR add new field at runtime. (I'm using Visual Studio 2003, FrameWork 1.1, Crystal Reports as part of VS2003 v.9.1 ) I mean when I add field value to existing field like: 1 Report_PDF r = new Report_PDF() 2 r.SetDataSource( ds ); 3 r.DataDefinition.FormulaFields["MyField"].Text = "{Orders.Freight}"; i'd like to add before third line field "MyField" like r.DataDefinition.ForumlaFields.Add("MyField"). Of course this is not working but is possible do it any other way Is it possible at any h ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to create a new Texture from an existent Texture?
How to create a new Texture from an existent Texture I have a bitmap file, first I created a Texture from a bitmap file by using function D3DXCreateTextureFromFile(). Now I want to create an another Texture from the existent Texture, and the new Texture's content is the existent one's bitmap but be rotated 15 degrees. For Example: the existent Textures have a horizontal line "-" on it's center , from the old Textures I can create another three Textures by rotating different degrees, and the another Textures looks like "\" , "|" or "/" . How to do this I only want to create a series of sequential Textures from one Texture, not to rotate ...Show All
Visual Studio Team System Team Project Creation fails for custom process template
Hi, I am having trouble creating team projects that use my custom process template whenever I run visual studio as a user other then the domain\TFSSETUP. Project creation works fine if I pick the MSF agile process template so I'm pretty sure my security settings are ok. The custom template is based on the msf Agile template with the following changes: - Created new Work Item Type similiar to MSF Task but with a couple of extra fields - Customised document libaries and documents that get created in sharepoint project portal I was only able to import this process template when running VS as domain\TFSSETUP Here is the error I get ---begin Exce ...Show All
Visual C++ MessageBox difficulty
(I am using VS 2003 .NET with a Windows Form Application project. .NET Framework 1.1) I am trying to use the simple MessageBox::Show(System::String) When I start typing just to see if it is there, I'll type System::Windows::Forms::MessageBox::Show and it all comes up right, but, when I go to compile it tells me: error C2653: 'MessageBoxA' : is not a class or namespace name when I am using it like this: MessageBox::Show((System::String*)"Hello World."); Can somebody let me know what I'm doing wrong and give me the correct way to use it Thanks ~Chris Edit: Sorry, I just read the "Scope of this forum" topic and realized that this isn't the pla ...Show All
Visual J# J# rookie: need help with multiple forms
Hi, Firstly, thanks to anyone who responds! I have only about a month's worth of experience using .NET and J#, and a semester's worth of Java (a year ago). Needless to say, I'm no expert. I'm building an application that has about twenty separate Windows Forms. I have a Main Menu Form that I would like to be the application's welcome screen, and is intended to direct the user to other parts of the application through the use of clicking several buttons. For instance, there is an "Administration" button that should open an Administration Menu Form; there is another button entitled "Data Entry" that should open a ...Show All
SQL Server Copy data from one table to another
On the OLE DB Source, I have as following: select field1 , field2 , field3 from table_source On the OLE DB Destination, I used fast load option with table lock checked, and check constraints to copy data to table_destination. Both table_source and table_destination have the same table definitions. After the dtsx package ran, the number of rows copy over to the destination is not same. I got different results from different runs. This only happens when the source table is over 1 million rows and when I'm copying from the transaction database where user's activities are heavy. Any ideas how I can modify the package so it can copy ...Show All
Windows Forms How to programmatically get the Left of a datagridviewcolumn?
I have binded a dataset to a datagridview with its column size adjustable. How to obtain the position of the left side of a datagridviewcolumn Thanks You can use the DataGridView:: GetColumnDisplayRectangle method. Here is how to find the left side for the first data grid view column: Rectangle rect = this .dataGridView1.GetColumnDisplayRectangle(0, true /*cutOverflow*/ ); MessageBox .Show( "left side for the first column is " + rect.Left.ToString()); Hope this helps. ...Show All
Windows Forms How can I open Form by form name(string) with out instantiate, such open("Form1")
Hello. How can I open Form by form name(string) with out instantiate, such Open("Form1") Thanks. @Draiko, YES! this is the code that i was looking for!. Regards ...Show All
Visual C++ C# or C++;
Though in our university we study C#(recently),I make my programs in C++.Is there any danger my programs will not run in C# and run in C++ When my program is ready I change the *.cpp extension to *.c extension.Until now I am not concerned with GUI,fonts e.t.c.Only Win32 Console projects with header files included sometimes in these projects. I think you've mixed up some things a bit. You ask about C# and C++ but then you say you change the extension from *.cpp to *.c. That looks like you are asking about C and C++. That said the combinations are like this: 1. Changing from *.c to *.cpp will work most of the times. 2. Changing f ...Show All
SQL Server sql express
Hi We have a VB6 & mdac 2.8 app accessing a SQL database. We are moving clients from MSDE to SQLExpress - we notice that some calls to open the database in SQL Express take a couple of seconds - this never happens in the MSDE scenarios - the connection string is always the same. Any ideas - we tell out clients SQL2005 is a good thing but it is proving to be slower - this happens when even we only have one user - so it's not a multi user thing. thanks Bruce Thanks for the reply - can I ask what do you base this answer on Thanks Bruce ...Show All
