MCairney's Q&A profile
Architecture UML/Modeling Tools you are using?
One of the problems I have found in VSTS 2005 is the lack of modeling tools for the Software Architect. Jack Greenfield addressed and answered my concerns here . He also said MS is working on some addressing some of the issues. I responded to him here . I needed something today to allow me to continue doing my job which currently is implementing a product line engineering process. I am using UML on this project. In case you are interested, here is a list of the tools we are evaluating from MS and their status. I answered Steve Cook's question as to what UML I would like to see supported by MS here . XDE was out because it is not supported in VSTS 2005. Since no improvements have been made to Visio's UML features for so ...Show All
Visual C++ Registry RegQueryKeyEx
Hey, I have recenly begun using the Win32 API on XP pro. I need to read the value of a registry key(data value is a file location or string in REG_SZ format) As i am not too familiar with data types and how to convert them I am stuck at getting this string(Using RegQueryKeyEx) and then converting it from LPBYTE to LPCSTR to display in the MessageBox function. The function definition says something about a buffer, im lost. Thanks Sorry, a missing * in that would-be pointer declaration. That's what I get from relying on my built-in compiler I've updated the previous post now. ...Show All
Windows Forms Messagebox
hi Is there anyway so my "messagebox.show" buttons will be in different language meaning instead of "Yes/No" How did you know this did not work Try to localize some Form and show it and then see does it show localised version of default english version. Forget about the message box problem right now and make sure language is changed..... I catch you back within 15 minutes... Best Regards, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. World to screen conversion.
Hi. Something weird when trying to covert world to screen coordinates. Vector3 res = Vector3.Transform(worldPoint, Camera.View * Projection); I get the result vector with values greater than 1. Aren't the values post projection supposed to be clamped Both the view and projection matrices are valid (and are used to display on screen). Cheers googling for that will totally turn you away from 3D drawing. if you have a 4D, or homogeneous, point, you simply need to divide the first 3 coordinates by the 4th coordinate. Then you get the usual 3 coordinates. You're only interested in the first 2 coords, but after dividing they're in the [-1, 1] region, so you need to divide by 2 and add +0.5 to get them in the [0, 1] region. A ...Show All
SQL Server connection problems
Hi, I've installed VWD, SQL Express and IIS successfully using Windows autentication. Everything went smoothly and I did have a functional connection to my new database. But suddenly without any obvious reason I could not connect. When I try to connect inside VWD I receive the error: "An error has occurred while establishing a connection to the server. When connection to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error 26 - Error Locating Server/Instance Specified)." When I try to connenct through SQL Server Management Studio Express I receive the error: Cannot connect to I6000\SQLExpress. Additio ...Show All
Visual Studio Team System Work Item Queries Email tool
Greetings, I am on a project and a reqwest was made to create a cusomter work item query email tool. The idea is that anyone on the project could go to a web portal site and see all the queries in the ProjectName/Work Items/Team queries folder. This would include the out of the box queries TFS creastes, as well as any other queries a user would want to add. Through the portal, a user would be able to select one or more queries. They would be able to configure the system to either send the results of the query on a daily basis to the email addresses specified, or to confiugre the system to send them an email when a query result changes or applies to them. For example: I create a query asking for all work items for a certain ...Show All
Visual C# I can't see the list of all the events in my code behind
- When I use VB, if I click the scroll list in the code behind the page editor, I see all the events for the page and the controls. But in C#, If I click the the scroll list on top which is supposed to include all my controls I don t see the controls therefore I can get the events automatically. thanks I am thinking of reporting this to Microsoft too. However, why put C# developers to a disadvantage by not putting these At any rate, can we just download code snippets from somewhere to have this as a "pseudo-feature" ...Show All
SQL Server SQL Server CE and Memory Issue
Hello, Have a query that consistently gives back the following message. Not enough storage is available to complete this operation The query I'm using is a little more complex than what I'm usually using. It uses Case, has extra characters in the formatting like (i.e. '-------'), connects 2 databases. Free memory can be as much as 3 MB on the Pocket PC before sending the query and I can still receive the above message. Was wondering if there are any ideas on how to prevent to much memory from being used. Have tried GC, disposing/reconnecting to the database before it calls query, but doesn't help. (have read somewhere SQL Server CE is unmanaged code and GC doesn't help clear up extra space). Thanks, Peter Hi Peter,   ...Show All
Visual FoxPro VFP TIMER MEMORY PROBLEM
Hi All, Our product is a 24/7 Hospital product and i face a critical issue in Timer control. The below code is a small example of my process, i created an exe of this code and this runs as a process in the task manager. The issue is this eats up memory consistently in time intervals. if this exe is ran for days the memory is used is like in MBs and slowing down the PC's performance. TimerCtrl() procedure TimerCtrl LOCAL poTim poTim = createobject ( "iTimer") poTim. interval = 1000 poTim. enabled = .t. read events endproc *========================================================================================================================= define class iTimer as timer fun ...Show All
Visual C++ Switching from BETA to RELEASE VS 2005 gets me an error!
c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxwin.h(1814) : error C2248: 'CObject::CObject' : cannot access private member declared in class 'CObject' c:\program files\microsoft visual studio 8\vc\atlmfc\include\afx.h(553) : see declaration of 'CObject::CObject' c:\program files\microsoft visual studio 8\vc\atlmfc\include\afx.h(524) : see declaration of 'CObject' This diagnostic occurred in the compiler generated function 'CCmdTarget::CCmdTarget(const CCmdTarget &)' This looks weird to me. The problem lies in lines at the bottom of the code wherever this function is called: CheckTextValidity(blah, blah); ...Show All
SQL Server Need ID after OLEDB command (insert)
Hi, I'm stuck on the following thing: After a slowly changing dimension task I replaced the OLE DB Destination task by an OLE DB Command and created the insert manually. This because I need to work further on the dataset. So I do a union all between the output of the two OLE DB Commands (insert and update). Untill here no problem. But than, because I need an ID further on, I do a lookup in the table in which I just inserted and updated my data for the right ID's. When I run this project I get the error message " row yielded no match during lookup ". I don't understand this beacause I just inserted the data and I've checked, it's there. I could resolve this by splitting up in two control flows (reselect all the needed d ...Show All
Visual FoxPro move question
Hi again, I want to know if there is a function or command to move a file in visual fox pro 7. For example, if i want to move 'c:\users\pru.dbf' to c:\myapplicaction\pru.dbf. Thanks, Actually there is, as I mentioned above: RENAME FileName1 TO FileName2 but it is a little tricky and you have to check (mainly with try..catch) if you are moving between servers or if the destination file already exists. See: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_foxhelp9/html/6a346173-f9d9-4d4c-8396-e82bbfc3e08b.asp frame=true ...Show All
Software Development for Windows Vista Design questions for payment system (timer)
Hi, I'm new to workflow and currently is trying to evaluate our payment system by utilizing this new technology. I have the following question and would appreciate any links, comments, or hints. Our application is a asp.net web application, where user can submite their donations. There are many possible scenarios. One of them is: user do their first payment right away and then schedule future payments, for example, charge their credit card every first day of the month. The steps are as follows: There is a asp.net website where donations are made. After the donation is submitted, the workflow starts. Inside the workflow, we create invoice, charge credit card/check/direct deposit, send thank you email, and etc. On the ...Show All
Gadgets Submitting Gadget
Well, I have created my first sidebar gadget:) But i cant submit it - keep getting the following error The Windows Live Network is unavailable from this site for one of the following reasons: This site may be experiencing a problem The site may not be a member of the Windows Live Network You can: You can sign in or sign up at other sites on the Windows Live Network, or try again later at this site. Any clues why, or howelse I may submit it. Thanks Ross Well, I am still getting the error - but only from http://gallery.microsoft.com/ , http://gallery.live.com/ works perfectly, and lets me submit it! How strange!! Ross (http://blog.the-dargans.co.uk) ...Show All
Visual Basic How to find info about your computers hardware
How do you find out information about your computers hardware I am particularly interested in knowing processor type and speed, weather it is dual core or not, the type of and amount of installed RAM, and the graphics information such as graphics memory and they type of card used. Thanks This page should get you most/all of the information you need, or at least get you started: http://www.freevbcode.com/ShowCode.asp ID=4571 ...Show All
