aghiondea's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Is texture shader access available?
I've been looking for the Xna.Framework equivalent of Managed DirectX's TextureLoader.FillTexture and can't seem to find it. Does it exist Is there some other way to access texture shaders from XNA Should I request this feature This post explains the website for submitting official feedback and requests: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=682921&SiteID=1 For your needs, would it be possible to emulate texture shaders by doing a render-to-texture operation drawing a single quad over the entire texture ...Show All
Visual Basic Complex Processing In the Webbrowser control
I'm working on system that has a complex browser based in the WebBrowser control and I've found somepages that it cannot process in ways that I do not understand. www.vanishingpointgame.com is a page that it cannot process and that why I am using that page to test on. I have taken the most simple test case in a form. It has a designer created groupbox with a dynamically created webbrower. It navigates to www.vanishingpointgame.com . I do the following operations: I choose the box on the far left. I click on the little tab at the back of the box. Nothing happens. In contrast IE7 opens a new dedicated widow. The interesting thing about the webbrower control is that if I mini ...Show All
Visual C++ warning C4005/RC4005 macro redefinition/redefinition
I am creating a dialog resource and it contains the ubiquitous OK button. The id for this button, IDOK, is being given the value 1001 by the resource compiler. IDOK is also defined in winuser.rh with a value of 1. This is causing two warnings to be issued, C4005 for the former and RC4005 for the latter. What is the best solution for resolving this issue I am contemplating either manually changing the value in resource.h to 1 or removing the definition altogether from resource.h. Thanks in advance for your assistance. That didn't help. The resource.h file must be getting read in prior to the winuser.rh so I still kick up the error for the second file. However, interestingly enough, it has stopped complaining about the entry in ...Show All
SQL Server MDX query using BottomCount
Hi, Iam facing with a very strange MDX query related problem. I want to display 2 reports one that display Five top records and the second report that displays 5 bottom records. Following is my query which returns top 5 records. SELECT { [Measures].[Order Count] } ON COLUMNS, NON EMPTY TopCount ( Filter ( { [PRODUCT].[PROD NAME].[PROD NAME]}, [Measures].[Order Count] >= 0 ) , 5, [Measures].[Order Count] ) ON ROWS FROM [ShippingOrder] I created report using SQL Server 2005 Reporting Service and the data source is pointing to Analysis Services database. The preview report shows proper records. But my second report that queries to display the bottom 5 records does not display any records. The query is same except with ...Show All
SQL Server Sharing Data Sources
I'd like to be able to create a data source for reporting services and share it with other report developers. If I establish the credentials with a user id and password and have it save the password, for each developer that attempts to use this data source the system is requesting a user id and password. Is there anyway to have the credentials for the data source saved so that multiple developers can share it The report developers share the same project folder. this is for reporting services 2000. The error is - A connection cannot be made to the database Set and Test t ...Show All
Visual C# Difference "Designer.cs" & "designer.cs" WinForms
Hi, I am doing C# development on Visual Studio 2005. But, as all would know in VS2005, usually the Windows Forms will generate the "Form1.cs" and "Form1.Designer.cs" at the design time simutaneously. But, I forget what I did during the development time. The "Form1. D esigner.cs" became "Form1. d esigner.cs". But it still can be compiled after the letter case had changed. Eventually, I need to standardize all the files name. So, I rename the "...designer.cs" to the original "...Designer.cs". But, the IDE cannot compiled it anymore. Any ideas to rename it back to the original file name Where does the reference to the designer file located Is it in the csproj file or at other resource file Which file is in control of the designer file Than ...Show All
Windows Search Technologies Vista search functioning, but unable to open files from results pane
Hi - my machine is running Vista Business, built in indexing and search work perfectly but files cannot be opened from the search results. Is there a fix for this that anyone can advise me on Thanks in advance for your advice. Hi Eric - thanks for the response - yes, everything in respect of searching works exactly as expected except interaction with the files - I just tried a few other options like move / copy / fwd etc, all not happening. Preview pane works. ...Show All
SQL Server alter databse TestDB set TRUSTWORTHY on fails
Hi all, When I try to execute the following command: alter databse TestDB set TRUSTWORTHY on I get this error: Msg 102, Level 15, State 1, Line 1 Incorrect syntax near 'databse'. Msg 195, Level 15, State 5, Line 1 'TRUSTWORTHY' is not a recognized SET option. Can someone tell me why Thanks in advance. Hi Madhu, Thank you so much for catching the typo. It is interesting that Management Studio faild to detect it, and instead, blamed it on something else. Thank again, I really appreciate it. ...Show All
Software Development for Windows Vista WorkflowMenuCommands.Undo not working?
Hi! I'm rehosting the WorkflowDesigner in my application (using July CTP). It seems that the WorkFlowMenuCommans.Undo and WorkFlowMenuCommand.Redo menu commands do not work. Also they seem to be missing in the documentation. Here is my code: this .designerControl.InvokeStandardCommand( WorkflowMenuCommands .Undo); Is this supported Should this work Thanks Jurgen Hi Are you still having this problem If yes please install the latest build (RTM) and then if you still continue to have this problem please let us know Thanks Elif ...Show All
Visual Studio Remote Debugging Problem
I am trying to do remote debugging on a C# application that I have. I have my host computer that has Visual studio 2005 and i do a network share of the Remote Debugging Monitor executable to run that on the remote machine. I get everything to the point where I can run and debug the executable on the remote machine from my host machine. Everything appears to run fine except for when I try to connect to a socket in the application it throws an exception. When i print out the message of the exception i get this: Request for the permission of type 'System.Net.SocketPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Anyone know ...Show All
.NET Development Type.GetProperty and PropertyInfo.GetValue with respect to Indexes
hi well Type.GetProperty(string, Type[]) requires an array of type if your want to get an indexed property and in case of non indexed one , it requires an empty type array, in case of PropertyInfo.GetValue , the behaviour is a bit different , the documentation states that PropertyInfo.GetValue(object,object[]), object array should contain the indexed values for indexed properties and in case of non indexed properties it requires NULL, why is this difference of behaviour, i.e NULL vs new Type[0] , any thoughts ...Show All
SQL Server Authentication Reporting Services and web reportviewer
Hi, I’ve an application Web which uses to reportviewer to show information. I want that all the users of the application accede to reports by means of he himself user and password. This user is a local user of report’s server. The problem is that when attempt to show report always appear the following error: The request failed with HTTP status 401: Unauthorized. The code that use is the following one: ReportViewer1.ServerReport.ReportServerCredentials = new ReportViewerCredentials ( "Usuario" , "pwd" , "servidor" ); using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; ...Show All
Software Development for Windows Vista Soundmax Audio Driver and Windows Longhorn Beta 1
Hi, I have Soundmax driver installed on Windows Longhorn OS. When I use the sound recorder that comes with the OS (in the Startup->Entertainment section) and record through a microphone, my recording is okay. But if I use Wave out Mix as input pin and try recording from Windows Media Player to the Sound recorder that comes with the OS, it does not record. It changes my setting to microphone when I start recording automatically. Also another difference I noticed between Windows Xp and Windows Vista is that mixer device option in the Volume Control of Windows Xp shows SoundMax Digital Audio and with Windows Vista it shows "Line in on SoundMax" and "Microphone on SoundMax", i.e. 2 options. Has anyone else encountered this ...Show All
Visual C++ VS 2005 SP1/atlconv.h fix.
Hi, I've just installed SP1 and notice that the bug involving the need to add an extra closing bracket to the atl W2A_CP macro (in atlconv.h) has been fixed. This now means that my workaround to add a closing ')' causes a compilation error. Is there any means of maintaining code compatibility with VS 2005 RTM via a #define It doesn't appear that MSC_VER or MSC_FULL_VER has changed. Is there anything I can do It's going to be a pain if I need to get all our devs and build systems to upgrade immediately. I am going to mark this thread as answered since you have not followed up with any further information on your problem as requested for over a week - I assume you solved the problem yourself or one of th ...Show All
Visual Studio Team System Ignore users/roles/schemas on schema import?
I really don't want to have to copy all the users and schemas defined on our db server to the local validation copy of SQL running on our dev machines. Is there no way to ignore this Right now the import is giving lots of errors and saying it stopped at 20 errors. 1) One temporary reason is that I just installed it today so it will be a while before I trust it to go running off on its own changing my database. 2) The deploy fails for me due to the windows account issue mentioned above (that's somewhat my issue and I suppose I can redo the accounts without the machine name and maybe that will help, but it is a stumbling block at the moment). 3a) There's no preview during deploy. I'm currently t ...Show All
