None01's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Multiple Filter Graphs with DirectShow
Hi All, I've created an application that uses a custom allocator-presenter that I created based on the VMR9Allocator example found on the DirectX SDK (well, now it's on the Platform SDK). I've managed to uderstand most of what I've "implemented" and I now have almost everything I need, except for one thing. I need to be able to play more than one video at the same time and to control them independently. To do this I know that I need to have multiple Filter Graphs rendering the videos on private textures and then have the Allocator-Presenter show them on screen (this I know, but I don't fully understand how). The SDK has a multiple filter graph example called MultiVRM9, but it's way too much for what I need, it's massive distance ...Show All
Visual C# C# pointer
I need to create a C# pointer for a DLL function. I wrote byte* Read_Data_ptr, but I get the error: Pointers and fixed size buffers may only be used in an unsafe context Any help with this would be geatly appreciated. Thank you, Mike Hi, you need to declare an unsafe block where you can use unmanaged code: unsafe { byte* Read_Data_ptr; } Consider "marshalling" (i.e. converting your unmanaged type to managed type) when calling functions from DLL's. ...Show All
Windows Search Technologies Windows Desktop search
Is windows desktop search able to access and retireve previous saved versions of a word document This is a feature google desktop does under "cache" Will Vista incorporate this feature It should. It is the only reason I have google desktop, which seems to slow my computer down. The advantage to having it is if you happen to delete something on a document and then click save you can retrieve the information you deleted quickly, rather than buying and running an expensive recover and restore data program. I lost data recently this way, deleting much more than I realized. Thanks, Gino ...Show All
Visual Studio Express Editions Drop down box question
I have a drop down box that is populated via SQL with department numbers ie 0110,0115,8903,8905,8910,8911. I want the user to be able to when they start typing lets say "8" I want all of the departments that start with 8 to show up in the prodown box. and lets say further along when the get to "891" only two will show up. Now if they were to start typing a number that does not exist like "7" nothing will show in the drop down box. I have seen somthing like this in a MS Access box, Is this possible to do in Visual Basic Thank you sorry i think i didn't understand your problem well..let me see if i understood it this time...so you want to see the existing items in your dropdownbox that starts with t ...Show All
Visual C# C#.net or C# 2005
Hello everyone, I have some intermediate knowledge on C programming and wish to learn C#. Searching through the bookshop, found there are two difference thing: C#.net or C# 2005. What is the difference between these two And in term of syntax level, is there any difference ok... thanks. The C#.NET I referred to is the 2002/2003 version. I heard in the 2005 version, the compiling process is slower compared the 2002/2003 version. Is it really correct ...Show All
Visual Basic need help about internet domains
Please help me about writing a program in VB.NET to do this : List all available domains on the internet. I would start by reading up on how DNS works. This should give you a clue as to what to do next. Technically, I guess you could with IP address 0 and work your way up. It's going to take a while, though ;-) Best regards, Johan Stenberg ...Show All
SQL Server 64 bit Server Aliases SQL 2005
Does anyone know how to create SQL Server aliases for Itanium servers Alternatively does anyone know how to use SMO to create a SQLAliasCollection for a specific server I can't seem to find how to get that collection. I've added aliases that work for 32 bit applications but they don't seem to be used for 64 bit applications. Thanks. It turns out alias are working fine for 64 bit and we need to add the 32 bit. The problem turned out to be that I can't connect from an Itanium Back to the itanium using a different name. When we do, NT credentials are getting blocked. We can connect to other machines using aliases, just not back to the same machine. We're investigating how to get around that at the moment :) ...Show All
Visual C# Convert project from vs2003 to vs2005 in c#
Hi, I need to convert a very big project from vs2003 to vs2005 developed in c#. The conversion wizard did a bad job, and cannot compile the final results of conversion. It could be caused because of bad conversion for partial classes (forms mainly) needed in vs2005. Is there out some tips for conversion Or manual convert is the best option Some tool out there being able to do the conversion correctly Thanks in advance Alfonso Moreno This link might help you. http://www.codeguru.com/csharp/.net/net_vs_addins/visualstudionet2003add-ins/article.php/c12553/ ...Show All
SQL Server Exporting sp result to flat file using XML schema
Hi there, To put in context, we are using BizTalk to get the result from a stored proc and export it to a text file using a XML schema (XSD). The XSD includes formatting info such as the justification, padding, etc. We are moving this process to SSIS and we want to reuse the BizTalk schemas. Is it possible Thanks Frantz I have no experience with BizTalk at all... I have already re-wrote a module initially created in BizTalk. The guys said it would take dozens of minutes for the process to complete and with DTS it generates the same files in a matter of minutes. The resulting flat files are up to 100MB so in XML format it was something like twice the size. I don't know if it was bad design b ...Show All
SQL Server duplicate rows in 1 csv file
Hi, I am trying to import data from a csv files to a OLE DB Destination. The csv files contains all transactional changes . For example for a particular record the firstname, lastname, email address records change within the same csv file. I need to save only the last updated record from the csv files. I have tried "slowly changing dimensions" but these dont work when there is duplictes within the same csv file. Also have tried 'Sort' but this only stores the first occurance. Any ideas how i can store the latest changed data within 1 csv file. the last row wins. there is no timestamp field . This is the way designed by the third party developers. Records are saved in csv files as changes are made ...Show All
Visual Studio Tools for Office Create Buttons with a Loop and add an event handler?
Hi, I’ve created 70 buttons with a For Loop. The code is like this: Public Sub CreateButtons() Dim strCategories() As String strCategories = m_strCategoryList.Split( ";" ) For Each strCategory As String In strCategories If strCategory.Trim = "" Then Exit For End If oButton = m_PopUp_1.Controls.Add(Office.MsoControlType.msoControlButton, Temporary:= False ) oButton.Caption = strCategory Debug.WriteLine(oButton.Id) AddHandler oButton.Click, AddressOf oButton_Click Next End Sub This creates my Buttons and adds an event handler to them. But the Event Handler only fires once. Can anybody help me I don’t want to create each single b ...Show All
Visual Basic windows control library
i developed my own control using windows control library Can I use this control in my asp.net pages when added reference to this control, but i cannot see this control in the toolbox help me You can use Ken's suggestion if you want to have rich client controls in the Web. I'm wondering if you really wanted to have Web controls in your Web page. If that's the case you'll need to create a custom Web control in a Web Control library. Thanks, Paul ...Show All
SQL Server Using Alias in update statement
Hi, I am using MsSql2005 and wondering how to create aliases inside update statements. I need this, for a table variable inside a procedure. UPDATE @TempTable SET Field1 = ( SELECT RealTable.Field2 FROM RealTable WHERE RealTable.Field1 = @TempTable.Field1) This statement doesn't work because I need to use an alias for @TempTable. How Thanx a lot That quite easy, without using dynamic sql: UPDATE @TempTable SET Field1 = RealTable.Field2 FROM RealTable R INNER JOIN @TempTable T R.Field1 = T.Field1 HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Smart Device Development How to use managed dll functions
Hi, I'm developing smart device application by using CF1.0 on VS 2003. I need your help. My question is How to use managed dll class (which contains one control class) dynamically . The following will explain to you what my problem. The managed dll (MyControl.dll), written by using Class Library application in VS 2003 and it contains: Public Class MyControl Inherits System.Windows.Forms.Control ............................... End Class I have added the above dll as a content with my project. (Build Action = Content). My problem is how to add the above control in my application dynamically (when i click button). For importing Native dll functions ...Show All
.NET Development VS2005 - XSD file created - Can VS2005 create code automatically?
Hi all, if this is a stupid question or not directed to this forum, please redirect me to the correct one. I went to Solution Explorer and I created a new item (dataset). I opened Server Explorer until I found the table that I want to access and modify. I then dragged the table in question into the design view of the xsd file. I can see the table represented in the design view, does VS2005 is able to create the class code automaticaly If not, what is the purpose of creating the xsd file Thanks and sorry for the possibly idiotic question, Luis Miguel Pinho To generate the class code, you may use XML Schema Definition Tool (Xsd.exe) from the .NET Framework SDK. Thanks, Anton ...Show All
