Soe's Q&A profile
SQL Server Query Designer in SQL 2005 Mgmt Studio a let-down?
Greetings, all. Thanks for all of the great postings in this community. However, one question I have doesn't seem to have been addressed. In SQL 2000 Enterprise Manager, a user could right-click on a table, and choose Open Table>>Query. This option brings the user directly to a query designer very similar to the query designer available in SQL 2005 Management Studio. However, I have been frustrated by the following: - The Open Table option in SQL 2005 returns data immediately where the SQL 2000 Query option did not, meaning it opened faster and did not risk locking any records in the table - In SQL 2005 the user needs to click ...Show All
Visual Studio Creating Custom Editor
Hi I have the following requirement: 1) Provide custom editor - with intellisense support 2) Customize property Grid - which will list custom objects etc... 3) Provide custom tool window - which will enable user for data entry 4) Any data entered by user either using property grid or in custom tool window should be parsed and displayed in custom editor I have following queries, I would be glad if you'll could help me with this 1) Should I create custom project types or just support custom editor/custom files in existing project types (supported by .NET) 2) Can I host custom editor, property grid and custom tool wi ...Show All
Software Development for Windows Vista vista on connect.microsoft.com
Hi, I am a beta tester on connect.microsoft.com how do i enroll to beta test vista Vista beta testers are a mix of people selected via Microsoft Beta, and MSDN subscribers. From reading these forums it seems to have provided a much better mix of testers than the idiots on the Windows OneCare Live forums. Have a read of those if you want to know why your job involving computers is made so difficult. ...Show All
Visual Studio Express Editions Edit Start Pack Banners
Is it possible to edit the pictures in the banners of the startkits Glen I downloaded the Club Starterkit. Its a prebuilt template. Jyst wondering if you can edit the banners on it. Thanks Michael ...Show All
Visual Studio Docking toolwindows to user control
Is there any way that I could dock a VS toolwindow, or code editor, etc, to a UserControl derived class in Visual studio I want to open an HTML file in a window using EnvDTE._DTE.ItemOperations.OpenFile , but I don't want users to be able to dock it just anywhere, I want to open it up and display it within the client area of my user control. Nick752008 wrote: Is there any way that I could dock a VS toolwindow, or code editor, etc, to a UserControl derived class in Visual studio I want to open an HTML file in a window using EnvDTE._DTE.ItemOperations.OpenFile , but I don't wa ...Show All
Visual Basic Getting pdf files
Hi, this is a very simple question, I know I've done this before but I juste can't find how I did it :-( I have have a global table named gtblFileList and the path of a folder ex : C:\Folder this folder has some subdirectories What I want is to fill gtblfileList with the names of all the PDF File I can find in Folder AND his subdirectories AND their subdirectories etc... thanks for your help Public Function GetFiles ( ByVal TheParentDir As String , ByVal SearchPattern As String ) As FileInfo () Dim di As New DirectoryInfo ( TheParentDir ) Dim fi () As FileInfo = di . GetFiles ( ...Show All
Visual C++ window class help
Anybody can give me a help (example, code, link) about window class In fact, my question is about how a window object can control an other window object. I believe you can use multiple forms in such case. For example: 1) Start a default win form application and add another form for it (e.g. form2) You can do that by right clicking on "header files ->add->New Item->UI ->Windows forms 2) In the code for your original form (form1.h), add: #include "form2.h" 3) Now you can add to the class form1 a new public form (let us say ...Show All
.NET Development formating xml string with xsl stylesheet not working
Why does the following code throw back an exception and not format my xml file with the xsl stylesheet. StringReader xmlStringReader = new StringReader(sb.ToString()); XPathDocument xPathDocument = new XPathDocument(xmlStringReader); StringReader xslStringReader = new StringReader("po.xsl"); XmlTextReader xslTextReader = new XmlTextReader(xslStringReader); XslCompiledTransform docXsl = new XslCompiledTransform(); docXsl.Load(xslTextReader); It fails at docXsl.Load and throws back the following exception: System.Xml.Xsl.XslLoadException: XSLT compile error. An error occurred at (1,1). ---> System.Xml.XmlException: Data ...Show All
Visual C# make setup
Hi. I write a program that have a database(Access) and is using crystal report. How can I make a setup for it My question is more about my access databaes and crystal report. (C#,VS2003) Goto start Run type : DevEnv Then open new project (cntrl + shift + N) Select Project Type: Setup and Deployment Project and Templets : Setup Project In Application folder open it add your project files dll , crystal reports files etc. There is one Desktop folder you can add shortcut on desktop. also same in program file explore this goto setup properties in project properties. Set verious things as you can. Build your project ...Show All
Software Development for Windows Vista MMDeviceapi
Hi all, I'm trying to compile some sample codes from the white paper. The sample codes enumerates the audio end points and print out the display name. I've included mmdeviceapi.h and propkey.h but got failures. The following are the linking errors error LNK2001: unresolved external symbol _PKEY_DisplayName error LNK2001: unresolved external symbol _CLSID_MMDeviceEnumerator error LNK2001: unresolved external symbol _IID_IMMDeviceEnumerator Can anyone tell me what's wrong with it Do I need to include more files Thanks in advance same problem, but easy solution hResult = CoCreateInstance( ...Show All
Visual C# How to use Visual Studio 2005 with folder redirection?
We have a number of developers using Visual Studio 2005 (C#) in a company where active directory/group policies is heavily used. We would like to know if there is any information on developing with VS2k5 where our My Documents folder is redirected to a UNC pathname on a server. Some of the issues we have encountered when trying this are: the default bin directory seems to always be set to be source code relative. This means we are transferring our binaries across the network. This has become a performance issue We are unable to develop command line applications. When we try to run the executable, we get an error that says you can ...Show All
Visual Studio 2008 (Pre-release) Speech recognition
I am using speech recognition and there is a problem with building the grammar. I want the application to recognize a command and the commands are , for example: "new", "first", "last", "select <file><rank>". I build the grammar like that // toolbar commands Choices toolbarCommands = new Choices("new", "first", "last"); // select square command - "select a one", "select a two" etc. GrammarBuilder selectCommands = new GrammarBuilder(); selectCommands.Append("select"); s ...Show All
Visual Basic Automatic comment for VB function/sub
With C# typing '///' above the name of a function generates a comment heasder for the funtion. Something like ///Description: ///Parameter 1: ///Parameter2: etc... ///Returns: IS there anything like this for VB.NET There are some tools that enabled VB.NET with XML Comments, here is a little list: VB.NET XML Comments Creator VB.NET XML Commentor VBCommenter for XML Comment Generation in VS .Net 2003 ...Show All
.NET Development OleDbCommand.ExecuteReader(CommandBehavior.KeyInfo) throws System.NullReferenceException.
System.Data.OleDb.OleDbDataReader reader; System.Data.OleDb.OleDbCommand selectCommand = new OleDbCommand(selectCommandText, OleDbConn); reader = selectCommand.ExecuteReader(CommandBehavior.KeyInfo); Error System.NullReferenceException: Object reference not set to an instance of an object. at System.Data.Common.ICommandText.Execute(IntPtr pUnkOuter, Guid riid, tagDBPARAMS pDBParams, Int32& pcRowsAffected, Object& ppRowset) at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForMultpleResults(tagDBPARAMS dbParams, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommandTex ...Show All
Windows Forms OpenFileDialog: limited no of files
My application uses an openFileDialog to allow the user to select multiple files for processing. Sometimes quite a lot of files (9000+) which breaks the application. It seems that there is a limit to how many files the user can select. When this limit is exceeded, the FileNames property array does not contain all the files selected and the last filename in the array gets truncated. The truncation depends on the actual length of the names of the files selected. Is this an intended behavior and is there any way around it This is quite a painful problem and any help - especially prompt help - is much appreciated. Thanks Lars &nbs ...Show All
