Lord Raoul's Q&A profile
SQL Server what is [SQL-DMO]
in computer management, when i expand the branch of my sql2005 express, i got a error message. it seems i cant register my server, but i cant login in sqlcmd i also installed sql2000, and it works fine... could anybody help really strange This will never work. You need to use Management Studio (full or Express) to connect to SQL Server 2005. We have a bug file on our side to determine why the server is being registered. If we fix the server registration problem, you still will not be able to connect to SQL Server 2005 through this means. Peter ...Show All
Visual Studio Team System How to retrieve published data from TFS
hi, i have published some test results. how i can retrieve those results from TFS programmatically, for future use and references to validate unit test. When you publish test results with TFS, you publish them against a particular team build. So you can double click the corresponding team build in team explorer and then you can see test results to see the overall summary of all test results published against the particular build. The same should be available programatically also. -Munjal ...Show All
Windows Forms Activex Com control properties
HI All, I loaded the com activex control at run time by using the AxHost wrapper. Here the problem i am facing is , i need to get the controls properties inside the activex control. I tried to get the properties using reflection. But i am not able to go through the child controls of the activex control. Can any one know , how to load the activex control inside the form and how to get the properties of the child controls inside the activex control.Please post it here. This is an interesting question. you never found any where. Thanks a lot in advance. zoomer Child controls of an ActiveX control would not normally be exposed ...Show All
Visual C# Filtering SqlDataAdapter.Fill
Hello. I was wondering if someone could shed a light on this. When the startrecord and maxrecords parameters are passed to the Fill function of a SqlDataAdapter, where does the filtering of rows take place If the command passed to the function is for instance "select * from Table" and that table contains a million rows, but I need 10 rows, starting from the 20th, are all the rows brought back to the client, or does the filtering of rows take place on the server , so that only the 10 rows I want need to be moved over the wire best regards, FAC Fire up Sql profiler and examine t ...Show All
Windows Forms Custom Control
I have two questions… First, I found a attribute for the class that opens the class in code view when double clicked in the solution explorer. I have misplaced the snippet and I have not been able to relocate the attribute on the web. Second, I would like to update the Registry Attributes Value property in the Properties Windows when the Text property changes. (Design and Runtime) Imports System.ComponentModel Imports Microsoft.Win32 # Region "Registry TextBox Control" <ToolboxBitmap( GetType (TextBox))> _ Public Class RTextBox Inherits System.Windows. ...Show All
Visual Basic How does VB compare to C# part 2
I am sorry but my question was NOT answered at least not technically. But, what is clear is that there is a lot of strong feeling against VB's syntax that does not exist against C#. Several post indicated that they would not hire a VB programmer unless they programmed in C# syntax. I really find that disappointing. I thought the purpose of the framework having several syntaxes was to promote choice for the developer and make that choice seamless to the end user. But I am not certain MS is committed to that point. Several conferences that I have been too, the audiences has shouted down examples in VB and insisted they be presented in C ...Show All
.NET Development Problem Marshal'ing
Hey everyone, I've been trying to do some out-of-process memory reading lately and I had a question about some things pertaining to Marshal'ing. Ok so right now I have these 2 classes... internal OutterClass = new OutterClass(); internal OutterClassPtr = Marshal.AllocHGlobal(3520); [StructLayout(LayoutKind.Explicit)] public class InnerClass { public InnerClass() { } [FieldOffset(0)] public short InnterField; } [StructLayout(LayoutKind.Explicit)] public class OutterClass { public OutterClass() { } [FieldOffset(0), MarshalAs(UnmanagedType.ByValArray, SizeConst = 50)] public In ...Show All
Windows Forms Autoscroll issue at design time.
when i set the Form.Autoscroll property to true, and scroll the slider to somewhere. then i drap /drop a control on form. the issue comes that it's not placed on the point where i droped it. obviously it didn't count the scrollposition . also if i set a big image which out of the border of the form to the BackgroundImage property ,when i scroll the slider the backgroundImage doesn't move at all . i do think it's a bug of VS Designer. or just i am ignorant; any help is great appreciated. Alan Hi, Can you provide some more info on the Drag-Drop scenario We do take the scroll position into account. What are you s ...Show All
Visual C++ Vusial Studio 2005 samples
Hello all Does Visual Studio 2005 come with " Visual Studio" code sample If it doesn't then does this code sample exists anywhere else Regards, Sergei Sergei, I believe I was referring to these samples at that meeting: http://www.windowsforms.net/Default.aspx tabindex=4&tabid=49#WinForms%20V2%20(Whidbey ) ...Show All
SQL Server Creating report based on parent-child dimension
Hi I have a problem to create a report based on a parent child-dimension When I go to reporting services, and I create a new report based on a cube, I drag my parent-child dimension to my data-layout. Then the dimension is immediatily ragged down. Anyone an idea to solve this. Hello Robbert, I have good news for you! You want that every member should have a toggle item (+), even that member has no child, right So try this: 1. Insert a new row below the table group 2. the row should have a small height (say 0,1cm) 3. Select the entire row and set the "hidden property" of " ...Show All
Visual C# Preprocessor directives for website
Hi, how can I add defines that will be global for all files in a web site project Say that I have files similar to this throughout the web site project: --- file begin class MyClass { #if MYVARIABLE public myDebugMethod() { ... } #endif } --- end file Where can I define/undefine MYVARIABLE so that all classes in my web site is effected Execuse me for my bad english, if something is unclear ask and I will try to write it using different words. Yes, that works for a project. But in the Build tab for a Web site , there is no such field. ...Show All
Visual Basic Reuse code without VSS
How can I share source code modules and classes accross projects in different solutions without VSS As a one person developer who needs to share code accross projects I hamfistedly did it in VB 2003 by Add Existing then using Save As to put it back to the folder it came from. This does not convert well to VB 2005 so how should it be done Johan, Excellent! I really had struggled to find this. I'd read about Links but failed to implement. My method effectively did it in an awkward fashion and looked the same on the Properties but just didn't convert to 2005. Thank you very much! ...Show All
Visual C# Print all files within a Solution?
I would like to print all the files in a Solution. Is this possible Or rather, is this relatively easy The solution contains multiple projects and each project consists of multiple files. To print each file individually would be very tedious. I can't seem to find a Print All Open Documents or any such thing. The only Print option seems to be for file currently active in the IDE. Any hints Cheers I'm sorry to tell you it is not possible. We are considering adding this feature for our next release. It would be cool if you open a bug about this :) http://lab.msdn.microsoft.com/produc ...Show All
Visual C# Order Matters
Today I found what was probably not the best of coding but for sure should have been flagged by the compiler and not the exception handler - especially the type of exception. Here's my class: public class foo { // ... other definitions here public static readonly Font CellStyle_UnacknowledgedAlarm_Font = new Font (CellStyle_Font, FontStyle .Bold); public static readonly Font CellStyle_Font = new Font ( "Verdana" , 12); private foo() { /*Cannot instantiate*/ } } You'll noticed the top to bottom issue that CellStyle_Fon ...Show All
Visual Basic SQL 2005 and VB.net 2005
I have a question dealing with SQL and VB. I have been looking for a way to "Browse" my SQL for different Databases for useage in my programs. Is there something I'm missing dealing with a way to browse the SQL My app under Access had a dialog to select which MDB you wanted to use. I know SQL is Different, Need to get list of Servers. Now I want to be able to have the client select which server to use, and which database. I don't use the dataconnections within VB, as the database's could be on different machines ETC. Thanks Larry Gatlin Look around the Miscrosoft site for: SQL Server ...Show All
