Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    BrokenR3C0RD
    @BrokenR3C0RD
    *hello
    RianM
    @RianM
    Morning all, I'm having some trouble with Dynamic Linq and I was hoping someone could help. The problem I'm facing is that I need to order a list in a specific sequence. In Sql I would write this as "order by case when blah = 'blah' then 1 else 0 end". How would I accomplish this with Dynamic Linq?
    Alexej Yaroshevich
    @zxqfox
    What is Dynamic Linq?
    mnopstuv5000
    @mnopstuv5000
    hello world
    IsaaCSharp
    @IsaaCSharp
    hi
    Octodaddy
    @Octodaddy
    Hello
    IsaaCSharp
    @IsaaCSharp
    hello
    Alexej Yaroshevich
    @zxqfox
    Hey there
    Blaskon
    @Blaskon
    Hi there!
    Paul
    @PaulGaudet
    Hey world! Just wondering if anyone here has ever used an app called siteSucker (mac) to scrape websites?
    tornador76
    @tornador76
    Hello all ! Is anyone nice with sockets? ^^ I'm developping a UDP server in C and many clients in java
    manu0907
    @manu0907
    hi
    anybody interested in batch programs
    brianchase2332
    @brianchase2332
    Hello,Anyone know how to make a website/code a website i got html downbpacked..Help....
    Konstantin Tarkus
    @koistya
    @upendrahanda hey
    Konstantin Tarkus
    @koistya
    Bobr4y
    @Bobr4y
    [hiring]Any C/C++ programmers looking for a job on my project?
    Mehdi-B
    @MehdiFal
    @RianM : I would have done /api/users and set the HTTP verb to Delete instead of adding a filter
    Anders Nicolai Magnussen
    @andersnicolaimagnussen
    Hi Guys, this is a really stupid question, I have not programmed in a while and are doing some C#
    How do I call my public class, to kick off the program from main?

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Diagnostics;
    using Novacode;

    namespace ConsoleApplication18
    {
    class Program
    {
    static void Main(string[] args)
    {
    // What do i Write here?
    }

        public class DocX_Examples
        {
            public void CreateSampleDocument()
            {
                // Modify to suit your machine:
                string fileName = @"C:\Users\johndoe\Documents\sample\DocXExample.docx";
    
                // Create a document in memory:
                var doc = DocX.Create(fileName);
    
                // Insert a paragraph:
                doc.InsertParagraph("This is my first paragraph");
    
                // Save to the output directory:
                doc.Save();
    
                // Open in Word:
                Process.Start("WINWORD.EXE", fileName);
            }
        }
    }

    }

    Konstantin Tarkus
    @koistya
    @nicolaimagnussen try this:
    var doc = new DocX_Examples();
    dc.CreateSampleDocument();
    Anders Nicolai Magnussen
    @andersnicolaimagnussen
    that worked, thanks alot
    I'am now reading Head First C# So I don't need to post stupid questions like this.
    Haidar
    @haidarknightfury
    i know C#
    Henry Zhu
    @HenryDavidZhu
    Hey Guys
    cadetTech
    @cadetTech
    can someone help
    VoidVolker
    @VoidVolker
    @cadetTech ?
    Veronica Rodriquez
    @RodriquezRocks_twitter
    @cadetTech what's the question?
    Shahked Bleicher
    @shaqb4
    Hello
    Mynewlife
    @Mynewlife
    hello people, anyone available with C# experience?
    Konstantin Tarkus
    @koistya
    Me
    Mynewlife
    @Mynewlife
    @koistya do you know how to work with textboxes, i have a very specific problem i
    would like resolved
    Konstantin Tarkus
    @koistya
    @Mynewlife WPF textboxes? Not much, I mostly work with web related stuff
    Mynewlife
    @Mynewlife
    @koistya well, just normal textboxes for winforms
    VoidVolker
    @VoidVolker
    @Mynewlife yes
    Mynewlife
    @Mynewlife
    @VoidVolker well, i am right now trying to make a very simple login form with a numerical keyboard and a text box. The text box needs to automatically clear when any button is pressed. Right now it doesn't clear and it just adds the numbers to the text..
    VoidVolker
    @VoidVolker
    what?
    set handler onclick event and clear text box
    what the problem?
    Mynewlife
    @Mynewlife
    @VoidVolker i tried that, then i couldn't write anything in the box. i am making this application for a touch interface
    VoidVolker
    @VoidVolker
    check your code fro errors
    step by step
    Mynewlife
    @Mynewlife
    @VoidVolker even if you tell me to check step by step, something is not making sense. if i can be more specific i'll try this even though it is very simple:
    textbox says: "Enter ID" on load then when any button is pressed the text box clears and replaces the "Enter ID" with the number from the pressed button.
    The ID's are multidigit so i need it to go from "Enter ID" to something like "1337"
    VoidVolker
    @VoidVolker
    @Mynewlife no, there is nothing special you need - you can easy clear text box
    Mynewlife
    @Mynewlife
    @VoidVolker I know it is easy, but the order it needs to be in doesn't seem to be compliant with my programming :/
    press button -> clear text box and add digit | that is how it needs to be
    but it only needs to clear the textbox once and it doesn't :/
    VoidVolker
    @VoidVolker
    @Mynewlife then, you do something wrong, open manual and try again
    Mynewlife
    @Mynewlife
    im looking for somekind of if statement to check if there is text in the textbox and then replace the text with the numbers :/