Francisco6783's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Trouble creating my effect object
I have the following code: CompiledEffect compiledEffect = Effect.CompileEffectFromFile("Shaders\\simple.fx", null, null, CompilerOptions.Debug | CompilerOptions.SkipOptimization, TargetPlatform.Windows); m_effect = new Effect(m_graphics.GraphicsDevice, compiledEffect.GetShaderCode(), CompilerOptions.None, null); Unfortunately, on the second line, I get an exception. Microsoft.Xna.Framework.Graphics.InvalidCallException was unhandled Message="External component has thrown an exception." Source="Microsoft.Xna.Framework" ErrorCode=-2147467259 StackTrace: at Microsoft.Xna.Framework.Graphics.Effect.CreateEffectFromCode(GraphicsDevice graphicsDevice, Int32[] effectCode, CompilerOptions options, EffectPool p ...Show All
Visual Studio Express Editions Combining numbers
Hi everyone, I am struggling to implement a combining numbers game with recursion. The game is about : you enter some numbers, and then a value, then the program tries to determine that wherher with these numbers, this value can be obtained or not. But when I compile the program, I got peculiar errors as the following: Would you please help me in correcting the errors ------ Build started: Project: hw2, Configuration: Debug Win32 ------ Compiling... SymmetricMatrix.cpp c:\documents and settings\mert\belgelerim\visual studio 2005\projects\hw2\hw2\symmetricmatrix.cpp(440) : error C2228: left of '.length' must have class/struct/union type is 'int []' c:\documents and settings\mert\belgelerim\visual studio 2005\projects\hw2\hw2\symmetr ...Show All
SQL Server cant get any event from FormsAuthentication Sample in the report server ?
Hi i have used http://msdn2.microsoft.com/en-gb/library/ms160724.aspx to enable custom security in the report server,now custom security sample is working fine with my report server, So bigger problem is my Software manager ask me to redesighn UILogon.aspx page Now the bigger problem is when redesign the UILogon.aspx page I am having lot of problems in the sample ,thing is i cant get any button event from the code behind it self Error is saying that "cannot handle Event 'Public Event Click(sender As Object, e As System.Web.UI.ImageClickEventArgs)' because they do not have the same signature." Whats is the wrong with this regards sujithf ...Show All
Visual C# BackgroundWorker
Hi, I got a while loop which makes the Form act slow. I got advised to use a backgroundWorker. Yesterday i read on the msdn library what it is and how it kinda works. Unfortunately, i didn't figure it all out. I was hoping you guys might wanna help me out. This is my while loop: this.formBreakLoop = false; while (!this.formBreakLoop) { int numberChosen = rnd.Next(0, words.Length - 1); this.lblDisplayWord.Text = words[numberChosen].ToString(); this.lblDisplayWord.Update(); Application.DoEvents(); Thread.Sleep(4500); this.lblDisplayWord.Text = string.Empty; this.lblDisplayWord.Update(); Thread.Sleep(500); } //constructor public Form3() { InitializeComponent(); InitializeB ...Show All
Visual Studio Express Editions Finding Links and Macros in MS Excel using C#
I have been given a task at work of identifying ms excel spreadsheets that contain Links to other spreadsheets or macros. I am new to Visual C#, but can't help but think that this is a great starting point. Problem is I don't even know where to start. Has anybody ever developed anything like this before, or can you help me get started. Cheers ...Show All
Windows Forms Microsoft Visual Studio 2005 crashes after opening the designer
Microsoft Visual Studio 2005 crashes after opening the designer of an visual inharited form. The whole project compiles with no errors or warnings and i experience this problem not from the beginning of the inharitance. I have a user control that is inharited. The base control opens fine but when i try to open the inheritor Visual Studio crashes saying "Microsoft Visual Studio has encountered a problem and needs to close ". Has anybody encountered such a problem I looked also in the event log but the error there is completely infamiliar for the google engine. Do you have any ideas how to solve this problem if it's a huge Microsoft Bug - we all wouldnt be running VS2005 since last year...Microsoft DO make sure products are ...Show All
Visual Studio a lot of errors
Hi We have a vss 6.0 database, using vss 2005 client. We had some problems yesterday and did an analyze fixing the problems. a second analyze was reporting zero errors. Today we have some problem when getting a label from the commandline, it only gets the folder-structure, but not the files. trying a little back and forward without actually fixing anything it suddenly works. But the get reports a lot of errors like this File "$/13.0x/libs/comutil" not found comutil is a project and not a file, but it gets all the files below comutil. Why Doing another analyze reveals a lot of error again like these: The file 'App.ico' (YJPBAAAA) lists 'fwfeaaaa' as a branch, but that file is missing or corrupted or ...Show All
Software Development for Windows Vista RequestedDisplayToken not being displayed
I can't get CardSpace to display the RequestedDisplayToken. All other aspects of the transaction work (authentication succeeds, no CardSpace exceptions, and a good token is delivered to the relying party), but CardSpace just displays a blank space next to the "otherPhone" claim (or any other claim I try to use). I have tried all sorts of variations, with no luck. (I even deliberately mis-named the RequestedDisplayToken element, and CardSpace simply ignored it silently.) An example of my RSTR is below -- anyone have an idea what I'm doing wrong <soap:Envelope xmlns:ic="http://schemas.xmlsoap.org/ws/2005/05/identity" xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://www.w3.org/2 ...Show All
Visual Studio Is security update of 12/13/2005 covered by SP1?
Microsoft Security Bulletin MS06-073 Vulnerability in Visual Studio 2005 Could Allow Remote Code Execution (925674) Does installing SP1 take care of this security update, or do I still need to apply the update after upgrading to SP1 According to the List of bugs that are fixed in Visual Studio 2005 Service Pack 1 the mentioned issue has not been fixed in this SP. You must note that the security bulletin has been published on the 12th December 2006 therefore it was impossible to add a fix for this vulnerability in the SP. ...Show All
Visual Studio Data connection problem with numeric DB name
Attempting to add a new data connection in VS2005 ... I can add the connection, and expand the tables node in the server explorer without a problem ... but when I attempt to expand stored procs or the other two nodes, I get the following error: Failed to retrieve data for this request. An exception occurred while executing a Transact-SQL statement or batch. Line 9: Incorrect syntax near '1'. The DB name happens to be [dbname]1. When connecting to a DB without a numeral in the name, I have no difficulties whatsoever, so I'm working based on the assumption that the numeral in the DB name is causing the problem. I don't have the option of renaming my data source ... is there another way of fixing this thanks ... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Platform And the Greek Language...
I want to ask if the XNA studio will support the greek language. I have to create a game 100% in greek langage. This game i plan it 3 years now, and many platforms has problems with the greek language. Thanks Dimitris Marizas MSN: jim_tron AT msn DOT com Bookmark the XNA GS page and check it regularly. Have you signed up for the XNA connection ...Show All
Visual Studio Design a crystal report file.
Now, I'm working with Crystal report 11. I create one report and design fields, formulas and textobjects with borders on it, but it is so difficult for me to design objects smoothly ! Do you have any experiences in this work, please help me. Thanks very much for any your ideas, dvl_vn Hi, What do you mean by "design objects smoothly" Are you having problems aligning controls or placing controls THere are several design tools available in Crystal Reports that makes designing an easy task... cheers, Paul June A, Domag ...Show All
Visual Studio 2008 (Pre-release) PeerChannel issue - CPU spikes, then goes offline for a full minute
The following problem was recently observed in an application that uses PeerChannel: 1. CPU suddently spiked and stayed high for 5 minutes, not triggered by any user activity. 2. PeerChannel status went to offline and CPU went back to normal levels. 3. PeerChannel stayed offline for a full minute, then finally went back online. No condition is known that contributed to this behavior; the number of other messages nodes was low (but definitely more than 2) and the rate of messaging is not excessive. Any ideas on what might cause this symptom It is causing the customer a lot of concern. Could you provide a simple repro for this problem Without looking at the repro it is hard to debug issues like this on a forum. ...Show All
SQL Server How to change configured value for the ServerName property of a Connection via DTEXEC
I am launching a package the following way: DTEXEC.EXE /SQL "\ProcessReportingDatabase" /SERVER RTG23SQLDB01 /REPORTING V /SET "\Package.Variables[User::RunID].Value";35 /SET "\Package.Connections[RSAnalytics].Properties[InitialCatalog]";"Fnd Prj 1 Dec29" /SET "\Package.Connections[RSAnalytics].Properties[ ServerName ]";"RTG23SQLDB01\UAT1PROD" The problem does not happen with the [User::RunID] variable or the [Initial Catalog] property of my [RSAnalytics] connection object. But I am not successful in setting the [ServerName] property. What happens when executed is that the package retains the ServerName property of the deployed package (Value=" RTG23SQLDB01\UAT1QA & ...Show All
Visual C# Many a C# Question
Hi, I've got a few questions relating to C# (Forms & Code) and am hoping that someone could please help. If you do, it'll be much appreciated. Is it possible to add tabs (like MS VS does) when I want to make a new thing If so, what do I do Is is possible, to add non-existant programs to a menu after they have been installed on a computer (like MS Windows Start Menu etc. or Internet Explorer) If so, what do I do When printing with web browsers, is it possible to NOT use the image document user (like when using IE) If so, what do I do Is it posssible to ban websites using web browsers If so, what do I do Is it possible to have a loading bar when a web browser is loading or if something is printing If so, what do I do ...Show All
