Di Wu's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. NEW Getting Started Tutorial
As our first tutorial we have created a getting started tutorial to get people up and running. We make some changes to the Space War Starter Kit including changing the keyboard controls. Please let us know what you think Submit@XNASpot.com http://www.xnaspot.com/Tutorial_GettingStarted.aspx Thanks ...Show All
Visual Studio Team System No VSTeam Edition for Database Professionals in the TeamSuite trail
I have installed the TeamSuite Trail. The Visual Studio 2005 Team Suite should contain the lot but there is no Visual Studio 2005 Team Edition for Architects. Should it be installed separatly //Greg Team Edition for Software Architects is part of the Team Suite (180 days trial). I have many installations running with it. TE for Database Professionals is the only one which is not present in Team Suite. If you can create a Distributed System Diagram as a new project then I think you have TESA. ...Show All
SQL Server Email Attachment Problem
Hi all, I create a subscription to send the report (in pdf format) to users once every week. The subscription works, all users manage to receive the email but some of them do not have the pdf file attached to the email. Anyone know what is wrong Daren Hi, just wondering if you found a fix for this problem cause I have te same problem. I noticed that the problem somehow connects to Outlook, cause when i retreve the mail in my Web-mailclient I get an attachment and in my version of Outlook (version 2003 English) there is the attachment and the size of the mail remains the same.. Lucas ...Show All
SharePoint Products and Technologies CQWP - Custom List
I prepared a custom list and listed its items in CQWP. ListName: MyList Columns: Name,CustomUrl (ex: Google,http://www.google.com) When I click CQWP item, it opens the "List Item", but I want it to navigate to CustomUrl in List Item. I worked a lot on ItemStyle.xsl and ContentQueryMain.xsl ... Does anybody have a trick Thanks, Have you tried the "Summary Link" web part It does pretty much what you seem to want. No tricks there. Cheers! ...Show All
Visual Studio Express Editions Hopefully simple question
Hi, I'm trying to make my first brain dead windows form. All I want to do is to print some text when a button is clicked. How do I get a unicode character to print in a textbox I thought I should be able to just include "\u2265" in the text string, but it only shows up as a question mark. I tried changing to many different fonts, but this doesn't help. Is there some simple way to do this Thanks. flarmon, I am having a similiar issue... I am outputing a string to a textbox and am seeing question marks in areas where the string contains multiple spaces (ascii decimal 32). You mention putting an L in front of the string, please ellaborate. tnx, mikey ...Show All
Windows Forms Transparent
I want to put and png image on the form. And while form is opened the png's transparent areas must be transparent. (Like TransparencyKey but transparencykey don't be transparent png's transparent areas. ...Show All
.NET Development Oledb/Framework BUG
Hi Folks, I am facing a problem to update ms-access table using this code: Dim sqlCommando As OleDb . OleDbCommand Dim reg As Integer con__conection_DB = New OleDb . OleDbConnection ( str_conection ) sqlCommand = New OleDb . OleDbCommand ( str_sql_query , con__conection_DB ) con__conection_DB . Open () sqlComando . ExecuteNonQuery () gfun__register_execute_sql = reg con__conection_DB . Close () --------------------------------------------- str_sql_query is UPDATE Table1 SET str_signal =' cccaaaccaaacaacaaca aa‥a‥ ac c aacc‥ a caaaaacc aca c ac 6 =@CBBDEFFGJIJJLNMMPOORSTTVUXEAAAAAAAAAAAAAAAAAAAAAA LRSSTUUXWWZZY\]]\_]_`ac ...Show All
Visual C# Callback from C++ .dll fails with "The memory could not be written"
Hi, I'm having serious problems getting code that used to work in Visual Studio 2003, to work in .NET 3.0. I'm using Microsoft Expression Interactive Designer, but I figure my question is not really related to that product at all. I have a dll that controls a USB device (an ArtLebedev Mini 3). I can call bits of the dll fine and correctly set up my USB device. The problem is using a method within my c# code for the callback when a button on the device is pressed. After setting up the callback, pressing a button on the USB device causes the whole application to crash with a "The memory could not be written" error. Which i'm assuming means the dll is trying to call my method in c# but for some reason can't (memory address has chang ...Show All
Visual C# Project Idea
Hello every one, I have just recently started coding away with C# and decided that this would be a suitable language to produce third year project for my degree course for various different reasons. I am still researching couple of ideas, was wondering if any of you bright people would kindly give me some ideas which will not only be a fun project to work on but something i can learn from. p.s. I have a good understanding of OOP Thanks in advance Well for my final project in college I wrote a distributed (No central server) chat/filesharing application that used a plugin architecture for extensibility, it was a lot of fun, it was a lot of work but it wasn't too bad. I built it in java but that is close enough to c# s ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Tutorials or pointers needed
Hello people, I want to get some pointers on how I could make a simple 3D "rectangular" environment where I could put some floating object inside and a camera inside that rectangle backed on one of the rectangle's walls. Like if someone was trapped inside a huge metal tank with some boxes or whatever floating everywhere. Huge thanks guys, Stef C++ native or Managed code What is your experience What have you tried - what has failed Have you looked at the samples in the SDK Otherwise yours is a very open ended question and people are more likley to help you if you can show you have tried something yourself first. Google for game tutorials - there are lots. Look for 'Skybox', that may help you render the su ...Show All
SQL Server Amazing
Hi everyone, I've got a dts 2000 which owns a Sql Task: werweuroweuroiweruewr DECLARE @CONTADOR BIGINT SET @CONTADOR = 0 WHILE @CONTADOR <= 100000 BEGIN INSERT INTO TABLA1 (ID,NOMBRE) VALUES(@CONTADOR,'PRUEBAS') SET @CONTADOR = @CONTADOR + 1 END 'werweuroweuroiweruewr' obviously doesn't exists in my database, but it's ignored 110 times. Then I see that TABLA1 own 100 rows. After that fails, of course. Could you please so kind to give me any explanation for this behaviour. I'm totally stuck, I haven't enought words (in english) in order to define this! Why SQL executes 110 times that loop and then, oh my god, discover that 'weerrrr...' doesn't exists at all a ...Show All
Visual Basic Help the handicapped.
Good morning gurus, I have the stupid question of the day - in fact, I'm embarassed to even ask it. How do I extract a filename without the extension and set it to a variable For example, I have a file called 123test.ps which is passed to a batch file as %1. I want to set another variable (TESTNAM) to 123test - no extension Something like set TESTNAM=%1 (minus the .ps) TIA ah! Well thats different. doing it in MSDOS...not sure which forum would be appropriate really since no such forums are placed here which is for MSDOS. the closest one, but incorrect, would be asking somewhere here: http://www.microsoft.com/technet/community/newsgroups/topics/scripting.mspx otherwise no idea ...Show All
SQL Server problems testing db restore, file based backups
I'm trying to test out a restore scenario for a large database. It contains several files, each one is backed up when we are finished inserting data into it. No changes are made to the data after insert. All changes happen in tables in the primary file group. So, I backup the primary file, the log, the first "partitioned" file, the log, the next "partitioned" file, the log, etc, etc, etc. Now, I delete one of the tables residing on one of the partitioned files and want to restore it. For arguments sake, let's say I have a primary file, and 5 partitioned files. I delete the table which was on file 3. I'm having trouble wrapping my head around the steps to restore under these circumstances. I thought I understood it ...Show All
Game Technologies: DirectX, XNA, XACT, etc. SampleCmpLevelZero availability in Feb. 2007 SDK
Hello, I am trying to use the function SampleCmpLevelZero on a Texture2DArray. It seems this function is not implemented, even though the documentation would suggest that it is available for all texture types. I receive the error: error X3088: Texture2DArray object does not have method 'SampleCmpLevelZero' Also, as the documentation is rather minimalistic, could someone point me to the correct usage of SampleCmp This is how I would imagine it to work for a single-channel texture: Texture2D <float> myTexture; SamplerState mySampler { ComparisonFunc = Less; }; ... float2 texcoord = ... float comparison = ... result = myTexture.SampleCmp(mySampler, texcoord, comparison); However, this doesn't compile: error X3088: SampleCmp method of ...Show All
.NET Development Passing parameter to stored procedure
I am passing parameters to a stored procedure that accepts three parameters: @PerControlBegin, @PerControlEnd, @GreatPlainsCompanyCode in my catch block, i get the error below ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Procedure 'usp_GreatPlains_GarnishmentIntegrations_GetTransactionsByPerControl_Test' expects parameter '@PerControlBegin' , which was not supplied." Can anyone help with this Thanks ================================================== private void FillDataGrid(string sSelectStatement, string PerControlBegin, string PerControlEnd, string GreatPlainsCompanyCode) { OdbcDataAdapter daVendorInfo; DataSet dsVendorInfo; ClearDataGr ...Show All
