James Su's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. understanding view/world matrix
I have a few questions about this device.Transform.view = Matrix would set the camera for the rendering screen and device.Transform.World = Matrix would place the mesh object into the world space right if all the above is correct what would be the best matrix seting for turning a mesh and placing it into a set location on the screen Yes, you're assertions about those two matrices are correct. Although there is ...Show All
SQL Server Need distributed service broker sample
I'm working with the April CTP of SQL Server and I'm trying to create a proof of concept using service broker. I'm struggling with the "abc's" of it. If anyone has or can point me to a distributed "Hello, World" for service broker between SQL Server 2005 and SQL Express instances it would save me some time and trouble. thx! Niels, The two link http://staff.develop.om/nielsb/code/routing2.zip http:// ...Show All
Smart Device Development smart phones
Hello people.. i have bought the audiovix 5600, and i'm not able to know how to downloud an application on it to make it read other languages instead of English... for example i'm reacieving an ARABIC text msg and i'm not able to view it... What shull i dooo ! ! ! ! does windows mobile support arabic language on this device ! can someone help Please contact whoever you purchased the device from for your options. I'm going to l ...Show All
Visual Studio Team System Max 260 characters in path + projectfolder-hierarchi + programname?
I have just had a strange error saying that there is a limit to the total length of the source control path + project internal path + program name that may not exceed 260 characters. That is obvously too little if you want a minimum of structure in both your team foundation server structure and your projects and you want to stict to describing names for your files. How to I change this setting regards Jens Chr You can't. It's ...Show All
Visual Studio Team System Product Studio
Is Product Studio available at this time as a standalone app If so, where would I be able to get that Thanks! I see. The backend server for the work item tracking is SQL Server 2005. Right now, there's no way to install one piece (work item tracking) without another (source control, for example). You would need to install the server including SQL Server 2005 even if you could actually ins ...Show All
Software Development for Windows Vista Error on build log? and why is this condition not working?
Based on Dennis Pilarinos blog ( http://www.dennispi.com) I tried to recreate from scratch a simple console workflow project "Loan submit": -The host console sends a Loan submit message with an ID (string) and a value (float) to the workflow. LoanEventArgs myeventargs = new LoanEventArgs (wfInstanceID.InstanceId, "Jumbo" , 100); SubmitLoan( null , myeventargs); -The workflow should be very simple: Eventsink gets message, ...Show All
Visual C++ Linker issue LNK2019
Hi, I am trying to do a class template for matrices. Everything compiles well but when I try to use it in another project I have a small issue. Source for the matrix class: class Matrix { public: //Generic functions short int Rows(); //Returns the numbers of rows short int Cols(); //Returns the numbers of columns Matrix ...Show All
Visual Studio Tools for Office Delete a file rename another??
I import a text file into Excel and use a macro to reformat it. The macro then saves the file as a CSV file and quits Excel. I would like the macro to delete the original ".txt" file and rename the CSV file to ".txt". I have tried the line "Kill *.txt" but get a syntax error. Anyone have any suggestions how I can "delete *.txt and rename *.csv *.txt" The filename will vary, so I have to use a wildcard, but the file will always be on the deskto ...Show All
Windows Forms Unable to paste CSV format into Excel
Hi, I am trying to put data onto the clipboard which can be pasted into Excel. I have successfully implemented HTML, Text and XML Spreadsheet but cannot get the CSV format to work. Even the example provided by MSDN won't work: string comma = System.Globalization.CultureInfo.CurrentCulture.TextInfo.ListSeparator; String csv = "1" + comma + "2" + comma + "3" + Environment.NewLine + "6" + comma + "8" + comma + "3"; byte [] ...Show All
Smart Device Development Control Focus Problem - a Bug? or..
Hi, i would like to create a simple control that changes its background color depending upon whether it is focused or not. i have the following code. class mylabel : Control { protected override void OnGotFocus( EventArgs e) { base .OnGotFocus(e); this .BackColor = Color .Red; } protected override void OnLostFocus( EventArgs e) { base .OnLostFocus(e); this .BackColor = Color .White; } } The pro ...Show All
SQL Server Calling a .NET assembly
I have implemented a c#-dll and added it to the assembly cache. My question is if there exists some other way of calling functions in it other than using a script task Using a script task works well, but I think it would be nicer if there was some sort of dll-task analoguos to the web service task. Thanks for some comments! No, there is no "Assembly Task". Not sure what such as task would give you really a ...Show All
Smart Device Development Cell ID/ network info
Hello ppl, Can someone pls explain me how to get some network informtion, especially cell id(area info) with VB .net Currently im able to get the service provider's name alone.. I need more info like the area were the sim is located and so.... Tanx a lottt in advance.. Carty.. This forum is intended to deal with issues directly related to the .NET Compact Framework. It appears that this question can better be answere ...Show All
Visual Studio Can't uninstall .Net Framework
Hello, Im having some trouble installing the latest version of Visual Studio .NET. I had a previous installation of 2002 .NET Beta 2 that i removed. The only component that I cannot uninstall is the .NET Framework (English) Full v1.0.2914 (i think this was installed with BETA 2 but not sure, as i had in total 3 .Net frameworks installed! 2 of which uninstalled without error). When i attempt to remove it the uninstaller complains that it cant r ...Show All
.NET Development external / internal access to a web service
I have a simple web service / windows-forms web client / SSL scenario. Every web site allows only one SSL certificate. The certificate is stamped with the URL. Users outside the LAN, accessing the web service, will use SSL. Users inside the LAN will not use SSL. I want to ensure that users outside the LAN are in fact using SSL, and do not come in using HTTP. This is a shared web site. Other apps are on it. I cannot simply block port ...Show All
Visual Studio Catch On Properties Change Event
Hi Everybody, I am trying to catch the act of changing the value of a property but i didnt find the method. This property also changes the source of a link. So could be the event raised by changing the value, the event raised by connecting the source of a link to another shape, without using the mouse, Or the event raised by adding a link to a shape, without using the mouse. Does anyone know how to do it Luiz, It is pos ...Show All
