Maximilian Machedon's Q&A profile
Software Development for Windows Vista SetOutputFileName for GraphBuilder
Hello, SetOutputFileName is used for a CaptureGraphBuilder. What is the equivalent for a simple GraphBuilder Thank you, Christophe, ICaptureGraphBuilder is deprecated in favor of ICaptureGraphBuilder2. ICaptureGraphBuilder2 needs a call to SetFiltergraph() in order to know what GraphBuilder object to work with. SetOutputFileName automates the process of building the graph. However, you can always build the graph manually by using IFilterGraph::AddFilter to add the filters you prefer, and connecting the pins of the filters. ...Show All
Visual Basic Getting a VARIANT* from activex control
Hi all, I am using Visual Studio 2005, and have created a Visual Basic project where I use an ActiveX control. This control has this method; void getArray(VARIANT *); This VARIANT consists of a CComSafeArray of double precision floating points. Now I want to access this method from a Visual Basic application. As far as I have understood Visual Studio 2005 is using Visual Basic 2005 and that doesnt support the VARIANT data type. Therefore I have tried like this: Dim myVariant As Object = DBNull.Value myControl.getArray(myVariant) Now, my problem is how to access the elements stored in the safeArray which is in the VARIANT Hope someone can help me here! Thanks! ...Show All
SQL Server upgrading from SqlExpress2005 to SQLEXP2005Advanced
Hi, I am newbie with SqlExpress. I have SqlExpress2005 installed on my computer and created some databases on that. They are working fine. Now, for the sake of full text search and other facilities, I would like to upgrade this to SQLEXP2005Advanced. My questions are: 1. Shall I need to uninstall SqlExpress2005 first to install SqlExpress2005 2. How I can take backup of existing databases on SqlExpress2005 so that I can immediately restore them on SQLEXP2005Advanced Thanks in advance for any help in this regard.... Regs Tony No uninstall is required. When you run the SQLExpress Advanced setup it will ask you to select either a default instance or a named instance. Click the button to view existing instan ...Show All
Visual Studio Install problem
Hi, After my admin rigths problem, I found probably another trouble. I don't have enough space on C: to install Visual Studio Team Ed. So I decided to install my new products on "d:/programs". Then I installed VS on "d:/programs/vs" and VS SDK on "d:/programs/vssdk". I was very happy to create and build successfully a new dsl project. Unfortunately, when I try to run it, VS said just : "unable to find a component. re-install the application" ! Wonderful ! Do you know where this trouble comes from Thanks, Olivier. ps : I used the "by default" install of vs2005 Hi, hmmm, it looks like you are not alone in this. Have a look at this post . I am not sure ...Show All
Visual Studio Express Editions Where does the .NET framework put programs?
I wrote a small application in VB Express and installed it on my laptop which runs Windows ME. After installing the .NET framework the application loaded and ran ok. I'm reconciled to the fact that the .NET framework will have to be installed on all my client's computers (even though it took 20 minutes). But the code isn't located in the "Programs" folder. Is this normal Is there any way to have the installer put them there I want to distribute my application from one CD to run under Windows 98, ME, 2000 and XP. Will this be a problem Jerry, SJ, if I ever hear the word scripting again, i'll scream. I think newbies who are misusing these words should be taught what source co ...Show All
SQL Server IndexCollection class.
Hi All, From MSDN: '...The IndexCollection class represents a collection of Index objects that represent all the indexes defined on the instance of Microsoft SQL Server...' At the risk of sounding pedantic, doesn't this imply that one can obtain all indexes from a Server object As far as I'm aware an index is a table feature, and the only way to get a collection of indexes is Tables.Indexes. Any comments would be appreciated. ...because I'm writing a server monitoring application, which will report on the most highly fragmented index for each database for each monitored server. Thus whilst I won't need to build a collection of indexes, I'll certainly have to iterate thro' them all. I wasn't really ask ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where is Memory Export?
I cannot seem to find any mention of how to use the 360's memory export functionality in the XNA documentation. Memory export looks like one of the most unique and powerful features of the 360 and so I hope its inclusion in XNA has not been overlooked. ...Show All
Visual Studio Express Editions Local Or Remote
Can someone please explain What is the definition of a "local" and a "remote" table Is a local - within your network Is a remote - somewhere in If a local is within your local network, how do you connect from other pc's. I asked a question the other day and someone made the remark that I would not have to use a mapped drive like I have with Access. How do you connect to the data What do you do to the other pc's to see the sql server There again- take it easy on me until I get a sharp as you. Bumfuzzled. David Great, I hope Whats an IDE Would it be better to use SQL 2000 while in developement Thanks for being a teacher today! ...Show All
Windows Forms Data Adapter Configuration Error
Hi I am new to exress and new to vb.net but know vb6. I have designed a database with sql express but can not bind it to a sql dataadapter. I can bind an access db ok to oledb adapter. I get Data adapter configuration error: Generated Update statement. Could not determine which colums uniquely identify the rows for "Table1". Generated Delete statement. Could not determine which colums uniquely identify the rows for "Table1". Many Thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Does the DeviceCreated event happen more than once during execution?
I'm trying to puzzle through how SpaceWar works, and I noticed that CreateShip appears a couple of times for a given ship. -In the "EvolvedShape" constructor -When OnCreateDevice() is called Is this on purpose I had figured that the graphics device gets created once when the game was first loaded and that was it, but is there some situation where the graphics device gets re-created, requiring the EvolvedShape to be re-initalized ...Show All
SQL Server Database Anomaly
Hi I have a table call Employee, and got a field name call Employee Name Employee Name - -, - - %%%, (Gpsi) Dr Ac, Baruah (Gpsi) Dr Ap, Dhital 0, 0 1 To 1, Centre ABAYOMI, EMJ 4, US 5F4MBL01, 5F4MBL01 5Jxths01, 5Jxths01 A&E Dept(Rochdale, Zts) NULL ABAYASIRIWARDA, JM Shaw, A NULL Zzzzzzzzzzzzzz, Aaaaaaaaaaaa From this example data, I need to get only bolded records only, rest of the records are garbage records. Eg: garbage Records like: “A&E Dept(Rochdale, Zts) “ has got a ‘ &’ sign is not a valid employee name “1 To 1, Centre” has got a ‘ 1’ is not a valid employe ...Show All
SQL Server Problem in a CROSS to SQL
Dear friends; I have a CROSS table in ACCESS that I want to export to SQL 2005. The query is: TRANSFORM Count(GD_PROFILE.cnRow) AS CountOfcnRow SELECT GD_PROFILE.ID FROM GD_PROFILE GROUP BY GD_PROFILE.ID PIVOT GD_PROFILE.ID_APLIC; The RESULT is: ID 20 22 77 122 141 179 211 327 334 370 388 405 524 584 645 687 826 865 914 CN1 1 1 1 1 1 CN2 1 ...Show All
Visual C++ "Configuration is Incorrect" after SP1 installation
I just installed VS 2005 service pack 1 on VS 2005 Standard running on Windows 2000. After recompiling, my application still runs on my development system, but when I attempt to run it on any XP/non-development system I get the "configuration is incorrect" message. All systems have the latest OS updates. I have created a Visual C++ Windows Forms Application using the defaults with no modifications or code of my own. The default is /clr:pure. It is compiled as release code. When I try to run this application on an XP system I get the configuration is incorrect message. So, it appears to be some sort of problem with the service pack installation. Default references are listed as System System.Data System.Drawing Sy ...Show All
Windows Forms C# How to make a form click-thru-able (hard to explain in one line!)
Hi, I was considering making a cursor replacement application in C#. To do this i made a form with a PictureBox and a Timer. The Timer would synchronize the form's position to the cursor coordinates. The form was using a TransparencyKey and was TopMost. However, when I click anywhere, the form handles the mouse event, meaning that I can't do anything with the computer other than click on the cursor (not really that useful!!).... how can I make it so that clicks "go through" the form OR! Is there some way in C# of drawing images, etc. beyond the form's surface Thanks in advance! - Javawag I neglected mentioning that part, because it's kinda tricky.... To Handle it, we need a bit more inform ...Show All
SQL Server searching with LIKE operator using parameters
suppose that i want to build a simple search based on LIKE operator. there are few parameters that are supplied for search say @name, @address, @comment, @hobbies. IF the user may supply name and address then the search should be carried out using LIKE operators for name and address only and similarly the LIKE operators should be applied to those parameters that are supplied. how to do this any suggestions Please help! Like to add one more small comment with Jens K. Suessmeyer Ensure your @param values hold the '%' wild card pattern.. It may be end of (@Param +'%') or begin of ( '%' + @Param ) or enlclosed with ('%'+ @Param + '%')your param value.. If you are missing the WildCard pattern on LIKE then it will act as EQUAL(=) operat ...Show All
