leunam's Q&A profile
Visual Studio DSL and XMI interchange format
Hi, Good day! I have a general question regarding the interoperability between Microsoft DSL tools and other general purpose modeling tools that supports UML/XMI. On one hand, since UML could be customized towards different domains/platforms through UML profiles, we can view such UML Profiles as DSLs targed for different domains/platforms. More importantly, such DSLs are defined through standard UML and could be imported/exported through XMI format. On the other hand, Microsoft DSL is defined through DSL designer definition (dsldd) format, which is based on the Microsoft Data Framework (MDF). I know that UML Metamodel (UML superstructure) i ...Show All
SQL Server Resolving
Hello! I am having trouble connection to my SQL 2000 SP4 using TCP IP. I can only connect specifying the port number in for instance query analyzer. What do I need to do to get it connecting without port number Do I unblock the resolution protocol UDP 1434 in my firewall Carl Norway What is error message. If the error is something close to ""Error Locating Server/Instance Specified", you need to enable the sql browser and make sure the udp port 1434 is not blocked by the firewall. The following link have plenty of the content on troubleshooting connectivity issues. http://blogs ...Show All
Software Development for Windows Vista Designer wish list?
I have been playing around, and making some presentations to some people in our group on WF, and the way that can be used not only for programming purposes, but also for designin and presenting business processes. Here is a couple of questions (should I call it wish-list ) on the designer. If someone in the team could give some feedback on this I would appreciate it: 1. Ability to drag-and-drop "comment" activities (like the 'annotation' shape in Visio) that can be visually associated with an activity, but do not have relevance during runtime. 2. The ability to change the size of the activities in the designer so that the text in t ...Show All
Visual Studio what do we put in the New sub in general
what do we put in the New sub of a class in general. Any specific examples and examples that apply to data tier. Thanks That's a very broad question :) New is generally the place where you initialize any data structures that your class might need or set any private fields that you receive as arguements to the constructor. Get the object ready to use. In the future, questions like this are perhaps better directed at a different forum. This forums is dedicated to the Visual Studio Class Designer not general software design. ...Show All
Visual Studio Team System A simple Question
Please eloborate the need for the seperate accounts to be used for installing the Team System.Don't reffer to any site or i will kill my self. Team system uses two accounts: One ("TFSSERVICE") is used to run the web services and to access the databases. The other ("TFSREPORTS") is used by reporting services to access the databases for reporting purposes. These accounts can have any name you wish - they don't need to be called TFSSERVICE and TFSREPORTS. If you're setting TFS up in a domain, these should normally be domain accounts. These two accounts don't need any special permissions - the TFS setup progra ...Show All
Windows Forms What is faster: GDI+, Direct Draw or OpenGL for 2D drawing of 250,000 lines?
Hi, What is faster: GDI+, Direct Draw or OpenGL for 2D drawing of 250,000 lines Thank's Alexei First off I would mark directdraw from the list as this has been depreciated and the functions have been replaced inside of the direct3d classes. Next it will depend on other factors, will the app need to be cross platform, if not I would have a look at using direct3d for the task. OpenGL would be able to do the task but there is no real support for managed languages, you have to use 3rd party wrappers to do the job. Here is a link to some opengl resources that I have collected http://www.ircomm.net/forums/587/ShowPost.aspx . Hope this helps. ...Show All
Visual C++ strtok thread-safety
Hi I am porting Unix code onto VC7 code. I am wondering if strtok_r (unix) can be replaced by strtok (win32). In other words, is the strtok method thread-safe Can it be called by several threads simultaneously The note of MSDN is not clear : " Note Each function uses a static variable for parsing the string into tokens. If multiple or simultaneous calls are made to the same function, a high potential for data corruption and inaccurate results exists. Therefore, do not attempt to call the same function simultaneously for different strings and be aware of calling one of these functions from within a loop where an ...Show All
Visual Studio Team System How to Create Tests Lists
I wanted to create a build that would run some tests. I select Run Test and see vsmdi file in the dropdown. But there are no test lists to run. I have developer version of VSTS is there a way for me to create test lists. Thank you, Shimon. In theory, the answer is "Get the Test Edition or Team Suite". Test lists are created in the vsmdi using a tool named Test Manager which is included in the aforementioned Team System editions. The VSMDI file is just an XML file, so in theory you could manually create it. At a glance the schema is simple enough, but the files include some GUIDs a ...Show All
Windows Forms How to populate a listview?
Please help, i want to populate my listview from a datasource, how do i do that all i can find in the web is adding single listitems and subitems, i'd appreciate any help. and also, deleting multiple items.. thanks in advance. As much as I want to, I am re-installing my Visual Studio 2005. The current version of Visual Studio installed on my machine is Visual Studio 2003 and Visual Studio 6.0, neither of the versions I have rightnow has support to "grouping" in ListViews. Regards, -chris ...Show All
Visual Basic Auto Search
I have a form that shows 4 linked tables (Family, Member, DepartmentGroup, DateGroup) I use this form to mark kids present for Sunday School. I now have over 400 names and was wondering how I can get the Family.Lastname to auto search, much like Explorer stores the last web pages. You type 's' and all the s's list, then you type 'm' and all the SM's list then 'i' and the smi's list etc.. and when you hit enter all the data of that individual will fill the form so that the volunteer can mark them present for the morning. If there are more then one Smiths I would then type in the member.firstname and the same routine would hap ...Show All
SQL Server XQuery: SQL type 'xml' is not supported in XQuery.
Why is this I am trying to insert an xml fragment into the children of a node using XML-DML insert statement, but it is not letting me do anything useful. How can I insert an xml fragment into the node structure of an existing xml field Any ideas Thanks... You might find this article useful - I'm not sure if this is how I'm going to do it, but it will work. http://blogs.msdn.com/denisruc/archive/2006/05/17/600250.aspx M@ ...Show All
Visual Basic winproc message
how do i find out the message/hex value of an event... in this case when the pen is lifted from and is no longer recognized by the screen... thanks! Dan I'm not sure what you're asking but it sounds like you need the CursorOutOfRange event of the InkCollector class. ...Show All
SQL Server Why can't add a specific Group as a login to SQL Server 2005
Hi, I am trying to add "Remote Desktop Users" as a login group to SQL Server 2005 (i.e. so they can log into management studio). I get a "Not Found Error" (see below). But it is of course found, because I selected it :-) What is going on here I see the "Administrators" group and various SQL Server groupls added automatically there, so there must be a way, right I know I can add each user in the group individually, but that seems overkill when I can just use the group in which they are contained. Here is the error I get: TITLE: Microsoft SQL Server Management Studio ------------------------------ C ...Show All
Visual Studio connections restrictions between shapes fail
hi, i want to restrict the connections between two shapes. I did this by using public override bool CanCreateConnection( ShapeElement sourceShape, ShapeElement targetShape, ref string connectionWarning) for the accordant connector class. e.g there is ShapeA & ShapeB. The problem is, that i can connect ShapeA with ShapeB, if i move the mouse over the "text decoration" of ShapeB although this is forbidden by the conncetor restriction. The restriction works fine, when i move over the shape area of ShapeB and not the "text decoration" of ShapeB. How can i define restrictions for the whole shape, includin ...Show All
Visual C# how to make an application that loads automatically when windows start??
i want to make a c# application that automatically loads when the windows starts how can i do that through the program Add the filename of your program to the registry at HKCU\Software\Microsoft\Windows\CurrentVersion\Run using Microsoft.Win32; RegistryKey key = Registry .CurrentUser.OpenSubKey( @"Software\Microsoft\Windows\CurrentVersion\Run" , true ); key.SetValue( "MyAppName" , Application .ExecutablePath, RegistryValueKind .String); key.Flush(); key.Close(); ...Show All
