Skip to content

Visual Studio

Discussions on the Visual Studio .NET IDE

This category can be followed from the open social web via the handle visual-studio@forum.codeproject.com

3.1k Topics 7.8k Posts
  • BYTE ARRAY VALUE

    question c++ data-structures collaboration help
    6
    0 Votes
    6 Posts
    0 Views
    L
    anne_rose wrote: i know it was bad programming No problem, we all had to learn ... Veni, vidi, abiit domum
  • Visual studio 2010

    csharp visual-studio help question
    6
    0 Votes
    6 Posts
    0 Views
    L
    You can learn how to write Java programs from the Java Tutorials[^]. If you want to use a nice IDE to help generate parts of your code then try http://www.eclipse.org/[^] or https://netbeans.org/[^]. Veni, vidi, abiit domum
  • 0 Votes
    7 Posts
    0 Views
    F
    Richard, Some how this worked fine as replied by another member at stackoverflow: $DTE.Solution.AddFromFile('C:\Users\sv\Documents\Visual Studio 2010\Projects\ConsoleApplication1\ConsoleApplication2\ConsoleApplication2.csproj') In the mean time, I also discovered this as a working solution: $DTE.ExecuteCommand("File.AddExistingProject",'C:\Users\sv\Documents\Visual Studio 2010\Projects\ConsoleApplication1\ConsoleApplication2\ConsoleApplication2.csproj') So now both are working in similar way for me. Thanks a bunch for your efforts... ;)
  • Unable to run visual studio

    help csharp visual-studio
    9
    0 Votes
    9 Posts
    0 Views
    L
    Otekpo Emmanuel wrote: And the message it pops out is what I have explained to you in the previous post. Show the exact text of the message, we cannot guess what assemblies are missing. Veni, vidi, abiit domum
  • 0 Votes
    4 Posts
    0 Views
    M
    I am so sorry master, I will change that's scrip to be Visual basic studio 2010 scrip. How we can do it? .......please you can help me. thank you
  • 0 Votes
    2 Posts
    0 Views
    B
    I am afraid you have asked your question in the wrong forum. Please consider reposting this in the Q&A forums, C# category. Please be sure and tag your question with relevant tags, like: C#, WinForms, etc. And make clear in the question exactly what you mean by "add list:" obviously, you want a list to appear, but is this is just a static list the user can't interact with, or is this a list where clicking one, or more, items in the list "means" something ? ~ “This isn't right; this isn't even wrong." Wolfgang Pauli, commenting on a physics paper submitted for a journal
  • Comparing Rows of Two Data tables

    help tutorial
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    4 Posts
    0 Views
    C
    Symantec Endpoint 12 (no choice, can't disable it - it's a work PC) image processing toolkits | batch image processing
  • Code coverage: partially covered, but WHY?

    c++ csharp testing question
    5
    0 Votes
    5 Posts
    0 Views
    L
    Hao from MSFT wrote: Then, I guess there is no way we can get it fully covered without making it managed. Since when is reaching 100% coverage more important than functionality? If unmanaged code is dropped that easily, then I'm wondering about the argumentation on using unmanaged code in the first place. Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]
  • IUSR Account Between Win 2008 Machines

    sysadmin help question
    3
    0 Votes
    3 Posts
    0 Views
    L
    DSulli wrote: what permission do I use to get server A access to server B? Read-permission. Seriously, I'd recommend a webservice with authentication :) Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]
  • Conditional compilation of Resources (.RC)

    c++ csharp visual-studio wpf com
    10
    0 Votes
    10 Posts
    0 Views
    L
    JStrings wrote: it does NOT work with the project that I'm working ... the problem probably has to do with a) the size of the program; or b) the number of times the project has been imported In that case there is probably something (or things) in the project that requires correcting, before it causes more problems in the future. Use the best guess
  • 0 Votes
    6 Posts
    0 Views
    L
    Sorry, I misunderstood what you were asking for. The quickest way to fix this would be to uninstall all three products and then re-install Visual Studio on its own. There is no easy way to figure out what registry keys are causing the problem. Use the best guess
  • Cannot Install SSDTSetup

    visual-studio csharp database sql-server sysadmin
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • What is wrong in my code

    database help question
    6
    0 Votes
    6 Posts
    0 Views
    D
    Yeah, I think you're right. It seems that if they stumble upon something (stupid, simple) that works, that they think this must be the correct way to do it without understanding ANYTHING about what they're really doing and why. A guide to posting questions on CodeProject[^] Dave Kreskowiak
  • server side application

    csharp database visual-studio sysadmin
    3
    0 Votes
    3 Posts
    0 Views
    D
    Start by removing all references and code refering to Access and replace with SQL Server. A guide to posting questions on CodeProject[^] Dave Kreskowiak
  • compiler construction

    help tutorial question
    4
    0 Votes
    4 Posts
    0 Views
    L
    Your attempt at using the Regex \s is no different than your previous attempt using s.split(" "). You need to find a Regex that returns a value that excludes all of the characters you do not want to included during the output. Try here, http://www.regular-expressions.info/[^], and here, http://regexlib.com/default.aspx[^] You also need to understand that in its most basic description a string is nothing more than an array of characters, http://msdn.microsoft.com/en-us/library/system.char.aspx[^]. There is no need to create an array for something that is already an array. Comments from work: "Why can't you just do it like everybody else?" "Well, we haven't had any complaints yet." "I just want to get it into production." "It only matters if it’s important to someone who matters."
  • 0 Votes
    5 Posts
    0 Views
    B
    Thanks, but this isn't quite what I was looking for. I'm not looking to share and browse pieces of commonly used code (although this is useful and I'm definitely bookmarking that site), I'm looking to share and browse the XML-based code snippets that Visual Studio use to, for instance, turn propfull into private int myVar; public int MyProperty { get { return myVar;} set { myVar = value;} } So, what I'd like to post is XML like the following: <?xml version="1.0" encoding="utf-8" ?> <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> <CodeSnippet Format="1.0.0"> <Header> <Title>propfull</Title> <Shortcut>propfull</Shortcut> <Description>Code snippet for property and backing field</Description> <Author>Microsoft Corporation</Author> <SnippetTypes> <SnippetType>Expansion</SnippetType> </SnippetTypes> </Header> <Snippet> <Declarations> <Literal> <ID>type</ID> <ToolTip>Property type</ToolTip> <Default>int</Default> </Literal> <Literal> <ID>property</ID> <ToolTip>Property name</ToolTip> <Default>MyProperty</Default> </Literal> <Literal> <ID>field</ID> <ToolTip>The variable backing this property</ToolTip> <Default>myVar</Default> </Literal> </Declarations> <Code Language="csharp"><![CDATA[private $type$ $field$; public $type$ $property$ { get { return $field$;} set { $field$ = value;} } $end$\]\]> </Code> </Snippet> </CodeSnippet> </CodeSnippets>
  • 0 Votes
    2 Posts
    0 Views
    Richard DeemingR
    You've already posted this question in the Visual Basic forum[^]. Don't post the same question in multiple forums. "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
  • 0 Votes
    4 Posts
    0 Views
    Richard DeemingR
    You seem to be missing about 90% of your code. How is declaring and initializing three string variables going to send an email? If you're using the classes from the System.Net.Mail[^] namespace to send your message, then you'll need to set the SmtpClient.Credentials[^] property. If you're using something else, you'll need to tell us what it is! "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
  • [Sovled] Crystal report custom paper size

    csharp visual-studio question workspace
    7
    0 Votes
    7 Posts
    0 Views
    A
    Thanks