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

Software Development Network >> Nick Mc's Q&A profile

Nick Mc

Member List

Brad.K
muntaqi
mattii
Oleksiy
perf101
alex china
Vinay Agarwal
su45937
SP534
markand
Sean P. Mehrlander
HopeDreamsComeTrue
RickKr
pc_bond
Shadi Mari
Priya RV
Joseph Stalin
Juan Foegen
Test1234525
Adam81
Only Title

Nick Mc's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Visual Studio 2005 w/ XNA!!!

    i was wondering if anyone knew how to include the xna project templates into vs2005 i tried to copy the templates manually from the project templates folder of c#express to vs2005 but, they still don't show up with the other projects. im not even sure it's possible to do this but, i was curious to know also, does anyone know how to turn on line numbers in c#express i'm soo use to vs2005 and all it's features that i have grown accustom to it!!! this is my first time using c#express!!! As far as I am aware the templates don't work, but what you can do is maybe open up Express and take all that code and write it out yourself in an empty project add all the resources etc. There are however things that are in ...Show All

  • SQL Server passing varibales as SP input inside a cursor

    Hi dear, I want to assign the variable @myVar an input to my stored procedure parameter @myParam. But I want to do that my cursor code: declare @myVar as.. fetch next from crsMyTblParams into @DBparam while @@fetch_status=0 begin EXEC sys.sp_helprotect @username=@myVar fetch next from crsMyTblParams into @DBparam end close crsMyTblParams deallocate crsMyTblParams But that gives me an error 2/ another question pls: how can I use use @myDB for a varibale like this: declare @myDB ...cursor code use @myDB ...rest of cursor code ...end of cursor code Is that possible , thank you There are no matching rows on which to report just means that there are no explicit permissions for that use ...Show All

  • .NET Development how to unzip a file in .net 2.0 with C# as a language

    I have a zip file.I want's to unzip it how can i do this in .net 2.0 as we know there is a class i think gzip from which i can unzip a file. Please can anybody help nobugz -- it's just a manner of speech kamran, yes you need the j# redistributable. We'd prefer users not to have to take a dependency on these libraries which is why we'd like to have a replacement in the framework libraries. ...Show All

  • Visual Studio Team System Displaying build status

    Hello, I am writing an application for administrating builds (starting, stopping, deleting, etc.) using the TeamFoundation object model. I need to display the build status form (or something similar) for both running and completed builds. There is a BuildProgressForm in Microsoft.TeamFoundation.Build.Client namespace but I couldn't find any documentation and I get it to work. Any ideas Thank You, shay Not that I am aware of, but I'll ask around and see if anybody else knows more on the topic. To recreate some of the GUI from this form, you would want to use the GetBuildSteps web method (which will give all of the completed and in-process build steps). -Aaron ...Show All

  • Windows Forms Drawing picture of 256 colors in picturebox

    Hi I use Windows Forms C++/CLI I try to draw in picturebox a image that i get raw and palette (BITMAPFILEHEADER). How can I put palette in picturebox and raw imagen becuse I need palette for see good imagen. System::Drawing::Bitmap * lBitmap = new System::Drawing::Bitmap(pImageWidth, pImageHeight, System::Drawing::Imaging::PixelFormat::Format8bppIndexed); System::Drawing::Imaging::BitmapData * lBitmapData; lBitmap->Palette = ColorPalette pal; Use System::Drawing::Imaging::ColorPalette. Did you understand my previous post If you send the bitmap over the socket in its original file format (BITMAPFILEHEADER + BITMAPINFO + image bytes), you can load it into a Bitmap ...Show All

  • SQL Server Export to excel issue

    I Have a report, in SQL Reporting servies. THE report has a field where the value shows up as an integer ie 0. However, when the report is exported to excel, the field value shows up as a decimal ie 0.4. How do i keep the number to show as an integer only ie 0, when exported to excel. Are you specifying a format code to only display the integer, or is the underlying value actually an integer If it is the former, what is the format code you are using Ian ...Show All

  • .NET Development How should I send query to datatableadapter?

    I can only set a static query in DataSet designer How do i send and set query to DataTableAdapter by the code Momtahan, Please try the below coding fragment and let me know. You can include the 'WHERE' clauses with concatenation of values or go ahead for parameters. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ //Filling dataset with query during runtime... string connectionString = "PROVIDER=SQLOLEDB;SERVER=C6433;DATABASE=CRM;UID=sa;PWD=sa" ; OleDbConnection conn = new OleDbConnection (connectionString); OleDbCommand cmd = new OleDbCommand ( " ...Show All

  • Visual C# Versatility/Practicality of C#?

    Hey all, new to posting but ive been reading here for a few weeks. Anyway, on with my question (which probably has been asked in some way already)- How versatile is VC# compared to VC++ All I generally see are simple (*duck/cover* ) desktop applications. I've read that its possible to do game dev (including DX and OpenGL), but I have yet to find any engines done in C#. I have just looked at API's/engines/SDK's for games, but I have not gotten actually into manipulating/programming in them yet. I've done some basic reading on C# and I sort of want to get into it, but I plan on in a few years down the line working for Lockheed (or a defense contractor of some sort) or EA-Tiburon. I've been programming since I was probably around 10, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectX8 and Vista Compatibility

    (split from http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1221168  to make a new question) It is interesting that you say that because I am testing a VB6 app that was working fine on XP and below but now fails on Vista when it tries to create a DirectX8 object, specifically Set oDX = new DirectX8 throws Error 429, ActiveX failed to create component. Running in XP SP2 compatibility mode does not work either. I would be really grateful if anyone has any ideas on this.  I also tried running the latest DX9 redistributable because I heard that was providing backward compatibility, but to no avail. Thanks. Check this out http://forums.microsoft.com/msdn/showpost.aspx pos ...Show All

  • Visual C++ 1st TIME USER, please help me to install the STK in Visual Studio 2005

    Hello everyone, sorry if this is a stupid question, but I'm VERY new to this. Have been bumbling through C++ at uni (it's a module on my Sound Tech course) but now it's Xmas holidays and there are no tutors to pester! I've managed to get hold of Visual Studio 2005 and I need to know how to get the STK file working with it. My plan is to build a very simple interface that allows the user to manipulate resonance, filter cutoff, LFO speed etc of a sample they can input. Kind of like a Kaos pad, but without the nice touch screen! Anyway, ANY help would be really appreciated. Thanks, Matt I have no idea what to tell you. Can you be specific about what you don't understand then we might be ab ...Show All

  • Visual C# Why did I only get part of what I intend to get?

    No error was complained! The following program is to write a whole year's month,day,weekday in a MSSQL table. But somehow, for many times I have tried, but each time I got only part of what I intend to get: the whole year with 12 monthes, instead, I only got 3 or 4 months' content in the table. Can anybody tell me why calendar.dll using System; using System.Configuration; using System.Data; using System.Data.SqlClient; using database; namespace calendar { public class calendar { private int _nian; //year private int _yue; //month private int _ri; //day private int _xingqi; //weekday private string _errorInfo; public int nian { get {return _nian;} set {_nian=value;} } public ...Show All

  • .NET Development SQLDataReader.GetOrdinal() fails rarely with IndexOutOfRange

    Hi everybody, We were developed some Web-Services that run against SQL Server 2000 with SQLDataReader that executing Stored Procedures in the DB. Most of time (95%) everything is running well, but sometimes (when exactly, we don't know) the same WebService that worked 200 times, fail. The code is simple:         public string myFunction( int ANumber )         {             string strRetVal = null ;             SqlDataReader myReader = null ;             SqlConnection MyConn = null ;             ...Show All

  • Visual C++ Change DLL Search Order Dynamically?

    Is there a way I can alter the dll search order dynamically (launching executable process) * SetDllDirectory( ) only works with LoadLibrary/LoadLibraryEx * CreateProcess( ) doesn't seem to have any flags/parameters to toy with. * LoadLibrary( )/LoadLibraryEx( ) don't load executable bits for executing (only for resource manipulation) * Changing values in the registry upon load is unacceptable and would likely break anyway. Yea, I went down the Detours path but couldn't find a way to avoid having to write a copy of the original executable to disk so I abandoned it. If I could use Detours and pipe the output to a portion of memory and execute it, then I'd switch back to it. My only solution right now i ...Show All

  • Visual Basic debug a web application on a server?

    Hi... I have a web application written using VS2005, .net 2.0.. it's located on a server.. I can execute the application just fine from my local WinXP machine thru a browser.. I can also run Visual Studio on my local machine and edit/save files in the web application on the server with no problem. However, when I attempt to run the application on the server in debug mode from my local machine I get a bunch of build errors reading: "Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. " I tried finding solutions searching in these forums and have read through several of the threads that seemed relevant. .... I've done ...Show All

  • Visual Studio Upgrade to VS2005 Pro or buy CRXI Developer?

    Hi, I recently purchase VS2005 Standard edition, and after finding out I couldn't include a crystal report from Crystal Reports 9 I've got a decision to make. I can either purchase CR 11 and download the release 2. Or I can upgrade my Visual Studios 2005 standard to Professional. Which is better Both cost a similar amount. but i'm looking for easier functionality between crystal and visual studios. I i upgrade my visual studios to professional does this come with the bundled crystal software i need to be able to easily create and include crystal reports in my application If I was to just purchase CR11 standalone, I wasnt sure if this would add the extra functionality I need to my Visual Studios 2005.. e.g clicking on my proj ...Show All

©2008 Software Development Network