dzimmy's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Future D3DX's not supporting SM1.x??
I saw this in the October SDK readme October 2006 DirectX readme! wrote: Preview Release of the new HLSL Shader Compiler for Direct3D 9 Targets This release has a beta version of d3dx9d_31_beta.dll that includes the Direct3D 10 HLSL compiler enabled for Direct3D 9 targets (shader models 2.0 and later). The new compiler has no support for 1_x targets. This debug-only DLL allows developers to utilize the new Direct3D 10 HLSL compiler for their Direct3D 9 shaders, and will become the default compiler for all Direct3D shaders. Please try the new compiler by building your application with d3dx9d_31_beta.dll instead of d3dx9d_31.dll. Does this mean in future SDKs SM 1.1 will not be supported any more, or is this limitation j ...Show All
Visual C# Defining Public strings Visual Web Developer
I am using Visual Web Developer, it's a great product, but I'm stuck, I have done a lot of research on trying to define public strings, Examples I find are public class SData { public string sdata } This is quite logical, but the problem is using them in the code generated by Visual Web Developer using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; // I would like to define some public strings of data that // could be used thru out, but am at a lose as to where to // Place them. ...Show All
Software Development for Windows Vista problem in sdk sample "domdemo"!!
I am evaluating MS AEC DMO. I found that Windows SDK sample "domdemo" in "Multimedia\DirectShow\DMO" can not work correctly. When i select "AEC" DMO and click "Play" button, the sample shows the error message "streaming data failed". After debuging, i found that ProcessInput is always return "E_FAIL"! Why this function can not work well Who can tell me how to use AEC DMO in playback .wav files Thank you very much! The sample code is as follow: { CMediaBuffer *pInputBuffer; const REFERENCE_TIME rtStart = 0; const REFERENCE_TIME rtStop = 0; BYTE* pBuffer; DWORD dwLength; // create and fill CMediaBuffer hr = Crea ...Show All
Windows Forms <System.ComponentModel.LookupBindingProperties("DataSource", "DisplayMember", "ValueMember", "lookupMember")> _
Public Property DataSource() As Object Get Return DataSource End Get Set ( ByVal value As Object ) DataSource = value End Set End Property return datasource is highlighted and says: variable datasource is used before it has been assigned a value. a null reference exception could result at run time. i wonder what should be done, my program is crashing for now if i try to go in design mode. and datasource = value is also highlighted and it says: recursive call .. hrubesh wrote: Public Property DataSource() As Object Get Return DataSource End Get Set ( ByVal value As Object ) DataSource = value End Set End ...Show All
Windows Forms problems with showdialog and visible true & false
Hi I’m work in a system with showdialog form (Modal). The trouble is when open a modal form over other (in modal too), this open good, but when i hide it (childform.visible=false) and again open this from parent ( childform.visible=true) this one becomes visible but lost MODAL (showdialog) property. How I can make visible the child form with MODAL property piece of code to open child form Private Sub oPb_Cheque_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles oPb_Ch eque.Click If not vpb_EstadoFormCheque Then Recepcion.oFm_cheque.ShowDialog() ' Here, we will fill the form whit our data... vpb_EstadoFormCheque = not vpb_EstadoFormCheque Else Recepcion.oFm_cheque. ...Show All
.NET Development Internal .Net FrameWork Data Provider Error 12.
Hi, I am using .Net Framework 2.0. And for accessing data Oledb data provider. This is used in a multi-threaded windows service. I am getting the following error on a select query. The stack trace is as follows. Internal .Net Framework Data Provider error 12. at System.Data.ProviderBase.DbConnectionInternal.CreateReferenceCollection() at System.Data.ProviderBase.DbConnectionInternal.AddWeakReference(Object value, Int32 tag) at System.Data.OleDb.OleDbConnection.AddWeakReference(Object value, Int32 tag) at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) at System.Data.OleDb.OleDbCommand.ExecuteScalar() at File_Transfer.clsDataAccessObject.GetCellValue(String strSql) Sarah ...Show All
Visual Studio Team System The project file * has been moved, renamed or is not on your computer
Hi, somehow my VS2005 Team Suite is still looking in the old/wrong path for my project file and I can't figure out why it's looking there. So here's the deal: A while ago I created a solution with 3 projects in it; two C# class projects and one Website project. Life was good and everything worked fine, wonderful. Since then, I have acquired a new development workstation and have been developing happily ever after... until today, when I had to revisit my old Solution. Upon opening the old solution file I was prompted with a dialog indicating that it could not load one of my C# class projects because it has been moved or renamed. I OK'd the dialog and attempted to re-Add the project. To try and add my project back into the soluti ...Show All
Visual C++ Why I can't complie below code in VS2005
Because of std::swap function, I can't compile below function. but if I don't specify template parameter, it is compiled very well. I wonder why I can't specify template parameter when I use swap function, but if include <utility> instead of <vector>, I can use std::swap specifing template paramter. I think it's Microsoft STL library bug..., it is needed to fix it. #include <vector> // if I include <utility> I can compile below code. template <class T> class CTest { typedef CTest<T> ThisType; T* m_Array; public: void Swap(ThisType& other) { std::swap<T*>(m_Array, other.m_Array); } }; int _tmain(int argc, _TCHAR* argv[]) { CTest<double> test, test2; test.Swap(test2); ...Show All
Visual Studio Express Editions starting a simple program
Yea, i just finished installing and setting up Microsoft Visual C++ Express Editon and Microsoft Platform SDK according to the instuctions on: http://msdn.microsoft.com/vstudio/express/visualc/download/ --just when i get to the last step of the instructions which is " Step 5: Generate and build a Win32 application to test your paths. ", I cant tell if the program is running or not. All the pops up is a blank dialog box that says "testrun" on the top left hand corner. When i create a simple .cpp file (this is the code) #include <iostream.h> int main(){ cout << "This is a test\n."; return 0; } and then run it (by pressing f5) i get the same blank dialog box with the same title on the top le ...Show All
Visual Studio Report Viewer control
Where do i get the detail how to using the report viewer control in .net 2.0 How complex the report viewer control Can use it to do a very complex report .. and export to excel. hi , as you have worked on reports . i just want to ask is the reportdesigner inbuilt or do we need to download it .i can't find it in my visual studio 2005 toolbox.and also throw some light on how to use it plese. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Rotating model, with multiple parts
Hi all, One of the persons on my team has designed a model, that has more than one part. When we try to rotate the model in XNA, it rotates every piece. If there anyway to choose to rotate the whole model, instead of the piece Here's a hack that will probably work: Tell your artist to set the all the pivot points for the model as one location. Then, all the pieces will only rotate around that pivot point, not their individual pivot points. There might be a better software solution, but I don't know it. ...Show All
Visual Basic How do I remove selected items from a listbox using a for each loop
I am stumped on this,when the teacher explained it in class it made sense but when I try it at home I can't figure it out.I am not asking you to do my work for me,I am just asking for a hint something to get me started in the right direction. Thanks well you cannot remove the items within a for each loop like what you maybe wondering as you cannot remove, or add items, when going in a for each loop and checking to see if the current item is selected you would remove the items selected and the SelectedItems returns back the collection of items selected. Once got, use a foreach loop on this and remove the items: for each currentItem as object in Me.theListBox.SelectedItems Me.theListBox.Rem ...Show All
Visual C++ Is there any good tool which can easily get the call graph of one project of vc? Please give the steps to do that.
Is there any good tool which can easily get the call graph of one project of vc Please give the steps to do that. I appreciate your help. There are no ones that I am aware of. You suggested some that might help. Also, try posting on http://msdn.microsoft.com/newsgroups in case others know of such tools. Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio Team System Setting location for a custom dll
I've created a custom dll which contains all of my custom tasks which I've written for MSBuild. The only problem is that all of my builds need this task. I just copied this dll into the directory for each build, but when make changes to the dll I have to update it for every build. Is there a better place I can put this so that I don't have to do this whenever it is updated Thanks. Thanks a lot Steve, I think that I will create a team build project for this dll and then do a post-build copy task to copy it to a common location so that it will always have the newest version. ...Show All
Visual Studio 2008 (Pre-release) WindowsFormsHost and AllowsTransparency makes all win32 controls transparent
If I set AllowsTransparency=True on a form, all of my WindowsFormsHost controls become invisible. These controls obviously don't have an opacity property, it there anything I can do to get these controls visible (June CTP) Mark Hi there We are also experiencing this problem, and in our situation getting around this is a very critical thing. Is there a way to get around this problem Is this going to be fixed in the next release of WinFX We would like to know what the plans are for this particular issue. Thank you! Bridgette www.k2workflow.com ...Show All
