Grojas1980's Q&A profile
Visual Studio Team System Data Compare - Not all tables available
Hi all, when I make a new data comparison, I don't get all the tables that I have in the source database. Can someone tell me what can I do. Thanks in advance. P.D.: Sorry for my English. Hi Joyce, The tables that don't appear were those tables that haven't any primary key. Thanks Joyce. So if there isn't a primary key in a table it can't be compared ...Show All
SQL Server Foreach?
Hi, I’m not sure whether a “Foreach” capability is achievable in SQL; I’ve examined joins, unions and subqueries but can’t come up with a solution. Scenario is 3 related tables: Location, Room, Booking (date and guest name) and what I wish to do is produce a data grid that shows every for each Location and for each room the status on a given day as follows: Location Room Date Guest Main 1 1/1/06 Jones Main 2 1/1/06 Smith Main 3 null null Annex 1 1/1/06 Bloggs House 1 null null In psuedo-code what I want to do is For a given d ...Show All
Visual C# Robotics Studio 2006
Hello, I am trying to get Microsoft Robotics Studio to work. I am using Visual Studio 2003. I am getting errors at every stage (ie. installing references, opening the sample projects) and I am wondering if it only runs on Visual Studio 2005. Thanks. Hi Steve, Probably the easiest way is to follow some of the tutorials installed with Robotics Studio. There's a shortcut called "Microsoft Robotics Studio Tutorials" installed in the Robotics Studio program group which has a few examples on how to use it with VB.NET. Most of the exmples are in C# though, howver there should be enough VB ones to get you started. Cheers Jeff ...Show All
SQL Server Need help on COM-based Custom Conflict Resolver
Hi everyone, I am working on a COM-based custom conflict resolver (vb.net) for a merge replication problem that I am having. This is what I am trying to accomplish. 1. Have a Last_Upd_Dt column. 2. When there is a conflict between publisher and subscriber on a column, the winner is the most recent date in Last_Upd_Dt and want the value for that column from that source. 3. If there is no conflict on a column and the column was updated by either the publisher or subscriber, I want to keep the change made by the publisher or the subscriber. (i.e publisher made change in col #1, subscriber made change in col #2, no conflict, the resulting row will now have the col #1 value from publisher, col # 2 will have value from subscriber. Essentially ...Show All
Visual Basic migration from TrueBasic
I All I have the following conversion problem. In TrueBasic (an old structured Basic) nested routine were allowed. Look, for instance, the the following Module main Sub XXX() Dim a Sub ZZZ() Dim b End Sub End Sub Sub YYY() End Sub End Module In the above fragment the variable "a" and also "b" are seen from both XXX and ZZZ( this last is the nested procedure) but not from YYY. I do not succeed in reproducing this behavior in VB.net but I know that with all that power ( class, structure , module,etc) it is surely possible. Please, can somebody help me thank in advance Federico ...Show All
Visual C# How to put an ActiveX control in an HTML page?
Hi all. Searching through internet i have found that this code would work: <html> <body> <OBJECT id="Breadmaking" height="300" width="300" classid="bin/BreadmakingControl.dll#BreadmakingControl.Breadmaking" VIEWASTEXT> </OBJECT> </body> </html> But this does not work with my component. It displays a little box with a red square, a blue triangle and a blue circle. My control is a Windows control library created with Visual Studio 2005 and C#. I have installed IIS, and put in the directory "C:\Inetpub\wwwroot" this html file and in the subfolder bin the control BreadmakingControl.dll, whic ...Show All
Visual Studio ItemAdded, ItemRemoved, and ItemRenamed events not firing when moving a file
I'm working on VS 2005 add-in that needs to capture details as files are added to, removed from, or deleted from C# projects. I can successfully got ItemAdded, ItemRemoved, and ItemRenamed events when user added, removed or renamed files. But I found the problem. For example, I have for following files and folders in Solution Explorer: --Folder1 -- File1 --Folder2 -- File2 I selected "File2", drag it to "Folder1" and drop. No events I got !!! The same situation when I cut "File2" and paste in the "Folder1"! Can anybody advice me, how can I track events when file moved into another directory Please help! I filed a suggestion to the VS team ...Show All
Visual Studio Tools for Office problems with deployment of VSTO 2005 Excel application
I have created a VSTO 2005 Excel application. If I deploy it to the computer where VSTO 2005 development systems is installed the application works as designed. If I install it on another client (or under VPC2004 on the development computer) the setup routine is working without problems. When I start the application I get this problems: If I doubleclick the Excel file Excel starts, the workbook will load, after this the whole Excel will hang (hour glass). There is no error message or something else. The Microsoft VSTO client troubleshooter will show that all needed bascis are installed correctly. Who has a help Hi Cindy, thank you for your hint. Your links seems to be a help: I found out that the Hotfix 907417 was installed b ...Show All
SQL Server Problem printing reports
Hello, When print reports in Reporting Services 2005, the default paper is "A4", but our reports have letter size, or even "A3" or "legal". Could we set a default paper for printing for each report thanks, Pablo Orte What about changing the paper orietation.. like from portrait to landscape or vise versa.. you can do that by interchanging the width size and height size.. Sorry but im out of ideas.. ...Show All
Smart Device Development IShellNotificationCallback
Hello all, I want to implement the IShellNotificationCallback::OnDismiss interface, but need some direction on doing so. I have successfully created my notification balloon through SHNotificationAdd, but I need to handle it being dismissed. There is very little information on IShellNotificationCallback on the web, so I'm hoping someone close to Microsoft can help me out. Thanks very much. This forum is primarily monitored by Visual Studio for devices group. Please check this link for more appropriate forum for this type of queries. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=286724&SiteID=1 Thanks Srikanth Bogadapati. ...Show All
Visual Studio Team System How do I disable in-memory edits?
Apologies first of all - I'm using VS2003 but I couldn't find a forum for it, so I'm posting here. I would like VS to prompt me for check-out as soon as I start editing a checked-in file. Currently it sometimes prompts me straight away, but sometimes it lets me type and only prompts for check out when I try and save. This is very annoying as, if the file has changed on the server, I then have to go through an unnecessary merge process. Does anyone know how to disable this behaviour For the record I'm using Perforce for source control. Many thanks, Nick. Specifically on that options page make sure the "Allow checked-in items to be edited" checkbox is turned off. You should change the comboboxes ...Show All
SQL Server Can i group records in an ador.recordset?
Hi, I have the need to group records in an ador.recordset. Is this possible and in that case how When I hear recordset, I have to assume that you are referring to classic ADO rather than ADO.Net. So I think it best to take this question up in the SQL Server Data Access forum. Moving the thread there. - Danny ...Show All
Visual Studio Team System MSF and Beta process
Hi, I was wondwering if MSF has guidelines on how a Beta or Field Test should be conducted and who should be involved. Thanks! Francesc Yes but...as referenced on page 252 of the MSF Core reference book : " Microsoft Solutions Framework (MSF) avoids alpha and beta checkpoints to describe the state of solution readiness. These terms are widely used, but are interpreted in too many different ways to be meaningful. Teams can use these terms if desired, as long as the terms are defined clearly and the definitions are understood among the team and stakeholders ." "Field Test" is also covered in depth as part of the Stabilize Track. ...Show All
Visual Basic Windows Service Monitoring Problem On Vista
I've built a small utility to monitor the status of SQL Server Express and start/stop it and it works nicely on Windows XP SP2 and fuctioning great but when I've tested it on windows vista it monitors the service ok but I can't start/stop the service any more unless I use the Run as administrator command to start my tool I've used the folowing code to test my rights on windows My .User.IsInRole(Microsoft.VisualBasic.ApplicationServices.BuiltInRole.Administrator) but it gives me false - note that I've logged as an administrator to windows - is there is any way programtically make the program have administrator rights on windows so I can use all functionality of my little tool Yes. You may ...Show All
Game Technologies: DirectX, XNA, XACT, etc. The Unofficial "Hooray I'm Done With my DBP Game" Thread
When you get done with you game and sumbit it, crow about it here. A little over 24 hours left until the deadline and I'm so amazed I'm done, so much better than college Thanks to ZMan for his help, good luck all. I'll post the source code for my submission once the deadline hits. Bill I too am done with my entry. At this point I don't see why I should not at least release the binary for people to play with. Head on over to my site to check out Space Wars Tactics ! I'll be releasing the source in a day or two. Good luck to everyone. -tom ...Show All
