AsadAbbasi's Q&A profile
SQL Server "Open Table" NOT WORKING in Management Studio
When I open a database and right click and select "Open Table" I get the error message "Object reference not set to...". What could the issue be. I have loaded the adventure works db and tried it also and still get the same error. Could someone at MS please respond to this. Also when open table works can I directly edit values in the result pane like I did in Sql Server 2000 This forum is for Analysis Services -related questions. Try posting on "SQL Server Tools General" forum. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Windows Forms Execute subroutine on Windows Form from a User Control on that form
I have created a survey that uses a single Windows Form and several User Controls. When the user makes a selection on the User Control, the answer is saved. Right now, the user moves to the next question by clicking on a Next Button located on the Windows Form... Can I execute the Next Button subroutine located on the Windows Form when the user do ...Show All
Visual C++ Checkbox problem
I have a simple dialog box with a check box. When the checkbox is clicked I intercept the click in the message procedure and attempt to get the current state, however the call only ever returns 0 i.e. unchecked. Here is the call I am using, any ideas why this might be happening int PRINTER_CONNECTED = (int)SendMessage(hwndPrinterConnected, BM_GETCHECK, 0, 0); Thanks in advance, Mark Coleman What styles has the checkbox If it is not of style BS_AUTOCHECKBOX you just receive a click. But the state doesn't change by itself. You have to set the check or uncheck it. ...Show All
Windows Forms avalon like open source project
a few weeks ago, i ran into a web site that has an open source project that does what the "avalon" (xaml) on longhorn is going to do. i forgot the name and the url. can someone please refer me to this site thanks. <a href="http://www.myxaml.com">www.myxaml.com</a> And for graphics, VG.net is integrated into MyXaml. It is not&n ...Show All
Visual C++ Compiling bug?
alright, now i get just another error. its very weird. it doesnt matter if i build on the VS2005 prof edition, or the express edition. anyway... public ref class CTree { private : ArrayList^ _TreeNodes; public : CTree() {} void AddTreeNode(VCNode^ Node){ TreeNodes->Add(Node); } void Repaint(TreeView^ Tree){ for ( int i = 0; i <= _TreeNodes->Items->Count; i++){ if (_TreeNodes->Items ->Type==VCNode:: typeid ){ VCNode^ TempNode = _TreeNodes->Items ; Tree->Nodes->Add(TempNode->Node); } } } now, when i compile, i get a error that VCNode ...Show All
Software Development for Windows Vista Notification on Windows Text change
Hello, I have a question in SDK windows programming. I have a window control, implemented as an editable control for user to enter text. User can add text in the window control either by typing through keypad or copy/paste using mouse. I call GetWindowText() to read text from the control. I want to display a message while user is entering text or copying a value, if the text exceeds a certain length. I am aware that I can trap keyboard and mouse events to do this. But I would like to know if there is any way to get notified, when there is a change in text on a window control Your response is appreciated. Thanks. Correct ...Show All
SQL Server Connect SQL with Active Directory
Hi everybody. I have this problem: I have to access to the Active Directory of a remote server from my computer using SQL and make searches based on the LDAP of the server. Someone told me to use Add Linked Server, but I don't know how to do it with the Active Directory. Thanks for the help. Please take a look at the link below for the solution: http://msdn2.microsoft.com/en-US/library/ms190803.aspx Books Online topics on linked servers are also useful to know. Note that there are however restrictions on what you can do via distributed queries. For example, some of the collection data types ...Show All
Visual C++ Issue with spawnv (tried spawnl, spawnlp and spawnvp, too)
Dear all: I ran into an odd behavior, and I wonder whether anyone has encountered it before and possibly knows a fix/workaround/correction. Rather than post lots of code right away, I will describe it first. The program is a .C source with a regular int main(). If I use spawnv directly with the no wait flag, the path/command and the arguments (not interested in the env part), it works nicely. However, if I try to put the same logic into a subroutine, it works sometimes. My goal is to feel the PGP.EXE command line which has switches, e.g., '-h' for help. Some output goes to stdout, some to stderr. I use something close to Microsoft's he ...Show All
.NET Development Diff Bet VS .net and VS
Hello I have read many documentation, but cannot really get this figured. In the old world(with out the .NET) a visual basic program in VStudio created .exe, which could be executed in Windows. In the .NET world, using the VB .NET the documentation says that it would create a (Intermediatary Language) IL. This then becomes native language and then native language gets executed on the CRL. Can some explain what this is all about, where is the .exe(if at all) created in the .NET world, and how it fits in the .NET framework Confused developer. Thanks VB.NET still creates an EXE. The ...Show All
Visual C# I dont have a title ! please read
Ok i want to make like 20 buttons or 10 or 13 but programaticly. for examle for(int i=0;i<n;i++){ Button a=new Button(); } // where n is a nuber gived by the user // and if the user gives n=15; show 15 buttons if user gives n=100; show 100 buttons; i know this wont work!, but anyone have any ideaa about how to do this Each Button will have a different reference, you can get all the reference of button by indexing through the Form Controls. or else u can also name the buttons by using the b.Name Property. ...Show All
SQL Server what is the meaning of "64(error not found)" in sys.transmission_queue
as Christopher Yager say in "Need distributed service broker sample", I also test sending messages between two SQL Server 2005 instances,and after I setup the test environment with instance1 and instance2,I find queue [q2] in ssb2 can't receive message from ssb1. when I query by "select * from sys.transmission_queue",I get some message records that transmission_status is "64(error not found)". I don't know what this mean,succeed or fail can you help me thanks a lot. also,I use sqlserver 2005 June CTP. Anthony Yes, it can. If the two SQL Server instances are r ...Show All
Software Development for Windows Vista Windows Workflow Jan CTP
I just installed Windows Workflow January CTP. I noticed the API has greatly changed since the last released. It broke all the sample apps from the previous release I downloaded in December. Are there updated WinWF samples apps for the new release If there are, why didn't they get installed with the new release of WinWF How does one get them It is painful having to fix the old samples to get them to work. Also, is a separate forum or newgroup going to set up for WinWF just like the ones for WPF and WCF The January CTP Windows SDK contains updated content for WinWF. You can find more informtion here: htt ...Show All
SQL Server Unable to add database to Web project - SQL Express eror message
Searched messages with no real help. Even re-installed VS 2005 and SQL Express (from the CD), and reset settings. 1) Created new website. 2) Tried to "add new item" -> SQL Database. Message: Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to function properly. Please verify the installation of the component or download from the URL: http://go.microsoft.com/fwlink/ linkId=49251 Am running SQL Server 2005 and SQLExpress in named instances on localhost. If I use Server Explorer within Visual Studio 2005 I can create a database for the SQL Express Server, and see its tables, so I know SQL Ex ...Show All
Visual Studio Express Editions Repeater Component for VB Studio Express
I am creating a Winforms application that tracks clients. I would like to display the clients in a way similar to Outlook Contacts Address Card view instead of using a grid view. Is there a component available for doing this. I think this is a Repeater control that I want but I am not sure. I am working with VB Studio Express Edition and .Net 2.0. The database is Sql Express. Any suggestions Thanks Gary, Thank you for the informative reply. I will check out the link! ...Show All
SQL Server Problems when I install SQL Express SP1 (CTP)
Hi All, I have installed " SQL Server 2005 180 days evaluation " on Windows XP as default instance one month before. It runs fine. However, today I try to install " SQL Express SP1 (CTP) - SQLEXPR_ADV.EXE " as a new instance name " SQLExpress ", It prompt me that it could not install " SQL Server 2005 Management Studio Express " as existing "SQL Server 2005 Management Studio" already installed. So I have to install " SQLEXPR_ADV.EXE " but uncheck " SQL Server 2005 Management Studio Express ". When setup has completed, I found the original " SQL Server 200 ...Show All
