Dharan Prakash's Q&A profile
Visual Studio Tools for Office VSTO Outlook Add-in Debug errors even for simple HelloWorld add-in
I am trying to learn about VSTO Outlook development and I've tried several Outlook add-in samples online. I'm getting all kinds of weird behavior when I try to debug even a simple HelloWorld add-in. public class ThisApplication Private Sub ThisApplication_Startup( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Startup MsgBox( "Hello World" ) End Sub Private Sub ThisApplication_Shutdown( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Shutdown End Sub End class Sometimes I get the following in a Microsoft Visual Studio message box: "Unable to start debugging. Check for one of the following. The application you ...Show All
SQL Server SSIS and sql server2000
Hi, Is it possible to use ssis for the etl processes and still have an existing 2000 db For e.g. CanI create a ssis pkg and use the xml task to download data to a 2000 db. ok, now I'm going to have space issues on the server. Is it possible for me to set up ssis locally to create the packages and then install SSMS on the server to create jobs from a .dtsx file. Would this work I'm triing my hardest not to go back to dts. ...Show All
Visual C++ Reverse Engineering c++ code to Visio UML
Hi, I'm trying to reverse engineering my code written in MS VS 2003 in order to create a Visio UML diagram. Unfortunately not all the classes are extracted and the few classes that have been extracted doesn't have all the features. Is it possible to fix this problem or should I draw the UML diagram by hand Cheers Donatella Hello Which version of VS 2005 are you using Thanks Damien ...Show All
Windows Live Developer Forums When are the values (in the reports for instance) considered as stable?
Hi, I was wondering whether there is a delay that I have to take into consideration when I download report from the API to be sure that the values I download are stable. What I mean is: does the msn staff go through the values (clicks for instance) to adjust them (false clicks to be removed...) which can make a report downloaded at 8:00 different from the same report downloaded at 8:30 (if my account is checked during this half hour by the staff) Thanks. That used to be the case, but now the reports are stable once ready. Make sure to specify the AllOrNone flag in order to get the full report (and not partial updates)... HTH, Shai ...Show All
.NET Development help needed in image processing
hi, I like to know, is it possible to do image processing (brightness, contrast, saturation,hue, sharpness ) in C# only using the avaible built in fuctions.. we should not use unsafe code and pixel operation.. If so, can you please tell me the classes and methods. thanks in advance. by, Singam Hi Singam take a look at this article . It's probably giving you more than you're after, but it's certainly worth a look. Andrej ...Show All
Visual Studio Express Editions how can i add gradient color to a usercontrol and or panel backcolor from my.settings
Hi i'm new to programing. I would like to know how i can add gradient colors to a usercontrol and on a panel. i woul like to select the colors from the my.settings.topcolor and mysetings.bottomcolor. ahmedilyas helped me to set the forms back gradient color. how can i set the back color on a panel and usercontrol. see sample code below for the form gradient background color. i would like to instead of specifying the colors blue and white i would select them from the my.setting Protected overrides sub OnPaint(ByVal e as PaintEventArgs) Dim theBackground as System.Drawing.Drawing2D.LinearGradientBrush theBackground = new System.Drawing.Drawing2D.LinearGradientBrush(new Point(0, 0), new point(0, ClientSize.Height ...Show All
SQL Server Delete records every day
Hi! New on this Is there a way on a sql sever where i can delete som records one time every day like if a field in my table is < getdate() Alvin Hi Alvin, You can schedule the stored procedure to run as required via creating a job (and step) in SQL Server agent. Cheers, Rob ...Show All
Windows Forms Is there an option to make a big exe file that contain my program and all the things from the frameworks the my program need?
When I write program in VB express the .exe file is lean on the frameworks and when I want to run my program in other computer sometimes I need to downloads the frameworks. So I want to know if there an option to make a .exe file that contain all the things that my program need to run on any computer and if it can't done in VB express maybe it can done in VB pro Best Regards, Yaniv It is possible to publish your application via ClickOnce from VB Express. ClickOnce publishing will create a bootstrapper setup.exe which will be capable of installing the .NET Framework if necessary. There are probably tons of examples on this on MSDN, but here is one that may be helpful: http://msdn.micr ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Getting XNA apps to run on non-development machines
This seems to be a common problem, but I've yet to find a real solution. The only thing I've found that works so far is to include a bunch of dlls with XNA applications. What does not work, however, is satisfying the posted requirements: .NET Framework 2.0 XNA Framework DirectX 9.0c (latest update) When a machine satisfies the above requirements, it still cannot run XNA applications (dies when initializing the graphics device). However, any machine with the XNA SDK has no trouble doing so. It's not reasonable to ask people to install C# Express and the XNA SDK (~120MB total) just so they can play my XNA arcade games. Has anyone found a better solution so far XNA is not officially supported on Vista curren ...Show All
Visual Studio Team System Why is TFS not available to Empower Program subscriptions?
My beef is that TFS isn't available to anyone with an Empower Program subscription (except in prohibitively expensive editions). The TFS Workgroup Edition comes for free with Team Edition MSDN subscriptions, but it can't be bought separately. If it could, I would have bought it by now. To me, this makes very little sense. Source control/configuration management is very much a grassroots sell (i.e. it's a decision effectively made by programmers rather than by 'bigwigs'), and making TFS widely unavailable means far fewer people able to sing its praises to their peers. I work with several configuration management tools, and I'm able to engage in intelligent discussions with clients about CVS, per:Force, even good old SourceSafe, but ...Show All
Visual Studio Team System Moving Workspace in Team Foundation ( Web Site Project )
I am struggling to solve the following problem with no success yet. I had 1 VSTF Solution file + 1 Web Site Project + 1 DLL Project + ... I moved files and directories between projects. [Checked in] --> Worked fine I removed all local files from C: and removed workspace reference from VSTF IDE. ( Completely cleared up) I re-created workspace in disk D: and retreived all project files from VSTF. Then I was getting some of the warnings like "Some of the properties associated with the solution could not be read." But bad enough, original web site project became a goner from solution explore and a bogus empty web project popped up ! ( "MyWebSite" --> "MyWebSite_1&qu ...Show All
Windows Forms Disable horizontal scrollbar in listview control
I want to always disable the horizontal scrollbar in the listview control. I think I will have to do this with a windows api call but I'm unclear as to the actual call. Any help Thanks, Rick I remember I once responded to a thread with the exact same question. I think the solution was to change the ListView View property to LargeIcon - this would prevent the horizontal scroll bar from appearing. I also tried using API call's to hide the scrollbar when it was on a different View property but that did not seem to work. does this help you at all ...Show All
Visual Basic How can I use mp3 files play pause and stop and seek media?
I know the My .Computer.Audio.Play function. As far as I know you can only play and stop. I want to be abel to seek audio pause stop and play mp3 files. I have the direct x sdk that says how but , I want somthing easyer that dose not require a sdk. there isnt another way in that case im afraid, unless you use some other 3rd party component. to get the functionality you want you need to use some SDK/API to seek to the position you want. Either use WMP COM Component or DirectX ...Show All
Visual C# Properties.Settings; ArrayList and a custom object
Hello, I am writing a Windows Forms application using .NET Framework 2.0 and Visual Studio 2005. I would like to use Properties.Settings class to persist a collection of custom objects, so I can created a property called Connections of type System.Collections.ArrayList using the Properties designer in VS. At run-time I populate an arraylist with instances of my class and then I set the Connections property to this arraylist. Then, I execute the Save command on the Settings.Default. The Save command does not generate an error, but no settings are persisted either. Do I need to do something special with ArrayList and my class (serialization, perhaps) in order for settings to be persisted correctly Many thanks for your help! ...Show All
Software Development for Windows Vista ocx registration on Vista RC2
This may have been addressed else where but the related links does not appear to show anything similar. Ok - I have developing an MFC VS Pro 2005 application which has an inhouse ocx component. On Vista this component fails to register so as a test case I created a "vanilla" ocx using the wizard, only changing the control name. I copied the ocx to a directory on the Vista machine then tried to use RegSvr32 to register the control. Again - failure with error 0x80040200. As this is a "vanilla" block of code I thought it worth raising here. Question 1) Is this a fault in Vista 2) Can I register existing ocx controls, this is relevant as one of my products with this problem was published earlier this year 3) ...Show All
