Search:

Type: Posts; User: Dragoon_42

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thanks! That helped. My solution is fugly, but...

    Thanks! That helped. My solution is fugly, but it works:


    string pattern = @"`[^`]*`";
    MatchCollection pkeys = Regex.Matches("(`field4`(255),`email`(255))", pattern);
    ...
  2. Need help with a regular expression, please?

    I have , "(`password_hash`(255),`email`(255))" and want to get "password_hash,email".

    So far my best guess has been:
    string pattern = @"[`(\(0-9\))]";
    string pkey = Regex.Replace(tokens[offset],...
  3. Thread: Help!

    by Dragoon_42
    Replies
    2
    Views
    1,189

    No, now go away or I shall taunt you a second...

    No, now go away or I shall taunt you a second time.
  4. Replies
    11
    Views
    2,554

    This page will come in handy: Cheat Sheet : All...

    This page will come in handy:
    Cheat Sheet : All Cheat Sheets in one page

    Learn to love MSDN as well:
    The C# Language
  5. Replies
    13
    Views
    5,686

    You do know that you can use C# with web based...

    You do know that you can use C# with web based stuff right? You may be able to reuse some of the code you're written already. You can just specify Encrypt in the connection string and it'll use...
  6. Nevermind, I'm a friggin moron. Following code...

    Nevermind, I'm a friggin moron. Following code works as expected:


    protected void processDS(DataSet ds)
    {
    DataTable dt;
    int i=0;

    ...
  7. ItemArray assignment not working as expected

    protected void processDS(DataSet ds)
    {
    DataTable dt;
    int i=0;

    batchLot = ds.Tables[0].Rows[0].ItemArray[0].ToString();
    ...
  8. Replies
    3
    Views
    1,509

    Not sure about the network simulator, but you...

    Not sure about the network simulator, but you could always use a virtual machine. VirtualBox is free, quick, and easy.
  9. Replies
    1
    Views
    4,610

    SqlDataSource1.UpdateParameters["ACCEPTED"].Defaul...

    SqlDataSource1.UpdateParameters["ACCEPTED"].DefaultValue = "N";

    Are you sure you don't want to set the Value and not the DefaultValue? Have you debugged it to make sure all the necessary...
  10. Replies
    13
    Views
    5,686

    I was reading some MySQL stuff last night and you...

    I was reading some MySQL stuff last night and you popped into mind. How's the project coming along?
  11. Replies
    6
    Views
    6,658

    www.hoomanb.com/cs/QuickRef/CppQuickRef.pdf...

    www.hoomanb.com/cs/QuickRef/CppQuickRef.pdf
    Cheat Sheet : All Cheat Sheets in one page
  12. Replies
    13
    Views
    5,686

    Unless you're using Mono you'll want this too:...

    Unless you're using Mono you'll want this too:
    MySQL :: Download Connector/Net

    which ties in nicely with this:
    MySQL Connection String Samples - ConnectionStrings.com
  13. Replies
    13
    Views
    5,686

    Well, I wasn't going to just give this to you,...

    Well, I wasn't going to just give this to you, but here:
    GridView Examples for ASP.NET 2.0: Editing the Underlying Data in a GridView

    Yes to both your questions.

    The difference between...
  14. Replies
    13
    Views
    5,686

    C# would be perfect for this project. ...

    C# would be perfect for this project. Specifically you'll want to read up on how to create an editable gridview. Good luck! This project actually has real world applications too, fyi. I've done...
  15. Resolved

    Cat,

    I just wanted to report back that your method works flawlessly. Thank you very much!
  16. Thanks, Cat. Your method is awesome. This being...

    Thanks, Cat. Your method is awesome. This being my first WinForm, I generally make web apps, I haven't had to deal with threading issues in C#. I'll implement your method for the next revision.
  17. Das funktioniert wunderbar! private void...

    Das funktioniert wunderbar!


    private void frmMain_Shown(object sender, EventArgs e)
    {
    this.TopMost = true;
    this.Focus();
    this.BringToFront();
    this.TopMost = false;
    }
  18. Bah! It's way more fun to store them in BLOBs in...

    Bah! It's way more fun to store them in BLOBs in SQL. Give it a shot, it's not too difficult and then you're not relying on the file system maintaining it's structure.
  19. Awesome, thanks for the ideas. I'll give them a...

    Awesome, thanks for the ideas. I'll give them a shot and post the results. :)
  20. WaitForExit(); Works, but C# WinForm disappears.

    I have a WinForms program that launches another program and then waits for it to exit before moving on. This launched program may run for an hour or so. After the user exits my form disappears from...
  21. Replies
    4
    Views
    928

    Because a whole object contains more data then...

    Because a whole object contains more data then just a pointer to the object.
  22. Replies
    2
    Views
    939

    Even though you didn't ask for others here's the...

    Even though you didn't ask for others here's the rest:

    Android: Android Developers
    iPhone uses Objective C: iPhone Dev Center - Apple Developer Connection
    Lots of phones will run Java's J2ME: ...
  23. Thread: Im lost

    by Dragoon_42
    Replies
    7
    Views
    1,405

    That's awesome. Thanks for the LOL on a Friday! ...

    That's awesome. Thanks for the LOL on a Friday! :)
  24. Replies
    2
    Views
    908

    Looks like there's lots of crazy stuff going on....

    Looks like there's lots of crazy stuff going on.
    1.) incr() is declared as void yet returns a zero?
    2.) add() is declared as returning an INT yet really returns a complexNumber
    3.) Reread about...
  25. Where to start with creating a pop-up on print?

    I've been asked to create a small pop-up box with a message and picture whenever someone prints from any application. (It's an office in-joke apparently) Being a web-geek I'm not really even sure...
Results 1 to 25 of 93
Page 1 of 4 1 2 3 4