ashk1860's Q&A profile
Visual Studio Team System Delete team project and remove from SCE?
I deleted two team projects one got removed from SCE and one didn't How do I get rid of the one that didn't and why did one get removed and not the other I understand there is some sort of bug related to this but why one and not the other and there must be a way to get rid of that one that is left right If not do we now know if this is fixed in SP1 As you know, nothing can be permanently deleted. IIRC, projects created by CreateTeamProject() API cannot be deleted at all, while projects created by the Project Creation Wizard can at least be removed from sight by tfsdeleteproject.exe ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Heightmap Collision testing
This question has been mocking me all day. I know it's doable, I have even used such a function somewhere long ago, and I have even found quotes of people saying "the calculation is easy and quick," however, I cannot find an example of heightmap collision testing. In other words, I want to be able to type MyLandscape.GetHeight(x,z) and it'll return the height (y) at that point. Now, this is not a simple, find the vertex at (x,z), and return the array value. There is distance between each vertex so, (x,z) wouldn't always be a vertex location. If I recall my calculus from ages ago, I think I remember there being a way to do this, but I don't remember. Answers or links would be deeply appreciated. ...Show All
Connected Services Framework Catching unexpected Soap Faults
Hi, As per the documentation and a previous post, the following route is supposed to catch all faults: <Route> <Criteria> MESSAGE EQ 'Fault' AND MESSAGENS EQ 'http://www.w3.org/2003/05/soap-envelope' OR MESSAGE EQ 'Fault' AND MESSAGENS EQ 'http://schemas.xmlsoap.org/soap/envelope'</Criteria> <Destination>IWSSoapSevice[http://schemas.xmlsoap.org/ws/2004/08/addressing/fault]</Destination> </Route> However, this does not happen and exceptions (as thrown by participant services)are never routed by CSF Session. But by using the following route, I am able to catch unexpected exceptions (as thrown by participant services): <Route> <Criteria>(ACTION EQ 'http ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Conceptual problems with XNA/DX3D10
Conceptual problems with XNA/DX3D10. I read comments on the forum & other materials and it seems that the conceptual understanding of XNA/DX is not well presented by Microsoft. I am interested in managed XNA = MDX, for many reasons, however, I did not program yet in XNA. I am trying to know how to structure my application (Not a game) to use XNA/DX3D10. 1- WPF is slow to use for 3D application like GDI++ before Vector graphics is easy and simple to operate form for 3D, based on historical development of graphics education. However, WPF (I can see) is very suitable for such application as Solid Modeling, and it is not a speed problem, why, because in CAD/Solid Modeling no speed is needed it will l ...Show All
Visual Basic What is the best way to reversed deploy through ClickOnce
Hello, What is the best way to reversed deploy windows application on the client/server environment through ClickOnce Let say I have myApp 1.0.0.5 deployed successfully through ClickOnce. However, something went wrong, and I need to make myApp 1.0.0.4 the current one. I have all these myApp_1_0_0_0, myApp_1_0_0_1.. folders and myApp_1_0_0_0.Application, myApp_1_0_0_1.Application... files on my network location. How do I make my publish.htm point to an older one I hope I can avoid of going back to my code and undo the new added lines, then build/publish a newer version. Can I rename .4 to .6 then it will reversed deploy I am sure the question sounds dumb, but in reality, the need is there. Thanks! I ...Show All
Visual Studio 2008 (Pre-release) TCP Communication freezes up
I have created a set of contracts and implementations for a series of business objects. I have set up a basic Console application that hosts the services (about 40) using TCP as an endpoint for each service. When I run my application and the services are being called the application freezes up. If I set a break point where the services are called and step through each service call everything executes correctly. What do I need to be looking at to correct this problem It sounds like you may be running into a throttle. First thing to try, check out these links http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=945172&SiteID=1 http://blogs.msdn.com/karstenj/archive/2006/11/15/wcf- ...Show All
Windows Forms BindingSource.AddNew from a DataGridView
I have a DataGridView bound to a BindingSource whose DataSource has been filled from a SQL table. A dgv popup menu offers an 'insert a copy' option, ie it allows the user to insert a new row initialised to values in the row under the mouseclick. I cannot insert rows at dgv level because direct dgv inserts are not permitted when a dgv is bound; evidently .NET 2 evidently wants me to use BindingSource.AddNew. Very well, I add a handler to be called by BindingSource.AddNew ... bindSrcMaster.AddingNew += new AddingNewEventHandler(bindSrcMaster_AddingNew); The popup menu item event handler for CopyRow can figure out which dgv row to copy ... private void CopyRow(object sender, EventArgs e) { ToolStripItem menuItem = sender as ToolStripItem ...Show All
Software Development for Windows Vista Elevation manifest ignored
I have a created a simple test application for Vista in C# using VS 2005 and I have embedded a manifest file (using mt.exe as a post build command) but it appears to be ignored by Vista. When I run the application (which is copied to the desktop) it runs as the current user and doesn't prompt for elevation or anything. Does anyone have any ideas why this might be the case The following is my manifest xml: < xml version="1.0" encoding="utf-8" standalone="yes" > <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="Privelidged" type="win32"/ ...Show All
SQL Server making Report Parameters optional
I’m currently working on a report (SSRS 2005) with parameters which I want to make optional. In other words: when I open the report in the preview or IE, I’m always forced to enter values for every single parameter. But I want to have them optional so I can decide whether to choose values (as the option "Multi-value" is enabled) or leave them blank. (ignore in selection result) is this possible - I hope;-) thanks in advance pamike What we did to achieve this is to create a parameter with a (valid) default value. Say, the parameter @filter of type 'integer' is allowed to have a 'null' value and has default value 'null'. We use this same default value in the query, like (very simple ...Show All
Visual C# Synchronous versus Asynchronous
Hi! I'm reading about asynchronous programing model, is more interesing but .... what's the difference with synchronous threading model The documentation says, that when you calls .BeginInvoke ... this return inmediatly and not block de program flow but ... when i call for example "Thread MyThread = new Thread (new ThreadStart(MyMethod)); MyThread.Start()" .... either block the program flow. With Async. calls a background thread and with Sync. too ...i don't understand the diference. I'm experimenting with a synchronous thread call like "Thread MyThread = new Thread (new ThreadStart(MyClass.MyStaticMethod));MyThread.Start()" and MyStaticMethod return the result throwing a event; after i'm experimenting with a asynchron ...Show All
Visual Basic VB2k5: Instantiate a textbox and assigning a text property
Hi, I tried instantiating a textbox with: Dim txt1 as new textbox However, though no error is encountered when I assign it a value, when I pass it to the database, all the fields are null. My insert method is working fine (coz i see rows with null values that are added in my tables), only, it cannot get the exact value of my instantiated textbox. I know i'm missing something.... hmmm probably i still need the property let/get... just guessing... Can someone help out cherrie As best I can tell (unless you're doing it in a FormLoad that isn't shown), the TextBoxes are never added to the form. I believe that without a parent form the databinding event chain is not triggered. Try adding ...Show All
Visual Basic Menustrip shows up as gray rectangle on some computers
I have created a small application that uses a MenuStrip in VB.net 2005. This menu attaches itself to a specific application running on the users computer and gives printing options. On one computer, this menu shows up as just a gray rectangle, there is no text and the menu does not drop down. This is a Win 2000 machine. Other Win 2K machines are OK. Anyone have any ideas Thanks. We got it! - the user had their display properties set to 'Red White and Blue <VGA>'. We reset them to 'Windows Standard' and if fixed it. ...Show All
Visual C# MAPI in C# ?
I am currently sending email from my C# windows application using System.Net.Mail by creating a SmtpClient. However, I am being asked to use the Exchange Mail Server's "User names" instead of the actual email addresses. The SmtpClient method of sending mail does not seem to be able to do this. I am told that another developer working with another language and development environment can do this. I asked him how and he said he uses MAPI. Are there any built-in classes in DotNet for C# to use MAPI My goal is to pass the mail server the user names instead of the actual email addresses. Any help or direction is appreciated! Another possible solution would be to use active director ...Show All
Visual Studio Express Editions How do I add an Image to a Form
I am a newbee to Visual Basic Express Edition and altough I am proficient in MS Access I encounter many problems in VBEE. Hello namesake. To get images to overlay like this, you can't use a PictureBox. You'd draw them directly to your form in the form's Paint event with e.Graphics.DrawImage(). ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX Events
In a DirectX program, when is updating/drawing usually done What event I can't seem to find an Application event suitable. Well, not really. But I figured it out myself throughout the day. What I meant was, do you run "Application.Run(myForm)", or do you create your own loop with "Application.DoEvents()" in it, etc. I wasn't very clear, sorry. Anyways, I've got it now. ...Show All
