Samuel L's Q&A profile
SQL Server Can't uninstall or reinstall nonfunctioning sql server
In previous post in the Getting Started section, I discussed problems trying to run queries on multiple databases: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=299240#299240&SiteID=1 Nobody could help with the problem. I eventually got a query to run after several attempts at deleting and recreating databases. Then, I was hit with the following error message: Class does not support aggregation (or class object is remote) (Exception from HRESULT: 0x80040110 (CLASS_E_NOGGREGATION)) (Microsoft.SqlServer.SqlTools.VSIntegration) Nobody could help with that either but based on posts with the same message, I tried uninstall ...Show All
Visual C++ importing VB.net dll (controls) into C++ .net
I had to create custom controls in vb.net for moving in databases in C++.net now my only problem is how do i import that dll or add it to the C++ .net project so that i can use it in any of the forms i'm using. If i dont use the #using and AI/ i get undefined Identifer and all that other stuff that comes along with it. by the way i dont know if i said im using the VS .net 2005 Beta 2 ...Show All
SQL Server Strange out of memory error on 2005
Hi, I am getting the following: spid53,Unknown,Failed Virtual Allocate Bytes: FAIL_VIRTUAL_RESERVE 262144 spid53,Unknown,Memory Manager <nl/> VM Reserved = 1662084 KB<nl/> VM Committed = 954940 KB <nl/> AWE Allocated = 0 KB <nl/> Reserved Memory = 1024 KB <nl/> Reserved Memory In Use = 0 KB ... <lots of memoryclerk/cachestore stuff) ... Followed by loads of 701s (There is insufficient system memory to run this query.) until the service is stopped. No new connections can be made at this time either. I'm running an ASP page under IIS 5.0 (on 2000) against the SQL Server. Connec ...Show All
SQL Server SQL Express error "Cannot show requested dialog", and missing tables
Two of my databases are still listed under the "Database" folder in SQL Express, yet all objects are now gone. Tried detach/attach and says it works OK - yet no tables, etc. The odd thing is that I CAN access the tables from Visual C++ Express, and all looks well (data, etc). When I look at Properties for one of the DBs, and then click on "View Connection Properties" under the "Options" section, the error message pops up: "Cannot show requested dialog.---------------------------- ADDITIONAL INFORMATION: Could not load file or assembly 'file:///C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\SqlManager ...Show All
Software Development for Windows Vista WorkflowCompiler - sign assembly
I compile a workflow into a library using the WorkflowCompiler, how can I strongly sign this assembly during compilation Googled somebody up, who did figure that one out already: http://blogs.msdn.com/pmanach/archive/2006/04/01/566458.aspx ...Show All
Visual Studio Team System Newbie confusion on TFS and VS.NET. Enlightment needed.
I setup a TFS Team project (under Beta 3). Next I created a New project (not a Team project) in VS.NET 2005, right-clicked the project name, and selected "Add project to source control". I received the message "The current project must be saved before it can be added to source conrol." Huh I want to save it in TFS and it won't let me do. (I forgot to define a workspace... maybe that's what it wanted. But when I attemped to define a workspace I got the same error message). I finally saved the project to my local harddisk (in folder "deleteme") and was then able to add the project to source control. But now when I ...Show All
Visual C++ VS C++ MFC Application Exit Code
What is the best way to set the exit code value when exiting a C++ MFC Windows application (such as from the main menu) Is it appropriate to call the ExitProcess() function If so, where (in general) is the correct place to call the function so that the MFC application exits correctly (.i.e all windows are propertly destroyed and all class object destructors are properly called, etc.) On a side note, what is the best way to access the application's exit code after the application exits Especially in the case of launching the windows application from the DOS command prompt (or within a batch file). You ...Show All
Windows Forms General windows forms design question...
Assume that you are designing a windows form that displays the details (name, address, etc.) of a selected entity for editing by the user. When the form is instantiated, the constructor is passed the entityID of the entity to be displayed. Some of the tasks that must be completed in order to be able to initialize the form include: 1. R ...Show All
SQL Server OpenRowset use bad names
I have 2 data sources and AS 2005 use the function "OpenRowset" to process my dimensions. But the request in the OpenRowset rename the fields and then the true SQL request don't use the same name. It's difficult to explain, but see the request : SELECT DISTINCT [dbo_DWH_FACT] . [CD_DEPT_PATIENT] AS [dbo_DWH_FACTCD_DEPT_PATIENT0_0] , [dbo_DWH_DIM_DEPARTEMENT3] . [CD_DEPARTEMENT] AS [dbo_DWH_DIM_DEPARTEMENT3CD_DEPARTEMENT1_0] , [dbo_DWH_DIM_DEPARTEMENT3] . [ID_REGION] AS [dbo_DWH_DIM_DEPARTEMENT3ID_REGION1_1] FROM ( SELECT CD_DEPT_PATIENT FROM DWH_FACT ) AS [dbo_DWH_FACT] , OPENROWSET ( ...Show All
Visual Basic Visual Basic 2005 Express Edition
I have installed VB 2005 EE from a MS cover disk. When I open File | New the Windows Application icon I expected to find is not present. How do I create this icon Malcolm Thank you for your reply. I do not have Microsoft Visual Studio 2005. I have Microsoft Visual Basic 2005 Express Edition Beta 2. According to a magazine screen shot there should be five icons in the New Project dialogue under the heading Templates: Visual Studio installed templates I have three icons at this location & they are: Class Library, My Movie Collection Starter Kit & Screen Saver Starter Kit. There are two missing icons namely: Windo ...Show All
Windows Forms VS 2005 Deployment Projct - "Installation is taking longer than expected"
Hi, I am using VS 2005 Setup and Deployment project. I have got following as prerequisites.... 1) DNF 2.0 2) MDAC 2.8 3) MSI 3.1 Question : Setup.exe starts with .net installation in unattended mode. After progressbar is 100% first time, following status message appears for rest of the installation. "Installation is taking longer than expected" How do I make installation not to display this message Thanks, Kapil Question : Can we change prerequisite install sequence I am installing MSI 3.1 becuase its required by DNF 2.0. But actual installation goes 1) 3) 2). There is no point installing MSI 3.1 if DNF ...Show All
Windows Forms Need to create a custom calendar control
Hello all: I have a C# windows application that needs a custom calendar. I need this calendar displayed as a month view. I also need the ability to insert/manipulate images and text into each day cell. I will also need drag and drop functionality for each item in the day. I figure there is two ways to go about this; 1) create a user ...Show All
Visual Studio Express Editions horse racing
Hi there I write horse racing programs, based on my knownledge of the subject. The main problem is automating the huge amount of data I require. I have almost completed the task. ( 95%) Being new to VB I need abit of help please. I need a program that will visit a webpage and then save it automatically to a text file as source code. I can do the rest. (string manipulation etc.) (The target pages will be already known to the program.) thanks from carlisle Get text or whatever from a web page ...Show All
Windows Forms Data binding the text field of a TreeNode used in a tree view
I have a treeview that I populate using TreeNodes that are created at run time, and programmatically I set the Text field of the TreeNode on the fly. But the user can edit each tree node in the tree (i.e. the object associated with it), and I am reluctant to add code in the editor to set the text field of the tree. It seems mo ...Show All
Visual C# Displaying the designed form controls as XP Style Look
hello, i have designed the windows application form in C#. in the computer with XP os, the designed form controls(buttons, textboxes) etc is shown with the XP style look, but when i change my computer setting to classic view or i run the application output in Windows 2000/2003 computer OS, then the displayed windows forms controls is shown in flat stly i.e. without XP look. So, is there any methods to show the consistent form outlook whatever may be the OS or setting. Anur RS Windows handles drawing all your controls for you. There will be slight differences from version to version (with ...Show All
