AkhilJ's Q&A profile
SQL Server How to rename a column or table on the desktop?
I am using the compact edition on a desktop using VS2005 as well as SQL Server Management Studio. None of those tools allow me to rename a column or rename a table. Can someone point me a tool the runs on the desktop (as opposed to running on a CE device) that allows me to do the renaming Thanks A 3rd party tool from this company may be able to help you, please contact the company (I am not affiliated): http://www.primeworks-mobile.com/ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Rather noobish question to do with coordinates
Hello, I am working on an application and one of the tasks it needs to do is apply a form of gravity to the scene. Now, we all know that gravity pulls down and so on, but with the mesh, it seems y is not always the vertical axis. The mesh is rotatable, but I just cant think where to start looking or indeed what to search for in terms of finding theory or a tutorial to find which way is down (in vector form). I assume it is to do with the camera or view matrix, but I cant think what function to call etc etc and I'm totally lost. Not yet in a spiral of tears, but if anyone can think of what I am on about and point me towards a tutorial, or something similar, I would be very greatful as according to my app at the moment, gravity applies in s ...Show All
Visual Studio Team System Enabline Project Alerts
One of our developers is having trouble enabling the "My work items are changed by others" project alert (the check box does not get checked). He is able to check the other alerts just fine. Can you tell why Thanks, Maggie I am having the same problem. Some people on my team can check the box for and others cannot. At first I thought it was a permissions issue, but that does not seem to be the case because people with similar permissions have varying ability to check the box. I simply cannot check the box " My work items are changed by others" but have no problem with the others. Appears to be a problem with the IDE, maybe ...Show All
Game Technologies: DirectX, XNA, XACT, etc. loading textures on array
Hi i am making a simple pool game and have my balls in an array (each ball runs through a class to set the properties. i have a Texture2D property to set the texture so i can set the white ball colour and yellow and red ball colour. however i have set up the array and try to draw but it will not accept the array property as a texture it keeps saying it is of null value even though i have set each of the balls here is the code below as you may understand a little more. //ball class for each ball public class balls { public Texture2D tex; public float x; public float y; public Vector2 v = new Vector2 (); public float r = 12.5f; public float m = 10; } //array of ball ...Show All
Visual Studio Team System History of merge's?
Is there any way to get history on if a particular changeset was merged into a particular branch If not, it would be nice if there is some way to pull this off. I guess if you had a work item associated you could relate both changes to the same work item, but sometimes there is not a direct correlation. In this case we don't use work items yet and a developer should have done a merge of changesets, but I can't think of an easy way to tell other than just try to compare files. Granted since merges involved manual steps to do merging, a merge may not be able to have a direct correlation with a changeset, since there may have been changes to the changeset to do the actual merge, it still would be an interesting view as it at least track ...Show All
Visual Studio 2008 (Pre-release) Iterating through App Resources
Again, I am quite new to .NET & WPF so please be patient... I am trying to figure out different ways in which resources can be stored and accessed in a WPF project. Method 1: Adding a folder to the Project and adding resources to this folder example: add folder named "images". add 2 images to folder, "image1.png" & "image2.png". These images can then be accessed in XAML like: <Image Source="images/image1.png"/> Method 2: Adding resources to the project using the resource manager, i.e. goto the project properties and select the "Resources" tab and add a couple images : "image3.png" and "image4.png". This method creates a "Re ...Show All
Windows Live Developer Forums Access Control
Is there any way I can restrict the access onto Live Messenger in such a way that my kids can still use the internet Please don't tell me to change the access password as my son re-connects using a different name or a different account. I want my kids not to be able to connect onto Messenger but can still have access to the net via Internet Explorer. The purpose of this forum is to discuss MSN and Windows Live application development using the Messenger Activity API, and Windows Live Bots.If you have technical support questions about using MSN Messenger or Windows Live Messenger, please check the following resources... Messenger Technical Support is available on the Messenger newsgroup: http://suppor ...Show All
Visual C++ Property Overloading
I want to overload a property so that its type can be either 'ProgressBar' or 'ToolStripProgressBar' is there a way I can do this This might be what Zoltan was trying to say, but here's my advise. Write your own class that wraps both controls (i.e. both are private members) with a property that selects the context. Provide public methods/properties that forwards to one of these controls based on the context (or fires an exception if that operation is not applicable). Making one flavor of a control inherit from another is not always a good idea--it would only make sense of one is a specialization of another and perhaps that's not the case here. A design approach could be to have ...Show All
Windows Search Technologies Cannot install WDS 3.0 RTW at all
Spent 3 hours debugging why I get this error message in c:\windows\KB917013.log 00:00.344: INFO: Opening log for preliminary WDSSetup.exe actions 00:00.422: Started: 2006/11/20 (Y/M/D) 20:59:59.125 (local) 00:00.562: Command line: 00:04.640: INFO: ****** Found 5 Read-Only keys. ****** 00:04.781: ERROR: Error modifying the Read-Only ACL on one of the permission restricted keys. No file logs the the keys which are considered as read only. Tried everything. Something is really screwed up. What's the bullet proof problem to get this fixed. please ack francois@menards.ca pls. F. The only anti-spyware I have is Windows Defender ;) I have disabled it, but it doesn't do anything. And defin ...Show All
Windows Forms Datagrid_rowenter runs twice when open form ???
Hi all I have a mdi-application and when i open a form from another form the event "Datagridview_rowenter" runs twice. Form1: Form2 form = new Form2 (custno, dsCustomerData, dsCustomerContactData , this .backend); form.MdiParent = this .MdiParent; form.Text = strCustno + " " + customerName; form.Show(); Form2: (in this form i have a datagridview and it is this event which trigger twice. private void dgvContrCust_RowEnter( object sender, DataGridViewCellEventArgs e) { //Finding row in grid DataGridViewRow dgvrow = dgvContrCust.Rows[e.RowIndex]; //Finding values in the row DataRowView drvrow = ( DataRowView )dgvrow.DataBoundItem; MessageBox .Show( "rowenter..." ); } Why does t ...Show All
Visual C++ unresolved external symbol Link error appear on release
so strange for this...I have 5 project when I use DEBUG mode to compiler,the work is fine, but when I change debug mode to release ,some strange error is appear, error LNK2001: unresolved external symbol "public: static class ATG::StringID const ATG::NamedTypedObject::TypeID" ( TypeID@NamedTypedObject@ATG@@$$Q2VStringID@2@B).....etc I sure make all setup for release,project dependencies on link lib ...... all setup is the same as debug,but still appear link error but I create a new project to test such problem. It work fine!! have any step missing I sure that the StringID has been Initialized and sure that the initialization not in between some #ifdef. and link all prerequisite lib, but is stil ...Show All
SQL Server SQLServer 2005 Problem
Hi! I want learn about ADO.NET, I'm trying to start a SQLServer 2005 Express with a example database for practicle with it, but i can't connect to configure the db. I'm tried dowloading a set of examples from Microsoft.com, but whe i execute some example aganist the db always get the same error: C:\DB\>sqlcmd -E -i OrderingServiceScript s\SetupOrderingServiceProgram.sql HResult 0x2, Level 16, State 1 Named Pipes Provider: Could not open a connection to SQL Server [2]. Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow re ...Show All
Windows Forms Form Inheritance and Inheritance Picker problem
Hi everyone: I have some base forms and usercontrols in a project named "UILibrary". And I create derived forms and derived usercontrols in other several projects. Everything goes very well. After a period of time, the solution grows and I modified classes in "UILibrary" and built it several times. The problem is coming. When I wnat to add a new item, also select Inherited Form or Inherited Usercontrol template, an "Assembly Load Error" message box shows. The message is "Unable to load assembly 'D:\Ap\UILibrary\obj\Debug\UILibrary.dll'. Ensure that the file is a valid .Net Framework assembly." Then the Inheritance Picker&n ...Show All
.NET Development VB.Net]How to draw an image with Graphics object on an MDI form
I have a problem that when I draw an image, a string, a rectangle, etc. My form cannot be an MDI form. How can I draw on an MDI form directly. I tried somthing like: Dim g As Graphics g = Me .CreateGraphics g.DrawString("hello", Me .Font, Brushes.Blue, 100, 100) Please help me. I'm using VB.Net 2003, Framework 1.1 Perhaps it would be more accurate to have said "as I would expect"... my thinking being that if I can get a reference to a graphics object, tied to the mdiclient object as: Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim g As Graphics = Controls(Controls.Cou ...Show All
Visual Studio Generating API documentation in visual studio 2005 environment
I wonder does visual studio 2005 provide any extensive features to generate API documentation from the classes we design and coded so it makes it easier for us to stream line communcation among multiple developers. kindly let me know if there is such a tool or feature available. if not, do tell me of any other viable solutions out there that could automate generation of API. Thanks a million Mark Dawson wrote: If you are using .Net 2.0 then NDoc will not work for you since it does not support all the features, plus support and development I believe has been discontinued. Mark. I have refered to the version of nDoc which supports .Net 2.0. Yes may be it doesnot support all the ...Show All
