SMFX's Q&A profile
Visual Studio Using DTE to call a "New Web Form - Select Master Page" wizard
Hello, Is it possible to call a specific wizard using DTE, in my case I'd like to open the "New Web Form" wizard using the "Select Master Page" option... I checked in ItemOperations and in ProjectItems, but didn't find anything. Hi Renaud, The best way to do this would be to use the VSWebSite.AddFromTemplate function. From a simple VB based addin, I was able to add a new .master page with a VB codebehind file using t ...Show All
Windows Forms Designer property of form
I'm sure this is blindingly obvious.. I want to add some designer properties to a winform - so to test the concept I added a public string property to the form code, and decorated it with [BrowsableAttribute(true)] - but it does not show ...Show All
Visual Basic Full screen form?
VB 2005 Express: In designing a form, I know how to make the form fill the screen when it runs, but is there a simple way to make it fill the screen (maximize) while designing it Sorry, I have very limited experience with VBE. Thanks! That helps a lot. At least I can play with most of the screen space now. ...Show All
SQL Server Error exporting a subreport to Excel!?
Hi All, I have a report sonsisting of two subreports. When I export it to Excel I get an Error!! I played around with it and I found out that if I use ReportItems in my page header it will cause this error! Does anyone have any idea why Is this a bug or there is some work around it! Thanks. In my situation there is no table! Just a simple sub-report. Anyhow, I ended up removing the header and any reference to the ReportItems from my report ...Show All
SQL Server DTS in a stored procedure
Hi, I am kind of a beginer to sql so any input is appreciated. I am trying to create a store procedure that will execute a DTS package, which will use as a parameter the DTS's input source file (always an excel file). Can anyone help me pls. Thank you for your time. Sincerely, Execute a package from T-SQL ( http://www.sqldts.com/default.aspx 210 ) ...Show All
Visual C# Help with generics
<Edited to make more sense> I want to call a static method from my class as follows: EntityViewFilter.ApplyFilterWith<FilterA>(tree, FilterAction.Exclude); Notice that 'FilterA' is being passed in as a generic type, and could just as easily be FilterB, FilterC, etc. Assume that FilterA (along with FilterB, FilterC, etc) inherits a base class, called BaseFilter: public class BaseFilter { abstract p ...Show All
Visual Studio 2008 (Pre-release) Sendkey in WPF
How to simulate a keystroke by code in WPF I don’t want to use win32 SendInput . I don’t need a Inter process message. I only need to send a key to the control who has the focus in the visual tree Thanks. ...Show All
Smart Device Development ListBox multi selection - Why is it missing from the CF?
I have an application that I've ported over from embedded VB to VB.NET under the compact framework and have discovered that I can no longer have a multiple selection listbox. Why was this functionality taken out Is there an equivalent functionality with some othe control I've looked at the ListView but it just doesn't deliver the same simplicity as a multi selection listbox. One way to get ...Show All
Visual Studio 2008 (Pre-release) XLinQ: XName Assist
Is there any support in the IDE that would allow for intellisense on strings I would like to be writing along... XElement data = new XElement ( "{ and then intellisense pops up with my commenly used namespaces, or namespaces to schemas I have loaded with this particular solution. Is this possible daveremy wrote: We are very wary about getting on the slippe ...Show All
Software Development for Windows Vista Tracking removed Workflows (Beta 2)
How can I track/monitor all the workflows that are persisted, even the ones that were removed This is what is hapening to me: I'm trying to run de workflow monitor sample to monitor all the workflows. But on that project I have no reference to the workflow assemblies. When I use the method GetWorkflows() from the SqlTrackingQuery, it throws an exception (FileNotFound) because it does not found the assembly of one of the workflows, the one ...Show All
.NET Development AddressOf pointing to dynamic function?
I need to be able to call a function that will allow me to get the AddressOf to point to whatever function. If you can understand that, because I have no idea what I'm talking about, just want I want it to do. =) (this is a WHOLE new world ) Screen Shot: http://users.adelphia.net/~micromause/vbnet.png Thanks =) Mattias Sjogren wrote: Do you have to pass in the method name to Member_LoginBox ...Show All
Visual C++ Problem to use draw functions with Visual Studio 2005
Hi everyone, I use Visual Studio 2005 c++ and i want to draw graphics. I see that there are some library given on the web. The project that i use is that : MFC Application , Application type : Dialog Based But i have a problem. With this type of project i have just acces to IDC_STATIC picture control, and i dont have acces to IDC_DRAW_CONTROL . Do you know what is the solution to have acces to this IDC necessary to use ...Show All
Software Development for Windows Vista XOML only State Workflows with output parameters from internal Activity
Tom, I have created a custom activity that returns a dataset. My XOML only State Workflow uses this activity and needs to retrieve the dataset returned by this activity. How do you bind the output dataset parameter from the custom activity used inside the XOML only State workflow Can you modify your XOML only example to get an output parameter from a custom activity that returns a dataset I look forward to hearing from you soon. ...Show All
Windows Forms Update redistributable components in prerequisits
I'm looking for a way to update the redistributable components in VS2005. The prerequisits dialog has a link one can click to "Check Microsoft Update for more redistributable components". However if I click this link I end up on a marketing website http://msdn.microsoft.com/vstudio/default.aspx I don't mind jokes, however not within Visual Studio, neither is this website "Microsoft Update" nor is this marketing blabla h ...Show All
Visual Studio Team System Connecting to Team foundation server
I have installed Windows 2003 Server Windows Share Point Services 2.0 with service pack 2 SQL standard Server 2005 Visual Studion 2005 Developer Edition Team Foundation Server Beta 3 Refresh First time I have created a Team Project of Agil type and all things working fine. I add a Item also. on next day when I start my server and want to connect to Team Foundation Server through Team Explorer. It gives me error The reques ...Show All
