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

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

hehongyu2000

Member List

Fositron
nglow
Mateus1223
jeremy2006
Eng. Habeeli
Surfsune
Franky Uray
stswordman
R. Muti
Joe H.
Keyboard Trampler
Behrooz PB
stombiztalker
rdionne
Han Qiao
Spyrrho
Michael Tsai
R.Tutus
mono_blaine
jturpin
Only Title

hehongyu2000's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Alpha Blending and Render Order

    Hi All, I tried to draw few meshs in game. But i has some textures problem. The problem is a meshs collistion another mesh, textures alpha chennal has some problem. Below is capture screen. Who can tell me why How to fix this problem http://hk.geocities.com/brian_tsim/error.PNG Best regards, There is one more thing to consider here - in Quake 3, the Rocket Launcher left a trail of smoke which was represented by many - potentially a hundred - transparent smoke animations arranged in a line. If the player fired a rocket these all stacked on top of each other and the game would get progressively slower as the rocket made more and more smoke images all stacking. They rendered perfectly - probably using this back-to-front ...Show All

  • SQL Server Create table,fields come from csv file

    I want to create a table automatically,and fields come from a csv file any idea TIA One way is using two packages and a configuration file. I'm assuming that you are constructing the name of the table on the fly. Note that the table MUST always have the same format. First create a sample of what you want your table to look like. Package 1: Create an SSIS package that loads data from a CSV file into that table. Make the tablename come from a variable. Put the variable in a configuration table Package 2: Create a variable that will contain the table name. Create a variable expressions that has the sql to create the table using the variable previously defined. Create a variable expression that ...Show All

  • Visual C++ cannot open precompiled header file

    Dear Sir, I have got this error below. Sometimes it happens and I don not know why fatal error C1083: Cannot open precompiled header file: 'Debug/ncbiobj.pch': Permission denied aliread.c Could yu help me. Best regards, Jose No, I didn't abort a build. I tried to restart my computer and the problem has eliminated :-) Thank you ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Beta2 Fonts

    Has anyone put together a bitmap font class or component for B2 Or even better, did MS build it into the framework somewhere Never put off till tomorrow what you can convert today :) I've been waiting for myself to post a whole slew of tutorials and code that I've been working on, but that doesn't stop me from just making more.. wait that isn't the same thing at all. I think my point is, everyones busy and having fun. You can learn a lot just tweaking the classes to work (and there's not a whole lot of tweaking needed for the font classes) and I'm sure once he gets some time, XNAExtras Beta 2 version will be up lickety split. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. support for device queries and direct access to the sound buffer

    I couldn't see any support for device queries and direct access to the sound buffer. Are there plans to add query and direct access support Cheers, e-stereo Do you plan the direct sound buffer access in the next XNA edition When I wrote about the "device queries" I thought about something similar to Query class (and Occlusion QueryType) in MDX 1.1. What it is needed to It is needed to visibility determination !!! Occlusion queries eliminate the need for portals, zones, etc. The Occlusion is totally automatic and fast. I am surprised why there is no this functionality in XNA. I read in some messages that XNA designers didn't know to what to use query and therefore didn ...Show All

  • SQL Server AS2005 Retreiving Data Problem

    Hi All, I'm having problem retreiving data from a AS2005. I'm using a named instance, called Desktop126\SQL05 This code is being used: using adomdnet = Microsoft.AnalysisServices.AdomdClient; ... System.Text. StringBuilder result = new System.Text. StringBuilder (); using (adomdnet. AdomdConnection conn = new AdomdConnection ( "Data Source=Desktop126\\SQL05;Catalog=BuypassDW;Integrated Security=SSPI; ConnectTo=default" )) { conn.Open(); //Create a command, using this connection adomdnet. AdomdCommand cmd = conn.CreateCommand(); cmd.CommandText = @" SELECT {[Transactions Types].[ID].[All].Children} ON columns, ...Show All

  • Visual C# real time use of app.config

    I am sorry, can anybody tell me why we are using app.config. Could you please give me a real time excample of its usage I heared if you want to set our code to run in a spcific version of CLR we can configure it in app.config. Can anybody explain these scenario I would greatly appriciate anybody can provide separate answers for all my questions. the configuration file is important in .net framewrok you can use it to control and store many things in your application like in previouse platform we stored this values in registry or in .ini file for example you can store your Connection string in it instead of hardecode it in your application so you can change it in the future iwhith out the need to recompile your appli ...Show All

  • Visual Studio Deadlock in ReportViewer?

    Hi there, I'm stumped by the following: My program loads a report into a ReportViewer control (in LOCAL mode!), populates its datasets, then executes the report. Then I start changing the paper source and orientation in the Page Setup button in the toolbar. Every 20 times or so that I change something and click OK, the entire app hangs, showing the animated green circle (now frozen) and "Report is being generated". I can attach a Visual Studio debugger, and I get the following stack traces for two of the 5 or 6 running threads. Anybody seen this before, or have an idea of what's going on FIRST THREAD [In a sleep, wait, or join] > mscorlib.dll!System.Threading.WaitHandle.WaitOne(long timeout, bool exitContext) + 0x2e bytes ...Show All

  • Architecture Workflow/Security access to DAL - through Service Control?

    Hi all, just working on the architecture for an enterprise application. Typical layered approach: Presentation (MVP) Service Control Business Entities Data Access Layer All business functions are through service control (single point of contact, security point) With security, the roles for various functions etc are in the database. Should the security layer go through service control for this, or should it go directly to the data access layer Security is (obviously) in a trusted area, so I am leaning towards having it access the DAL directly. We are also implementing WorkFlow. Should this as well go through service control or can go through the DAL Again, it is "behind the fence" and trusted so I again tend to favour it going ...Show All

  • SQL Server Execute Process Task using StandardInputVariable

    Greetings! I am using a Excute Process Task calling a selfwritten EXE and I'm trying to pass a command line argument to it. The code for the EXE is quit simple: Public Sub Main() Try Dim info As String = My.Application.CommandLineArgs.Item(0) MessageBox.Show("Info:" & info) Catch ex As Exception MessageBox.Show(ex.ToString) End Try End Sub According to the help files there are two ways to pass an argument, using the property Arguments, which I guess is for hard-coded stuff, and the StandardInputVariable for passing dynamic info. When I use the Arguments property everything works fine. I get the info messagebox with correct data. But when I leave that blank and instead use the StandardInputVariable proper ...Show All

  • Visual Studio Team System Project field mapping questions

    All I am trying to use Project in conjunction with TFS for tracking both my project and the accuracy of my planning. To that end, I would like to have Project show me the dates I planned each task to go (based mainly on links with other tasks), and have the dates in TFS be the Actual dates. To support this, I am thinking that I need to remove the mappings between TFS StartDate and Project pjTaskStart as well as TFS EndDate and Project pjTaskEnd. I also have to add mappings from TFS ActivatedDate to Project's Actual Start Date and TFS Resolved Date to Project's Actual End. Regarding this I have 2 questions: 1) What are the correct names of the project fields 2) Is there something that I am missing that makes this idea "out ...Show All

  • Visual Studio Tools for Office Using the dll created by publishing my VSTO Word program

    Hello all, I made a program that will place data from a table into a merge document and then print it out. When I published it it created a dll. Now I need to use this in another program that sets the information up in the database. I have placed a reference to the dll in the main program and also copied the dll into my project folder. I then found the following code on the net Private Declare Sub Print Lib "ACHSweep" () You then use the call method to start the processing, supposedly. None of these solutions hgas worked for me, and nothing else I have found addresses this. Any help is greatly appreciated, Brian HI Daniel, I created the document in Wor ...Show All

  • SharePoint Products and Technologies where did "Cell Corners and Shadows" go in sp designer 2007?

    I may be completely brain dead, but I can't find the layout table options for "Cell Corners and Shadows" anywhere in sp 2007. In FP2003, its off a link right on the "Layout Tables and Cells" task pane... which has been renamed "Layout Tables" in designer and is missing the "Cell Formatting" link. However, in this link ( http://office.microsoft.com/en-us/sharepointdesigner/HA012304221033.aspx ) the designer task pane appears unchanged from FP2003. Any clues where to find it I've been googling for over an hour and can't find any reference to this anywhere... thanks, joann I believe this is on the Cell Formatting task pane, which does not appear under the Task Panes menu but once was visi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Calculating FPS

    Ok so here is a real newbie question lol. What is the proper way to calculate FPS I noticed in the Update() method for the XNA project it does something of the sort: // The time since Update was called last float elapsed = ( float )ElapsedTime.TotalSeconds; I was wondering if I can properly calculate FPS based on this I tried to do something like: fps = 1 / elapsed; But it always seems to be 60.0024 FPS so I believe I am doing it wrong. I am only rendering 2 sprites, so I can't believe its only going 60 FPS. That and if I put a thread.sleep(500); it still says 60 although it should be 2FPS lol. Obviously I am doing something wrong. Is it more proper to use a timer of 1 second and just tally up the frames etc Thanks and t ...Show All

  • Software Development for Windows Vista Visual XSLT under VS2003 in vista

    Most of my work is developing xslt stylesheets for document processing. For this I still use visual XSLT by activestate, as there has not been anything better to use. However, active state abandoned the product a while back due to the costs of intigrating it iinto vs2005. So I have to keep using vs2003. After the upgrade, I can no longer debug xslt with it. It starts the debug server and starts listening on port 9030 (and it appears to do something on 8009 too), but VS never manages to connects and in the end you have to force quit visual studio. I am assuming it is a problem with a port, as I originally had a problem that I couldn't use tomcat at the same time due to the port 8009 conflict. Does anyone know of any other ports or things th ...Show All

©2008 Software Development Network