Software Development Network Logo
  • VS Team System
  • Game Technologies
  • SharePoint Products
  • Windows Vista
  • IE Development
  • Visual Studio
  • Visual C++
  • Visual C#
  • Visual FoxPro
  • Smart Devicet
  • SQL Server
  • Audio and Video
  • .NET Development
  • Visual Basic
  • Microsoft ISV

Software Development Network >> clue's Q&A profile

clue

Member List

Antediluvia
Tryst
Henry_Yang
sha_in
__murph__
JonS123
gafferuk
Bjørnar Sundsbø
Yong Hwee
Jeanet
Phillip Carruthers
Scott Tachiki
Nick Mc
bird.tw
eko007
Mubshir Raza Ali
Gert Christiansen
Wicket
vgvKarthik
nerd_bomber
Only Title

clue's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. simple projectile motion physics??

    im pretty new to gamedev, so simulating physics is new to me too. i know the projectile motion formulas, im just having trouble applying them. is there any "tutorial" on projectile motion physics for XNA basically, someone suggested to do "scorched earth". im trying to get the hang of just some simple projectile before i apply it to a game. i know i should basically have to just enter the initial velocity vector and the angle. then have it passed to a function that gets the initial x velocity, and initial y velocity. also, im assuming that whatever i get for y-velocity should be negative as "up" is negative in the XNA graphics. then, after each update, it should find the current change in position for x and ...Show All

  • Visual Studio Team System how to get active selection

    i am intending provide a function like this: in Team foundation server, at the "work item query" result session, when user click one of them, i want to recognize what they choose, so that when i click "myhelp" from the Menu, i will be able to display some text to the user. ps: the "myhelp" menu is added through Add in William, pls check my blog post http://blogs.msdn.com/narend/archive/2006/07/07/AccessingWitFromAddin.aspx to get the active selection in result list. Sorry for delay in replying to your question. ...Show All

  • Visual C++ how to disable the /clr option in VS.net 2005?

    I don't know how to turn the /clr off. Thanks! ...Show All

  • SQL Server Table to Named Query in DSV via AMO

    Has anyone been able to change a table to a named query via AMO Ok, I tried the code and here's a version with some minor corrections so that it actually works: The following code needs to reference Microsoft.AnalysisServices.dll. using ( Server svr = new Server ()) { // Connect and get a table to convert svr.Connect( "localhost" ); Database db = svr.Databases[0]; DataSourceView dsv = db.DataSourceViews[0]; DataSet dataSet = dsv.Schema; DataTable table = dataSet.Tables[0]; // Convert table to named query table.ExtendedProperties[ "TableType" ] = "View" ; table.ExtendedProperties.Add( & ...Show All

  • Windows Forms Create a Strong Name for Com DLL so ClickOnce will work

    I'm having a heck of a time tryin to get this stuff working. Here's my problem: We have a 2.0 VB.NET desktop app that uses Com components from our phone system. When you make references to the COM components for the project, they create the Interop.xxx.dll files in the project's bin folder. Well, I'd like to figure out how to get them into the GAC or how to some how make them strong named so that they'll work when I try to deploy them with ClickOnce. I've tried to use regfree com to deploy them and that doesn't work (I can provide the error if it will help). I've also tried to drop the Interop.XXX.dlls into the GAC and that won't work because they're not strongly named. Now, maybe if I could figure out how to name them strongly it would wo ...Show All

  • Visual FoxPro Problem after upgrading to VFP9 from VFP7

    The following procedure works fine VFP7. When a second user tries to lock the IDFILE before the first one unlocks it he receives the message and the PROCEDURE returns. After upgrading to VFP9 the second user instead of the previous message he gets a message from VFP "An error has occurred: File is in use by another user. etc". He gets a similar message if he even tries to open for read the IDFILE while in VFP7 there was no such problem. PROCEDURE PR_EYRET open database data1 SET DATABASE TO data1 USE IDFILE IN 0 SELECT IDFILE IF !FLOCK() MESSAGEBOX("The file is not available. Try later",16) RETURN ENDIF . . * Do something. . UNLOCK RETURN Can somebody help me Thank you C ...Show All

  • Windows Forms Numeric Up Down control is buggy

    I find the NUD control to be quite buggy when conntecting it up to a data source; in VS 2003 it was useless (I had to manually handle all of the data binding / updates etc). In VS 2005, the data binding "seems" to work except that it will not "refresh" the displayed value when the data source value is changed. For example: create a binding source connected to an in memory data set; set value to 2.13 bind a text box and NUD control to a binding source. update the value in the dataset to 5.15 the value 5.15 is displayed in the text box ok the value 2.13 is still displayed in the NUD, but the actual value is now 5.15 ie: the NUD.value = 5.15 but the NUD.text = 2.13 when I click on the up/down arrows, the text *just* ...Show All

  • Visual Studio Express Editions Windows Application Start-up when windows does

    Hi there I want my application to start up when windows does without it being in the start-up folder...If tehre is a way, please share it with me Thanks, AliQ "If it is a background process and you wanted to start even if you have not log on to your system, you can create a Windows Service for your program. Your windows service will start with all other service which will run your program too." This is totally unecessary. You can start an assembly at boot time with the windows task scheduler with a very fine control granulaity. ...Show All

  • Visual C# Querying AD using System.DirectoryServices

    I am new to querying AD and could use some help. My requirements are to get all email addresses, email aliases, and email domains from AD. Does anyone have a sample of this Thanks, Derek Do these scripts need to run on the Domain Controller Locally Or can you connect remotely using the LDAP connection format thingy ma' jig LOL... ...Show All

  • SQL Server how to get the results of sp_stored_procedures in C# app?

    The result of sp_stored_procedures and many others is a result set, a table, but this procedure and others return only an integer. How do I get the result set in C# code I need a general idea how it is done. Thanks. Are you looking for something like this: using (SqlConnection cxn = new SqlConnection("Data Source=.\\SQLEXPRESS;Initial Catalog=Master;Integrated Security=True")) { cxn.Open(); SqlCommand cmd = new SqlCommand("sp_stored_procedures", cxn); SqlDataReader rdr = cmd.ExecuteReader(System.Data.CommandBehavior.CloseConnection); while (rdr.Read()) { for (int i = 0; i < rdr.FieldCount; i++) { Console.Write(rdr .ToString() + "\t"); } Console.WriteLine(); ...Show All

  • Software Development for Windows Vista Installing Visual Studio .Net

    I know Visual Studio 2005 will load but I am having compatibility issues with Visual Studio .Net Unable to get past installing the windows components. Any suggestions. Mike ...Show All

  • SQL Server Correlated subquery column referencing outer date range

    Any ideas how can I pass date range values from the where clause of an outer query to the inner correlated subquery ... without using a stored procedure because I am using Report Builder Using the simplified sql below I need the average freight charge between the dates for all of the ShipCountry's orders. (I have hard coded the dates for demo purposes only as it is these that I need referenced from the outer query's where clause.) select OrderDate, ShipCountry, ShipCity, Freight, /* how do I get to the outer query's date range */ (SELECT AVG(Freight) FROM Orders WHERE ShipCountry = O.ShipCountry AND OrderDate between '01-jan-1997' and '01-jan-2000') AS CountryAverageFreight from Northwin ...Show All

  • SQL Server Using RDL file for Data Source

    I was looking to create a report using an RDL file as the data source. Sort of a report about the report. I saved the RDL with an XML extension and am accessing it via http://localhost. (I saw the file:/ URL is not supported.) I have looked on MSDN about XML query strings, but I am having a bit of a disconnect. I am using the following to try and get the entities. <Query xmlns:sales=" http://localhost/ReportModel.xml "> <ElementPath> SemanticModel/Entities/Entitys/Name:Name </ElementPath> </Query> I get to the grouping screen and no fields are shown. Any ideas R ...Show All

  • Visual Studio Team System checking event raise method

    Basically I want to create a custom rule that checks that event raising method have the following structure (As you will see, we didn't see the point with the object sender, EventArgs e thing, so we decided to skip that...) protected void OnFoo( int foo, int bar) { FooEventHandler handler = Foo; if (handler != null ) { try { handler(foo, bar); } catch ( Exception e) { m_logger.Error( "Failed to do foo" , e); } } } For this, I figured that I'd override Check(Member member) cast to Method, then walk trough .Instructions Specific questions: - how do I know that the callvirt Invoke to handler(foo, bar) is in fact an event raising operation and not let' ...Show All

  • SQL Server Custom Data Extension - Designer Extension Could Not Be Loaded

    Hi All, I've managed (finally) to get a Custom Data Extension to work in Reporting Services 2005. The next problem I have is that whenever I click on the "data" tab when creating a report (from Visual Studio 2005) an error appears: "The designer extension <ext name> could not be loaded. Check the configuration file RsReportDesigner.config". Is there some way of getting rid of this error message Such as creating a designer, if so does anyone know how (I don't need the designer to do anything, just not crash) I can still modify the data for the report etc its just annoying that's all. Cheers, Dan. Hi Ian, Thanks for the quick reply that worked a treat! Nice one. I ...Show All

©2008 Software Development Network