Ravel's Q&A profile
Visual C# Is it possible to use variables to specify assembly reference paths?
I'm in a position where I can't add a particular project to my solution and use a project reference, but I would like to use an assembly reference that refers to the debug version of the assmembly when building the Debug configuration, and the release version of the assembly when... you get the idea. This sort of thing is trivial if you are explicitly invoking csc, and is easy with the C++ complier/IDE with the use of macros such as $(Configurat ...Show All
Windows Forms prob while deleting row from DataGrid
I have a DataGrid which is binded to a table from DataSet in my application . m_OleDbDataAdapter = new OleDbDataAdapter(); m_DataSet = new DataSet(); m_OleDbConnection.Open(); m_OleDbDataAdapter.SelectCommand = new OleDbCommand("SELECT * FROM INPUTTABLE",m_OleDbConnection); m_OleDbDataAdapter.Fill(m_DataSet,"INPUTTABLE"); m_OleDbCommandBuilder = new OleDbCommandBuilder(m_OleDbDataAdapter); m_dataV ...Show All
Visual Studio Team System Moving TFS servers
Folks, There have been a number of postings requesting instructions on how to move servers (covering some of the following scenarios): Moving TFS from a workgroup to a domain Moving TFS from a Test domain to a Production domain Moving TFS (single server) from one machine to another (disaster recovery for single server) Moving TFS from single server configuration to dual server configuration. These instructions are not curre ...Show All
Game Technologies: DirectX, XNA, XACT, etc. rendering to texture is clipped to clientsize inwindowed mode?
I posted this already in the W32 Graphics discussion section, but since I am pretty hard pressed with the problem I am also posting it here: I wrote a small application using managed DX9 in an application running in windowed mode. The clientsize of the window is 800x600. In this application text (and sprites) are rendered to a 1024x512 pixel texture. The viewport settings seem to be correct after the SetRenderTarget call (1024x ...Show All
Windows Forms How to set Font Size in code?
Hi, I am new to C# and have been searching for a simple way to set the Font Size for a textbox control. When I try to set it in the class constructor I'm told it is a read-only property. I've looked thru many help topics but can't find a clear answer. TIA, Karl Fontsize is ReadOnly property but you can change Font Structure with similar code textBox1.Font = new Font (textBox1.Font.FontFamily.Name, 12.4); ...Show All
Visual Studio Team System TF30169: The New Team Project Wizard was unable to download the process template MSF for Agile Software Development - v4.0.
I have read the forums and http://msdn2.microsoft.com/en-us/library/ms244150.aspx And still cannot get a project created. Any ideas Brad ------------------------------------------------------- Error TF30169: The New Team Project Wizard was unable to download the process template MSF for Agile Software Development - v4.0. Explanation The New Team Project Wizard encountered an unexpected error while attempt ...Show All
Visual C# Collection & DataGrid
Hi. I have a collection( It write it) . In a form I want to use a datagrid that when a user fill a row of it the contents, insert in collection. In other words, with fill datagrid by user, my collection fill. Please help me I this context. ...Show All
Visual Studio Express Editions How can you take a DropDownList selection to fill a GridView?
I would think this would be pretty easy but I am new a C# programming. I am using Visual Web Developer Express (great program at a great price) for C# and I simply want to make a selection in a DropDownList and have the detailed information (from the database) come up in a GridView or DetailView on the same page. Any help would be much appreciated!! Thanks! Hi, if you already have a datasource goto Dat ...Show All
Visual C++ What is managed, unmanaged ?
Hi all, i'm not totally clear with some concepts about managed and unmanaged code. I'm asking myself some questions, i hope you can answer to one or maybe more ... : I've a MFC application, I want to use the dotnet framework by switching to /clr compilation mode and some code line like this : StreamReader ^ sr = gcnew StreamReader( "file.txt" ); String ^ myText = sr->ReadToEnd(); Is my application in CLR, or only the call ...Show All
Visual Studio Max number of sourcesafe database?
Dear experts, For easy management, our company want to set the visual sourcesafe to each project own a database. So, is there a max number of database can be created in visual sourcesafe and visual sourcesafe should support simultaneously running multiple database, am I right Finally, would numerous databases (say over 40) deteriorate the performance much Thanks all. Yes, VSS supports multiple databases. There is no max numb ...Show All
SQL Server Problem in Off-line report generation
Hi, I have rendered some time-consuming reports programmatically in HTML 4.0 format (Off-line report generation). The reports are rendered and the .html file is stored in a specific folder (shared). The problem is, the whole report is generated into 1 single HTML page (huge in size) with <HR> tag as peagebreaks. It takes long time to load in the browser. Also, I cannt display this .html page along with ReportViewer toolbar options li ...Show All
Game Technologies: DirectX, XNA, XACT, etc. C# - DirectX 9.0c - Creating a Basic Hexagon
I was wondering if someone could walk me through drawing a basic hexagon using DirectX 9.0c in C#. I've been using the Vector3 structure, and I am having problems understanding how to initialize the view transformation matrix for a hexagon, as well as what input vectors will represent the hexagon (understandably 6). Thank you in advance, Owen The view matrix (nor the world or projection) isn't ...Show All
.NET Development Pass object by Ref
Hello, I have sort of dummy question If I pass object by ref to the remoth method, and in that method I call method or property of this object, is it going to be executesd on the client or on the server, and also is it going to make a trip to the client In other words: //remote method on the server remoteMethod(ref MyObj obj) { obj.Add("test1"); obj.Add("test2"); obj.Add("test3"); } is going to do 3 additio ...Show All
Visual Basic Colour Change
wnen i click button_1, i want form1's background-colour to change from Tan to orange, how would i go about this yes....those are made up variables Dim MyOrangeColor as Color = Color.Orange Dim MyTanColor as Color = Color.Tan ...Show All
Visual Studio Express Editions how to open image file in c#
hi I need to open an image file (bmp file in windows form ) using c# so that i can edit that (bmp) image file. hope i can get this asap. thanx bye i think there is no such control available which will allow you to edit the image, you can only show it in Image Contol. There is some othe way you can achieve this, Open then paint application or some image editor from you C# application, and show the file on that editor ...Show All
