soccerjoe's Q&A profile
Visual Basic AnalogTVTuningSpace and MSVidCtl
I´m trying to develop a decent tv tuner/capture application (since there are no such apps, nowhere, I say) in Visual Basic 6.0. I´m using the MSVidCtl component together with the AnalogTVTuningSpace and IChannelTuneRequest object to achieve this, as described here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/directx9_c/directX/htm/hostingthevideocontrolinavisualbasicform.asp and here: http://msdn.micro ...Show All
Visual C# Validation Philosophy
I am working with a Winform in VS 2005. I have been reading some books lately that say that using the error provider and checking it when you save or exit a form is a better, (less intrusive) way of doing validation than putting up dialog boxes. I see the wisdom to it but I wonder what should happen when you have many records in a form That is, lets say I have a winform with the Standard menu and toolbar on it that VS creates automatically, but lets also say that this form (a detail form) has many rows. With regard to validation, how should it be handled Should I wait until save or exit is selected If so, telling the user that there a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Orthographic Projection using DXUT CModelViewerCamera
I was wondering if there is an easy way to obtain an orthographic projection with the DXUT camera class CModelViewerCamera I have unsuccesfully tried the following configuration: D3DXVECTOR3 vecEye(-1.0f, -1.0f, -1.0f); D3DXVECTOR3 vecAt (0.0f, 0.0f, 0.0f); g_Camera.SetViewParams( &vecEye, &vecAt ); g_Camera.SetProjParams(45.0f, 1.0, 0.0f, 10.0f); I'm not aware of there being any built in method, but CModelViewerCamera derives from CBaseCamera , so you could conceivably specialize it further and add in orthographic support. If you follow the trail, CModelViewerCamera::Set ...Show All
SQL Server MIIS 2003
Is there any way to make MIIS 2003 install with SQL 2005, or do I have to stay with SQL 2000 SP3 for all new MIIS 2003 implementations thanks, Azin I'm not sure anyone in this forum knows enough about MIIS to answer this. The forum is about SQL Integration Services (part of SQL 2005 product), not about Identity Integration Server. (Sorry, I don't know if there is a forum for MIIS either). ...Show All
SQL Server SQL Server Logs under Management Menu
Hey Geeks, I have found in the SQL Server Logs under Management Menu that says something like this : Login failed for user 'sa'. [CLIENT: 59.144.69.233], Time : 3/9/2006 3:41:53 PM And for every second there is addition in the messages. Why is it happening Can anyone tell me Thanks in Advance. Snehal Someone had been trying to connect to your SQL Server via 'sa' and failed. Maybe it was broot-force attak, maybe something else. ...Show All
Visual C++ Linker Error
There's an error in my project (Actually it's on Borland C++ 6.0 because de visual C++ 2005, didn't recognize library "windows.h". So please, if somebody knows the reason help me.Here is the code (just an experience): #include <windows.h> #include <psapi.h> #include <iostream> using std::iostream; int main(int argc, char* argv[]) { DWORD* id; DWORD* returned; DWORD size; bool temp; EnumProcesses(id,size,returned); int a= *returned/sizeof(DWORD); std::cout<<"There are "<<a<<" processes on system"; system("pause"); return 0; } [Link ...Show All
SQL Server Bug in NS 2005?
We have rolled out a solution on SQL 2005 and NS for 2005. As we have been looking into reporting notifications from our system I came across that a column that is created out of the box does not make sense. In the generated table NS<NotificationClassName>Notifications there is a column called SubscriptionID, it is set as nvarchar(255), but in the NS<SubscriptionClassName>Subscriptions the SubscriptionID is BIGINT. Why would then be different when the refer to the same thing What we have done for our solution is not read from the NS table directly, since we do have vacuuming enabled, but we trigger all notifications to another t ...Show All
Windows Forms How do I catch SelectionChangeCommitted event of a combobox in a datagrid?
I have a standard combo box in a datagrid (DataGridEnableComboBoxColumn) and I want to catch the SelectionChangeCommitted event. Does anyone know how to do this Blue & white hooped blood runs through my veins Hi Supa Is there any chance you could post the code up. I am having huge problems in this area... Thanks Touraj tourajv at hotmail dot com ...Show All
SQL Server Label Reports
Are there any facilities in reporting services (2005 or 2000) for doing mailing label reports. We used to use these a lot in MS Access but now we are using Reporting Services for reports and it doesn't seem like there are facilities for labels. I am guessing it could be arranged with some clever lists or tables but not so nice as just picking the type of labels and it does all the formatting for you. Any info would be much appreciated. Martin ...Show All
Windows Forms build propertygrid at runtime...
What I want to be able to do is add properties to my propertygrid at runtime depending on what properties the user has specified with a database table. Let me give you an example and hopefully it might all become clearer. I have a propertygrid called 'propGrid1' which is placed on my form already at design time. I then have a database table w ...Show All
Visual Studio Team System Trouble Accessing Team Foundation Server Remotely
We are accessing TFS through remotely. But we are not able to get all functionality as it should get no matters we logged as Administrator or redear.Bellow two are the features that are not accessible : Documents and Reports Node of Team explorer getting Cross(X) with red. Not able to see the Project in Solution explorer. We are accessing through VPN and on Beta 3 refresh. Can you please give some ideas on these issues Thanks Hi, If you can upgrade to the RC version. It has fixed a lot of issues not only this situation. I have used TFS over VPN and although it is slow, I can see and access everything. If you do ...Show All
.NET Development How to connect to ODBC from VB Express 2005
I don't understand how to connect to a ODBC database from VB Express 2005. Here's my problem: When I go to add data source, I'm offered the choices of mySQL and another MS database on my machine. But no ODBC. To test the availability of my data, I opened Visual Web Developer and used the similar procedure: Add data source. There my data is listed in the selections box and when I add it, I can read all the data in each table. So it appears by my database is available as a "system" ODBC source. What do I need to do differently in BV Express I've worked on this for hours! JS This is correct by design, the Expres ...Show All
Visual Studio Team System Code analysis reports on Visual Studio generated code
Heya, I have a problem with the Code Analysis (FxCop I assume). Its reporting warnings on code generated by Visual Studio, such as code in the xForm.Designer.cs files. For example: Warning 99 CA1303 : Microsoft.Globalization : FLogOn.InitializeComponent():Void passes a literal as parameter 1 of a call to Control.set_Text(String):Void. Retrieve the following string argument from a resource table instead: 'OK' How can I turn off Code Analysis for generated files Cheers, Chris Chris, I'm not an expect with Team Foundation Server, so I suggest you ask how to do this in the Team Foundation Forum . Cheer ...Show All
Software Development for Windows Vista Build 5308 newsgroups
I want to install 5308 over Beta1 but I'm not sure how. I know I should be posting this to one of the Microsoft.Beta.Longhorn newsgroups but I can't seem to access it through Outlook Express although I can see all my private MVP Office 2007 newsgroups FYI - I have downloaded 5308 iso file and burned it to a dvd. Any help would be appreciated, either for getting me into the newsgroup or installing 5308. TIA, Shane Devenshire ...Show All
.NET Development Managed Memory Leak?
I am having a very strange memory leak that seems related to databinding. It is very hard to reproduce, so I won't post any code here to do so, but will just describe the problem. We have data entry forms which have controls which bind to custom business objects through a BindingSource object. On Dispose of the form, we call ClearBindings as described in: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnwinforms/html/databinding_winforms10_11.asp#databinding_winforms10_11_topic11 However, our business object stay in memory after the form has been closed ...Show All
