Don Vilen's Q&A profile
Windows Forms how to embed child datagrid from its parent
Hi, All, posted a thread earlier regarding nested tables on .net data grid, guess, the simple goal that I am looking for is: for a .net datagrid on a win form app, how can I embed a child datagrid for each data row - so I ca ...Show All
.NET Development [C++] VS 2005 : Syntax for UpdateCommand?
Hello. I'm trying to send the updates I've done back to the database..but I retrieve the error that many users reported ( UpdateCommand must be defined..........). So I understood that my TableAdapter doesn't have an UpdateCommand defined. I looked at the properties of my table adapter and I found that the InsertCommand and the SelectCommand are defined but not the UpdateCommand(why ). So i should define it by myself but what is the synt ...Show All
.NET Development Twain
I'm using the .net framework 2.0. Is there a class for doing twain scanning I've moved your form to the CLR alias to see if anyone knows of something. Windows Forms team doesn't have any classes to do this. -mark Program Manager Microsoft This post is provided “as-is” ...Show All
Visual Studio Team System TFS proxy not working
hi, I have installed TFS proxy in a separate machine with windows server 2003. I have also configured the proxy.config file as <Servers> <Server> <Uri>http://tfsserver:8081/versioncontrol</Uri> </Server> </Servers> where tfsserver is my server. i have enabled my client machine to use proxy. when i try to checkin or checkout in my client machine, it gives the message that ' ...Show All
SQL Server Error In Merge Replication while server syncs
At first we received error like "The merge process could not retrieve identity range resource for table..." then after solving this error we again started syncing of servers manually then we got some other error like "the process could not enumerate changes to the subscriber". We tried our best to solve this problem but some error appears each time like "The process could not deliver the snapshot to the Su ...Show All
Visual Studio Team System Bug or hard to find solution?
TFS Beta 3 Refresh On the client I have over time added files which I didnt want to check-in, so I did "delete" on the files in the solution Explorer. However, they still appear under Pending Changes with the change "Add", even if the files dont even exist on the harddrive anymore. How do I remove those entries from the checkin/pending changes box Regards Fredrik Of course, I found it second after I posted. Highlight the files and do ...Show All
Windows Forms Why are DataGridColumnStyle methods called multiple times ?
hi , I have been studying customization of Datagrid columns by subclassing DataGridColumnStyle. I have created a subclass of DataGridTextBoxColumn which delegates all method calls to the base class. But before delegating, it prints some debug statements to show when a particular method is called by the framework. The debug output shows that SetDataGridInColumn is called twice for each column ! Also, whenever you end the editing of the ...Show All
Visual Studio Express Editions Accessing Oracle databases in Visual C# .Net Express
Can someone please show me / tell me how to connect to an oracle database with Visual C# .Net Express... I have an Oracle 9i databse and I have the 10g client installed. This works fine in Visual Studio .Net 2003 but I can't connect at all in Express. Is it something to do with the .Net Framework 2.0 Any help much appreciated as I'm a complete novice to C# ... I'm a VB programmer by trade ( and VB 6 at that )... Elton Fu ...Show All
.NET Development File.Move changes filename to lowercase
File.Move moves the file to the destination folder but changes the filename to all lowercase. ex: Filename => ABCD.txt; in the destination folder it is abcd.txt. How to avoid it Please suggest. Thanks //Samik. Hi, Check your code to verify if you are doing this in code I just verified (on .NET v2.0) and the filename remained exactly the same - no change in case. Regards, Vikram ...Show All
.NET Development peer-to-peer connection
hi i want a example that shows peer-to-peer connection As Durga notes, please detail the functionality you are looking for. We are currently considering adding further P2P support to System.Net - I am interested to hear about your scenario. ...Show All
Smart Device Development Trouble using native DLLs
We are having difficulty using native DLLs with VS2005 in C# on a PocketPC 2003 device, or the emulator. I would be extremely pleased to hear any suggestions on this matter. I have tried creating a simple DLL with both eMbedded Visual C++ 4.0, and as a C++ smart device DLL in VS2005. In both cases I get the " Can't find PInvoke DLL Whatever.dll" The DUMPBIN looks perfectly fine in both cases, no name mangling, etc. The DLL i ...Show All
Smart Device Development Automatically regenerate BuildCab.bat???
We have a Windows CE PDA client application, that we aim to install with a CAB file. We have created a setup application that expects the CAB file for the application and installs it. However, we want our build process to be able to regenerate the BuildCab.bat file automatically so that changes (if any) are automatically included each time we run our build. Currently the only way we can create the BuildCab.bat file is to do it through the VS gu ...Show All
Visual C++ Unresolved external for IID_IXMLDOMDocument2
Hello, I am trying to reproduce a problem (huge memory increase) in an MSXML wrapper library. I Created (using visual studio 2003) a console application where I create a DOM document using IXMLDOMDocument. This works fine since there is hardly any code to go wrong The next step is to switch on XPATH support. For that I need the IXMLDOMDocument2 interface. So I figured I query IXMLDOMDocment for IXMLDOMDocument2. However when I try to ...Show All
Game Technologies: DirectX, XNA, XACT, etc. PICKING OBJECTS by MOUSE doesnt work correctly
Hello, I'm making a 3D game and I need to implement PICKING. But I've done everything as it is in the book and was also comparing code line by line with tutorial from other source http://www.toymaker.info/Games/html/picking.html and it doesn't work correctly - the picking RAY is somehow translated upper than it should be. I can click on the object a bit lower than it already is and i cannot click on it from the top, but a bit lower. Als ...Show All
.NET Development newbie - can a web service open up a com port
hello - need to find out if a web service application can open up a com port (RS232) Thanks in advance Hi, Yes. The Web Service application can open a COM Port internally. You would probably wrap that part as a separate set of classes and call it from the WebService. Here are some links to topics on Serial Port Communication with .NET http://www.codeproject.com/dotnet/DotNetComPorts.asp .NET v2.0 has a Se ...Show All
