ZahranyM's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. DirectShow
I notice that managed DX no longer supports the audiovideoplayback namespace. Is it correct that DirectShow has been dropped altogether If so, how do we now write code to interface with video capture devices, etc DirectShow has not been dropped in a sense, it has been moved to the Platform SDK, there is also now a forum here that can be used to talk about issues releated to directshow. ...Show All
Visual Studio Team System I can't create PrivateObject, an exception thrown out
When i try to create a PrivateObject object[] args = new object[1] { "test" }; Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject priv_obj = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject(typeof(global::Class1), new System.Type[1] { typeof(string) }, args); An Exception thrown out Test method Class1Test.testTest threw exception: System.TypeLoadException: Could not load type 'Class1' from assembly 'ObjectModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.. Class1 is using System; using System.Collections.Generic; using System.Text; namespace Microsoft.Vega.ObjectModel { publ ...Show All
Windows Forms TreeView Help
Hello Folks: I am building a Front end Jukebox Client for work I am need some guidence on using TreeView. I am going to pull data from a SQL Server and I want to display this information in a TreeView in a section of the App. ---- Dynamic Table in SQL ----- pnode cnode Description 2 0 Country 3 0 Rock 4 2 Garth Brooks 9 2 Brooks and Dunn 10 2 Willy Nelson 5 3 Moody Blues 6 3 The Who 7 3 Yes 8 3 Led Zep 11 3 ZZ Top 12 3 Pink Floyd 1 ...Show All
Visual Studio Language Service and IVsEditorFactory?
Does a Language Service only use the core editor Or can we create our own IVsEditorFactory impl to use in conjunction with the Language Service's colorizer, etc. Do you just want to create your own colorizer If so, are you using the Managed Package Framework If so, it should be easy to implement your own colorizer. If you can give me a better idea of what you are trying to do, I can suggest something. Thanks, Dylan ...Show All
.NET Development Error while sending email using ASP.NET 2.0 Beta 2 (Visual Studio 2005 Beta 2)
While trying to send email using <code> SmtpClient obj_SmtpClient = new SmtpClient (); obj_SmtpClient.Host = "" t; obj_SmtpClient.Send(s_from, s_recipients, s_subject, s_body); </code> I get the error message: Failure sending mail. Unable to connect to the remote server An established connection was aborted by the software in your host machine at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& so ...Show All
Visual C++ VC 2005 RC with Loki small object allocator, std::lower_bound, and CompareFixedAllocatorSize
I am trying to use the Loki Small Object Allocator with VC 2005 RC v8.0.50727.26. In smallobj.cpp Loki has the following template function invocation: Pool::iterator i = std::lower_bound(pool_.begin(), pool_.end(), numBytes, CompareFixedAllocatorSize()); CompareFixedAllocatorSize is defined thus: namespace { // anoymous // See LWG DR #270 struct CompareFixedA ...Show All
Visual C# override virtual method
What's the difference ----------------------------------------------- class A protected virtual void Method() {...} class B : A protected override void Method() {...} //here there isn't any base.Method()!!!! --------------------------------------------- class A protected virtual void Method() {...} class B : A protected new void Method() {...} --------------------------------------------- Thx The output is like this: I am animal I am dog I am cat but then there is no matter how do you overide methods ...Show All
Visual Basic dateformats
Im using backend as ms-access 2003 the default date format for field of datetime type is mm/dd/yy 1st question Can we change the format to dd/mm/yy in ms-access itself 2nd question Im using front end as windows forms appln using vbasic every time when i retrieve the date value from backend, it requires me to convert to dd/mm/yy format. can u tell me the method for this conversion and everytime i insert a date value in to database from the form, it requires conversion from format user entered(dd/mm/yy) to mm/dd/yy, pls tell me the conversion method In access when you define a field as ...Show All
Visual Studio Addins and Macros missing from VS2005 after Visual Studio 2005 SDK install
I installed the latest (RTM) bits of VS2005 and then installed the Visual Studio 2005 SDK. Since that time (I think) no matter what AddIn I install or create it only shows up in the Experimental environment, never in the 'normal' one. Macros also started behaving strangely: the 'samples' macro project is missing from the 'normal' environment but is present in the Experimental one. I fixed this by exporting and then importing the appropriate registry key, but I assume that it will not work for future projects. I also have all of the appropriate directories for Macros and Addins on my current system: %ALLUSERSPROFILE%\Application Data\Microsof ...Show All
Visual Studio Deleting files is unreliable
hi. (this is vss from vs2005 beta 2). when a file is deleted from a project by one user - why is source safe offering other developers that do a 'get latest version' later to restore that file why is it asking a question at all is this something that will go away in a later release it is also asking strange questions when a file was moved or renamed i think this is very unreliable - a second developer can easily undo the work of another developer, simply by answering the questions in the wrong way. is this by design why WM_QUERY thomas woelfer http://www.die.de/blog Hi Thomas, I don't understand how ...Show All
Windows Forms VERY odd bug when writing to app.config
I've got a very strange bug happening which I was finally able to distill down to a problem with writing to ..\..\app.config after a file open dialog. It appears that if a file open standard dialog is closed with the "open" button then any future writes to app.config just magically disappear into the bit bucket (am I the only one still& ...Show All
Windows Forms what is rating?
hello sometimes i see on the internet the word rating and beside it i see some stars,so my question what is the real meaning of the rating thank you for the help and for the time hello thank you for these details about this topic,so i understand that the rating is a number which describes the quality of something as if it good&n ...Show All
Software Development for Windows Vista linker errors in VS 2005 (C++)
I fixed the "cant find windows.h" problem and now I am getting linker erros like those below, after using the Windows App wizard to create code and compile it with no changes, can anyone help Linking... test4.obj : error LNK2019: unresolved external symbol __imp__DispatchMessageW@4 referenced in function _wWinMain@16 test4.obj : error LNK2019: unresolved external symbol __imp__TranslateMessage@4 referenced in function _wWinMain@16 test4.obj : error LNK2019: unresolved external symbol __imp__TranslateAcceleratorW@12 referenced in function _wWinMain@16 test4.obj : error LNK2019: unresolved external symbol __imp__GetMessageW@16 referenced ...Show All
Visual Studio Team System Team Project Creation Failed.
Hi there, While creating a Team Project, I am getting the following error: Initialization for plugin "Microsoft.Pcw.wss" failed with error: "Client found response content type of 'text/html', but expected 'text/xml'. Can anyone help on this Just to mention: I have already tested my setup with the required permission for SharePoint and SQL Reporting. And It is working as expected. Would appreciate your help. Thanks. Regards, Keyur. 05/12/2005 06:01:37.362 | Module: ELeadServiceMediator | URL for eLead web service retrieved as " http://rac154:8080/bisserver/EleadWebService.asmx " from the registration service | Completion time: 0 secon ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Mouse Hit Testing when primatives used not meshes
I did search the existing threads and have read them - those that I can understand - but they do not seem to apply - at least with my limited understanding. I have a "2D" card game started in DirectX3D using managed C#. I read Tom Miller's book as the basis and starting point. I have several "playing" cards rendered as CustomVertex.PositionedNormalTextured that I add to a VertexBuffer. I draw them with the DrawPrimatives call. The are all "flat" (have the same Z axis) so that should help, and there is nothing "behind" them. Simply non-overlapping cards arrange on the screen. Everything works g ...Show All
