shanthi's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Tiling a texture?
Hey, I have a 3d terrain system. The terrain is built using a heightmap image. Then I have a large texture that I paste over the top, this covers the complete terrain. I'd like to be able to dispose of the one large terrain texture image and use tiling and different layers for different tiles. (Texture splattering, I think this is called). However, for now I'll be happy with just tiling my grass texture over the top of my terrain instead of it automatically scaling. Can anyone point me in the right direction to repeat and tile my texture rather than stretch to fit Thanks Thanks. I've tried looking at your shader example code, I believe I now tile a texture twice over my terrain. How would I ...Show All
Visual Studio Express Editions installation issues
I am attempting to install VS2005 on an AMD 533 and get the following error when dbl-click setup "Setup was unable to copy the file C:\Program Files\Visual Studio\setup\DeleteTemp.exe to your temporary directory. Please make sure that this file exists and rerun setup." So there isn't a file by this name in this location. And which temporary directory is it referring to also tried to find log file beginning with dd_ by using a wildcard "dd_*" this didn't work. Thanks for your time You will have to check to make sure that the user that you are using for the setup is a local admin or has full access to the program files directory as well as your Documents and ...Show All
Visual Studio Team System Building a project which contains 2 web service solutions
I'm trying to automate the build which has two web service in it. My requirement is to create two virtual directories and copy the contents of web service to particular directories. I was referring this article http://blogs.msdn.com/nagarajp/archive/2005/10/21/483697.aspx. How ever I didn't get from where should I copy the required files. When I gave WebSitePreCompiledSrcFolder as specified in the article, it didn't recognize the path in the build machine. When I tried to create virtual directory it gave an error " The system cannot find the path specified" even though I verified the path exists. And lastly, When xcopy is being built it gave an error "Invalid number of parameters". The build machine is Win 2K3 server. I ...Show All
.NET Development Code to get your remote IP Address?
Anybody know how to receive your remote IP Address A possible Answer: http://www.codeproject.com/csharp/network.asp df=100&forumid=1720&exp=0&select=633128 ...Show All
Software Development for Windows Vista How to CreateProcess NOT as administrator
One of our modules is an executable that will always be run as administrator (after getting permission from user). One of its screens allows the user to run a different executable, which the code currently does by CreateProcess. The problem is that since the first process is running as admin, CreateProcess has the second process run as admin also. This is undesirable because it is a security breach (the second process can open browse dialogs that should not have admin privileges in this scenario). How do I get the second to run without admin privileges I do NOT want attach a manifest to the second exe that says it does not want admin privileges because under certain circumstances (not from the first exe), it SHOULD be run with admin privil ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Game Distribution
I am trying to get a very simple 2D XNA game to run on other peoples machines; but when I send them the relevant files, they all complain of getting some form of error report. They all claim to have the requirements (XNA Framework, latest DirectX and .NET Framework 2.0) installed, but it seems something, somewhere isn't doing its job. One of the people in question only has a Radeon 7000, so it is understandable why it isn't working. But the other two have a GeForce 6800 and a 7300GS which should be more than enough! I have tried both ClickOnce installers and binaries from both Debug and Release directories. They all worked fine in folders on my machine, but on other computers the installers installed fine, but just throw up a windows error ...Show All
Visual C# Curly Braces in C#
Hello All, Learning C# now. I am little confused of curly braces here. Though I know the concept of curly braces like a class should be opened and closed by curly braces, but I am lost in the curly braces used in FOR loops. Can some please help me with examples from their experiences. Thanks, John in the for loop its like its own "block" of code. It helps us for example, us developers, visually to indicate what part of a loop belongs to which. Now I don't know technically in the background if it does something other than say "here is the block of code for this loop here". in VB it can be tricky reading sometimes on which for loop belongs to which, in a nested loop, but in C ...Show All
Visual Studio Express Editions database don't update in Form_load C# and ADO.NET
How I make to in Form_load event appear my database with new INSERTs Below the code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Data; using System.Data.OleDb; namespace waTr325 { public partial class frm325:Form { public frm325() { InitializeComponent(); } OleDbConnection _connection = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\bdDocTed3.mdb"); OleDbCommand OLE_select = new OleDbCommand("SELECT Valor, HoraInicio, Contato FROM tbl325"); private void f ...Show All
Visual Studio Team System Suggested Values
Hello, I'm trying to create a field "reported by" which shows a dropdown list of valid users, but also allows for free data entry. In other words I want to give the capability to choose from a predefined list of names, or enter a new one manually. Filling the "suggested values" list doesn't seem to show any drop down. Any idea on how this should be done Thanks - Simone Hi Simone, If you use suggested values you need to provide a list of values (maybe including a few groups of users) using the <LISTITEM> element, in order to get the drop down list. It should be identical to an <ALLOWEDVALUES> list except that it allows you to also input any string you like as well as showing the drop down ...Show All
Visual Basic Removing Columns From Delimited Text File
Greetings, I need to parse a delimited text file and remove the last 3 fields in each row. Can someone show me how to reference the columns and specify the ones I want to keep Thanks. Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal _ e As System.EventArgs) Handles Button1.Click Using MyReader As New _ Microsoft.VisualBasic.FileIO.TextFieldParser( "C:\testfile.txt" ) MyReader.TextFieldType = FileIO.FieldType.Delimited MyReader.SetDelimiters( "," ) Dim currentRow As String () While Not MyReader.EndOfData Try Dim x As Integer = 0 ...Show All
Visual C++ VC++ Calling a C# dll
How do i call a dll that was written in c# and use its functions inside a general C++ console application if no .tlb is available There are two ways: Call a dll from C++/CLR code. Add C++ file, right click, call properties, C++>General>Compile with Common Languge Runtime Support: /clr. Then add assembly as refference. And you can create any class of the assembly using gcnew. Create a COM component server from your assembly. And call it as COM - component. ...Show All
Visual C# Combobox inside datagridview
Hello. I have an application that is reading data form Database, and my user has to bee able to change ordrestatus in my datagrid view. that is why I thought it would be easiest for me to implement An combobox where that status cell is. I need help with: I use stored procedures to display my information in datagridview. How can I change so only one cell in my gridview is combobox and its source is One table from database In the background I can run 3 storedprocedures thar run depending on the value in that comboxcell...But problem is how to make it a combobox cell with source from my database... Thanks guys May be you should read this to know all about datagrid and combo. h ...Show All
SQL Server Capturing Execution Results
Hi All When running an SSIS Package from BIDS, we get to see the "Progress" tab which explains us the progress of the SSIS Package. During production, is there any way to capture this log. I am interested in using this as a log file for each run of my SSIS package. Thanks, S Suresh Subah wrote: Hello, I am not sure, I understand the difference between the two and would appreciate it if you could clarify how to implement package logging as opposed to SQL Server Agent Logging. I have enabled the package logging property, however, would like to obtain a file that is in the same format as that displayed in the 'Execution Results/Progress' tab. Thanks ...Show All
SQL Server server groups
is there a way to enumerate through existing server groups Im trying to create children server groups. Allen White wrote: Now, I haven't been able to figure out yet how to establish the "top" group so that the entire tree becomes available, but if I set the sgTop group to a valid group name the groups and servers under that group are presented to me properly. any ideas or suggestions where to look to find out how to discover the "top" group ...Show All
Visual Studio 2008 (Pre-release) WPF Splash Screen?
Anyone have a good example of the right way to do a splash screen in XAML/C# One way is to change the app.xaml like this (notice the StartupUri): Code Block < Application xmlns ="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns : x ="http://schemas.microsoft.com/winfx/2006/xaml" xmlns : Microsoft_Windows_Themes ="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Luna" x : Class ="Simple123.App" StartupUri ="Dialogs\SplashScreen.xaml"> then your splash code looks like this: Code Block public partial class SplashScreen { public ...Show All
