jk_uk2's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Rotating points in 3D
I am working with some vector graphics that consists only of an ordered set of 2D points in XY space. The order of points determines the path that a line is drawn through them. I would like to be able to rotate the points in 3D so that I can flip and rotate the vector picture. After performing a rotate of some degree I want to be able to write the new set of points to an array or file or whatever. I also want to be able to display my vector image in a Window. So I have two questions: 1) Is there anything in DirectX that will help me rotate some XY points in a 3D space and then give me the resulting XY coordinates 2) What do I use to draw these points to the Window using DirectX In the past I have used normal Windows drawing me ...Show All
Visual Studio Express Editions Just in time debugging - registry settings
Ok, I have decided, in spite of the complexity and the problems encountered so far, I like this IDE and will switch to it. In the spring, when I get some spare change, I will purchase the pro version. Got to have a resouce tool and a little assembly stuff. devenv is here: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE vsjitdebugger is in C:\windows\system32 (if it is available with VC++ express) -- SvenC ...Show All
Visual C++ strtol strangeness?
I'm probably missing something very simple, perhaps I'm tired. Why is it that the line of code "DWORD DWordValue = 0xF988FA1F; " places the proper hex value into the DWordValue variable (4186503711, 0xF988FA1F), but this line of code "DWordValue = strtol("0xF988FA1F", NULL, 16);" places the unanticipated value (2147483647, 0x7FFFFFFF) Don't Long and DWORD size to 4 bytes What am I doing wrong I am testing this because I need to read hex strings in from a file, and then write them as REG_DWORDs to registry sub-key named values. (Any easy ways to do that would also be useful). Brian, the problem is that I have no control over the soap code which is auto generated by VS2005 ...Show All
Visual Basic Merging two images together programmatically in VB.NET
Hello all, Here's a question for ya. I have two image files (JPEGs but I can convert them to any other format), let's call them frame.jpg and image.jpg. Frame.jpg is an 800x600 image of a frame blank in the middle much like a picture frame, and image.jpg is a 300x300 image that I want to "frame" inside frame.jpg, right in the middle of it. Can I merge Image.jpg into Frame.jpg to end up with a "Framed_Image.jpg" file using VB.NET Thanks! N. Farr You can, and it's quite easy. All you need to do is paint one image onto another one. Take a look at the code here (the first half) for an idea of how to do it. While not exactly what you are looking for it is pretty close and sho ...Show All
Visual C# Is there such a thing as a multidimensional Arraylist or List? If so. Syntax?
Hi! I'm new to C# (and programming for that matter), so this might be a really dumb question. I want to create a multidimensional array where each item is an arraylist. I have a bunch of data, that fits different criteria, and I want to be able to store these in different rows of a multidimensional array. New data, for each criteria, is being generated, so I need the arrays to be able to resize. What I would like to be able to do is something along the lines of this: List<double>[,] myData = new List<double>[2,2]; Meaning a 2x2 array, containing in each element a List<double>. And then I should be able to add data by a statement like: myData[0,0].Add(moreData); And retrieve data by: myData[0,0][someI ...Show All
Windows Live Developer Forums WLM Addin: error 8013150a when i load my addin
Hello, I'd like to program an addin that will display a little window (winform) with few controls (buttons and text edits). Is it possible What is the simpliest solution to make this I'm using C# with visual2005. Thank you. R.P. Try this, shows options dialog with few controls. The form appears when you click in settings button or you type !menu in a conversation window. You talk about that === Edited by David_ES @ 12 Oct 2006 11:15 AM UTC=== public class ClassLibrary1 : IMessengerAddIn { private MessengerClient messenger; private Button aButton, aButton1; private ListBox list; private TextBox texto, texto1; public Microsoft.Messenger.MessengerClient messenger2 = new Microsoft.Messenger.Messen ...Show All
Visual Basic The same value just onetime
Hi I use this code: For Each currentFolder As String In theFolders T ry Directory.Delete(currentFolder, True ) Catch ex As IOException theErrorCounter = theErrorCounter + 1 fejl.ListBox1.Items.Add(combotype.SelectedItem & taltekst) End Try Next The value in fejl.ListBox1.Items.Add(combotype.SelectedItem & taltekst) can bee the same several times but i only want to see the value one time, can i do that Alvin You're just adding strings to the ListBox so check to see if it already contains that string: Dim newVal as String = combotype.SelectedItem & taltekst If Not fejl.ListBox1.Items.Contains(newVal) Then fejl.ListBox1.Items.Add(newVal) ...Show All
Software Development for Windows Vista Accessing Windows Services Status
I have noticed a few things have changed in my ability to access information regarding Windows Services. If anyone has any good tips I would appreciate them. Apparently the security rights just to interrogate or query service information has been increased. When I used to call OpenSCManager and OpenService I used to be able to use a GENERIC_READ and SERVICE_ALL_ACCESS Now, I can only use STANDARD_RIGHTS_READ which is ok but... When I try to call the following I get an Access Denied. bResult = ControlService(scService, SERVICE_CONTROL_INTERROGATE, &lpServiceStatus); I've also tried QueryServiceStatusExe(...) but its denied access. What does a program have to do before it can access this information Anyone have ...Show All
Visual Studio Express Editions One Question
If I download the 101 examples of Visual Studio 2005 , I could use them in Visual Studio 2005 Express Edition you should be able to run most of them, however you may find issues with some of the data and networking samples due to the limitations of express ...Show All
Visual Studio Team System Would like to set condition when sequence of events happen
I would like to make integration build required for developers when the state is set to resolved and the assigned to is "qa" How can I do this Thanks. If someone does not associate a work item with a check in, then the integration build will not be auto filled. So I would like to make sure that when they sign off bugs that QA knows which build to test against. Thanks, Jon ...Show All
Windows Live Developer Forums Activity Development
Hello J-Thread, Could you perhaps please help me with an issue regarding the speccie@live.nl activity May I send you an email Greetings ...Show All
Visual Studio dexplore.exe from VS2005 takes a lot of memory to run
Hi, Installed VS2005 professional (Release), and when I run MSDN library for Visual 2005, it takes above 200mb on start - dexplore.exe takes that abount of physical memory. Also, the same problem happens with VS2005 itself - it takes more than 200mb while it starts. If I will start another VS2005 instance - it will take 200mb too, and thats a problem for add-ins development. Please, let me know, is there any way to fix this issue. Few lines from the about box: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Enterprise This thing just bit me as well. About 23MB and using 100% of the processor even after I shut down VS2500 and the do ...Show All
Visual Studio 2008 (Pre-release) Texture Coordinates across multiple meshes in
Hey Guys, I have also posted this question in the winfx.avalon newsgroup! I have a grid of 10x20 flat plane meshes lined up in such a way that they are all on the same Z value and give the apeareance of one large plane. I have applied texture coordinates to each of these planes with the idea that applying the same material to all the meshes will result in the proper part of the material being displayed in the proper location of the grid. The issue is that even with txt-coord values like (0, 0.1) etc, every single plane is displaying the entire material instead of the sub-section that it is supposed to. Any ideas what could be causing this -Avery ...Show All
Windows Forms ToolStripComboBox DataSource
I am using a dataset table to bind to a toolstripComboBox. The table has 20 rows in it. After binding the toolstripComboBox to the table it has an item count of 20. But nothing shows up in it. I am stumped. There are four columns in the table. I use one for the ValueMember and one for the DisplayMember. I'm sure this problem is something simple. Can someone help me out Thanks! Curt interesting. Can you show us the code you use to get the values from the database and bind it to the control Are you sure you have not implemented an event of the control which may clear out the contents of the control ...Show All
SharePoint Products and Technologies User registeration
Is there a way of making a username and password registration Example: Something like hotmail, where users register to get access to the site. Depends on which version of SharePoint you are using and, if using SharePoint 2007, which authentication provider you want to use. Basically there are ways of doing this using AD, SQL, or most any other authentication method but the process of doing so is really out of the scope of this newsgroup. ...Show All
