Chris G.'s Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Where is my dshow.h?
I can't find 'dshow.h' in DirectX 9.0 SDK (October 2005),why DirectShow hasn't been part of DirectX for some time now. You need to download the Platform SDK from here . If you have further DirectShow questions, please post them to the DirectShow Development forums . ...Show All
Visual Basic Where did the auto-generated code go?
This is probably a rather silly question, but I cannot find an option to display the auto-generated Windows Form code that was available in VS .NET and VS .NET 2003. Is there an option that I am missing to turn this on It's a Windows Form application. Paul Domag wrote: I think both C# and VB are using the 2 file approach being used in C++. Yes, that is true. It reduces the amount of code one has to search through. ...Show All
Visual C# C# & Memory Problem
Hello I have written so far several little applications in C# (2003) which do some stuff. Nothing spectacular. EXE files are anywhere between 30 and 50KB. Everything worked perfectly fine until I checked how much memory space these applications take over. And, well, it is anywhere from 17MB to 24MB. Could anyone explain to me this phenomenon What should I do to fix this Help & Encourage Me This is because all the .NET stuff will be loaded. You exe can be small, but you could never get the memory usage under the +/- 20MB for a Winform Application. But when you ...Show All
Windows Forms Modal dialog turning into modeless
This is the issue: When a parent window is disabled while a modal dialog is being shown, the shown dialog ends up behaving like a modeless dialog on re-enabling the parent window again. Any ideas why this behaviour Sounds like a MS .NET framework bug! The summary is like this: 1. A main form spawns a thread. 2. The thread method displays a modal dialog (by calling ShowDialog() on a Form object (let us call this the "second dialog") 3. This displayed dialog has a button which in turn displays another modal dialog. (Let us call this the "third dialog") Everything works ...Show All
.NET Development Circular Reference with Reflection.Emit?
I am having a small problem with circular references when building a dynamic assembly. Lets say I have class Foo and class Bar, which both take in an reference to the other. For example (C#): class Foo { public void test(Bar bar) {...} } class Bar { public void test(Foo foo) {...} } When trying to build this code with the Reflection.Emit classes, I run into this problem (marked with the ): ModuleBuilder module = {...}; TypeBuilder fooBuilder = module.DefineType("Foo", TypeAttributes.Public | TypeAttributes.Class); fooBuilder.DefineMethod("test", MethodAttributes.HideBySig | MethodAttributes.Public, type ...Show All
Software Development for Windows Vista Dual Display Suggestion
Hi, I use dual monitors for work every day, and the most annoying thing you can imagine is when I am several programs open and it seems like every time I open another window, it opens one the opposite screen that I want it to. Perhaps microsoft could come up with a way to right click a shortcut and press "open on screen 1, 2, etc." or maybe when you double click a program and move the curser to the screen you want it will automatically open on that screen. I know this isn't really a suggestion forum, but I am hoping microsoft reads some of these and takes them in to account for developing new software. Thanks. ...Show All
SQL Server Secure Social Security number in my DataBase
Hi, i have a data base in SQL 2005 and i it has many tables with confidencial information Like Social Security numbers, Credit card Numbers, etc. And i would like to encrypt this information or make something to make this info invisible to any hacker, or any person that logs on the server. Here are the limitations: 1 - I cant make any changes in the front end, so if i encrypt the data, I have to make all the modifications in the database, and if the front end needs some encrypted information, the database should dencrypt it. Any one has any idea Best Regards. The only true way to make things invisible to a ...Show All
Software Development for Windows Vista hardware compatability
hi i just wanted to pass on some suggestions to the windows vista software development team. I've got a canon BJC 5100 printer which worked fine till my pc(which has windows 98) was stolen when I loaned it to a relative,the replacement PC has windows xp and according to canon they will not provide drivers for their printer to work under xp. A google search showed that Im not alone and that canon simply state they are no longer supporting their product but suggest I try windows 2000 drivers for the printer instead(I've tried and it doesnt work) I've tried the other suggestions such as using the windows compatability wizard,changi ...Show All
Windows Forms Can you "refresh" the property browser
Hello All, I am extending a Window's control by adding a new Public Property named AltText which will replace the Text property in certain run time situations. At Designe time, I want to update the Text property with AltText if it is changed. AltText shows up correctly in the Property browser and if I drag a control onto the form's design surface it correctly displays AltText. I also update the standard Text property to the new value. The problem is the Text property in the Property browser is not immediately updated when I do that. If the Text property is not physically showing in the browser when I change AltText it is correct when I ...Show All
Windows Forms How to embed child datagrid into its parent in windows forms
Hi I want to embed a child datagrid into its parent grid in windows forms so that the user can select some rows in the child for processing. I tried adding a relationship between the two tables but the datagrid shows a + sign which takes me to a new datagrid. I want to display the child datagrid into the parent grid. I searched a lot in the net and could find one similar in Sync fusion. I don’t want to purchase the same since that involves licensing and maintenance problems. Can anybody help me in this regard and provide a solution for the same ASAP as my project deadlines are nearing. I'm using .NET frame ...Show All
Visual Studio Express Editions Questions About Visual Studio 2005 Express
1. Does Visual Studio Express come with XML capabilities or do i need to download it If so what do i need to download 2. What else would i need to download for VS 2005 Express especially for Visual Basic and C# for features that are not in the install Or any of the downloads for studio that is best to have Thanks, Kevin I am not sure what you mean with XML capabilities. You can use the .NET frameworks functionality to programatically work with XML as any other .NET application can. There are no special XML tools included in the Express Editions. It is just text so you can ofcourse edit it inside the IDE as a text fi ...Show All
.NET Development how to get some text into a XMLWriter?
This should be sooo easy. I've got a XMLWriter object I've got a XMLNode How do I get the XMLNode.OuterText into the XMLWriteObject without having to go through hoops messing about with streams, textwriters or any other derived stupidity or otherwise writing lines and lines and lines of code when I should be able to do this in about 3 lines These new readers and writers are rubbish. They just bend my head backwards every time I have to use them. Either I'm very very stupid, or they are just long-winded and illogical And please microsoft, tell w3c they can have thier own xml dom, just ignore them and write us one that isn't soooooooooooooooo ...Show All
Visual Studio Express Editions Math Help
I guess I am having a brain-lock but I am having problems subtracting. I have a variable called Money that is an integer with an initial value of 10. I want to subtract from it and show the results in a text box. The text box shows the initial value of 10. For example, I want to reduce it by .25 and then show that result in the text box. However, I've tried it a few ways and either it wont reduce or only reduce one time. Suggestions on a simple way to subtract this I display the amount in txtMoney When I do it this way: txtMoney.Text = money - 0.25 and then try it again, it wont reduce it anymore..just that one time...Suggestions ...Show All
Software Development for Windows Vista VS2005 and directshow
Hi all Got some problem with the new visual studio 2005 and directshow baseclass project and warning coming from the compiler. I read in several ng on google that maybe the actual psdk (april 2005) could not be full compatible with vs 2005. Is there any date for an update version of the psdk Please reply as soon as possible... please Lorenzo Malaguti Updated on May 2, 2005 http://www.microsoft.com/downloads/details.aspx FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en ...Show All
SQL Server Incorrect results from FTS on multiple columns
I'm writing a FTS query which needs to search on two different columns. E.g. Table contains "Location" and "LocationDescription" columns. Both columns are FT indexed. The query also uses AND/OR operators to filter out the results. I found the following article which gives the solution to the same problem. Link: http://support.microsoft.com/default.aspx scid=kb;en-us;286787 Is this problem associated with SQL Server 2005 also Making a third column which hold data from first two column is the only solution or is there any other way to acheive better results Shailesh Patel... My database ...Show All
