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

Software Development Network >> Danny Tsai's Q&A profile

Danny Tsai

Member List

Yousef ED
ejn76
LouisVanAlphen
Womble--
donkaiser
Pria
mcdonaldn
gudel
giarnz
Huson
Octopus384
Bertrand Caillet
S_A_S
JGttttt
new.wind
Stardust25
npiacentine
cindyluke
Jedlicka
Frame
Only Title

Danny Tsai's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. XNA GSE - Vista installation

    Hello all, I'm running the latest Vista Ultimate (MSDN) version on my machine. For some reason I can't get GSE to install. At the end of the setup, Microsoft Visual C#  Express crashes and the setup is rolled back. Always when it states "Registering project templates". Like the Visual C# Express site suggests, I've tried uninstalling the product, and re-install it as an Administrator user. But that doens't work either. Afterwards I receive the same behavior. I've also ran the GSE setup as an Administrator, but still no luck. Thanks for all suggestions and help! Okay, let me make clear that I know it isn't supported... However, there are plenty of people I've seen blogging about XNA t ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Memory leaks disposing AudioVideoPlayback.Video object

    Hello. Sorry if this question is not in the right thread. I'm writing C# application for continuous video playback using the Video class from AudioVideoPlayback namespace. I create new Video object for each movie clip disposing previous one and I face the memory leak problem if I set Audio.Volume property somewhere; the Audio object is not disposed. This leads to E_OUTOFMEMORY exception when trying to play 10th or 20th clip. Now I've commented lines that change Audio.Volume and application operates normally. Is there any way out of the situation I don't like the idea to change the master volume... Thanks in advance, Victor. ...Show All

  • Visual C# Problems with assembly references

    Hi, I am developing a windows service application which refers to the class library A and this class library A refers to my windows service application. I need both references in order to use particular classes. Well there's nothing wrong, except the warning messages I'll get when building the application in VS 2005. ViestienAjastusSovellus.exe (Windows Service) => VAS_RemoteModuuli.dll (Class library) VAS_RemoteModuuli.dll => ViestienAjastusSovellus.exe Here are the warning messages I'll get from VS 2005: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning MSB3112: Two or more assemblies have the same identity 'ViestienAjastusSovellus, Version=1.0.0.0, Culture=neutral, ProcessorArchite ...Show All

  • .NET Development XmlDoc.LoadXml() Issue

    Hello Experts, I have Html Document stored in a String and would like to parse that string using XML DOM. This is sample of my string printXml (which stores inner html). When I print this string on console, it shows following: -------------------------------------------------------------------------------------------------------------------------------------- <TBODY> <TR> <TD height="1%"> <TABLE style="TABLE-LAYOUT: fixed" cellSpacing=0 cellPadding=3 width="100%" valign="top"> <COLGROUP> <COL width=115> <COL> <COL style="PADDING-LEFT: 20px" width=135> ... etc --------------------------------------------------------------------------- ...Show All

  • SQL Server SSRS 2005

    I have somehow hidden the details on the HOME page of my Report Server. All i see is HOME and the line below it. Nothing esle. Any ideas We have the same situation on a clients system. I thought the admin role might have been locked out so I went ahead and uninstalled the current installation and reinstalled. I created new users and assigned them to the report server. The configuraton tool says everything is good, however, I continue to get the same Home, then a line. any other ideas ...Show All

  • Visual C# How to get the width of a character?

    Basically I am trying to make a console type application. And I am trying to figure out how to make it so the window is like 100 characters wide. I am using a monospaced font (Courier BT) so I was wondering if there was a way to figure out the width of each character given the font and the font point size. Thanks in advance Nevermind I figured it out. For some reason TextRenderer.MeasureText() measures the first char as double the real size of it. So like TextRenderer("M", FONT) will return 14, but TextRenderer("MM", FONT) will return 21. I don't know if this is how they intended it to be but I just took the result of TextRenderer("M", FONT), divided by 2 and multiplied by th ...Show All

  • Windows Forms Web Form Designer

    Hi! Well, I'm not sure whether I'm posting at the right forum. But I'm not sure, what I need is possible at all. I have developed a windows form designer which can create and edit windows forms, just like VS2005. Now, my question is: Can I develop a web form designer that can create and edit ASP.NET Forms. Has Microsoft exposed the interfaces that can be implemented to host web forms. If yes, how it would be possible. If no, are there any alternatives, any existing products that I can buy Waiting for a quick response... ...Show All

  • Visual C++ Edit and continue does not work (for me) with VC2005

    Since "up"grading from VS2003, I have been unable to use edit and continue. Whenever I try, I get the error message: "Project : error PRJ0046 : Could not spawn command line because the one specified was empty." Are there any suggestions about getting this to work I'm very surprised that VC2005 doesn't just work out of the box. (This was never a problem with VC2003.) Sorry for the late reply. I was out of the office for a couple weeks, and then swamped when I got back. First of all, after a bit more investigation, the reason it worked for me originally is that I copied the solution (including the built .exe) to the mapped drive, which turns out to not be the same as build ...Show All

  • Software Development for Windows Vista Workflow With Asp.net Sample

    i need samples for reject and approval using asp.net: such as page Default.aspx get the user ability to request vacation and Manager.aspx approval or reject the vacation.   can any one help me please. thanks. Omar, as far as I know, this is provided by the Sharepoint CreateTask activity. I you want to avoid sharepoint (wsss v3 or Moss 2007), you'll have to create your own custom task activity. Serge ...Show All

  • SQL Server Dynamic query

    Hello I have a problem with writing a query.Let me give an example: Table: ColA , ColB , ColC , Col1 , Col2 , Col3 , Col4 , Col5 Ok.I must write a SP and it gets a parameter,say @param. if @param=1 then in the select statement I will select Col1,if @param=2 then I will select Col2 and so on. How can I do this Thanks. ------------------------------------------------------------------------------------------------------------------------------------- CREATE PROCEDURE dbo.dynsql @param int AS BEGIN DECLARE @q varchar(max) select @q = 'SELECT sym_no'+CAST(@param AS nvarchar(2)) + ' FROM TABLE' exec sp_executesql @q END execute dynsql 2 ---------------- ...Show All

  • SQL Server SELECT USER_NAME() !!!!! Urgent

    I wrote a trigger which writes to a audit table. To get the user name I use to use SELECT USER_NAME() this used to return something like a12345 this worked fine until we moved to production where the username also had the domin name with it . Now the output of the query is something like DOMAIN/a12345 t he value of "DOMAIN' is different for different users, and the "/" may or may not be present in the user name Can some one please give me code just to return the user name like a12345 Well, then try it like this: select substring(user_name(), charindex('/', user_name()) +1, 256) /Kenneth ...Show All

  • Windows Forms Problem in using waitcursor

    Hi, I have one problem using waitcursor... When i m c hanging my cursor to waitcursor....after that also user is able to select items, rightclick and get the contextmenu.... I don't want to allow any operation when waitcursor is there..what to do ...Show All

  • Visual C++ noobs r us: need a basic thing to get me started

    i need a basic code or program to learn off and change so i can learn it more. i feel so noob asking this but meh ive got this code from a site: // i/o example #include <iostream> using namespace std; int main () { int i; cout << "Please enter an integer value: " ; cin >> i; cout << "The value you entered is " << i; cout << " and its double is " << i*2 << ".\n" ; return 0; } im using VC++, wht template do i use is there a way to see a realtime look at wht the program looks like ...Show All

  • Visual Studio Express Editions Drawing Ellipses at a specified angle (not aligned to the x or y axis)

    I am trying to draw an ellipse at the centre of a panel such that the semi major axis of the ellipse is rotated at a user specified angle ie. rotated ellipse. I have no problem drawing an ellipse at the centre of a panel provided there is no rotation applied, but as soon as I try to rotate the ellipse I fail to achieve the desired result. The method I have tried is to use the Graphics.RotateTransform and graphics.TranslateTransform methods. The Graphics.RotateTransform method seems to rotate about the origin (0,0) point of the panel, so I have tried the following: First draw the ellipse centred at (0,0) Rotate the ellipse using the Graphics.RotateTransform method Translate the elipse to the centre of ...Show All

  • Visual Basic how do i use a veriable as a textbox name

    i am tring to pass a veriable to a other sub and then that sub uses that veriable as a textbox name Public Sub Casess( ByVal nu) Dim n1, n2, n3 As String Select Case (nu) Case 0 n1 = Form1.S631.Name n2 = Form1.S632.Name n3 = "" Cal(n1, n2, n3) Case 1 n1 = Form1.S501.Name n2 = Form1.S502.Name n3 = Form1.S631.Name Cal(n1, n2, n3) This code set the virables as the name of the textbox Public Sub Cal( ByVal n1, ByVal n2, ByVal n3) If Form1.n1.text >= "0" Or Form1.n2.text >= "0" Then If Form1.n1.Text = "" Then Form1.n2.Text = "0" ElseIf Form1.S92.Text = "" Then For ...Show All

©2008 Software Development Network