Qber's Q&A profile
Windows Forms giving a panel focus
I am sure its simple, but I have searched about and can't seem to et something working. Simple window, i created a panel in. Here is what I have and have tried: The commented portions are what I have tried. [code] private : System::Void IrrlichtPanel_Paint_1(System::Object^ sender, System::Windows::Forms::PaintEventArgs^ e) { ObjDisplay->init((s32) this ->MyPanel->Handle.ToPointer()); //this ->MyPanel->BringToFront(); //MyPanel->BringToFront(); //this ->MyPanel->Focus(); MyPanel->Focus(); } [/code] The object I am loading into the panel is displaying corr ...Show All
.NET Development Any Samples of IBindingListView
Are there any samples around of implimenting IBindingListView on collections for .net 2.0 yet There's a really great one on IBindingList but I want to go further, and I'm at a loss as to how to intelligently impliment things like Advanced Sorting and Filtering on a collection. If there isn't, this would be a great article for MSDN somewhere :) *hint* *hint* :) Thanks! That's a great question to ask on the Windows Forms Databinding forum at: http://forums.microsoft.com/msdn/ShowForum.aspx ForumID=7 David Sceppa Microsoft ...Show All
Software Development for Windows Vista Why there are no the sample of directshow in "DirectX 9.0b Software Development Kit for C# "?
Why there are no the sample of directshow in "DirectX 9.0b Software Development Kit for C# " There are have other sample of directinput, directsound, etc.... who have this sample please tell me~~ Support for DirectShow from managed code is at the moment (and probably always will be) extremely limited. A quick search on Google Groups for (e.g.) "Managed DirectShow" will give you an extensive discussion of this, the reasons for it and your possible options G ...Show All
Windows Forms Use AssemblyInfo?
Hi, The AssemblyInfo.cs file contains attributes, such as AssemblyVersion, which I want to use programatically, as in an About dialog. I have looked at the AssemblyVersionAttribute class, but I can't find any examples showing how to use it. Any help on this would be greatly appreciated. Thanks, Royce All attributes can be extracted via reflection: using System.Reflect ...Show All
SQL Server How to execute SSIS package inside of Visual Studio?
How to execute SSIS package inside of Visual Studio I have opened the file, but do not see any way to execute it. Please advise. Thanks There are a number of ways. The safest way is to right-click on the package in the solution explorer and hit "Execute Package". -Jamie ...Show All
Visual Studio Team System Count the number of Constructors
Hi, I need to count the number of constructors for a Type. the code i have used for this is...... public override ProblemCollection Check( TypeNode type) { if (type.NodeType == NodeType .Class) { int memberCount = type.Members.Length; int constructorCount = 0; for ( int i = 0; i < memberCount; i++) { if (type.Members .NodeType == NodeType .Method) { Method method = type.Members as Method ; method.Name.Name); if ( CciHelper .IsConstructor(method)) { constructorCount++; } } } if (constructorCount > CONSTRUCTOR_COUNT) { Problems. ...Show All
Visual Studio Tools for Office How is this code (VBA6.0 with Excel Application) to C#
Hi How is this code (VBA6.0 with Excel Application) to C# : Dim intValue01 as Integer intValue01 = sheet1.cells(1, 1) 'READ DATA FROM CELLS intValue01 = intValue01 + 2 sheet2.cells(1,1) = intValue01 ' 'WRITE DATA IN CELLS Thanx for any idea. sheet1.cells[1,1] this looks like an article you may be interested in: http://msdn.microsoft.com/library/default.asp url=/library/en-us/odc_vsto2005_ta/html/officevstoexcelobj.asp ...Show All
Visual C++ error LNK2005: "void __cdecl bp5(void)" (?bp5@@YAXXZ) already defined in test.obj
Hi All, I generated a simple SDI skeleton using the wizard, and tried to #include some of my libraries. It gave me a bunch of 'LNK2005: ... already defined ' errors. I repeated the basic SDI generation in another project and this time only tried to include a single, trivial header file: mytest.h #pragma once //#include "stdafx.h" void bp5(){ int a = 0; a+=1; } I include this file in the testDoc.h file of my test project. Despite that this simple header file is so basic, and despite the #pragma once directive, it still gives me the same LNK2005 error! Can somebody kick me and tell me what's wrong Thanks ...Show All
SQL Server SQL Server Reporting Services Installation - Urgent
Hi all, Wondering even any can help out with the problem below - I am getting an error when I am installing Sql Reporting Services on my web server. The error it gives is 'The domain account that you specified cannot be validated. Verify that the user name and password are correct, and that the account has permission to log on to this computer' Some Back ground Information - - The machine am installing it on is outside my network. - The sql server is inside my network which is using AD (Active Directory). - They both can see each other just fine. - They both are running wi ...Show All
Visual FoxPro cannot open up a form-- BIG TROUBLE
I have been working on this form for about two months adding new objects and manipulating databases. The last save I did was about 4 days ago. I have a few grids in it on different pages of pageframe and everything worked fine. I never added any columns to any grid at design time. At runtime VFP determines the column layout after a grid is given an alias as a record source. Today, just a few minutes ago I decided to add three columns to a grid which has always been empty at design time. After I did a save, I got an error message at runtime: Error loading file - record number 34: o_Grid2 <or one of its members>. Header Class: ...Show All
SQL Server Uninstalling the Beta version of SQL 2005
I cannot install the new version of sql 2005 because it will not install when the beta version is installed. However when I try to uninstall the beta version it says it needs .Net framework 2.0. I have .Net framework 2.0 and so I am stuck with what to do next. Ideas anyone I have dealt with this exact situation. Basically, the installer needs the .NET 2.0 framework to uninstall. However, it can't just use any version, it needs to be the version that matches the beta you have installed. So I would recommend uninstalling whatever version of the f ...Show All
SQL Server Distributed Transaction on Windows 2000 Professional
Just curious if anyone out there has had success running a Distributed Transaction on Windows 2000 Professional SP4 lately I have come to the conclusion that is is virutally impossible. I am running MSDE on a Win2k Pro machine and trying to run a distributed transaction via linked server and am getting the " The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction ." error. Yes I have been scouring the web looking for answers and have implemented pretty much everything I have run accross... and Yes the MSDTC service is started on both machines... BTW: If I run the procedure ...Show All
Architecture Deleting Hotmail Contacts
In my hotmail account it won't let me delete ANY of my contacts. I select one, press Delete, and it comes up with the message: Are you sure you want to delete the selected items(s) . I click (OK) and it refreshes, with the contact still there, undeleted, no matter what I do. Can anyone help me please I am having exactly the same problems. It is a real pain in the a@@ as I accidentally saved a whole load of random email addresses into my address book by mistake! Did you have any joy sorting it out ...Show All
Visual Basic Scary- Debug is running old code. Is there a way to set the debug to completely refresh.
I was running a misbehaving program and really couldn't find what was going on until I noticed a messagebox was popping up that I had deleted previously. Hmmm.... Without changing any of my code, I deleted all the projects .exe's in the obj and bin folders. This cured the misbehaving program and the messagebox stopped popping. Fortunately this was a very simple application and the problem was easily found. However, I would like to have the builds and debugs work with a complete refresh. Is there a way to set the debug to completely refresh, so it includes the latest developed code I.E ...Show All
Game Technologies: DirectX, XNA, XACT, etc. About DX 10 ...
... I don't know where to post this: there will be a managed version of it I'm pleased to announce that the DirectX 10 discussion that was part of the overall DirectX presentations at PDC 2005 are now available for viewing through the DirectX Developer Center (http://msdn.com/directx) ...Show All
