Shaantu's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Maya Programming Resources
Hey, i know this isn't an XNA:GSE question at all, but its a noob question and i think its something that will also be topical to others like me who are new to game programming, with or without xna, who are getting art content into their game, are there any good maya programming resources (books websites etc..) out there that anyone can recommend that explain and have good examples of programming maya plugins (i'm using maya 7) something that also walks one through the process of setting up visual studio 2005 so that it can be used to write these plugins would also be handy. Its pretty tricky to find newer resources. Thanks all, sorry, i hate to be posting all these noob questions all the time ...Show All
Windows Live Developer Forums VEMap.AttachEvent("oncontextmenu", function) firing twice
I am trying to add a pushpin to the map by right clicking on it. I am using AttachEvent with oncontextmenu event. I notice the event fires twice for any function. Am i doing something wrong Here is the code sample. (the map is created as a response to a XHR request) var VEControls = Class.create(); VEControls.prototype = { initialize: function(){ var url = "/maps/defaultLatLong"; var opt = { // Use GET method: 'get', // Handle successful response onSuccess: function(req) { var latLong = req.responseText.parseJSON(); if(latLong){ map = new VEMap('mapHolder'); map.LoadMap(new VELatLong(latLong["lat"], latLong["long"]), 15 ,'r' ,false); map.AttachEvent("oncontextmenu" ...Show All
SQL Server SQL Management Express Linked Server
I have created a Linked Server (in Server Objects) and set the linked server options. Now I need to set the Provider Options. In help I can see the page for the Provider Options dialog but I cannot get to it. Books-on-line suggest right-click the provider name but that gets me a menu with only a "Refresh" selection. How do I get to the Provider Options (or Properties) Dialog I see registry entries for SQL Server 2000 but I cannot find the same for SQL Server 2005. I would file this issue in the Feedback Center. In Managment Stuio, open the Community menu, then click Submit Feedback. You'll be taken to a wizard that allows to search for existing issues and then file a new one if you don't ...Show All
Visual Studio Express Editions autoScroll Text
Hello. Can some one tell me please how ya get text to automaticaly scroll up in a textbox Thank you. Thanx Tall dude. I found it dificult to understand, so a think al leve scroling text alone for a while till I learn more about programing. Thanx again ...Show All
Game Technologies: DirectX, XNA, XACT, etc. PIX Shader debugging - no HLSL in debug view
So I followed the SDK docs for how to get PIX to do shader debugging. All I see is the shader Disassembly - no .fx file is visible even thugh this originally came from a .fx file. The docs say "If a shader contains debug information, there will be one or more additional source tabs.". What do I have to do to make sure a shader 'contains debug information'. - Use SWVP - Add D3DXSHADER_FORCE_VS_SOFTWARE_NOOPT At least that's what BasicHLSL does, and I can step through the HLSL source of the vertex shader in PIX. Great feature!!! Now if only they use a better cursor in the Render window (the hand is very imprecise for debugging pixels)... ...Show All
SQL Server windows services started by sql
I'm using WMSDE in conjunction with WSUS and when I boot the computer WMSDE tries to connect to a server but it is not directed to any server. what I'm wondering is if there is any reason to have WMSDE start when windows starts if it is not directed to any server Could you please explain your scenario better . It is not clear when you said "WMSDE tries to connect to a server but it is not directed to any server" Thanks Sethu Srinivasan, Software Design Engineer, SQL Server Manageability -- This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.ht ...Show All
.NET Development web site error xmlns attribute not recognized
Getting a strange error in my vb 2005 web application in the web.config file. This runs just fine in visual studio 2005 in debug mode and it also runs fine on my development laptop outside of the development environment. However, when I deploy it to my Windows 2003 web server running the .Net 2.0 redistributable framework, I get the following error: Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Unrecognized attribute 'xmlns'. Source Error: Line 8: \Windows\Microsoft.Net\Framework\v2.x\Config Line 9: --> Line 10: <configuration xmlns=" ...Show All
.NET Development how to use where clause in data adapter
SqlDataAdapter AdapObj = new SqlDataAdapter("Select * from Employees WHERE employeeid = 1", myConnection); hi im using the above code, but it is genarating an error, I know the way i have used the where clause is wrong, can somebody please show me how to correct the above code. thanks in advance I presume you are learning/ testing due to the use of a textbox for your SQL Select statement. You should not pass TSQL to your DB from a textbox. You should use SQL Command Parameters whenever possible. You would probably be better served if you work on declaring the command and connection objects independently, ensuring correct disposal etc. Then you get a better understanding of the i ...Show All
.NET Development Windows Group names
Is there a way to retrieve the computer specific names of the builtin groups like Users and Administrators I'm writing automated unit tests for the NetAPI and want to create new users who are members of the Administrators group. But since I have an English WinXP MCE and a Swedish WinXP Professional, the name of the groups are different. My current solution is to compare Environment.MachineName with the name of my Englih computer, but I would like a more general solution. Thanks Johan This has been answered before: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=457246&SiteID=1 ...Show All
Visual Studio Express Editions Inserting/Up loading Pictures
Todays problem - I'm new but having fun. I'm building an employee database, I want the employee's picture on the database. Which input box would be better to use or should I say easier. The picturebox or richtextbox. Now here the truely big question, how do I get or code these boxes to find the pictures on my computer, stored in Mypicture file and uploaded. To big a job for this beginner, I'm using VB2005 Express , Any help is always appreciate. Thanks, Wildwylie PictureBox to show images - its what its there for my friend! well, you can store the images in the database if you like but it will take more space on the database, or as you like, can store them in a folder on the computer however you need to have some ID mec ...Show All
.NET Development displaying an image from the internet in a picture box / label?
Is there any way i can have a picture box and display an image in it that is hosted on the internet say for e.g. - picturebox1.image ( http://www.website.com/image.jpg ) any help or direction would be great, i would use web browser but i cant get rid of the boarders. hello again, i have one small question... Dim wc As New WebClient Dim buffer1 As Byte () = wc.DownloadData( http://www.test.com/test.jpg ) 'can i populate this url via a text box (e.g. wc.DownloadData = textbox1.text) Dim stream1 As New MemoryStream(buffer1) Me .PictureBox.Image = Image.FromStream(stream1) this is the working code you sent, although i've tried populating the url from a text box and it r ...Show All
SQL Server Importing .MDF and .LBF files
I have the original copies of the .MDF and .LBF of another database that has a bunch of data in that I'm trying to important into MSSQL Express for a project I'm working on. I no longer have a running version of this database just the .MDF and .LBF files and I have no clue what version of MSSQL they were originally created with. If anyone knows a way to import this database please help. I would do a search in the SQL Server Books online for attaching a database file. With these functions you should be able to attach those files to you database server. ...Show All
.NET Development Connecting Database located on Web from window application
I have a window application.I have databse on web server(MS-Access and MS-Sql ).How to connect database from my window application.Is there any simple concept or any link related to that. thx in advance Is the database on the same network as the Windows application or is it only accessible remotely (via HTTP) ...Show All
Windows Forms image transparent background
I want to add an .bmp image to a label. The image has a transparent background. When I add the image the transparent part becomes white. How can I add the image to the label in a way that the background will not turn white. thanks I am not sure what I did - but I converted the image to a png with one layer, and then set the transparency afterwords. It now has a transparent background. Thanks ...Show All
Visual Studio Express Editions Dynamic buttons and events
hey i have 2 questions a) how do i create buttons dynamically when i require them b) i need and event for each button that opens a file ...is it possible to write that as one event handler or do i need a separate one for every button i have Take a look at this: http://www.codeproject.com/useritems/DynamicallyAdding_Button.asp ...Show All
