Mark Hogan's Q&A profile
SQL Server Trend Lines in RS2005
Are trend lines supported in RS2005, and if so how do you produce them Thanks, Peter Cwik Trizetto He wants a trend line (line of best fit) to follow the peaks of a bar graph. How would you do that using a line diagram By the way I had a teacher named Verhoeven. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Sound Pack
Max Damage Studios is now making its release of its Missile Command XNA remake public. You can go directly to our downloads page to grab it. This project was mostly a proof of concept written in a very short, around 10 hours, amount of development time. We made use of a few of the DirectX SDK Tools such as XAct to get the final result. All audio work was done in our studio. There are only 11 levels in version 1.0 currently, but perhaps someday we shall extend that and produce another version. But we are moving on to our next project for now. For anyone interested, we've also compiled a sound pack for the game. You can download the sounds from our version of Missile Command and use them in your own projects according to our terms of u ...Show All
Windows Forms Adding help to an application
I have used HelpStudio lite to generate help content but I can't figure out how to add it to my application. The help keeps talking about adding / registering it to Visual Studio, but I just want it to be relevent to the application I am developing. How do I display the help window How do I get the help content being displayed to be the help content I produced Thanks, John one way is to launch the help file in a process, making sure the file exists beforehand. So when they click on "help", a new process object is created, pointing to the path of the helpfile and the helpfile itself and then running that process. you could use the Help class in .NET also, which would be a better way and b ...Show All
Visual Studio sgen.exe exit with code 1
hi folks, can you plerase help me with the above error! I've reviewed the comments in a similar thread and carried out all the actions to no avail. My solution is made up of a Winform project which accesses a Web service in the solution. I've removed/added the web service and the problem project, to no avail. Please help. Thanks Here's what I got from Svetlozar who owns sgen integration: 1) Turn off sgen generation. (VB:: Proj.Properties->Compile->Advanced compile option"->Generate serialize…" It combo set to "off" | C#: ProjProperties->Build->"Generate Serializa…" set to OFF) is not essential stuff and likely they wont see any issue ...Show All
Visual Studio Accessing IVsTextLayers?
Hello, I'm trying to support word-wrap and folding/outlining better and with better performance in my vi/vim emulation addin. In order to do this, I'm trying to access the different layers in an IVsTextView directly. I've been successful in getting the 'topmost' layer (IVsTextView -> QI(IVsLayeredTextView) -> GetTopmostLayer() -> IVsTextLayer), but I can find no sensible way to get the next layers. The real need is to get to the layer that comes before word-wrapping, which I'm guessing is the last layer. I'm guessing there is one or more layers that applies the outlining/hidden regions. Accessing this layer, I can quickly map buffer coordinates to non-word-wrapped-but-outlined coordinates. The only thing I've found that return ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Rotating mesh without rotating affecting World location?
I've got a mesh that I'm trying to draw at a specific location. My code current looks like this: Matrix world = Matrix .CreateTranslation(thirdPersonCamera1.PlayerLocation); effect.Parameters[ "WorldViewProj" ].SetValue(world * thirdPersonCamera1.View * thirdPersonCamera1.Projection); effect.CommitChanges(); // Draw player simpleMesh1.Draw(); Which works great, and my character always moves around as it should. However, it doesn't rotate with the camera. So I multiplied what's in WorldViewProj with Matrix.CreateRotationY(playerRotation), but then the location is also rotate (so my mesh appears in a different place to how it did before). How can I have the mesh drawn rotated, without the rotation applying to its location too ...Show All
Visual Studio Product Activation for Visual 2005 Pro?
Hi, Does VS2005 Pro require activation, the same type of activation like XP and Office Thanks, Ke ...Show All
SQL Server Relationship problem
Hi All... Two of my tables are: Users - primary key is UserId, an int with identity turned on. Messages - has a column named UserId that references the same in Users. I'm using Visual Studio 2005 against a SQL 2005 database. Using both the diagram tool and table data, I'm trying to set up the relationship implied above and am getting the following error: Users table saved successfully. Messages table - unable to create relationship 'FK_Messages_UserId'. The ALTER TABLE statement conflicted with the FOREIGN KEY constraint 'FK_Messages_UserId'. The conflict occurred in database 'XXXX', table 'dbo.Users', column 'UserId'. I've done several other similar relationships without incident. But this one (and one or two o ...Show All
Visual C# Run Windows Application From Windows Service?
Hi, I have made a windows service that has a timer checks for a certain time to remind me. Now the time is reached so i want the service to display an alert!! I have made a windows app that shows the alert but when i run it from the service it runs but not GUI displayed!!! I can see it runs from the Task Manager but i cant show the form. So is there any way to dispay i GUI alert from a windows service Thanks a lot Hello Mr TheMaj0r I have a problem on the same topic. But I am beginner on .NET and I don't have any about .NET remoting. Can u please post code How to run windows application from windows service or Plz give me step by step process. How to do it ,I hope u will understand my Request and help me, Can you ...Show All
Visual Studio Express Editions Print Form
Hi Dear As a part of my college project, I have to creat a confirmation letter to be sent to client I have created the form which you can see it here http://www.qulearzo.info/VB/VB.htm but unfortunatly I do not know how to set margins and print it as company offecial letter. Thanks for your help Beginer user, Set Printer Margins: Use the Printer's scale properties to set margins. Set the properties so the position (0, 0) is mapped to where you want the margins. For example, the following code makes the left margin 0.5 inches and the top margin 0.75 inches. The factor of 1440 converts inches into twips. Printer.ScaleLeft = -0.5 * 1440 Printer.ScaleTop = -0.75 * 1440 Printer.CurrentX = 0 Printer.CurrentY = ...Show All
Visual Studio Team System TFS Permissions
Is there a way for a user to have read/checkout/checkin rights with out having add and or delete ...Show All
Visual C++ Can't dynamically load VC8 library?
I would say I am beginning to hate manifests... unfortunately, I am already well past that point. I have an application that dynamically loads a dll (i.e. LoadLibrary() ). It worked when I built with VC6. Now that I am trying to build with VC8, I get the following error: Runtime Error! Program: <path-to-my-program.exe> R6034 And application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information. I used to get this error trying to run the application itself, but was able to resolve it. Is there something special that needs to be done to use LoadLibrary now that one has to deal with these awful manifest things First, an externa ...Show All
Windows Live Developer Forums Developing Live Messenger AddIn's: Help!
Hello people: First at all, it's my first time posting on this forums so I would to make a little presentation of me. My name is Christian and I'm a member of a Dotnetclub in Sevilla, Spain. (Dotnetclubs are associations of students whose love .NET platform, and we have Microsoft Iberica's support). I'm developing some AddIns for Windows Live Messenger (v8.0.0683), and I'm going to do a conference, but I'm having some problems. I made an Add-In who connects to a Web Service for consume some service of the WWW. I want to show in a MSN Conversation how many time left the bus to arrive to a determinate bus stop. I had some problems loading that Add-In. It gives me an error message: 80131500. How can I solve it Thanks. ...Show All
SQL Server Viewing SQL Statements
Is there any way that I can store the actual sql that a report generates after parameters have been filled out. I know the log tables contain parameters information, but ideally I would like to be able to copy the actual sql and run a query in SQL Server Management Studio. ...Show All
Visual C++ strtol strangeness?
I'm probably missing something very simple, perhaps I'm tired. Why is it that the line of code "DWORD DWordValue = 0xF988FA1F; " places the proper hex value into the DWordValue variable (4186503711, 0xF988FA1F), but this line of code "DWordValue = strtol("0xF988FA1F", NULL, 16);" places the unanticipated value (2147483647, 0x7FFFFFFF) Don't Long and DWORD size to 4 bytes What am I doing wrong I am testing this because I need to read hex strings in from a file, and then write them as REG_DWORDs to registry sub-key named values. (Any easy ways to do that would also be useful). Definitely weird, and I can only make wild speculations. This could be a bug in strtol, or it ...Show All
