Ian Finnimore's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. I loaded a mesh and it gets drawn weirdly....
I'm trying to load the airplane formthe dx9 samples. For some reason it gets drawn weirdly: http://img20.imageshack.us/my.php image=dx9thinger4vh.jpg Here's how I'm doing it: public class Model { Mesh mesh = null; Material[] materials = null; Texture[] textures = null; public Model() { } public Model(Device device, String filepath) { ExtendedMaterial[] tempMaterials; mesh = Mesh.FromFile(filepath, MeshFlags.IbManaged, device, out tempMaterials); if (tempMaterials != null && tempMaterials.Length > 0) { materials = new Material[tempMaterials.Length]; textures ...Show All
Visual Studio Team System SharePoint 2003 Mistake
why a mistake A database with the given name already exists on the specified database server SharePoint portal 2003 This looks like a message that is given by SharePoint when attempting to extend a site that has already been extended. Can you provide some background information to help us understand what the conditions were when you encountered this error Did you see this message when installing the TFS Application Tier components Had the installation failed one or more times before you saw this error ...Show All
Visual C# How to create msi setup?
Hello people, I know it's an easy question but guess what ... I've been looking everywhere for an answer to this trivial simple question and as in many other cases, i find answers about every problems in the Universe except mine !!! (Thanks Microsoft for the new MSDN help system in Visual Studio 2005.... if the goal was to drive people crazy... you've done it again !!!) THE QUESTION: I simply need to deploy the C# application i made... The publish feature's goal is to do everything but that... (The setup it creates doesn't install the application but rather starts it...) And i tried every possible settings. How do people ...Show All
.NET Development Connecting a Winform to sql server
Please can anyone help me with this in case i want to connect a winform to a database on an sql server as follows: a form first should ask about the connection to wanted when selected and pressed ok another form appears with a datagrid, showing the content of the table in that database. i've done that using MS VB6, but in .NET it's different and i want to know the coding language so i can learn to use it. Thank you I will do it in 2005 like this, but in VB6 , I still like this, I don't know if efficient, but works. Create a Dataset with a query " Select * from Table where TableCode = ...Show All
SQL Server How to use ODBC SQLSetConnectAttr from C# ?
Hi, I'm having problems dealing with some large datatypes in a C# application using odbc. Basically certain datatypes, such as db2 CLOB, are not recognized as 'valid' by the odbc driver. It seems the fix is to use the SQLSetConnectAttr function using the appropriate key/value pair to 'map' those to datatypes known to ODBC but I'm not sure how to use it in C# code. The template seems to be more an unmanaged C type API with handles being passed etc... SQLRETURN SQLSetConnectAttr ( SQLHDBC ConnectionHandle, /* hdbc */ SQLINTEGER Attribute, /* fOption */ SQLPOINTER ValuePtr, /* pvParam */ ...Show All
.NET Development How to list the certificates of a particular user
Hi All, I am developing a module on certificate services. I am using c# 2.0. We have to implement a method for listing the certificates for a particular user. For this I have not found any relevent API either .NET2.0 or win32 dlls (like IcertAdmin,IEnroll,Icertli,etc). Kindly help me. Thanks and Regards srihari This forum is geared toward ADO.Net. I'll move the thread over to the .Net Base Class Library -- hopefully someone there can help you out. ...Show All
SQL Server Database UPDATE problem
Just a question. Im really wondering why my sample database program wont update. It will say that it has updated the actual database but when i double check, it didnt. I am not using the command builder coz i want my own sql codes. When I test using the query builder, i will see the data being updated or added but when i use my own program, it really wont. Actually i have this one sample database program that updates ok. I just dont know why I cant do it again. Im really pissed off thinking abt it the whole night. I ommitted the INSERT and DELETE commands since they dont work too. here is my program. PLS HELP. ...Show All
Visual C# Visual C# Communities
Does anyone know of active Visual C# communities, whether they be a forum, irc, or news group Also check out: http://channel9.msdn.com/ While not C# specific, there is some great content here. One other that has some occasionally good info is: http://forums.apress.com/ HTH. ...Show All
Visual Studio Combining GAT and CAB
Hi Everybody, I am writing GAT package to generate a CAB project. This CAB project includes Shell application and CAB Modules. Project generates Shell project properly. And I want that whenever I add a module to project, it should add a reference of module in ProfileCatalog.xml file of shell. I have used the same "CreateModule" recipe from GuidanceAutomation package of Smartclient Baseline Architecture Toolkit. Below is the recipe. My problem is whenever I add module it doesn't generate value for any argument. It gives me error that "The following arguments are required and don't have values: ShellProjectGuid, CommonProjec ...Show All
Visual Basic Text Box only accept backspace
Hello, I have a problem with my textbox. I put a query string into my text box, and I want to make it editable. When it contains a very long string, it only accept backspace. This problem doesn't happen when the string is relatively short. Is there any solution to my problem Thanks and Best Regards, Maria Paramita (Mita) Make sure the Textbox' MaxLength property is large enough (like 32767). ...Show All
Windows Forms ListView Please Help ???
Hi for all I using a ListView with my App .NET 2.0 When using listView in a details style and make GridLines=True I want any help about 2 functions :- 1- disable the default highlighting of WindowsXP which is blue(the selection color) and replace it with my own 2- I want to customize the height of every row in my listview Thanks more for every one here ...Show All
Smart Device Development ImageAttributes and SetColorKey
http://img465.imageshack.us/my.php image=plato24yj.jpg this is my image and i want the black background color to transparent. any help please, i got this so far: ImageAttributes iattrib = new ImageAttributes (); iattrib.SetColorKey( Color .FromArgb( ), Color .FromArgb( )); g.DrawImage(moverImage, destR,0,0,10,10, GraphicsUnit .Pixel,iattrib); what value do i put in the FromArgb() thanks You can use the following so you don't have to hard code to black. ImageAttributes iattrib = new ImageAttributes (); Color transColor = moverImage.GetPixel(0,0); ...Show All
.NET Development Simulate return data data from WS call
Hi there, Im consuming an Axis/Java web service, that returns an object that contains arrays of sub-objects. For example a persons details with an array of EmailAddresses. This all works fine, I manage to call it without any problems. What I want to do is stub out the call to the web service to give a client a prototype to use for their integration work (they wont have the java system in place yet!). I wanted to achieve this by giving them a sample xml document, that could be deserialized from the xml document into the generated w/s classes. The straightforward way would be to load an xml document and create these objects by hand, is there a ...Show All
Visual Studio 2008 (Pre-release) Presentation Host has encountered a problem and needs to close.
Hi, I am creating a Avalon Express Application and I have one button which has the click event and I am writting the code in the respective page.cs file. < TextBlock DockPanel.Dock = " Top " Margin = " 15,10,10,10 " > < Button Width = " 60 " Height = " 30 " Click = " btnSave_Click " >Save </ Button > </ TextBlock > The application is loading, but when I am clicking the button it says that "Presentation Host has encountered a problem and needs to close." Is anybody come across same problem Can anybody help me to solve this problem Thanks Rakheesh Hi Lau ...Show All
Visual Studio Express Editions Learning -Books-
Anybody have a good sujestion for books. I am new to programing and have bought Visual Basic 2005 step-by-step and also Visual Basic 2005 The Language. I am looking for a book that deals with a larger overveiw of programing in general someting that can set a solid base for a good future. Any thoughts would be helpful. Thank you. The book you're talking about is called Code Complete. It covers a lot of topics that are about programming in general. If I was a manager, I'd buy a copy for every person I hired. ...Show All
