Software Development Network Logo
  • Microsoft ISV
  • IE Development
  • Windows Vista
  • Smart Devicet
  • Visual FoxPro
  • Visual Studio
  • SQL Server
  • Audio and Video
  • Visual Basic
  • Game Technologies
  • Visual C#
  • SharePoint Products
  • .NET Development
  • VS Team System
  • Windows Forms

Software Development Network >> foomunchoo's Q&A profile

foomunchoo

Member List

Doug Peck
jbap01
progames25
CNB
Bill Martin
Teradar
DazlerD
tomwilde
gokce
kajani
JLarkin
Piotr.Sleczkowski
Alex-MyRpg
los1975
RichLeyshon
JocularJoe
Carl Bruneau
imdqa
anders_sms
Tompom
Only Title

foomunchoo's Q&A profile

  • Visual Studio 2008 (Pre-release) Getting a HWND for a Popup

    Hi! I was wondering if anybody knew how to get the hWnd for a System.Windows.Controls.Primitives.Popup It has a hWnd separate from the parent window because: - It goes outside of the parent. Nick Kramer says on his WPF/Win32 blog posts that this means it has to have its own hWnd. - It is its own HwndWrapper, so it has its own Hwnd. - Spy++ finds it with a unique hWnd and confirms it has its own HwndWrapper Now, Spy++ gives a bit of an odd result: the parent window is shown to be the HwndWrapper that contains the popup, but when I go to that window, and look through the child windows, I see nothing. So it is a parent with no children. I guess that's a limitation of the HwndWrapper, but it prevents me using FindWindowEx to get the H ...Show All

  • Visual C# Key BOard shortcuts for Visual Studio .NET 2003

    hi i want to know the key board short cuts for VS .NET 2003 where can i find it Hi, Here it is: http://www.codinghorror.com/blog/files/Visual%20Studio%20.NET%202003%20Keyboard%20Shortcuts.htm Thanks ...Show All

  • Visual Basic VB Futures, VB 2005 Essential Content, Other Content From PDC '05

    Hi Forum Readers - I just wanted to give you a heads up about some of the pretty exciting announcements and content coming out of PDC '05 this week, so you can share in the fun.  I discuss the overall activities and Essential Content available from PDC here: http://blogs.msdn.com/pauly/archive/2005/09/12/464207.aspx I discuss the announcements of LINQ and next generation Visual Basic features here: http://blogs.msdn.com/pauly/archive/2005/09/13/464965.aspx   Best, Paul Yuknewicz Visual Basic I don't think I get what you mean by 'Production Environment.' What's wrong with VB in a production environment ! ...Show All

  • .NET Development find current date falls under EST/EDT from any machine in Arizona/CST/PST/EST

    I have windows service which is going to run on several machines which are in different time zones in USA. I want to find out the Eastern Zone current time from these different machines.Language platform is VB.NET/C#.NET Question is: How i can find out current date falls under EST/EDT from any machine in Arizona/CST/PST/EST. You don't have to connect to any other machine to find EST. Use the DateTime.UTCNow function on the machine you are on. Subtract 5 hours from the date. This will ALWAYS be Eastern Standard Time, regardless of where the machine is located. If it's not, then the clock is wrong on your local machine. ...Show All

  • Visual Studio How to use Analyze vss db?

    Hi, I've just started to use vss. Well, when I installed it, a default database "common" is also created. I added couple of projects in this database. And analyze vss db worked just fine. Then, I created a second database. My question is how can I run analyze vss db for this second database Thanks. Hi I typically run analyze by opening a command window and browsing to the location of the install SourceSafe componets that include analyze.exe (in 6.0 typical this is ..\vss\win32) Then run analyze path to the database (e.g. analyze -f c:\vss\data) From the nature of your question I figure you might be running analyze from a short cut in program files menu. If you prefer t ...Show All

  • .NET Development Creating DSN to SQL Server in the code.

    Hi. Can somebody tell me how to create a system DSN for SQL Server programmatically in vb .net The following code always fails to create the DSN. What am i missing Private Sub Build_SystemDSN_SQL() Dim ret%, Driver$, Attributes$ Driver = "SQL Server" & Chr(0) Attributes = "DSN=" & mstrDSNName & Chr(0) Attributes = Attributes & "Server=" & mstrServerName & Chr(0) Attributes = Attributes & "Database=" & mstrDBName & Chr(0) Attributes = Attributes & "Uid=" & mstrUser & Chr(0) & "pwd=" & mstrPwd & Chr(0) 'Attributes = Attributes & "Trusted_Connection=yes" SQLConfigDataSource( ...Show All

  • SQL Server Getting an identity column value returned from an insert trigger on a view referencing multiple tables

    I have a view employing multiple tables with the same ID. The master table has an identity column (REG_ID) as its primary key and that key is used as the primary key for the other tables in the view. I have the insert trigger working except for one item. New records are properly written to all the tables in the trigger, but the value of the just inserted record is not appearing in the "Open Table" View from SQL Enterprise Manager when I insert a new record in the table. What am I doing wrong Code Follows: set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER Trigger [View_1_INSERT] ON [dbo] . [View_1] instead of INSERT AS BEGIN SET NOCOUNT ON ; Declar ...Show All

  • SQL Server Migrate 2000 -> 2005

    I've got the responsibility over a small SQL server with 8 Database and approx. 100GByte data online. Most database are used and need to be available 24*7*366. Also a number of local data transformation packages are defined and used on a regular basis. Furthermore a number of third party applications rely on this database. My question if it is worth the effort to migrate this to 2005 I know there are all kinds of nice migration wizards but do they really work What if one of the 3rd party apps don't like 2005 Love to hear both good and bad experiences migrating -> 2005 . 1. SQL Server 2005 can be installed side by side with SQL Server 2000 successfully. So you can install SQL Server 2005 on t ...Show All

  • Visual Studio 2008 (Pre-release) How to reference one xaml file from another?

    Hi, I have a xaml file containing Viewport3D element with some Model3DGroup. <Viewport3D> <Viewport3D.Camera> <PerspectiveCamera .../> </Viewport3D.Camera> <ModelVisual3D> <ModelVisual3D.Content> <Model3DGroup> ... </Model3DGroup> </ModelVisual3D.Content> </ModelVisual3D> </Viewport3D> Is there a way to put the Model3DGroup into a separate file and make a reference to it from Viewport3D Thanks in advance. Dear Igor, You can use the XamlReader.Load() method to read a xaml file. This code might help: Assuming your xaml code is in a file called sample.xml // Open the xml file using a File ...Show All

  • Commerce Server Error in Refresh Site Cache

    Hi, I have a problem whem I want to refresh a Site Cache from one of the business applications. The error I get is: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: Instance validation error: '0' is not a valid value for System.Net.HttpStatusCode. Whats there the problem I've read that tehere was a Hotfix (http://support.microsoft.com/default.aspx/kb/922068) but i cantot download this Hotfix. When I open this link: SiteCacheRefresh.axd CacheToRefresh=CatalogCache for example, I get the problem that It d ...Show All

  • Visual Studio Team System Team Foundation Build and DB project.

    We have a DB project that we have created a team foundation build type for and which does run fine, at least no errors in log file, but it does not create the output sql scipt file. If I build the db project from the build menu within the VS IDE it will create the .sql script file in the specified directory ok or if I use msbuild it also works fine. I have seen some documentation about modifying the tfsbuild.proj file along with the dbproj file for actually deploying the DB but at this point I only want to create the SQL script file using the team foundation build. Is this possible to do I am currently using latest TFS along with VS and SP1 applied to everything including the build machine. If there ...Show All

  • SQL Server DTS Classes Not Showing in Visual Studio

    I am trying to use VB.NET to run SSIS packages. However I don't have the various dts namespaces available. When I attempt to import them I only have Microsoft.SqlServer.Server in intellisense. I am running on XP sp2, VS 2005 (full install) and even went so far as to install sql 2005 sp1 full install on my local machine. What gives with only having Microsoft.SqlServer.Server available thanks, Scott Michael, Thank you for your reply. That's my problem...I can't reference the assemblies. The imports statement only show Microsoft.SqlServer.Server. If I add a reference to web.config like: < add assembly = " Microsoft.SqlServer.Dts.Runtime, Version=9.0.242.0, Culture=neutral, Pub ...Show All

  • Visual Studio Check ~

    Hello there, I got a trouble here. I've use for long time VSS 6.0 with VS 2003. But now i'm using VS 2005. With the VS 2003, i can make/set VIRTUAL FOLDERS at IIS normally. But working with the VS 2005 in VSS 6.0, when i set the folder at IIS it's ok. But when i go to open the PROJECT from SOURCE SAFE CONTROL in VS 2005, it's make a new copy of the project at InetPub folder's. It's the trouble. Example: I set the virtual folder "localhost://"myname" But it's creates "localhost://"projectName" I would apreciate your help. Thanks in advance. Oh my !! Finally ! :D Thank you very much ROMAN ! It's works perfectly now ! Se ...Show All

  • Gadgets Display external URL

    Good morning, i would like to display an external webpage in my sidebar gadget. Unfortunately it doesn't work. Are there any limitations Thanks in advance. Martin Use IFrame check this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1049562&SiteID=1 ...Show All

  • Visual Studio Team System store.query gives more columns then specified in SELECT

    Hi, I'm new to TFS and trying to get all work items for a project in a gridview in asp.net. My code: query = "SELECT [System.Id], [System.Title], [System.AssignedTo], [System.CreatedDate], [System.CreatedBy], [System.State], [Microsoft.VSTS.Common.Severity] FROM WorkItems WHERE [System.TeamProject] = @project ORDER BY [System.Id]"; return store.Query(query, parameters); when I put the resulting workitemcollection as datasource in a datagridview I get 27 columns instead of the 7 I've specified in the select. Funny thing is that I do get different results (less rows) when I adjust the where statement but even if I select just 1 field (System.Title for example) I get 27 columns. Thanks, kip Are you look ...Show All

©2008 Software Development Network