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

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

incendy

Member List

scribework
mattyw87
Scott Chang
Mr_White
stormtreader
-Cyclone-
McMaster
J. Rizzo
eevee
Raymundo Chapa94595
Tryin2Bgood
Roozbeh Sharafi
msbuilddude
art1729
Sai A
haba
EisenB
Ross B.
Enlikil
Odi [Xceed]
Only Title

incendy's Q&A profile

  • .NET Development save as dialog

    Hello. I asked this at an ASP.Net forum and was told that I cannot/shouldn't change try to change this, but I wanted to double check this. I am making a web application with c# and am using this code to save a file: Response.ContentType = "application/x-excel"; Response.AddHeader("Content-Disposition", "attachment;filename=" + HttpUtility.UrlEncode(" ") + ".csv"); Encoding encoding = Encoding.GetEncoding("Shift-JIS"); Response.BinaryWrite(encoding.GetBytes(csvStr)); Response.End(); It works fine..the data gets saved nicely to an excel file. The user pushes the button to download the file and then a security dialog box pops up that asks if they want to save or cancel. If the use ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. FixedTimeStep faster than Variable Time Step

    A question for those who know the inner workings of the XNA framework. Whe using FixedTimeStep, if a frame takes longer than 0.016666 ms (th frame time for 60 FPS), what happens is it left to finish it's task I ask this, because, in some condition (lots of details on the scree, and split screen, and post processing) my framerate, when not using FixedTimeStep goes to 15-14 FPS. But if I enable FixedTimeStep, in the same condition, the game runs smoother, no hiccups, everything runs as if it were 60 FPS. I understand that this is what FixedTimeStep is supposed to do: run the game at 60 FPS.... but HOW can it do it, if otherwise the game runs at 15   If you are using a fixed time step and us ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Dx 101

    Wat new changes are made when the new version of direct x comes The new changes are a complete change of the rendering pipeline. 1) Geometry Shaders 2) Shader Model 4.0 3) Predicated rendering... These are just some of the changes in the new version of Direct3D10 (exclusive to the Windows Vista operating system) I hope this helps a bit more, Take care. ...Show All

  • .NET Development Passing parameter to stored procedure

    Hi All, I am using Visual 2005 and very new to C# Windows Application. I created a stored procedure and connected the database through bindingsource, which created dataset and Adapter. I have two combo boxes. ComboboxB is a dependent of ComboboxA. Now, how can I pass the value from ComboboxA to stored procedure value, e.g., "@StateKey" so that I can have the drop down list based on the selected value from A take a look at this for drilling down comboboxes, although this is doing it the "raw" approach http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=786157&SiteID=1 you would probably have to implement the SelectedIndexChanged event for the combobox then in here pe ...Show All

  • Visual Studio Express Editions Print data from a form

    How can I print information from a database showed in a form, and how can I establish margins or styles. The easiest method is to use reporting add-in software such as DataDynamics: http://www.datadynamics.com/default.aspx or CrystalReports: http://www.businessobjects.com/products/reporting/crystalreports/default.asp ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Bug where it becomes impossible to save your files

    Hi all, Has anybody encountered a bug where somehow XNA game studio express doesn't allow you to save your files I've encountered it once (and I forgot the message it popped up unfortunately), but I thought it was a one-off thing. Then a co-worker told me he got it quite regularly when starting and stopping programs. Just wondering if this is something that more people are experiencing. At the time I had two XGSE's open, one with my (saved) project, and one with a temporary spacewar project. Unfortunately when I was trying to repro this bug, I couldn't get it to do this again. My co-worker gets it when editing files while the program is running. Cheers, Nick Waanders This occurs in C# Express correct This ...Show All

  • Visual Studio Tools for Office Event of PowerPoint.Application confict with Process.GetProcesses ?!

    Hi everyone, I have encountered a strange bug, which can be reproduced in the following manner: 1, Create a new C# console project in VS 2005 2, Add the reference to 'Microsoft PowerPoint 11.0 Object Library' in the COM tab. 3, Change the code of program.cs as below: (and don't forget to change the path of the ppt in the code) using System; using System.Diagnostics; using System.Windows.Forms; using Microsoft.Office.Interop.PowerPoint; using Application = System.Windows.Forms.Application; namespace TestProject { static class Program { private static Presentation presentation; [STAThread] static void Main() { Init(); Run(); } static void app_SlideShowEnd(Presentation Pres) { ...Show All

  • Visual Studio Express Editions How to send Report from Report Viewer as an email attachment?

    Hello, I have created a Report form that reads in data from a table. How can I send that report as an attachment via email using vb.net / report viewer Thanks in advance. alternatively to send an email within your application without using Outlook or the default email client, check this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=616274&SiteID=1 ...Show All

  • .NET Development How to Access Private Fields of Base Class through Reflection

    Hi , I want to get FieldInfo of private field of base class through passed object.How can i do that eg. I am using this : FieldInfo[] fields = objectInstance.GetType().GetFields(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public ); But it is returning only public data members of base class , how to get private data members of base class. Thanks, Nitin Accessing and modifing private members is possible through reflection. There are some "if"s and "but"s though. You'd have to have ReflectionPermission set correctly. (This is set to full on local as default). Are you storing your project on a network or similar The following works for me. class Pr ...Show All

  • Visual C++ Newbie Q regarding MFC automation client app

    First, I am trying to learn how to build an MFC DLL automation client for use by my SDK program. I begin by trying to build a simple sample MFC client app as demonstrated in the KB article: 307473 "How to use type library for Office Automation from VC++ .NET" and I get to "Step 6" when my compile produces the following slew of errors. This happens when I add the line "#include "CApplication.h" to the top of my "AutoProjectDlg.cpp" file. Can anyone please help me figure out what has gone wrong ------ Rebuild All started: Project: AutoProject, Configuration: Debug Win32 ------ Deleting intermediate and output files for project 'AutoProject', configuration 'Debug|Win32' Compiling... ...Show All

  • Visual Basic Cannot update / insert to access table

    All. I have an access database containing one table stored in my resource file. I can select from this table using the OLEDBCommand and an sql statament etc which works fine. However when I try and do an update or insert to the table no changes actually take place even though when debugging the code it says its been successfully. Can any one help Code Below Cheers Dim PPSConn As OleDb.OleDbConnection, PPSCmd As OleDb.OleDbCommand, strSQL As String, RowCount As Integer = 0 PPSConn = New OleDbConnection(csGlobal.PPSLocalConnString) strSQL = "update tblLocalApp set LocalVersion ='" & "9.9.9" & "' WHERE AppID=" & ApplicationID PPSConn.Open() PPSCmd = New OleDb.OleDbCommand( ...Show All

  • SQL Server Moving data to and from SQL Server 2005, with manipulation in C#

    Hi I am wishing to * take a table of data into a C# CLR procedure and store it in an array * take a second table of data into this procedure row by row, and return a row (into a third table) for each row (and this returned row is based on the data in the array and the data in this row). I am new to CLR programming, and pulling my hair out at the moment. I’m sure that what I’m trying to do is simple, but I am not making any progress with the on-line help and error messages L . I have now described what I am trying to do in more detail, firstly in English, and then in a T-SQL implementation that works (for this simple example). I’m looking for the C# CLR code to be returned – containing preferably two parts: ...Show All

  • SQL Server SQL Server 7.0 maintenance plans and job server access.

    I have a legacy system running SQL Server 7.0 SP4, and it is automatically backed up using a SQL Server Agent maintenance plan. Unfortunately this has stopped working (no change was made to SQL Server), and I do not know why. The message that appears in the Event Viewer Application Log is... SQL Server Scheduled Job 'DB Backup Job for DB Maintenance Plan 'eChange DB Maintenance Plan 1'' (0x5F4E8115DCF5B843B83FAE6AFD48DFEC) - Status: Failed - Invoked on: 9/26/2006 4:00:00 PM - Message: The job failed. The owner () of job DB Backup Job for DB Maintenance Plan 'eChange DB Maintenance Plan 1' does not have server access. The job is owned by a domain account which is a member of the Administrator's group on the server, and until now ha ...Show All

  • Visual Studio 2008 (Pre-release) Is Winforms Going away?

    I see all the UI benefits to the WPF but does this mean the Winforms is eventually going to obsolete I am a die hard Microsoft fan, but if we have to keep rewriting our apps to keep up with the trend, I'm having second thoughts. I am now in the middle of developing a Large scale Winforms App that I have already worked on for almost 2 years in .NET. I am concerned that by the time I release it, I will need to rewrite it to take advanatae of the UI features of WPF. Is Microsoft going to keep upgrading the Winforms along with the WPF Thanks I suppose Windows Presentation Foundation is not NEW version of WinForms, it is just ANOTHER way of creating applications. So now there are two ways o ...Show All

  • Visual Studio Team System TFS SCC Command Line Checkin attach a WorkItem?

    TFS SCC question: Does anyone know how to attach a WorkItem to a checkin via the command line (or even if it is possible ) You can find some discussion of the CheckIn() on the Workspace object at http://blogs.msdn.com/buckh/archive/2006/03/20/checkin.aspx . At one point in time, I had planned to add command line support for specifying work items to resolve and associate with the checkin, but it didn't make it. If you'd like to see that feature in the next version of TFS, please enter it at Connect ( http://connect.microsoft.com/ ). Buck ...Show All

©2008 Software Development Network