LankyNibbs's Q&A profile
Visual Studio Can't get Build Rules add-in to launch
I had Build Rules add-in work with a project. Now I want to use it for a different project but the add-in doesn't load in VS. How do I force an add-in to load I also tried to launch VS by devenv /setup. I get a DOS box and what seems VS was going to launch and then it disappears. What gives Abdu I recently used that Add-In (PrePostBuildRules) and, as you can see, it is actually from Microsoft (it is part of ...Show All
Windows Forms How to draw on top of controls...
Hey guys, I need to implement something in my app that will allow me to draw a line on top of all the controls in the app. I tried put a Graphics.DrawLine() function in my forms Paint event, but I guess the Controls on the form  ...Show All
SQL Server How do you return query results in a streaming table-valued function?
I am trying to write a CLR TVF that will run a query and return the results. I am doing a CLR vs. a TSQL TVF because there will be a great deal of business logic and string manipulation in the actual TVF. In the meantime, I am just trying to get a test one to work. Here is my class: ----------------------- Imports System Imports System.Data Imports System.Data.Sql Imports System.Data.SqlTypes Imports Microsoft.SqlServer.Ser ...Show All
Windows Forms VS Crashes upon exit
I've been having the following problem since B1 and I was hopping it would go away in B2 but it didn't. Here it goes: I have a control designer (Windows Forms Control) that makes a call to the following code from a Verb: internal static void ShowURL ( string url) { WebBrowser browser = new WebBrowser (); browser.Navigate(url, true ); } This works fine, a new browser is created, the pages is shown and everything is fine and dand ...Show All
Visual Basic objects
Hi everybody! What I wanna do is to create objects during runtime, which will differ from each other by a number which should increment each time I create the object. What I'm doing is to get input from a file and then, based on the number of records that the file contains, to instantiate the corresponding number of bitmap objects. These objects should be something like myVar.i , where i is the incrementing number I mentioned above. ...Show All
Windows Forms STAThreadAttribute problem in managed c++ windows forms
hi, i m developing a windows forms application using MC++, when i do debug the project , it fails in the line of ' openFileDialog1->ShowDialog(); ' and gives an error like that : An unhandled exception of type 'System.Threading.ThreadStateException' occurred in System.Windows.Forms.dll Additional information: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main functio ...Show All
Visual C# Totally messed up IDE
This is truly unacceptable. Besides the problem in the OTHER thread regrading the IDE and C++, the IDE cannot COMPILE nor RUN any C# applications. This is unacceptable! What the hell is wrong with this product My system is clean - I have not installed Visual Studio on this machine before (I've installed on another machine, previous, though). Eretria-chan: Can you provide any more details to help us diagnose ...Show All
Windows Forms MMC 3.0 Snapin
Hi all, We are working on an extension snap in. Under Computer management - Local Users and Groups we want an additional property page when properties are selected. This property page will show some kind of data from a SQL Server 2005 database. It should also contain a button that launch into our own application operator maintenance. Can some One guide me as to how can I go about achieving this since this subject is p ...Show All
Windows Forms Screen Refresh Problem
I'm developing windows forms using VB.NET 2003 and whenever I run my application I have screen glitches. For example, If i drag a screen I developed it creates a window streak on the screen. I tested this problem out on another computer and&nbs ...Show All
Windows Forms Expression frustration
OK, I have a typed dataset with three tables. Project, Task and Project Task. The ProjectTask table captures the many to many relationship between Project and Task, and has a composite primary key of ProjectID and TaskID, together with some additio ...Show All
Visual Studio Team System Actions and fields of work items
1. When I try to associate work item with a check-in I get the list of all work items . But I want to change work item template so that only specific work items in specific states can be associated with check-in. How to achieve this 2. While changing the work item type template can I add more fields and refnames What should I do to make these appear on work item list 'Associate' is ...Show All
Visual Studio Tools for Office Implement similar behavior as http:// address for Network File Path in word
In word, enter http://cnn.com and then space. Word will underline http://cnn.com . Right clicking it shows a list of customized popup menu. Hover mouse over the text. A tool tip shows up saying "Ctrl+Enter to follow link". I would like to implement the similar behavior for Network File Path. Is this possible using a pure VSTO and managed code to implement it Thanks very much! Yuhang. You coul ...Show All
Windows Forms TextBox Context Menu
How do I remove the context menu of a textbox in VB.NET How do I disable/remove individual items in a textbox context menu Using your custom properties inside WndProc method has no conflict, logically it should work. Be reminded tha ...Show All
Software Development for Windows Vista Replicator Use In State Machine State Activity
I have a state activity in a state machine. I have added an Event Driven Activity and I would like to use the Replicator in that activity to manage the fact that I want N users (where N will vary and change during workflow state execution) to respond (fire an event) before the containing state can transition. Since EventDriven activities require an IEventActivity as the first child this is preventing me from using the Replicator. Any thoug ...Show All
Smart Device Development Debugging
I'm having trouble with debugging my code. All my breakpoint turn in to a red circle with a yellow alert icon on top. Here is what the tooltip of the icon says: At 123.cpp, line 451('HandleMsg(PUSHMSG *pPushMsg), line 3) The breakpoint will not currently be hit. No executable is currently loaded at this location. Can someone please help me I'm using VS 2005 building a C++ application Oystein Can you ...Show All
