Brent Mills's Q&A profile
Visual Studio Tools for Office Macro to delete Email
Anyone ever created a Macro to delete e-mail from Outlook 2007, if so can someone send me a link or some insight on how to get this done ! ! If you're not working with VSTO (and based on your use of the term "macro" I'm guessing you're not) you should ask this question in the OUTLOOK programming newsgroup: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.outlook.vba&lang=en&cr=US ...Show All
Visual Studio Tools for Office Get error on dropdown action for ribbon UI, "Callback signature mismatch" !
Hi I have an Excel 2007 plugin with new ribbon interface. I have defined ribbon xml file like this: < tabs > < tab id = " TabDBOperations " label = " DBOpreations " > < group id = " grpAlmexa " label = " Operations " > < dropDown id = " ddDatabase " label = "Database " showLabel = " true " onAction = " cmdSeConn " > < item id = " Cars " label = "Cars " screentip = " 192.168.1.11 " /> < item id = "Buildings " label = "Buildings " screentip = " 192.168.1.11 " /> < item id ="Tests " label = " Tests " scr ...Show All
Visual Studio Which APIs should be used with VSTS to do web test automation ?
Hi, IWhich APIs will be useful for web test automation using VSTS Please write if there is some useful document for using VSTS for webtest automation. Regards, tambe Hi tambe, Please try the VS extensibility forum at: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=57&SiteID=1 which is more focused on the type of question you're asking. thanks, -Victor. ...Show All
SQL Server Program icons in "Start menu"
Hello, I’ve made a mistake on my part. I have deleted my complete program icons for "Microsoft SQL Server" in my start menu. Is there a simple way to just renew all the icons in my start menu without reinstalling the complete sql server. Thank you very much for any tips. Hi, do you have a colleague with SQL Server installed You might copy his structure of the SQL Server start menu over to your machine and check if the pathes of the links are correct. Otherwise you will have to browse the Microsoft SQL Server directory for the executables and create short cuts in the start menu manually. You might also try if a repair of your installation brings the icons back. -- SvenC ...Show All
Windows Forms Use which platform to develop GUI?
My only experience with programming is using C++ and I learn a bit of MFC previously. I'm supposed to develop a powerful GUI, but with so many options available, I'm confused which platform I should use, MFC C# Basic Any advice is greatly appreciated. Learning a new GUI and writing a "powerful GUI" in one month is not feasible. Stay away from beta software like WPF. Use what you already know to have any chance of meeting the deadline. Sounds like MFC is the way to go. ...Show All
Visual Studio Tools for Office When will the VSTO support create managed code solutions for word2007?
I have a workflow project required to open the word2007 document and approve / reject within the word2007 document. So, when will the vsto support create managed code solutions for word2007 Hi Alvin You can currently create a VSTO document-level solution for Word 2003, then use it in Word 2007. "Native" Word 2007 document-level solutions won't be available until Orcas (the next version of Visual Studio) is released. There is currently no projected release date... One would hope, it would be during the current year. ...Show All
SQL Server Management Studio connection
I receive the falling error when trying to connect to Reporting Server through SQL server management studio. I can connect to the reporting serve and run reports through http://localhost/reportserver with no problem. Error: Program Location: at Microsoft.SqlServer.ReportingServices2005.RSConnection.MissingEndpointException.ThrowIfEndpointMissing(WebException e) at Microsoft.SqlServer.ReportingServices2005.RSConnection.ValidateConnection() at Microsoft.SqlServer.Management.UI.RSClient.RSClientConnection.CreateConnection(String connectionString) at Microsoft.SqlServer.Management.UI.RSClient.RSConnectionInfo.CreateConnectionObject() at Microsoft.SqlServer.Management.UI.RSClient.RSConnectionInfo.RSTypeImpl.GetConnectionObject( ...Show All
SQL Server Search for data inside a Recordset Destination
Hi there, I need to develop a module and wondering what would be the best implementation... I get a list of files from a text file and store it in a Recordset Destination (object variable "CUST_INV_LIST"). I need to check that all the files in a directory are in the list. I can loop through the files in the directory using a ForEach container, but how do I check if it is in the CUST_INV_LIST recordset I thought about using another ForEach container to loop through the recordset, check if the physical file is equal to that row, if so set a flag, ... but it's neither elegant nor effective. Another option would be to use a Script Task to search for the physical file name in the recordset. I tried with the Data.OleDb.O ...Show All
Windows Forms Late binding issue
Hello, I've got a tricky little problem. I have a 3 forms that are very similar and I want to check 10 textboxes to see if the numbers entered in them are out of bounds or not. Now, only one form can be visible at a time and I only want to check the visible one. The code tend to be quite long but I give a short example, here's some code: Private Sub D0Limits() If Form1.Visible Then If Convert.ToDouble(Form1.textbox1.Text) < incISOLow Then Form1.ListBox1.Items.Add( "Value too low" ) Form1.textbox1.BackColor = Color.Red ElseIf Convert.ToDouble(Form1.textbox1.Text) > incISOHigh Then Form1.ListBox1.Items.Add( "Value too high" ) Form1.textbox1.BackColor = Colo ...Show All
SQL Server Generating and Printing Reports
I've created a data flow where I have linked to an OLE DB Source then created a Flat File Destination. My file is now on my c: drive. I'd like to use that data to create a report, then print to a PDF. How would I do that Currently I was doing this in Access, but I am moving my processes to SSIS. I don't know what you mean by "put a report in the data flow" or "put it in a script task". Can you expand on that There is a way that you can consume a SSIS dataflow from within SSRS but that doesn't seem to be what you're after here. You seem to want to build a report on top of a text file (that just happens to have been created by SSIS). I'm sorry, I don't understand what it is you act ...Show All
Visual Studio Express Editions I have a Question
When I open a link in a new window on my web browser, It opens it up with Internet Explorer. How can I tell it to open up new windows with itself, and not internet explorer please edit your posts instead of making multiple replies - it helps other members. Just read the link I provided, I've given an example in there on how to create a desktop shortcut using the IWsh runtime component. The desktop shortcut would be made within the application itself, any where you like, however if you are talking about within the installer, then I don't know how you would do this in ClickOnce deployment or even if it is possible. You would have to refer to the docs in this case. ...Show All
Smart Device Development POCKET PC FIRST BUILD
i got my first smart device, pocket pc to load yesterday. all night and all day i tried to compile the basic windows file. i am completely lost on how to get it to compile. can someone help me here are the ouputs for the basic compile.... ------ Rebuild All started: Project: cccc, Configuration: Debug Windows Mobile 5.0 Pocket PC SDK (ARMV4I) ------ Deleting intermediate and output files for project 'cccc', configuration 'Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)' Compiling... stdafx.cpp C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\include\ARMV4I\winnt.h(51) : warning C4005: 'UNALIGNED' : macro redefinition C:\Program Files\Microsoft Visual Studio 8\VC\include\crtdefs.h(548) : see previo ...Show All
Visual Studio Express Editions 3 line text file to be put into 3 text boxes
Hi. Ive got a text file which has: Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 and 6 text boxes. How can i get my vb app to read the file and put each line into each textbox Thanks!!!! Just 1 more thing! how can i get my program to read the 1st line of my text file into a variable in simple terms: dim this as string this=system.io.file.get1stline("C:/this.txt") MsgBox (this) then remove that line Thanks! ...Show All
Windows Forms Custom Action not run during upgrade
I have an application that is installed using an MSI created from a VS2005 setup project. The setup project includes a custom action written in C# by extending the System.Configuration.Install.Installer class. There is a BeforeUninstall event handler that copies certain files to temporary folder and a Committed event handler that looks for these copies and restores them if so instructed. During a manual upgrade process (install V1.msi, uninstall via Add/Remove Programs, install V2.msi) everything works as expected. However, when trying to upgrade V1 by executing V2.msi without uninstalling V1 first, my custom actions are not run. I've changed the ProductCode between versions, while keeping the UpgradeCode the same and RemovePreviousVersio ...Show All
Windows Forms How do I set the location of a control loaded at runtime?
I've created a Button control that I want to locate on the bottom of the form. How can I use the form's size attributes so that no matter how the form size is changed, the button(s) will always be centered along the bottom of the form At this point, I'm dragging a button control from the tool box and positioning it on the form then, using the button's Location property to use in the code then deleting the button from the form. I can vaguely remember in VB 6.0 that you would use the form's ScaleWidth and ScaleHeight but these are not in C#. Needless to say, I'm kinda lost. Rhubarb I had the code in the Initialize method: public formWinFormCntls ( ) { InitializeComponent ( ); //* //* Butt ...Show All
