Richard L Brown's Q&A profile
SQL Server Service Broker not working for Restored databases (SQL 2000 databases restored on 2005)
I just restored my SQL server 2000 database on the SQL server 2005. after this i ran the Service broker sample ("Hello World") on this database by changing the AdventureWorks name to the new database name. The "setup.sql" runs fine. When i run the "SendMessage.sql" i was not getting any rows in the output (The message was not getting inserted into the queue). I checked the Service broker is enabled on this databased using the query "select is_broker_enabled from sys.databases where name = 'newdbname' " It was 1. I even tried the ALTER DATABASE SET ENABLE_BROKER. but it didnt work. When i tried the s ...Show All
Visual Basic DataGridView automatically adding bindingsource columns in VS 2005 Designer
Hello, I'm experiencing an annoying problem with DataGridViews which are bound to class objects. All fields from my class objects are added to the columns collection of DataGridViews, when the forms or custom controls that contain them are viewed within the VS 2005 designer. I haven't been able to figure out how to stop the designer from auto-adding all of the fields found within the bindingsource object. Any help would be greatly appreciated. Chris Durkin Hi Chris, It's the mechanism of form designer runtime. You can extract the code of DataGridView bounding from the InitializeComponent() metho ...Show All
Visual Basic edit and continue
I can't seem to enable edit and continue in my VB 2005 app. Everyone seems to be pointing to Tools--> Options--> Debugging, but I don't have a debugging menu in my Tools--> Options. Any help would be appreciated. Thanks, Danny OK, so I found the debugging menu, and edit and continue IS enabled. But when I try to use it I get: "cannot currently modify this text in the editor. It is read-only" Any thoughts. -Danny ...Show All
Windows Forms Question about textbox
hi there, i would like to make my textbox to listen to my enter key, and do something after i type in my text and press enter, how can i do that can anyone help me thanks On the textbox control, just use the KeyUp event and catch the Keys.Enter key. Raise a KeyUp event on the control and using a delegate to push to the method that will handle it such as: textbox1.KeyUp += new EventHandler(textbox1_OnKeyUp); ... private void textbox1_OnKeyUp( object sender, EventArgs e) { if (e.Key == Keys.Enter) { // Do whatever you want... &nb ...Show All
Windows Forms ListView Designer Problem
Hi, I have an app with a limited designer. I need to somehow be notified when the number of Items in a ListView changes (in order to implement Undo) Here's what I have tried so far: 1) The Items collection has no collection events. 2) The PropertyGrid DOES NOT fire PropertyValueChanged events when the Items are edited via a CollectionEditor. 3) There does not appear to be any event in the ListView to notify me when the collection has changed. 4) There is no way to have the PropertyGrid notify me when an editor has started / stopped editing. 5) ListView SelectedIndexChanged does not help. 6) IComponentChangeService in my D ...Show All
Visual C++ Linkage C, UNRESOLVED LINKER ERRORS.
I wanna use Linkage C in my code in visual Studio 2003 , when i add library file in Tools/Options in Lib section (in these case my library is C:\WINDDK\3790\lib\wxp\i386) I get linker error ! that can not resolve some things. test error LNK2019: unresolved external symbol @_RTC_CheckStackVars@8 referenced in function "unsigned int __stdcall ATL::_AtlGetThreadACPThunk(void)" ( _AtlGetThreadACPThunk@ATL@@YGIXZ) test error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 test error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 test error LNK2019: unresolved external symbol __RTC_CheckEsp referenced in funct ...Show All
Windows Forms ContextMenuStripe never closing
I have non-modal Windows form hosted inside a native Win32 windows app. When the form opens a ContextMenuStrip the menu is displayed correctly but it never goes away unless I select one of the menu items, i.e. the menu doesn't automatically close when I click on any other window like it usually does, not even when I click on the Windows Form that created the popup menu. Also there is a brief screen flashing each time an item is selected in the context menu, including when I click on an item to open a submenu. The regular ContextMenu that was in .Net 1.1 didn't have these problems. It looks like the menu isn't getting a KillFocus me ...Show All
Visual Studio 2008 (Pre-release) EntitySet<> and Query<>
The EntitySet<> type is not a Query<> derived and so when it makes a query sentence throught it, is not translated to SQL, performing query in memory. This was projected thus Vitor customer.Orders.Where(o => o.OrderID > 3); The where clausule it's performed on memory. ...Show All
Windows Forms interactive winForm
Hi all, I need to build an interactive winForm. In many application I see a special effects with the form and it's controls, e.g, winForm with round corners, circular buttons and many other effects. Can you help me please how to build that, or give me some links to learn about this topic. Best regards... Here is the technique with a commercial product: Translucent Calculator using Vector Graphics ...Show All
Visual Studio Tools for Office Before I go out and buy VSTO...
Hi I have a problem to solve. I am extracting lots of documents from an old Document Management System and placing them on a network folder in a folder defined by the DMS's virtual folders. No problem there - I have the code working. The problem revolves around the fact that most of the documents on the DMS have internal hyperlinks to other documents in the DMS , in the form of a URL. To keep these links working when I extract the documents, I have to update the document to replace the hyperlink as I place it on the network drive. So, the questions: 1. As I can see it, I need VSTO to do this, correct 2. Is this reasonably easy t ...Show All
Visual Studio 2008 (Pre-release) Need Help: Ticker
I'm trying to create a kind of scrolling ticker like the one used on news channels. Can anyone offer some insight on how to approach it I would use a databound ItemsControl and animate it with a TranslateTransform. There are alot of variations of a Ticker control that make the implementation different for each kind. ...Show All
Visual C++ MemoryStream
This does not work: MyStream is a MemoryStream InsertString = String::Format ("insert into blobtest (blobtest) values ('{0}');", MyStream->GetBuffer()); MyStream->GetBuffer() just returns "System.Byte[]", not the actual data, which is what I want. You can see what I'm trying to accomplish here. Why isn't it working Before I answer this question, I'd like to know how you obtained MemoryStream (did you make it from a file Which file Did the user type it in ) What is the column type for blobtest ...Show All
Microsoft ISV Community Center Forums What's your experience with the buddy program?
Started by admin at 03-28-2005 5:11 PM. Topic has 2 replies. 03-28-2005, 5:11 PM admin Joined on 12-16-2004 Posts 14 What's your experience with the buddy program We've already received a couple of posts on buddy experiences (thank you!) and would love to see more of them, so feel free to jump in and reply to this post and share yours! Thanks, Brenda [msdn/isv] 05-09-2005, 6:08 AM thomas woelfer Joined on 02-14-2005 Posts 5 Re: What's your experience with the buddy program i introduced myself and never h ...Show All
Smart Device Development How to make sure I am working with NETCF SP3?
Hello, I'm rather new to Visual Studio and especially SmartDevice developing. I have a decent knowledge in Borland Delphi, and i'm trying to apply my skills in .NET developing using Visual Studio 2003. Here is the brief explanation of a problem I've run into: In my application I'm using a listbox, which stores some collection items. Anyway, I want to trap the keys, pressed while listbox is focused. In the event list there is no such an event. I read that in base version of Net CF just a small amount of the controls are supplied with the OnKeyDown/OnKeypress/OnKeyUp events. But it was also mentioned that in .Net CF ServicePack 2 all the c ...Show All
Windows Forms Property-Collection problem
Hi, For be fast i show the code i used for the collection of items i want to use as a property, here the code: Imports System.ComponentModel Public Class CustomControl1 Inherits System.Windows.Forms.UserControl Public Class MyCollection Inherits CollectionBase Sub Add(ByVal Value As Integer) &n ...Show All
