Kyle McK's Q&A profile
Visual Studio 2008 (Pre-release) x:Static works as element but not as attribute with statics from project?!?
I'm running Vista RC1 and playing with x:Static in elements and attributes and noticed a behavior that I'm not sure if it is by design or not. Here's the minimal repro: Start with a Window and let's use a static from the system as its title, using attribute syntax. (The static can come from any referenced assembly in this case, just not from the assembly being compiled): < Window x:Class = " XamlTests.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:s = " clr-namespace:System;assembly=mscorlib " Title = " {x:Static Member=s:Environment.CommandLine} " > </ Window > ...Show All
Visual Studio how to run SQL Server 2005 , when i have Complete Visual Studio.NET 2005
Hi, Can someone please help me how i can run SQL server 2005 , when i have VS 2005.NET installed. I have SQL Server 2005 also but i get a menu for SQL Server 2005-> Configuration Tools->Configuration Manager -> Error and usage Reporting -> Surface area Configuration Also in ControlPanel i get add/remove programs MicroSoft SQL Server 2005 294 Mb Microsoft SQL server 2005 Mobile [ENU] developer tools 66.95 MB Microsoft SQL server native Client 4.16 MB " " "setup support files 20 Mb " " "VSS writer 0.66MB Also i have Microsoft Visual Studio Pr ...Show All
Visual Studio Team System What three improvements would you suggest for DBPro setup process?
Our team is in process of building a setup (installation) for the upcoming version of our product. In order to make it better we need your help! Please, reply with the three most important things (not five, don't cheat! ) you would like to see changed or improved in the setup process . May be something interesting you have noticed (or not noticed) during the installation, anything unclear during setup, problems, issues, etc. Just to reiterate - in this thread I am only asking about feedback on setup , not the entire product, but it should not prevent you from starting a new thread on the forum for other issues. Thank you again for helping make our product better. This community support has been invaluable for the product ...Show All
Visual Studio Express Editions VB and SQL
1. Does any one know where to download and example and some literature about how to connect the a VB2005EE to SQL express 2005. 2. Can I connect an app made on VB2003 to sql2005EE To answer your questions. Question 1 Yes you can connect VB2005 Express edition to SQL Express 2005. These were designed from the outset to work together and SQL Express and Access are the only databases that have IDE support in the VB Express Edition. Literature to connect the two together. http://msdn.microsoft.com/vbasic/learning/introtovb2005/ Look at Chapter 4 (Build data centric applications) It has great walkthrough. Question 2 Can you connect VB2003 to SQL 2005 Express edition Yes y ...Show All
SQL Server Passing a dataset to reporting services
I've seen questions similar to this posted, but I'm unable to find a clear answer to what I need to do. We are currently using Crystal Reports, generating a dataset in our application and passing it to Crystal. Due to the many problems we have with Crystal we are now looking to move to Reporting Services 2005, but I can't find out how to pass it a dataset. Although we do use SQL Server for data storage, we have many reports with calculations that are way too complicated to use calculated fields, and which change too often to want to store them in the database. One solution might be to store the data temporarily and regenerate it each time it's required, but this doesn't seem very elegant. So please could someone tell me if there is a ...Show All
.NET Development winForm User Control and JavaScript
Hi, I have created a simple user control( as win dll in .net, referred to 'Embedding WinForm controls in IE'). Now my problem is that I want to handle some events for my control on the wep page, for e.g. Let say my contol has a button in it, and I need to write the click event ( of the button) code on the client page itself ( Senario: Creating a so called ActiveX using .net and want to expose event handling to the users of the control) Now I used delegates to define event handling in my control. When I use this control in my Win Apps ( as a client) i am able to register the event and handle it. BUT, the problem comes when I am trying to embed it in my web page(a simple html file) using <Object> tag ( as we use to do it for ActiveX ea ...Show All
SQL Server Get the Top 3 record in same table.
Hi all, I have some questions about sql statement. Is there anyway to get top 3 record for each item in the same table I use before 'top' but it will give me the top value base on the price. Can someone give me an advice on this Thanks in advance. Example: Table 1 Item Name Price Date A $10.00 15 Jan 2007 A $8.50 17 May 2006 A $8.00 1 Jan 2006 A $7.80 24 Sep 2005 B $12.20 2 Jan 2007 B $12.00 10 Oct 2006 I want get the result as below base on the example table 1. (Top3 Record for each item) A $10.00 15 Jan 2007 A $8.50 17 May 2006 A $8.00 1 Jan 2006 B $12.20 2 Jan 2007 B $12.00 10 Oct 20 ...Show All
Windows Live Developer Forums Center point LAT being set to 0 at zoom level 2
I am creating a Custom Dashboard with a slider. In my testing, everything seems to be working well except when I go to zoom level 2 the LAT is set to 0 so that when I zoom back in I am no longer zooming into the center point that was set by the user when they clicked on point on the map. I have tried this on local.live.com and also on the sample and the center point under these conditions seem to work correctly, however, under my control they do not. 1) Zoom to Level 3. (Center point is retained) 2) Zoom to Level 2. (Zooms correctly but Center point is now showing 0 for lat. 3) Zoom to in to Level 3. (incorrectly zooms in). Hopefully this make sense.. Thoughts ...Show All
Software Development for Windows Vista Alert(notify) from service
Hi All, Here is the thing I am doing on vista from remote desktop. a. Install a service on Vista from remote desktop. b. Once service is installed, service would launch specified process. c. This launched process would do some stuff. Once it is done it has to notify the logged on user to reboot the machine. I use CDialog message box to notify user. It works fine on XP machine. I know that UI is disabled from service on Vista. I also believe that it is going to be a common issue to most of the developer. I tried to find solution for this without any success. Is there any workaround for this or any other approach I can take for this. I hope someone can help me out with this. Thanks in advance, ...Show All
Visual Studio Hiding Explicit Interface Implementations
I could have sworn that somebody has asked this before, but I don't find the thread anymore and I can't remember the answer... Is there a way to hide explicit interface implementations from the documentation generated using Sandcastle Michael, In Sandcastle you can do this by writing custom transform to exclude the informationf rom reflection.xml. We do not provide any custom tag to remove this information. Anand.. ...Show All
Visual Studio Team System Compare and Sync functions from SSMS
Is there a proposal to integrate the Comparison and Synchronization functionalities in the SQL Server Management Studio This will help the DBAs work with a single interface. If yes, when can we expect the same When it comes, will there be a price attached to it Appreciate your response. All this is fine, however, all of the third party SQL development tools (ie. Intellisync) that are available (and we have bought) are ad-ins to SQL Management Studio (/Query Analyzer). Now all of our developers need to check out their SQL code via VS and edit via SSMS. Why can't Microsoft integrate their own tools And the DBAs who manage the code have to use VS instead of SSMS ! ! This all seems backwards and ackward as be ...Show All
Internet Explorer Development IE7 Script Error
Hi, This problem has always been bugging me. When I sign into my user account and open up User Accounts in control panel I don't have any problems but when I go to any other user account and do this, no matter if they are computer admins or not, they encounter an IE script error with no description and this popup does not go away whether you click yes or no. It's not just the User Accounts menu in the control panel, it's other applications too. Is there a fix for this problem or any ideas I have already disabled script debugging in IE. I also disable the alerts for script errors in IE too. Same issues! We use Windows XP Media Center Ed. Those issues only occur on my Wife's login ... mine works fine. To futher that, ...Show All
Visual Basic Reference and Component lists in VB
Hi all, can't find a forum for ye olde VB6 so gotta chance getting an answer here. Anyone know how to remove old references and components from the lists in VB6 I've deleted some old DLLs/OCXs from my PC but they're still in the lists. Cheers. You should have unregistered them before deleting them. Some regcleaners will remove these obsolete entries which is probably your best option now. ...Show All
Software Development for Windows Vista Passing values with postmessage
I'm trying to use PostMessage to send data readings from the DAQ application to another separate handler application. I'm using registered messages so all is well. I can even send UINT values via the WParam. The problem comes as I try to pass a double value from application 1 to the other. I tried casting them but my attempts seem to fail. I'm not sure if there are any existing post here that already explained on how to do this, but if there is, please point the way. Otherwise, if anyone knows how to pass values, or even pointers to structs, via PostMessage and On_Registered_Message, please help. Thanks! hi EnigMa_AnGeL try with SendMessage, instead of using postmessage i think it works fine ...Show All
Visual Basic Questions about processes
In vb6 I would use certain API functions to access a processes memory. Including FindWindowA, GetWindowThreadProcessId, OpenProcess and WriteProcessMemory. I recently noticed that vs2005 has great methods of obtaining all sorts of info on processes. I was wondering what the equivalents would be. This is how I usually do it. I use FindWindowA to get the window handle. Then I use GetWindowThreadProcessId to get the process id. Then I use OpenProcess to get hProcess. How would I get the hProcess value for WriteProcessMemory in vb.net using the process methods I apologize if this is confusing but it's hard for me to explain. Thanks, Troy Lundin Edit: Ok I have tried the following with no success. Any ideas Const ProcessExe As String = "game. ...Show All
