arnej's Q&A profile
Windows Forms Set SelectedItem on DataGridViewComboBoxColumn When DataSource is Set
Hello, I am having a devil of a time setting the SelectedItem on a DataGridViewComboBoxColumn when the grid datasource is set. I have one ComboBoxColumn that is bound to an enum and it just binds the value from the db with no extra effort. I set the column datasource and the grid datasource and the grid just knows how to load the right option when it renders the grid. My problem arises on two other columns that are bound to arrays of custo ...Show All
Windows Forms Multiple DataGrid Problems
Hi Everyone, I'm about to give up on datagrids for good but I thought I'd give this a try first. My first problem is that I have a form with various types of controls, combo boxes and a datagrid. What I want to do is use an  ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Multiple windows by one device
Hi! I'm looking for some easy way to render into multiple widows by only one device. I'm using managed directX in C#, there's an overload of the Present method that takes a control and claims that it will draw onto the control, but I can't make it work. It does not fail, but neither does it draw anything. Could you please tell me what I'm doing wrong, or maybe weather there's some easier way to do that Thanks Libor ...Show All
Software Development for Windows Vista VS2005 froozen (100% CPU)
Hello, When I install Visual Studio 2005 extension for worklow fondation on Visual studio 2005 professional, my computer (win XP pro sp2) use 100% CPU for a long (I have wait more than 20 minutes before cancelling) time. Can somebody give me some information for solving this issue Patrick Is this Windows Workflow Foundation Beta 2 Do you have any other Visual Studio add-ins installed Does Visual Studio start up at all ...Show All
SQL Server query on sysprocesses...
I was trying to findout processes which are running for long time and came across few entries in sysprocess where Last_Batch column shows '01/01/1900' It is a usual practice for SQL coders to put a default date like this if they don't have a valid date, does sysprocesses table does the same thing No, this is not the way I would have done it. This is a token date, which more or less means the engine is sa ...Show All
Visual C# How do I add annotations to an existing PDF file?
Hey howzit, I have been searching the net for ways to adding annotations (sticky notes) to PDF files programmatically, I have found one library on sourceforge.net called ITextSharp, but it creates a new PDF file (see code below) and then allows one to add annotations, I want to add annotations to an existing PDF file that is already filled with data and text. // step 1: creation of a document-object iTextSharp. ...Show All
Windows Forms How to move a borderless Form on MouseDown Event
Hi, I have a Form who's FormBorderStyle is set to none. Can anybody help to move it on MouseDown MouseEventHandler. Please Slam Hi, Take a look in this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=428081&SiteID=1 It has discussions on how to move borderless forms. Regards, -chris ...Show All
Windows Forms Controls in DataGridHeaderCell
Could anyone tell me how to add a custom control inside of a DataGridHeaderCell I have created a custom control that consists of: one dropdownlist, two checkboxes, and one button. I now want to add that into the datagridview control header cell so that I can then use the custom control as a means of filtering, sorting (multiple sorts, sort orders 1-4 and ascending/descending), displaying statistics, and creating a graph onclick of the respectiv ...Show All
.NET Development Problems with .Net 2.0 RC Framework and accessing Performance Counters (specifically Processor)
I have written a tool to dump performance counter data from any number of sources to a perfmon-compatible csv file. The problem is... on certain performance objects such as Processor\% Processor Time\_Total.... I get a zero back no matter what I do. There are alot of counters that give me zero back that shouldn't, but at the same time there are alot of counters that give me back what I expect (ie. Memory\Available KBytes). I have checked al ...Show All
Visual Studio Express Editions help me to make my dll
hi i need make to make DLL from an eMbedded Visual Basic (eVB) interface my device with serial port i did the following steps but i found erorr after compiling is my step courect !! Launch Microsoft eMbedded Visual C++. 2. From the File menu, select New . 3. In the New dialog box, select the Projects tab and click on WCE Dynamic-Link Library . 4. In the Project name text box, enter a projec ...Show All
Visual Basic Picturebox change forecolor
Hi!! I'm developing a math (ray tracing) application in VB6, and using .line method to draw between 100 and 100,000 lines in a picturebox. I need some of this lines be painted in a different color. I use picturebox.forecolor=RGB(255,0,0) in runtime but it just won't change the color the lines are painted!! What can I do Thank you, Konstantin. This newsgroup is for questions on Visual Basic ...Show All
Visual Studio Express Editions Error during install of V CS Express and V C++ Express
I seem to be unable to install either of these - anybody else having the same trouble The software downloads okay, but setup.exe throws an error (Microsoft .NET Framework 2.0 has encountered a problem during setup. Setup did not complete correctly.) Details: EventType : visualstudio8setup P1 : 183 P2 : 8.0.50215.44_beta2_x86ret P3 : msi P4 : inst P5 ...Show All
Visual C++ Fonts - Bold
I've done a decient amount of search but have been unable to come up with a clear example how to change in code the attributes of a font. In my case a text label. I would like to change the label to bold if a certain condition occurs. I would like to avoid coding the font style, or size statically, so that if I change these at some point I would not have to also change the code. I am using Visual Studio 2003, and windows forms. Of course C++. ...Show All
Visual Studio Team System Cannot connect with controller Error
We are getting the following error when attempting to administer the test controller from within Visual Studio ========================================= Cannot connect with controller 'machine:6901'. If the controller service is not started you may be able to start it by clicking the restart rig button. The following error was received A connection attempt failed because the connected party did not properly respond after a period of ...Show All
Windows Forms BindingList(of Public Structure) TextBox
Hi. i want to bind a field of a public structure for a textbox.text this is my code Public Datos As System.ComponentModel.BindingList( Of CajaRegistradora.tTranMembresia) Private BND As BindingSource Dim elemento As New CajaRegistradora.tTranMembresia elemento.sfactura = "c" Datos = New System.ComponentModel.BindingList( Of CajaRegistradora.tTranMembresia) Datos.Add(elemento) BND = New ...Show All
