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

Software Development Network >> Jason Cheung's Q&A profile

Jason Cheung

Member List

thukralz
ajedi2k
GDigrego
Limehill
krascso
sandipan
Abelard
sdj_dk
Heathermack
Marzullo
Bubba76
Brecht Yperman
betamark
honey1016
LankyNibbs
kastanienreis
geliser131
SoulSolutions
Andrew Mercer
Yogev
Only Title

Jason Cheung's Q&A profile

  • Visual C++ New to Visual C++

    Hello, I am trying to tie a CLOSE button to a form.. Any idea about the code needed to do that Appreciate it.. Diver VC includes tutorials and samples. Have you looked there for help I am not familiar with forms so I can't help with that but I would be surprised if there is not a relevant tutorial and/or sample. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XFileLoader.cs

    Hi, I wrote a little class for parsing X-Files (text mode only). It currently reads: - frame hierarchy - frame transforms - meshes (position,normals,texcoords) It's only tested with x-files from the Panda Exporter and 3ds MAX. http://markus.rubicon-net.de/code/XFileLoader.cs and I used this here for test rendering http://markus.rubicon-net.de/code/XFileRenderer.cs Feel free to use it Is it possible to load .x file into the Model class I assume that's what the Content Pipeline would do, so it'd be cool if we could write code now that'd work when that comes along. I'm not sure how well implemented the class is, but I assumed it was the IDE integration part that was missing, since all the contentloader c ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. TextureLoader parameters

    I have this line to load a bitmap texture from file. I'm calling it this way so that it uses the default memory pool instead of the managed memory pool -- which frankly I think is pretty bad for memory management and GC (even when calling Dispose!)... but I may just be using it wrong. To be truithfull though, I'm really just guessing at most of these parameters... It works, but I'd like to know how I could possibly make it more efficient for memory consumption. The application is long running, so not consuming excess memory is very important. Thanks guys! TextureLoader .FromFile(device, path, width, height, 0, Usage .Dynamic, Format .R8G8B8, Pool .Default, Filter .None, Filter .None, 0); ...Show All

  • Visual C# Command Prompt To Prompt

    Can anyone tell me how to stop command prompt from flashing on my screen on startup It has been doing this for about a month now, and I know it shouldn't be. Thanks :-) im afraid you have posted in the incorrect forums. Best place is to post in the appropriate communities for your OS: www.microsoft.com/communities most likely you installed a piece of software doing this, you may wish to check the startup items. However again, please post in the appropriate communities Thanks ...Show All

  • Visual C++ WINDOWS.H already included

    ------ Build started: Project: testfile, Configuration: Release Win32 ------ Compiling... main.cpp C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\afxv_w32.h(16) : fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h> How do I fix this problem Yes. I've found the solution, After removing all #include <windows.h> from the files in the project, I've added #include <afxwin.h> instead. Thanks, Yossi ...Show All

  • Visual FoxPro how to create executable file?

    how to create an executable file in Visual Foxpro Version 7.0 Or programmatically: BUILD EXE Command BUILD EXE EXEFileName FROM ProjectName [RECOMPILE] http://msdn.microsoft.com/library/en-us/fox7help/html/lngBUILD_EXE.asp frame=true ...Show All

  • Smart Device Development mousemove problem...

    Hello, i have an application with signature form... public partial class Form1 : Form { private Bitmap bitmap; private bool hasCapture; private int oldX = 0; private int oldY = 0; private Pen ipen = new Pen ( Color .Red); public Form1() { InitializeComponent(); } private void panel1_Paint( object sender, PaintEventArgs e) { e.Graphics.DrawImage( this .bitmap, 0, 0 ); } private void panel1_MouseDown( object sender, MouseEventArgs e) { hasCapture = true ; oldX = e.X; oldY = e.Y; } private void panel1_MouseMove( object sender, MouseEventArgs e) { int x, y; if (hasCapture) { x = e.X; y = e.Y; ...Show All

  • Software Development for Windows Vista Is it possible to exchange a running workflow for a different workflow?

    Hello everybody! Let me explain my situation: I created an ASP.NET web-application which is based on a state machine workflow. When one of our customers is not satisfied with the default implementation of the workflow, I need to exchange the running workflow with a different workflow. The changes to the workflow are minimal, but they are required for the customer. Is it possible to exchange a workflow for a different one, even if it is already running and there are persisted workflow instances in the database If not, what can I do to accomplish this According to this , I don't think so Serge ...Show All

  • SQL Server Views not working well

    After designing a new system totally within SQL 2005 Management Server, i find the application a bit buggy. 1) When trying to return the tables and columns on the current database, I created a view below. I had it simply sort by table name, and row name. Executing the view inside of the design mode works fine. opening up the view and it fails. SELECT TOP (100) PERCENT TABLE_NAME AS Name, COLUMN_NAME, COLUMN_DEFAULT, DATA_TYPE, NUMERIC_PRECISION, NUMERIC_SCALE, TABLE_CATALOG FROM INFORMATION_SCHEMA.COLUMNS ORDER BY Name, COLUMN_NAME 2) Open up any table, show diagram, sql , criteria panes. Select any field displayed in the diagram table, output should be checked, the sort ascending on it, then uncheck the output ...Show All

  • Visual C# toolStrip with Database connection

    i have a combobox on my toolStrip How can I populate with data from a database what is npg_command I assume looking at it that it looks an awful lot like SqlCommand - am I correct ExecuteReader() has an overload of nothing or an overload of the CommandBehaviour - you can remove the Commandbehaviour enum if you like, this is just the way I do things but make sure you close the connection after you have used it, as I have shown and which is in your code. ...Show All

  • .NET Development .NET Applications and Windows Services

    Hi, I have question about the best/eaiest way to install a current .NET Application as a service on Windows. Not sure where to ask this question - so wondered if you could advise. Thanks Andrew Do you mean doing this to an app you do not have the source for If so you should take a look at srvany ... otherwise I'd hop into the language general form of whatever language it was written in ( C# , VB.NET ) for advice on modifying it to be a service. ...Show All

  • Visual Studio 2008 (Pre-release) WCF, WPF VS 2005 RTM Extension?

    Hi, Just was wondering when the RTM version of the WCF and WPF Studio 2005 extensions will be released. It looks like the WWF extensions are RTMed already. Thanks Andy This is quite shocking news for me, since I won't wait longer for another RTM of Orcas only to get the RTM of Cider. The Cider will be included in Visual Studio Orcas The integration of Cider and Expression is still buggy, though. Cider keeps telling the XAML generated from Expression is wrong. This can be seen after I use Expression to create a simple animation and then I opened in Cider just to see wrinkles in my XAML. When will this bug be fixed Eriawan ...Show All

  • Visual C++ class destructor not operated.

    Hello, I have a question about destructor in a class. In the below code I was expecting the destructor part of the code to be executed and the message printed out. However, I only see the constructor message. This is the output: "We're in the constructor with arguments Press any key to continue . . ." Why is the destructor message not printed #include <iostream> using namespace std; class Point { public : Point( float f_x = 1.0, float f_y = 1.0, float f_z = 1.0); ~Point(); private : float x, y, z; protected : }; Point::Point( float f_x, float f_y, float f_z) { cout << "We're in the constructor with arguments" << endl; } ...Show All

  • SQL Server File Headers SQL Express

    I apparently have corrupted my file header on my database, and then copied it to my backup database. Is there some way 1. to have the machine recreate the file header automatically and fix it so that I can use the database or 2. a back door into the database so that I can get the text files of my database to reconstruct the database from scratch. The error mesage I receive is: Database schema could not be retrieved for this connection. Please make sure the connection settings are correct and that the datase is online. the header for fil c:\inetpub\wwwroot\nappapfinal\APP_Data\ASPNETDB.MDF is not a valide database header. The File Size property is incorrect. Thank you Unfortun ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. What games or applications are allowed?

    Hellos I have a few questions regarding the content of the games: Is it allowed to put out advergames sponsored by 3rd party commmercial companies (Either games that feature sponsored splash screens in menu etc or even product placement in the game) Then what about adult content Like how much Blood, Gore, Drugs, Nudity is allowed Do games have to be politically correct cheers Nils MrSock wrote: Gimme a break! A big corporation like Microsoft never does anything out of the goodness of its "heart," aside from giving charitable donations ... and oftentimes even THOSE are government-mandated or beneficial for tax reporting. If you sincerely believe MS would spend all of the develome ...Show All

©2008 Software Development Network