Pater_Peter's Q&A profile
SQL Server Hierarchical XML import?
Hello, Can anyone point me at a tutorial or sample that shows how to use IS for importing an xml file containing hierarchically arranged records I have a file which contains multiple orders , the orders contain multiple line items.. the file also contains an element with details of the file source etc... So, I want to make an insert in the FileLog table an then make inserts into the orders table .. then make inserts into the Or ...Show All
SQL Server Failed Install of SQL Server 2005 SP1 CTP
Hello, We are attempting to install the CTP for SQL Server 2005 SP1 and receive the following error message in the log: The following exception occurred: Unable to install Windows Installer MSP file Date: 03/24/2006 14:19:40.562 File: \depot\sqlvault\stable\setupmainl1\setup\sqlse\sqlsedll\copyengine.cpp Line: 856 This is then followed by this failure with the Database Services: Product: Database S ...Show All
Game Technologies: DirectX, XNA, XACT, etc. The never ending pain that is my 2D tile texture problem.
I want to make a nice 2D tile game - I can plot 2D tiles fine as 3D textured quads, pixel perfect. But when I move the camera by translating the view matrix - the pixel on the border of the tiles sometimes dissapears and sometimes it thickens to two pixels worth. This is the original plot. Then when I move the camera down a bit, the last line of pixels on the textures is gone :( Here's the very concise source illustrating the problem (C# Vs ...Show All
Smart Device Development OnKeyPress - What windows message (WM_xxx) is this a handler for?
What does the OnKeyPress function in .NETCF act as a handler for (WM_KEYDOWN ). Thanks! ...Show All
Visual C# class library obfuscation problem
hi, after i obfuscated a class library that i have written, i found when i tried to use it, that the classes and its members doesn't exist. i added the obfuscated dll file to my refrences, then typed "using MyClassLibrary" , but VS 2005 doesn't feel it at all, MyClassLibrary doesn't appear in the drop down list that drops while typing in VS 2005, even when i try to write it manualy and press the . "dot" , no drop down l ...Show All
Windows Forms Getting focus to a dialog box
Hi, I have an app running hidden (apart from an icon on the status bar) This app must pop dialogue boxes onto the screen, topmost, and with focus, when the user has another totally unrelated window open and active on the screen. I can get the "topmost" aspect without any trouble, but cannot find any way of ensuring that the popped dialog box automatically has its focus set so that the buttons and edit boxes may be accessed via the k ...Show All
Visual Studio 2008 (Pre-release) Automation class, some questions
Hi guys, I am experimenting with the automation classes but I have some questions: - Is it possible to do a search for an element by using wildcards in findfirst/findall e.g. I would like to search for "TestWindow*" which would then return either the first window it finds or all windows that match that ciriteria. (TestWindow1,TestWindow2,...) - The treescope defines ancestors & parent, but where can I use these I only get ...Show All
Visual Studio 2008 (Pre-release) what's the future of ActiveX in Vista?
I'm developing a framework in winfx which can move and rotate components (panel and its children). I would like to know if it can be possible (in the future) to host winfx ocx in another winfx application. For example, will it be possible to get an Excel ActiveX (developed in WinFX tech. for Vista) that I can host into my WinFX application (for rotate/scale/fade_it and interact) PS: Now, we are usin ...Show All
Visual C# What is wrong with this ?
Hi all I am testing the Code Analysis new feture of .net 2005 so I have added these lines to the Assemply info file [assembly: CLSCompliant( true )] [assembly:SecurityPermission(SecurityAction.RequestMinimum)] and signed the assemply with strong key file when I build the project it's failed to be build put when I go to Error List to find what's my errors to correct it I didn't found an ...Show All
Visual C# Need help on basic operations with data from data sources
I know how to work with data from an sql database, if i do it the manual way (coding/sql-queries). But i want to learn how to do it "the Microsoft way". I have added a Datasource: "_myDatabaseDataset" (myTable contains fields ID and Name). I have dragged the ID column onto my form as a combobox. Whenever i change the value (SelectedIndexChanged) i want a messagebox showing "Name" of the ID that is selected. How do i do that MessageB ...Show All
SQL Server generate filename from today
Hi, I have to create an ascii file which name format is like vyymmdd.txt What would be the best way to do this I have used DTS package to do this but file neme must change every day. rgds Kari Is this what you're looking for ! select 'v' + convert(char(6), getdate(),12)+'.txt' Regards, Clifford Dibble ...Show All
Visual Studio Express Editions Toggle properties enable/disable
I'm using the following code with no success. If the panel's visible I want combobox1 disabled and if the panel's not visible I want combobox1 enabled again. Any better suggestions on a code to use I have also tried Update() with no success inplaced of Refresh() Private Sub Panel1_Paint( ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Panel1.Paint If Panel1.Visible = True Then Co ...Show All
SQL Server Problem translating schedule into 1/2 hour buckets
I am stumped on a problem. I am trying to write SQL to compare what an employee is scheduled to do VS. what a different system actually recorded them doing. In our schedule system, employees are scheduled for a specific task beginning from any minute of any hour and lasting so many minutes long. For example some records might look like this... NAME TIME ...Show All
Visual Basic VB in access
Hi, I'm a beginner in vb I have done following in access : i created a form with several (invisible) buttons and 4 choice buttons which are linked so far so good each button goes and retrieves a value within a list of types so far so good Now I need : 1) to make the corresponding buttons visible. I made a for next but it seems to go wrong with the buttonnames (buttonname.visible = true) 2)to make the text to the correspon ...Show All
Microsoft ISV Community Center Forums Needing Transform XML in Excel
Hi, I'm head over heel s with this problem I'm trying to obtain some results with Excel to display XML datas. I don't know if this is possible. The question: I'm trying to apply a XSLT transformation on a XML file. This same XSLT file takes as parameter another XML file (node set).Then It merges the > two XML files. I already did transformation in Excel with one XML and one XSLT and it was all OK. My fil ...Show All
