Software Development Network Logo
  • Visual Basic
  • Visual C#
  • .NET Development
  • Game Technologies
  • Visual Studio
  • Audio and Video
  • Microsoft ISV
  • Visual FoxPro
  • Smart Devicet
  • VS Team System
  • Windows Vista
  • Visual C++
  • SQL Server
  • Windows Forms
  • SharePoint Products

Software Development Network >> Visual Studio

Visual Studio

New Question

Raising an event when a Storyboard hits a certain time value
Sizing content to Parent StackPanel
Creating a Message from scratch
Reverting back to another version of a project
Breakpoint Unconditionally Skipped!
Behavior of a MenuStrip inside the Actions Pane
modifying parameters for crystal reports
Accessing IVsTextLayers?
How to Create events in Vb.net or VC++.
Question: VSTO2005 + ASP.NET + Excel XP

Top Answerers

Shady-Potter
WalangAlam
RussP
qrli
Luke R
Mike!
Jassim Rahma
foxystar
koder monkey
JohnPrem
sitemap
Only Title

Answer Questions

  • Jakein2006 VSTO Addin unload?

    Hi, I have developed vsto addin that has a button on toolbar and custom menu options at context menu. The problem I have is periodically main button stops working (when you click on it nothing happens) custom menu options doesn't show at all (I'm using CommandBars_OnUpdate event to insert my menu options) it looks like Outlook unload my addin or addin does not receive any events from Outlook. When you close/open Outlook addin starts working again. Has anyone noticed same behavior with Outlook especially when you run Outlook for a long time 2-3 days Thanks Initially i was declaring buttons inside method and found out they stops working after couple of minutes, then i declared them as cl ...Show All

  • Geokri Group by 2 Columns

    Is there a short way to group a queryable by 2 Columns For example : var Arsiv = from ec in lbDB.Entries , group ec by ec.EntryDate.Year, ec.EntryDate.Month select new {Month=g.Month,EntryCount=g.Count}; This is not a valid query i think. How should i write this query I want to Select months and entryCounts by months. (think of a blog archive menu) I found the answer in previous posts Like this : -------------- Yes, you can use an anonymous object initializer to create a multi-field key:     from c in db.Customers     group c by new { c.Country, c.City } into g     select new { g.Key.Country, g.Key.City, Count = g.Count() }; ...Show All

  • Donaghy XBAP and browser cookies (not working)

    When an XBAP application calls Application.GetCookies(), it throws an exception (due to no cookies). The browser window hosting the XBAP application does have cookies for the site. This is CRITICAL in developing an XBAP application that interacts with a web server - the forms authentication and session cookies need to be maintained between the initial browser request and the XBAP application that it is hosting. How can I get the XBAP and browser to use the same cookies Is your XBAP deployed as a top-level app or within an IFRAME Currently there is no support for (even first-party) XBAPs within IFRAME accessing or persisting cookies. However, if your XBAP is accessed as top-level content in the browser (i ...Show All

  • Davids Learning Adding Web Reference in VS 2005 to WCF Service

    Hello, As I’ve found out yesterday, it’s important to create a proxy class for ‘WCF web service’ using svcutil.exe even though it uses 'basicHttpBinding'. If one does it through VS2005's 'add web service' routine, the created proxy allows passing string fields only. All value types doesn't go through. I mean the proxy class looks correct with all fields having correct types. But when I attach the debugger to the WS I see default values only for types like int, short, DateTime etc. Am I doing something wrong nefis Please see my blog post at http://blogs.msdn.com/eugeneos/archive/2007/02/05/solving-the-disappearing-data-issue-when-using-add-web-reference-or-wsdl-exe-with-wcf-services. ...Show All

  • mattdawg newbie question!

    hi im new to J# im using windows application and i couldnt find a way to call a form from another form how can i do that i was using it with vb.net like this form2.show() but the same code doesnt work at J# please i need your help thank u Jaiprakash Sharma i have learnt how to do by the help of yours so we have to make a sample of form,before calling thank u again Hi, In my form1 i have a button. Event handler of the button has following code. private void button1_Click( Object sender, System . EventArgs e) { Form2 frm2 = new Form2 (); frm2.Show(); } On clicking the button, form2 is properly shown for me. Thanks. ...Show All

  • Maartin Setting Window.Icon to Vista 256x256 PNG icon causes a FileFormatException

    If I set the Icon property to a Vista icon, I get a FileFormatException stating that the image format is unrecognized. If I try the same thing with an old Windows XP icon (without PNG compressed images) it works correctly. I simply cannot believe that WPF doesn't support Vista icons. Asbjorn Can you email me the PNG file When you save the icon file with a 256x256x32 size picture without PNG-compressing the picture, WPF seems to be able to cope with it. For example in Axialis Icon Studio you can rightclick the icon and disable the PNG-compression. I reckon there are other tools to do the same thing out there somewhere. Any ideas ...Show All

  • Derek Dowle VSTO v3 CTP

    Hi I'm Mr Grumpy this morning especially since I just started upgrading my dev environment to look at the latest WinFX CTP. Looking at the latest VSTO v3 download page it seems that all is in vain since one has to install the Feb version of WinFX which I had to uninstall to use the July WinFX CTP (you see where this is going right ) So... down to the question and don't worry, I suffer from chronic bouts of foot-in-mouth, is there ANY way that between your teams you can co-ordinate a little better. Perhaps delegating a liason guy that sits with someone briefing from the WinFX and/or other guys on a Friday exchanging issues - yes the old fashioned way - for feedback to the VSTO guys on a Monday, perhaps in report / memo / advisory / ...Show All

  • Duke of URL Not sure why this does not work

    I am somewhat new to WCF so please bear with me. Using the July CTP (i have downloaded the RC but not installed it yet), I built a service but did not get it to work the way i would have expected. I am sure i am missing something so any insight as to the "proper" way to do it would be greatly appreciated. I started by creating a ASP.NET Web service project and deleting the unnecessary files. I then added a class, added the appropriate references and added the necessary code to teh class and web.config. I then manually created a IIS Virtual directory and published the WCF service to that directory. Using IE, i hit the service which gave me the "you have created a service" page in order to test my service. I then us ...Show All

  • PabloWablo Readonly compartment

    Hi, Did anyone already find how to make a compartment in a compartment shape readonly (The compartment contains items added by an addrule when the compartment shape is added to the designer). What I mean is to hide the 'Add new xxx' menu command. I found overrides for the delete command but not for the add command. Regards, W. Hi Edward, Many thanks for your feedback. Before I start removing things I'd like to know what their purpose is. Element merge directives still represent a black spot in my knowledge. I have no clue what they are used for. So if you have more info on this (help file is a bit vague ;)) or can provide me with a pointer I would appreciate it. Kind regards, W. Jansoone Hi, You can remo ...Show All

  • Mehmet Metin Altuntas Can I edit localy and upload changed version when doing check in

    I don't know if SourceSafe can do this, but how can I create a SourceSafe project that targets a project (web or win forms) stored on a server, so when the developer will be working on this project, he will get the latest version (download files to his computer), check out some files to block update on the server files that he is making changes, compile and run locally, and after testing he will check in and automatically upload files back to the server. Can SourceSafe or any source control software do this If no, what is the best way to work on a team environment where a project is stored on a server and everybody needs to have the working builds and debug from its own machine without compiling code that is still in development by othe ...Show All

  • Ather. Hiding a window triggering the Closing event?

    Hi all, maybe i'm a novice to WPF but, is there a way to hide a window during the closing event or better, is there a way to disable\hide the closebutton of a window object Using the following code I get this error: Cannot set Visibility or call Show, ShowDialog, Close, or Hide while window is closing. private void SearchForm_Closing( object sender, CancelEventArgs args) { Save(); // Doing something Hide(); // Trying to hide args.Cancel = true ; } Thanks thanks Eddie, your workaround is exactly what i was looking for. I am becoming very familiar with that "hacky and just plain wrong" feeling! Thanks for your reply, unfortunately n ...Show All

  • e.henriquez Opening OutLook problem

    Dear All, I'm trying to open outlook 2003 via my application in C# in VS2005. I just copied the sample from this link http://support.microsoft.com/default.aspx id=819398 and tried to run the application but I got following exception in this line: //Automate the Outlook mail item. Outlook. MailItemClass mItem = (Outlook. MailItemClass )doc.MailEnvelope.Item; Additional information: Unable to cast COM object of type 'System.__ComObject' to class type 'Microsoft.Office.Interop.Outlook.MailItemClass'. COM components that enter the CLR and do not support IProvideClassInfo or that do not have any interop assembly registered will be wrapped in the __ComObject type. Instances of this type cannot be cast to any other class; however ...Show All

  • s o CommandBarButton Selected?

    How do I determine wheteher a button in the standard toolbar is selected. I need to now whether the "Email" button is selected in the standard toolbar. Is this a VSTO solution If it is, you need to tell us more about what you're trying to do, including which application you're working with. If not, you're asking in the wrong group and should consult the "Please Read First" message at the top of this forum for appropriate places to ask. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=174275&SiteID=1 When you ask in another group, be sure to specify which version of Office which programming language Hi Cindy I can understand that my basic question mi ...Show All

  • penninha Where is WPF Version of SendKeys?

    Hi, I would like to do some keyboard simulation and found the once handy class 'SendKeys'is missing in dotnet 3.0. If I manually refrence 2.0 version of System.Windows.Forms assembly and use it anyway, I get some crash. Any idea WPF does not have a class equivalent to SendKeys. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=313257&SiteID=1 ...Show All

  • Ronghwa How to transfer a string to double such as "12.6533" to 12.6533 in javascript?

    How to transfer a string to double such as "12.6533" to 12.6533 in javascript Try parseFloat(" 12.6533 "); it even works on obscure strings like: parseFloat("12.4 px") -> 12.4 Javascript is not Java, it's a different thing. In .NET you have JScript compiler (ECMAScript standardized [by ECMA] version of JavaScript) and J# compiler (for Java) I suppose in JScript you can directly assign a string to a double or do a cast maybe d=(double)s; ...Show All

626364656667686970717273747576777879

©2008 Software Development Network

powered by phorum