mattdawg's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Rotation problem
With DirectX to rotate my object I'm using D3DXMatrixRotationYawPitchRoll. So it means , it will rotate around Y , X and after Z axis. But if I change the angle of X or Z, it won't turn around X or Z. How could I turn around the right axis It's just a problem of Gimbal Lock, I will use quaternion to make my transformation and next convert my quaternion to euler's system..I will bring you up if it works I ...Show All
SQL Server RDL Report Messagebox
Hai i am using .Net 2003 RDL report in my project,I have a questions I have a Two parameter,Second paramerter values silter depending on the first parameter values,so when user selection on a first parameter it will take 1 minuites to filter the second paramater,so during that time i need to give proper messgebox like "Report parameter vlues being generated please wait !" When use clicks on a "View Report" button its Messagebox says "Report is being genarated ",i need to use same techniques ! please help me to solve my requirement ! Sujithf ...Show All
SQL Server Adding Data Viewer causes BI Studio to crash
I am having this issue with BI Studio when I add Data Viewer to a relatively large data set, it causes the Visual Studio to crash. Has anyone experienced this Any help on this will be highly appreciated. Thanks, Ashish What is "relatively large" How many rows How wide are those rows Does it crash at design-time or execution-time More info please. -Jamie ...Show All
Visual Basic Parsing a non-delimited(space I imagine) text file
I have a text file that has been exported from a Progress Database v8.23e (this is an old system, i know) . I need to parse the data to a dataset or XML or anything that has structure heh, any ideas Ive tried multiple threads here on parsing text files as well as searched MSDN/Codezone and they did not work. 0278XX'S XXXXXX PXXXXXX #49 101new multi unit 94919S & W WHOLESALE SAND ACCXXXXXX GRILLED CHICKEN SALAD 5.00EA428565-00 3.95 09/07/06 0278XX'S XXXXXX PXXXXXX #49 101new multi unit 94919S & W WHOLESALE SAND ACCXXXXXX CHICKEN SALAD ON CROISSANT 4.00EA428565-00 3.25 09/07/06 0278XX'S XXXXXX PXXXXXX #49 101new multi unit 94919S & W WHOLESALE SAND ACCXXXXXX CEASAR WRAP ...Show All
SQL Server Partitioning tables and filegroup stuff
Hi everyone, Primary platform is 64-bit on A-P cluster. Our needs are on yearly basis and on monthly basis. We're forced to keep up five years for the majority of the production tables. In terms of years, I see three ways: 1.Create all the ranges for a FILEGROUP with a only NDF 2004, 2005, 2006 => FG1 => ONE.NDF 2.Create all the ranges for a FILEGROUP along with more than one NDF. 2004, 2005, 2006 => FG1 => ONE.NDF ...Show All
SQL Server Dates in Reporting Services
hey all set up Visual Studio 2005 SQL Server Express / Reporting Services four fields State date Start time Finish Date Finish Time I need to take one away from the other - can someone please help me Is it better to keep these in separate fields or to combine and subtract Is there anything special I need to know with subtracting time I am reasonably newbie still so would appreciate any help thanks I am using the visual side in Reporting services - Data - Layout - Preview. thanks Jewel To come up with Time Taken in this case, I would probably combine your start date and time into one variable, then combine your end date and time into another variable and perform you ...Show All
Windows Forms Listbox MouseDown and SelectedIndexChanged Event Handlers Conflicting
I have two databound listboxes which when I use drag-n-drop the MouseDown Event does not allow the SelectedIndexChanged Event or Click/DoubleClick events to be handled. Any suggestions. I had the same problems. To get around the selectedIndexchanged problem (and resultant errors that the count of selected indexes was set but the selected indexes and items were not set properly) I had to just keep my own arraylists of the indexes that I selected in the mousedown box. It was tricky because I now needed to manage the lists but I was able to make it happen. To get around the double click all that has to be done is to use the MouseEventArgs e.clicks to see if they are 2. If they are 2 then it ...Show All
.NET Development Retreive incoming IP Addresses?
Is it possible to get the incoming IP Addresses and display them in a listview Thanks, It throws an exception. How do I add a prefix HttpListener httpList = new HttpListener (); httpList.Start(); httpList.Prefixes.Add( RIGHT HERE: IT'S A STRING ); HttpListenerRequest request = httpList.GetContext().Request; httpList.AuthenticationSchemes = AuthenticationSchemes .None; ...Show All
Visual C# VB6 # mark in C#
Hi, Does anyone knows how can I use the " # " in C# just like this function in vb6 #If AMBIENTE_EMPRESA Then Set gbLog = CreateObject("LogOnline.wILog") With gbLog .IniciarLog "PROGED" .GravarLog "001", vbLogEventTypeInformation, "Preparando Processo de Envio de Email's e Bip" End With #End If And what the # mark means ----------------------------------------------------------------- And this one is it possible to use in c# also Set gbLog = CreateObject("LogOnline.wILog") Thanks I am not sure but may be Activator.CreateInstance("assemblyName", "typeName") could get you the functionality you looking for ...Show All
Visual Studio Team System Is There any other property In the BuildNumberGenerator tag?
hi all: Now I am custom the build number and in the TFSBuild.proj there is codes like: <Target Name = "BuildNumberOverrideTarget" > <BuildNumberGenerator BaseBuildName="V1.0" LastBuildNumber="$(LastBuildNumber)"> <Output TaskParameter="BuildNumber" PropertyName="BuildNumber"/> </BuildNumberGenerator> </Target> The property ' LastBuildNumber' can get the last build number of the project. I found there is a store procedure called 'sp_GetLastBuildNumber' in the database. Does it useing this SP I also find there is another store procedure ' LastBuildNumberWithPrefix' ,this SP is that I want to use. can you tell me how to use it ca ...Show All
SQL Server Cast problems with CLR
hi, i have looked at several guides, and have come up with some code, although for some reason i am unable to get it to work, and receive an error: Msg 6260, Level 16, State 1, Line 1 An error occurred while getting new row from user defined Table Valued Function : System.InvalidCastException: Unable to cast object of type 'System.String' to type 'System.Object[]'. System.InvalidCastException: at UserDefinedFunctions.FillRow(Object obj, String& PID) . Below is my code: using System; using System.Data; using System.Data.SqlClient; using System.Data.SqlTypes; using Microsoft.SqlServer.Server; using System.Collections; public partial class UserDefinedFunctions { const string SELECT = @"SELECT pointData.PID FROM pointData ...Show All
Visual Studio Team System Branch subfolders only
Hello! I have a TP(TP1) with a main folder and multiple subfolders in it. The main folder along with it's subfolders has been labeled at test123. TP1 Main subfolder1 subfolder2 subfolder3 ... I now need to branch the individual subfolders to team project(TP2) at the parent level. TP2 subfolder1 subfolder2 subfolder3 To accomplish this: 1. I can branch the main folder to TP2 based on label 123 2. Move all the subfolders underneath main to root 3. delete main folder I have 100s of these folders and moving is not an easy task for, even from the command line, I have to do it one at a time. I also tried applying the label in TP1 to sub folders only. But even then, I have to branch one ...Show All
Windows Forms How to Display Image data
Hi, I have a form which opens an image from a file and displays it in a picture box. I would like to be able to view the image properties in order to alter them, say like putting a block of solid colour onto the image. I'm really stuck with how id go about doing this. Could anybody offer some advice Cheers ...Show All
Windows Forms Rename designed components programmatically
I'm implementing a control similar to the VS Document Outline as a TreeView object populated with components. I need to be able to change the component's name by editing the TreeNode's text. What is the correct way (so that the change registers with PropertyGrid, UndoEngine, etc) to programmatically change the name of a designed component Just changing Site.Name isn't good enough. Right that will work as long as you are within a transaction. Undo/Redo and the PropertyGrid listens to TransactionClosed and do their updating there. If you use TypeDescriptors, you don't have to do the ComponentChanging/Changed. If you set the properties directly, then you do. But you have to do this within a transaction. ...Show All
Visual Basic vb inherited form: cannot see from which form it inherits
If I look in the vb code of an inherited form I cannot see which form it inerhits from. I have to look in the hidden file ...designer.vb to see the inherit statement and to read the name of the base form. Is that normal Maybe normal for some, but it developerfriendly it is not. Tell me how to distinguish in VS2005 at a glancein the code if a form is inherited or not You have to select 'show hidden files' click on the plus sign under the form to open the designer file code and then see it. ...Show All
