ayacenda's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Specular reflections aren't working right
I'm having a problem with specular reflection. It flickers as I move around my object. Sometimes when I'm looking at a face, and I swivel the camera just a few degrees, I get specular reflection. When I swivel a few more, the reflection is gone - leading to the flicker. But specular reflection is only based on the position of the camera, not the direction it's lookin ...Show All
Windows Forms Stand Alone (C#) conversion to Web Based (ASP.NET)
Is there a tool or method to take an exisiting WindowsForms application written in C# and convert it to be a brower based application (ASP.NET) Thank you, John Sanders Checked it out. First of all, it appears to support on VB.NET, not& ...Show All
Software Development for Windows Vista WorkflowRequestContext.Current.WorkflowRuntime Error
Hi , Hope someone can help...using VS2005 Ext 1.2 Beta I'm in ASP.NET 2.0 world trying to run a sample app from this Sample Gallery, namely the Tecnology Sample "ASPNETWorkflowExample - 2005-10-07". I get an exception trying to run the workflow after calling this line: I have the config setting as per below but still when debugging it the WorkflowRequestContext.Current object is null! TIA John Offending line ...Show All
Visual C++ binaries compiled using VC8 not running on IA64
As VS 2005 is not supported on IA64 platform i had to use cross-compilation on 32bit machine. i did vcvarsall.bat x86_ia64 for setting the build environment. after building the application i tried running it on IA64 machine but it is not running. D:\samples>exercise.exe The system cannot execute the specified program. manifest info is embeded in the application and in its dependency dlls. on checking C:\Windows\WinS ...Show All
Windows Forms How can I make the IDE create correct code?
I implement a component, but I can't get it's paraent (a control which contain the component). So I want to get the paraent from constructor's parameter. But the IDE can't create corrent code for my new constructor. How can I make the IDE create correct code I want to let the IDE automatic create the correct code, because I want to get the paraent in Design Time mode. example: The illegal code: &nb ...Show All
Windows Forms Binding a Collection to a Listbox
I have this class layout: public class Email { public Email() {} public Email(int emailid, string emailaddress, bool primary) { EmailID = emailid; EmailAddress = emailaddress; Primary = primary; } public int EmailID; public string EmailAddress; public bool Primary; } public class EmailCollection: CollectionBase { ...Show All
Smart Device Development Deploy MSD with C# aoo on Tablet PC
Hello, Where I can find some info on how I can pack an MSDE db with a C# app to deploy them together on client machine, in this case a tablet, or any machine. This should also apply when there is a db schema change Thanks ...Show All
SQL Server Problem with select into querry
I have two database on same server. I want write a querry, witch qering the data from 1st database, than create a new table on the 2nd database. But the in clause after the into clause permanently generate error. Here is the query’s little part: Select ….. into Backup in ’Test.mdb’ from … I try wrote other ways in ’Test’ in ’dbo.Test’ in dbo.Test but none of them work its onl ...Show All
Visual Studio Team System CA1084 - Maybe exception to the rule
This line gives me CA1084: OracleCommandBuilder builder = new OracleCommandBuilder (da); Dont think it is a trainsmash, thought I would just report this incase a refinement is possible. Right, FxCop is flagging builder as unused. So, we need to see the code where builder is actually used to determine whether there's a false positive. What am I missing here ...Show All
.NET Development Preserve timestamp
Hello everyone! Currently I'm working in an application using .NET Framework 1.1. I have to download several files from a server to the client machine, but for security reasons, we would preserve the TimeStamp that the file originally had in the server machine, and have to do this programatically. Do you have some idea about how to achieve this Sorry if this seems a newbie question, but I haven't benn able to find some API or documentation ex ...Show All
Windows Forms Sorting the top level nodes in a treeview
Hello: Anyway to just sort the top level nodes easily THanks, Mike Yup, that's what I ended up having to do... Thanks. Mike ...Show All
SQL Server Datareader Query Timeout
Hello, I am running a query via a ado.net data flow source. It works great for a small number of rows, but if I try to execute a long running query it times out with a communication error. I have looked through the doc and every property sheet that I can find in my package, but I can't find anywhere that a timeout is specified. Any help on finding this would be appriciated. The query is running against DB2 on z/os and I know it is timing ou ...Show All
Visual C++ CArchive Issue
CArchive question: This is a litle wierd cos I had this working at one point, and it still compiles correctly but it doesnt work.... here is the code: //======================================================================== CArchive& operator << ( CArchive& os, DIAGRAM_PROCESSOR &proc) //save { WILLS_OBJECTS::m_file_version = VERSION_CURRENT; proc.m_dobjects.m_saved_zoom = proc.get_zoomer().get_zoom(); if ( ...Show All
Visual C++ ultra fast binary writes
Hello, can anyone please help... This is a bit of a general question. My C knowledge is limited to the K&R book. I have used the fsutil tool on windows xp and noticed that the command: fsutil file createnew c:\$delthis.bin 1234567890 which creates a file over a gigabyte in size is extremely fast - it takes about a second on a PIII 800MHz with 256MB memory. This seems to be amazing given that it zeros the whole file, rat ...Show All
Visual C++ Increase speed for console app on WinXP x64 with Pentium D
HI after succesfully compiling my 32bit single thread console program for the use on x64, I realize that the processor(s) are each just 50 occupied with my program. On a single core machine the processor is 100% occupied with my program and execution is faster. Since I only have the /MT (multithread) compiler option for the PSDK amd64 bit compiler, I assume that my program is executed as multithread. and since one processor has to wait for re ...Show All
