Software Development Network Logo
  • Game Technologies
  • SQL Server
  • Audio and Video
  • Visual Studio
  • Windows Forms
  • IE Development
  • Visual C#
  • Visual Basic
  • Visual FoxPro
  • .NET Development
  • Microsoft ISV
  • Smart Devicet
  • Visual C++
  • Windows Vista
  • SharePoint Products

Software Development Network >> evaleah's Q&A profile

evaleah

Member List

Kuei-yang Lo
zivpeleg
crbeckman
Marnik Van Hileghem
Thomas Greenleaf
Richard Pfeiffer
amitsinha
Andrew Beery
Szymon Kosok
AlfonsAberg
Scotty12105
EduardoPayan
Dario Galvani
Dennis Mark Thorsen
detzX
luai7
Keith Henrickson
simon_
Jakein2006
TazzyTaz
Only Title

evaleah's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Where is my fragment linker?

    Unless I missed it (I looked as hard as I could) it doesn't look like the D3DX fragment linker (which also had a MDX version, mind you) made it into XNA. This confuses me greatly because anything serious with HLSL and any shader model requires support for run-time linking of shader fragments for performance. The only other options are: 1) Flow control instructions, which come with a very large instruction count and performance hit, especially in pixel shaders, and they aren't available in shader models 1.1 or 2.0. It makes very little sense to waste dozens of instructions on every pixel for something that stays exactly the same for all pixels in the same batch. And no, not even static flow control is available in PS2.0. 2) Co ...Show All

  • .NET Development FtpWebRequest dies when trying to connect to vsftpd.

    I've got an application I inherited, and it was supposed to use secure ftp to get information to an ftp server. Turns out it didn't have this option set, and when I tried to get it to connect via sftp, it failed. I've run into that problem before with http requests, so found the appropriate piece of code to accept certificates (inherited from ICertificatePolicy), and set the ServicePointManager to use my new class. Well that works, but falls over when getting the response from the ftp server (vsftpd running on linux I think). The response is; 234 Proceed with negotiation. Is there some way that I can get the FtpWebRequest class to recognise this as a valid response Thanks in advance I tri ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Threaded code shows no speedup on XBox 360: More to it than Threading namespace?

    I wrote some Mandelbrot code that I can divvy up into multiple threads. On my multiprocessor dev box, I get the expected speedups. Identical code on the XBox 360 shows no difference in calculation speed. Does the XNA Framework actually distribute the processing, or is it serially multitasking on a single core I'm actually seeing something very similar. I'm procedurally generating a world using a couple of static classes, each of which has a bunch of static methods containing their own fields and so on. If I call these routines from the main thread (for all 400-odd objects I'm generating) it takes about 22secs. If I split this over 2 threads, each doing half the work, one will take slightly less tha ...Show All

  • .NET Development How to serialize back a ConfigurationElement object?

    Hello In the System.Configuration namespace you have several classes (like ConfigurationElement) which help you to deserialize custom configuration sections into objects. Now I have an object from a class which derives from ConfigurationElement and I'd like to serialize it back into its original xml state because I'd like to write it to a trace output (XmlWriterTraceListener). I tried to use the XmlSerializer to serialize the object but this did not work. I got the following error: You must implement a default accessor on "MyProperty" because it inherits from ICollection. Any other ideas how to achieve this The framework already has a builtin mechanism to deserialize the custom config section. Maybe it's somehow possi ...Show All

  • Windows Forms Converting .Config files to .Deploy files using Mage.exe at command line

    How can i generate .deploy files using Mage.exe at commandline. I am facing problems with .Config files download at client systems, as IE do not allow to download .Config files for security reasons. If i do it manually, ie. using DOS ren command, it throws errors. Thanks. Hi Tom, Thanks for the immediate response..!! You are very correct, I am facing download problems with .Config files and also .DLL files at the client system. If i manually change .Config to .Config.Deploy files, the following error was displayed, it is to be noted that i have not modified any of the DLL files.   ERROR SUMMARY  Below is a summary of the errors, details of these errors are listed later in the log. & ...Show All

  • Visual Studio 2008 (Pre-release) Publish Xbap application with Visual Studio 2005

    Hi all, I have been trying to publish an xbap using VS2005. I have worked through some problems but there are still more issues that I am hoping to get help with. Here are somethings that I have done. BTW, I am running Windows Vista Ultimate. I did ensure the proper MIME types were set for IIS7. I have copied the necessary files into the C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages location. I did select .Net 3.0 Framework and .Net 2.0 Framework as necessary prerequisites. Create setup program to install prerequisite components Download prerequisites from the same location as my application I am publishing to a file location because when I select publish to local IIS it says I need to be an ad ...Show All

  • Windows Forms datagridview: show a value instead of the one in the db

    hello wolrd, how can i show a value in the datagrid instead of a value in the db eg. show "stopped" instead of "0" of course int mean integer!!! i have this in the database: "1" and have to display this: "started" ...Show All

  • Software Development for Windows Vista Custom Workflow in MOSS

      Hi Guys, I'm looking for sample, reference, resources that can build custom workflow for MOSS totally using VS2005, without InfoPath form. Espeaclialy for the Associate Form and Initial Form. How can I passing data from custom web form back to workflow Thanks.   The best place to ask questions about SharePoint 2007 is one of the forums found here . ...Show All

  • Visual Studio Team System Output of base.Problems collection

    I have a custom rule that loops through all the methods available and checks for a particular violation. If there is a violation, I use the below sequence to add it to the Problems collection Resolution resElement = base.GetResolution( "error string" ); Problem prbDescription = new Problem( resElement, "Class Name" ); base.Problems.Add( prbDescription ); I have the above set inside the loop and during the execution (debugging), I am able to see the base.Problems having the list of items that were detected for violation. During debugging, I am able to see the list growing as I add the violations to base.Problems At the end of the Check method that I have overridden, base.Problems is returned. But in the ou ...Show All

  • Visual Studio 2008 (Pre-release) Changing FillBehaviour at animation end.

    I'd like to modify the value of a property that's controlled by an animation using FillBehaviour=HoldEnd after animation has ended. Tried changing Fillbehaviour by code and also stopping animation with no luck. Any idea Valentin, What I'd like to is, using this animation: < Window.Resources >   < Storyboard x:Key = " sb1 " Completed = " OnCompleted " >      < DoubleAnimation   Storyboard.TargetName = " deactiveAnimationRectangle " Storyboard.TargetProperty = " Width " From = " 20 " To = " 400 " Duration = " 0:0:5 " />      < DoubleAnimation Storyboard.TargetName = " holdEndAnimationRectangle " Storyboard.TargetProperty = " Width " From = " 1 ...Show All

  • Visual Studio Team System Intergrating static code analysis with TFS build

    Hi, I am looking to integrate the static code analysis as a part of our scheduled builds. I read around & found that I can make it always run by setting < RunCodeAnalysis > Always </ RunCodeAnalysis > But can I have a separate report that will contain only the code analysis warning. Currently it just gets added to the warning of the build process Please do let me know Thanks in advance for all the help ~Ramya Hi Ramya, after running Code Analysis on your project, there should be a file along your binaries named <assembly>.CodeAnalysisLog.xml this file contains the warnings found during the last code analysis run. Regards, Jeffrey ...Show All

  • Visual Basic Getting the icon of a file.

    I am wondering if there is a way to get the icon that a file uses I want to get the icon of every file in a directory and draw it next to the name of the file on my form. How would I get the icon I believe you mean get the default icon of a particular file type Like for a doc or txt or xls etc. Try this. Bung this code in your file: [code] Private Structure SHFILEINFO Public hIcon As IntPtr Public iIcon As Integer Public dwAttributes As Integer <MarshalAs(UnmanagedType.ByValTStr, SizeConst:=260)> Public szDisplayName As String <MarshalAs(UnmanagedType.ByValTStr, SizeConst:=80)> Public szTypeName As String End Structure Private Declare Auto Function SHGetFileInfo Lib "shell32.dll" (ByVal ...Show All

  • SQL Server Reporting Services Instance could not be found

    Hi I am receiving an error message when I connect to Reporting Services in SQL Server 2005, the error is: Cannot connect to <SERVER> Reporting Services Instance could not be found (Microsoft.Sqlserver.Management.UI.RSClient) Can anyone help with this please Thanks Can you check if RS is configured properly by going to Start->All programs->Microsoft SQL Server 2005->Configuration Tools->Reporting Services Configuration Connect to the instance that you are having trouble with. Also, are you seeing this when navigating to http://<servername>/reports Thanks, Sharmila ...Show All

  • SQL Server Searching encrypted data; using MAC secret data

    I just finished reading an article on how to search encrypted data efficiently and they suggested creating a new column with a Message Auhtentication Code. To be honest, reading the aritcle makes my head hurt. I can hardly understand what they were doing myself and I can't begin to explain it to a developer. Are there any easier ways to search encrypted columns for a speciifc match If not, does any have some stored procs that implement this messy MAC stuff TIA, Barkingdog If the article Sung pointed out is the one you have questions about I am the author of it, and I will be more than glad to help answering any questions and help you get a solution for your particular scenario. ...Show All

  • .NET Development Very Strange Problem :S

    Hello, I'm in process of porting a Chat application from its Desktop .Net version ot Compact Framework version. All works fine but I have a strange problem. When I connect to My PC version from Pocket PC version through GPRS connection all goes fine! But the same thing when I try to run it from the Cradle directly then Its disconnected somewhere and I cant Find that point where does it disconnect. All I see in Read Call back Function of NetworStream I get 0 length data. Its really sucking my mind from last 6-7 hours and I'm unable to get it working. I dont know why it returns 0 even there is no Exception Raised... or No connection is closed by my code untill I read that 0 length data. Its not feasible for me to connect GPRS on eac ...Show All

©2008 Software Development Network