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

Software Development Network >> Visual Studio

Visual Studio

New Question

Pass parameters from page link to report
Windows installer problems
Derive from Microsoft.VisualStudio.Package.EditorFactory
Still in need for help...
Undo disabled when Protection is turned on even if change was made to an editable range
How to access "Compress Images" function with VSTO
Receive timeout
Can´t debug managed dll called form unmanaged exe.
SubReports Error
Why I sometimes lost CommandBarButtonEvents

Top Answerers

Helen999888
JoneLee
bessermt
smartpi
HappyZimmer
Scott Lezberg
cmwith
aquaseal
Matt_
Speakafreaka
sitemap
Only Title

Answer Questions

  • Yitzhak "OR" in separate calls to Where

    I'm trying to do the equivalent of this in LINQ: StringBuilder q = new StringBuilder("SELECT * FROM customer WHERE city = 'New York'"); if (westCoast) q.Append(" OR city = 'Los Angeles'"); Here's what I have so far: var q = dc.Customer.Where(c => c.City == "New York"); if (westCoast) q.Where(c => c.City == "Los Angeles"); But I end up with "WHERE city = 'New York' AND city = 'Los Angeles'"; How do I tell it to use OR instead, when separate calls to Where are made Thanks!   super_bly wrote: I'm trying to do the equivalent of this in LINQ: StringBuilder q = new StringBuilder("SELECT * FROM customer WHERE city = 'New York'") ...Show All

  • ak8888 Transperent Windows Forms controls WindowsFormsHost

    Hello all I have a TabControl With no tab Items. I am adding TabItems via code, each TabItem contains a WindowsforsHost which contains a UserControl. When clicking the add button in the application, I can see the Tab Text but the content appear transperent and I cannot see the controls. in some occassions userControl.Dock.Fill helps but not in all cases. TabItem tabItem = null ; if (!createIfExists && _tabItems.ContainsKey(key)) { tabItem = _tabItems[key] as TabItem ; } else { tabItem = new TabItem (); tabItem.Header = text; tabItem.Tag = key; tabItem.Background = Brushes .Brown; WindowsFormsHost host = new WindowsFormsHost (); //containedControl.Dock = System.W ...Show All

  • 黃泓量 Jeremy Wong Soap Header in WCF

    How to use Soap Headers in WCF The samples using MessageContractAttribute doesn't help to solve this. Thanks, Sangeetha Here's a sample of the second method inside a Client MessageInspector. http://wcf.netfx3.com/files/folders/message_inspection/entry3783.aspx Thanks! S Hi Scoot, I like the idea but it throws error when I try to run that sample. "Cross-thread operation not valid: Control 'txtRequest' accessed from a thread other than the thread it was created on." Regards, JDang Two main ways. Contractually specified headers are done using the MessageHeaderAttribute for a MessageContractAttribute-created servic ...Show All

  • Pradeep Gupta Can't assign MenuItem's icon property using setter. Get Error!

    Can someone tell me why this doesn't work <MenuItem.ItemContainerStyle> <Style TargetType="{x:Type MenuItem}"> <Setter Property="Header" Value="{Binding XPath=@Title }" /> <Setter Property="Icon"> <Setter.Value> <Image Source="{Binding XPath=@IconSrc}"/ > </Setter.Value> </Setter> </Style> </MenuItem.ItemContainerStyle> I get the following error... {System.Windows.Markup.XamlParseException: Cannot add content of type 'System.Windows.Controls.Image' to an object of type 'System.Object'. Error at object 'System.Windows.Controls.Image' in markup file 'M ...Show All

  • Will Durning Microsoft.office.interop.word Option button

    Hi all, i have a word document containing option button i am populating bookmarks with my c# code. i need to set the option button through my code and i am unable to do this with word interop. how could i access the option button in word document with c# using word interop. i am not using VSTO user controls. any help in this regard will be appreciated. Thanx in advance. Hi Saud questions concerning Office automation outside of VSTO should be directed to the office.automation newsgroup http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.automation&lang=en&cr=US When you post there, please specify where this Options button has come from. Is it from the Con ...Show All

  • Sarah Cartwright How to pre-fetching object graphs using VB Syntax?

    I see posts and other examples in C# for pre-fectching object graphs. I do not see any VB examples. Can someone let me know how to pre-fetch using VB 9.0 C# syntax - e.g. var q = (for c in db.Customers where c.City = "London" select c).Including(c => c.Orders) What is the VB 9.0 equivalent The May 2006 version of VB does not have lambda support so this functionality is not expressible in VB at present. The VB team is considering various options for such functionality. Thanks. Dinesh ...Show All

  • Stefan Wachter 'CrystalDecisions.Enterprise.Framework' could not be found....

    The referenced component 'CrystalDecisions.Enterprise.Framework' could not be found. I'm working in the VB.net 2005 & I got this error in the refernces..... BN25, Did you solve your error: The referenced component 'CrystalDecisions.Enterprise.Framework' could not be found... The referenced component 'CrystalDecisions.Enterprise.InfoStore' could not be found... I have the same thing, Craig Kelly-Soens http://www.SalonSoftwareSystem.com EDIT: This solved it for me in our .net 2.0 converted from .net 1.1 salon software! // crReportDocument.Load(tbReportIn.Text, CrystalDecisions.Shared.OpenReportMethod.OpenReportByDefault); crReportDocument.Load(tbReportIn.T ...Show All

  • Carbond Question on the Media Center Animation

    I have been messing around trying to achieve a certain animation on the Media Center 2005...I have been able to get most of the Animations but only one i haven't figured out,i dont think it can be accomplished just with the Timeline using the transform... When you first roll the mouse over a button the additional options slide out to the right ( I have this animation already), the one i'm trying to nail. Is when you roll the mouse over the Options on the right side,the Buttons on the Left DropBack into the screen ... I know by setting the Position to the Left side of an Object it will Pivot at that Point,now its just getting Right Side of the Object to DropBack into the screen.. The same effect is in Vista when you can press the ...Show All

  • praveench2k Abstract classes in minimal language

    Hi all! I'm trying to create a model that contains an abstract class using the minimal language template. It should look something like this (asci uml :)) SuperField | Field I guess that this is not possible to do via the Property pane but requires "manual" alteration of the code but could someone please guide me a bit in on how to do this :) Thanks in advance, Diego Ups, I could not see the forest for all the trees. I found out that it is actually possible to make an abstract class via the property pane. For those of you who do not already know the variable to set is called "InheritanceModifier". Regards, Diego ...Show All

  • i7hira7 Visual Basic 2005 Problem

    Hi i am trying to trying to delete a reocrd from a Microsoft Access Database in Visual Basic 2005 Express Edition, but come up with this error with the following code. I'm new to vb 2005 and I'm no expert. Appreciate any help given. ----------------- InvalidCastException was unhandled Unable to cast COM object of type 'System.__ComObject' to class type 'System.Windows.Forms.TextBox'. Instances of types that represent COM components cannot be cast to types that do not represent COM components; however they can be cast to interfaces as long as the underlying COM component supports QueryInterface calls for the IID of the interface Dim db1 As Connection Dim rs As Recordset db1 = New ADODB.Connection db1.Provider = "Mircosof ...Show All

  • Sankar Anand ReportViewer

    (Using VS2005 C#) -I have created a report using ReportViewer -Not connected to a datasource How do I assign values to the fields on the report.rdlc Right now I am just testing to see how I can assign values to the fields on the report at run time, no luck as of yet. Any suggestions how to access the field names in the coding form I have tried accesing the fields through reportViewer1.LocalReport()             PLEASE help, I'm not sure how to do this at all...!  Thank you Kt My new book has a (long) chapter on the ReportViewer that detail how to handle report and query parameters. There are also several articles in SQL Server magaz ...Show All

  • Bertrand Caillet How can a programmer call .chm help files from within VB

      This is a serious problem for Vista. I can call the help exe hh.exe from VB5 in XP to run my .chm help file but apearantly this is not allowed by Vista. I tried calling HelpPane.exe and passing it the .chm but to no avail. The problem seems to be that Vista will not allow a program to call any other program. Any ideas would be appreciated! Thanks, Sam Thanks for the reply. I was using shell(helpfile$, 0) and AppActivate(). This worked fine in XP. I changed to HtmlHelp(hwnd, HelpFile$, HH_Display_Topic, 0) and everything now works fine in Vista. Very Happy! Thanks Again! Hello Sam, HelpPane.exe isn't for public use at this stage and only ...Show All

  • Duncan Woods Solution and Solution Configuration missing

    Something's happened to Visual Studio which is causing the Solution Configuration dropdown to disappear from new Web Application projects. It's also causing the "root" (ie the Solution) to disappear from the Solution Explorer, too. New Web Sites are fine, and older Web Application projects still have the Solution Config in them, but any new Web Applications don't work. I've tried repairing Visual Studio with no joy. I can't say for sure what has caused this- it's taken me a while to even notice, to be honest! One thing that might be the cause: I installed the Atlas library into VS about three weeks ago... Might that have changed some settings or corrupted something somewhere That sort ...Show All

  • Scott Munro Word.ControlCollection in an ActionPane

    Hi, I'm trying to develop an Action Pane with a button, this button should create an object like a Textbox in the Application.ActiveDocument. I found in msdn some information about the class Word.ControllCollection that should be right for me (I Hope ). But when I use the method AddTextBox it crash. I supposed that it happens because I'm running it in the ActionPane class. Is it right Is there any workaround Thanks a lot. Sorry, I forgot.... Develop Environment VStudio 2005 Language VB VSTO Version 2005 Great, It works fine!! Thanks for all Without seeing the code, its hard to determine what the problem is. I have an example of doi ...Show All

  • ziffy_amit Using AxSpreadsheet

    I have managed to add MS Office Spreadsheet 9.0 to the toolbox and added the spreadsheet to a form but I don't know how to dimension (Dim statement in VB) the various components required to program the contents and formats of the cells and ranges etc within the spreadsheet. Hi Matt, It sounds like you're using a separate control, not VSTO, to do .NET code behind Excel. If this is correct, for Excel Object Model questions, you will have better luck posting your question to the Excel programming group, here: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.excel.programming&lang=en&cr=US Best Regards, Rufus Hi Matt You're getting a typical "no ...Show All

92939495969798990123456789

©2008 Software Development Network

powered by phorum