Dave Foderick's Q&A profile
Windows Forms DataGridView, DataGridViewComboBoxColumn
Is it possible to select a value in a DataGridViewComboBoxColumn. Example I currently have a text box a DataGridView with a DataGridViewComboBoxColumn When a user enters a value into the text box I want to select an appropriate value in the combo box column in the DataGridViewComboBoxColum If someone could help, I would be most greatful as I have spent ages looking through MSDN and trying to find examples. Cheers Kris-UK ...Show All
Visual C# Any good examples of how to use Applications settings
Hi, I'm trying to use Application settings to persist the size of a window between sessions in c# Express. I've tried following the help files but it's all way too complex - I can work up to comlpex once I've got something working! Does anyone know if there is a simple 'how to' anywhere, covering the basics What code do I need to add (to save ) What are the steps in the designer Many Thanks for any help Baffled ...Show All
Smart Device Development Udp Client JoinMulticastGroup Problem
Hi, i got a kind of weird problem... i got an udp multicast client that work on .net compact framework 1, when i try to use the same code in .net cf 2, it throw an exception on the joinmulticast group instruction. So i tried the use the .net cf1 dll in my .net cf2 app but it does not seem to work either. Does someone know how to use multicast in .net cf 2 or a way to get this code to work Also, im using this code on a ppc2003 se device with wif ...Show All
Windows Forms Listbox Ownerdraw-Problem
Hi, for my project I had to make an owner-draw listbox control, which is able to display multilined items. For a certain time everything works fine, but after scrolling up and down it draws some items at the wrong position. The items are drawn& ...Show All
.NET Development COM Interoperability
Hi, how to code a type library in VS.NET 2005 beta 2 in C++ I wanna put some automation functionality into my app. In other words i wanna the possibility that other COM capable applications like Office can use some automation functionality of my app i.e. through VBA or so. A COM capable language. This was in Delphi really simple with the type library editor. I'm only developing 64 Bit applications now in C/C++ and ASM. thx in advance ...Show All
Visual Studio Express Editions LibJPEG: compression problems
Hi. How can it cause the difference between these two images After-image has been created by raster buffer of before-image . Raster buffer was extracted by LibJPEG library framework and then it was compressed . I print all type of message produced by framework (traces, warnings and critical errors). I can't find any suspect message . Here you are the message list produced in decompression time ( compression time doesn't produce anyt ...Show All
.NET Development ByVal or ByRef
Hi, I have a array of objects of a class (written by me) in my program. When i try to do some manupulation i make a function for that within the class and call the function with parameter as ByVal soemthing like private function NameofFunction(byval x as clsMyClass) as boolean ... End function Now, When I test my program it is giving error (logically) as it changes teh object of my array inspite of that I am just refering to it ...Show All
Visual Basic How can I show Text including picture?
I want to preview and edit some text files which include pictures, color texts and finaly some linktexts(such as a hyper link text). How can I do this For example you think of a MS-Office Word Document which has text, color text, pictures and somwhere a linkable text(BookMark). consider that I don't want to previw a word file. I want a SPECIAL TEXTBOX to help me. It doesn't exist. You can either use Word as a control, you can use a r ...Show All
Visual Basic Web Services...Really need help
I have a VS.Net 2K5 project. I need to know if it is possible to add a webservice to an application at run time. If it's not possible how do you change a web references URL and tell it to re-connect. Any examples for 2K5 would be a great healp. I've found lots and lots of samples for 2K3, but web references have changed a lot since then. Hi! Generating a web service proxy - even in asp.net 2.0, requires a ...Show All
Visual C++ C++/CIL exe, seemless integration with a C# dll?
FYI, I am a C# dev by trade, but i would like to have an existing C++ exe (which i recompiled for C++/CIL) be able to talk back and forth, prefereably as if they were compiled together. Here are some details as to my question: I have a C++/CIL exe (Managed C++ compiled with VS2005 Beta 2) I want to call a DLL Written in C#, and then I want the C# dll to call some functions specified in the calling C++ EXE. Is this possible I ...Show All
Visual Studio Corrupted files on check in with SourceSafe beta
Hello, We seem to be having issues with Visual SourceSafe V8.0.50215.44. Our toolset has used SourceSafe for asset management for two projects now with little issue. Since we updated to the new DevStudio beta 2 and the accompanying version of SourceSafe, we have been having intermittent issues with SourceSafe. Sometimes when we check in a new version of a binary file, it will appear in SourceSafe as a 0 K file, or even worse r ...Show All
Visual Studio Express Editions Error C2248
I searched for other cases of this error, and could not find anything similar to this. The online help hinted at the cause but the solution did not work. I was unable to paste into this form (Win 2000, IE 6 SP1), so I have pasted some code samples at http://spaces.msn.com/members/robertjohnson/ If anyone can be bothered to read through this turgid example I'd like an opinion on how to get it to compile. It worked on VC 7 compiler, and it's prob ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Texture simply duplicates the first pixel
This is a noob question, but I wasn't sure if it belonged in the beginners or graphics forums. I'm learning DirectX and trying to get textures figured out, but when I load my texture, it just duplicates the first pixel over my entire surface. To let you know in advance, I am using the most recent SDK and Visual Studio 2005 standard edition. Here is my code. "graphics" the first parameter, is the name of my Direct3d device: ...Show All
SQL Server Where can I find SQLCMD?
Hi, all here, where is the SQLCMD (to run sql scripts). I mean I did not find SQLCMD on the SQL Server tho. Thanks a lot in advance for any help. Hi, for me its located in C:\Program Files\Microsoft SQL Server\90\Tools\Binn HTH, Jens Suessmeyer. ...Show All
Windows Forms use image as ColumnHeader in ListView
Hi guys, How to use image as ColumnHeader in ListView, I know I can use colHead.Text = "Header"; to set text. But how about image My ListView is in "Details" mode. Thanks. Michael ...Show All
