Jason Beard's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. DXT compressed Textures
Hi, in general it looks like there are the same DXT texture compression formats as for DX9. I assume those compression formats do not work with the new DXGI_FORMAT_R9G9B9E5_SHAREDEXP & DXGI_FORMAT_R11G11B10_FLOAT formats In real-life (TM) I always have to store texture data in DXT compressed formats ... if I want to opt for a better color quality in compressed formats, nothing seems to have changed between DX9 and DX10 ... is that correct Thanks in advance, - Wolf Hi, it is actually www.coretechniques.info not com ... :-). For the gamma explanation I think the following article is the best: http://www.sjbrown.co.uk/ article=gamma The main idea is to remove gamma correction whil ...Show All
SQL Server How to invoke nested stored procedures in SQL Server projects in VS.NET 2005?
Hi, I would like to use a stroed procedure within another stored procedure ( nested sp ) in a SQL project in VS.NET 2005. Since I have to use "context connection = true" as connection string, I wont be able to use this connection for another sqlconnection object. Because its already open. and If i try to use a regular connection string ("server=localhost;...") it will raise a security permission error. Having this problem, Im not able to use nested stored procedures. Would anyone please give me a hint how to resolve this issue Please post the declarative header of your stored procedure and the security permission set setting you are using. HTH, jens Suessmeyer. --- http://www.sqlserver2005.de ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Running XBox360 games made with XNA GSE without XBox Live subscription
Will it be possible to run games we make using XNA Game Studio Express on our own XBox360 without signing up for the XBox Live $99 yearly subscription I have a 360 hooked up to my PC... can i upload games that i compiled for free from my pc - 360 i might get live ... i'm not sure yet ...Show All
Visual Studio 2008 (Pre-release) turn tooltip visible
How can I turn a tooltip visible (forced). If I use IsOpen = true, then it stays there forever. What I actually want to do is: if the mouse is hovering over the control, and I need to display some info to the user in a tooltip, then I want the tooltip to show. Currently, if I am hovering, and I change the tooltip property to Visible, it doesn't also show it. Any ideas T = new ToolTip (); rtb.ToolTip = T; ToolTipService .SetShowDuration(rtb, 100000); rtb.MouseEnter += new System.Windows.Input. MouseEventHandler (rtb_MouseEnter); rtb.MouseLeave += new System.Windows.Input. MouseEventHandler (rtb_MouseLeave); void rtb_MouseLeave( object sender, System.Windows.Input. MouseE ...Show All
Visual Studio 2008 (Pre-release) Bug in Interactive Designer (June CTP)?
In Interactive Designer it is possible to create a new template for controls. When I select a ListBox for example, I can select "Make New Resource ..." in the properties window. Then a <ControlTemplate TargetType="{x:Type ListBox}" ... /> is created. This works find for a lot of controls, but when I try to create a ControlTemplate for a ListView the following error is displayed: Invalid property value: Unable to cast object of type 'System.Boolean' to type 'System.String'. Is there another way to get the default ControlTemplate for a ListView I would like to change the ControlTemplate, which already works. But the header row is not displayed any more. Therefore I would like to get the default ControlTempl ...Show All
Visual Studio Express Editions use DisplayMember and ValueMember
hey i have here one problem, i use combobox, i bind datasource to it, and i want the effect that combobox will display for example customers name, but in reallyty its displaying customers id. for example we have here to data columns string custName and int custId. so the to columns are binded to comboboxm and the effect i want is that when user selects diferrenr customer from combobox he sees only customers name, but program sees not customers name but that other column custId. maybe someone will want to help ;) i found the solution comboBox.DisplayMember = "custName" ; comboBox.ValueMember = "custID" ; these properties set all the things, object o = comboBox.SelectedValue; custID = Convert .ToInt32(o); and ...Show All
Visual Studio Team System Add New Project to Solution under source control
Hello, I have a Solution under Source Control. Since today, when I try to add a new project to the Solution, the solution.sln file is not check-out and the new project does not appear in the pending changes window. Also, I have realized that since today, there is a new option when I click on any Solution file: "Add Solution to Source Control..." when the Solution is already in the Source Control. When I click on it, I get an error message: "The item 'Solution.sln' is already under source control at the selected location. If you are trying to rebind a project that you have already added to source control outside Microsoft Visual Studio, you should use the Change Source Control command. If you are adding this project ...Show All
Software Development for Windows Vista Unsupported media state while drive becoming ready
I have consistently seen IDiscFormat2Data::get_CurrentMediaStatus return a state of IMAPI_FORMAT2_DATA_MEDIA_STATE_UNSUPPORTED_MEDIA after I insert a blank recordable disc, after the drive becomes ready. There seems to be a transient state that exists immediately after the drive becomes ready. Prior to this state, while the drive is becoming ready, the get_CurrentMediaStatus method correctly returns an HRESULT of E_IMAPI_RECORDER_MEDIA_BECOMING_READY; then, immediately after becoming ready, it returns S_OK but reports a media state of unsupported. If you call it subsequently, it will return S_OK and correctly report the state as IMAPI_FORMAT2_DATA_MEDIA_STATE_BLANK. It appears that this proble ...Show All
Visual Studio Team System Why is TFS not available to Empower Program subscriptions?
My beef is that TFS isn't available to anyone with an Empower Program subscription (except in prohibitively expensive editions). The TFS Workgroup Edition comes for free with Team Edition MSDN subscriptions, but it can't be bought separately. If it could, I would have bought it by now. To me, this makes very little sense. Source control/configuration management is very much a grassroots sell (i.e. it's a decision effectively made by programmers rather than by 'bigwigs'), and making TFS widely unavailable means far fewer people able to sing its praises to their peers. I work with several configuration management tools, and I'm able to engage in intelligent discussions with clients about CVS, per:Force, even good old SourceSafe, but ...Show All
SQL Server SQL 2005 Management tools
Hi, I installed sql 2005 dev for testing sharepoint, and the management studio was not installed. Now, i am afraid to try to install it because i am thinking it may uninstall or re-install all sql components (and probably erase existing instances and sharepoint data may be lost. I have installed on an other pc the client tools, but i cannot connect to that instance, and i cannot attach the user databases (i get the 5123 error) Can anyone help me how i can install management services without messing up the sharepoint instance Setup doesn't uninstall existing products when you run it multiple times. You need to run setup and select Workstation Components and you'll get Management Studio without affecting ...Show All
Visual C++ C can do But C++ we cant do this
Hi Can anyone tell me if is there anything which we can implement using C but we cant do it using C++ though its advance of C. I am waiting for urs reply. You can write sloppy code in "C" that C++ won't compile. Declaring variables without a type specifier, using functions before they are declared jump to mind. Fixing that is usually easy. ...Show All
.NET Development nobody could answer me?
when i tried to install Visual Studio 2005 in Window server 2003 sp1, the following error info arose ---- The following component failed to install: Microsoft .NET Framework 2.0 The following component was not attempted: Microsoft Visual Studio 2005 Professional Edition - ENU [02/10/07,00:07:35] Microsoft .NET Framework 2.0: [2] Error code 4121 for this component means "A prerequisite for this component is missing." [02/10/07,00:07:35] Microsoft .NET Framework 2.0: [2] Setup Failed on component Microsoft .NET Framework 2.0 [02/10/07,00:07:36] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InstallManagerHelper() with ...Show All
SQL Server No Management Studio in 2005 Enterprise Edition
I have installed SQL Server 2005 Enterprise Edition Evaluation on my machine and Management Studio or Enterprise Manager is not present. Do i need to perform extra task or did i do sth wrong when installing this. Thanks for your attention. It's more likely that you did not install the client components When you setup program, at one stage wou have choice to check the components you want to install Client components are grouped under the name orf workstation or something similar (Sorry I don't remeber the exact name)) ...Show All
Visual C# Logging to windows.
Hello This is my first thread on this forum. And I want to say Hi to everybody J And I have question. When I’m logging to windows(XP,2k3) I must enter user name and password. When i do this i click OK. When password or username is wrong, I get message that something is wrong. My question is: How to hook to this button I want to get my messages(not from windows). And when username and password is good but additional condition isn’t fulfilled i want other message and to not allowed user to log on. Application whose check additional conditions and give my messages probably must run like service to do this, but I cant find any info about hooking OK button. Is there some API to do this Can You give me some l ...Show All
Visual Studio Express Editions Vc.net2003 to Vc.net2005 confuses
Hello everyone I've just installed vc++ 2005 Express Edition,with the new interface I wrote a very simple test code to know exactly how it works,I have learned some .net programing in vc 2003,but find it can't build the test paper,error tip show:"use of this keyword requires /clr:oldSyntax command line option".what's the new sytax of vc2005 I also installed the msdn,where can I get help,where can I get all the new features of vc2005,eagly looking forward your help.thanks the followwing are my test code and error tips: #include "stdafx.h" #using < mscorlib.dll > __gc class Point { private: double x; double y; public: Point(double xx,double yy) { x=xx; y=yy; } ~Point() {} __property void set_X(do ...Show All
