Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: code?

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    370

    Reading And Writing Binary Files

    Okay so I'm sure you've all played games. Maybe some of you wanted to see what the files looked like.

    Some game-files are .ini with text, and then there are some which you can't open in a normal...
  2. Replies
    2
    Views
    1,543

    Re: Half-Presision Float

    Nice code, but I don't understand C++. It's a user-defined class, right? Well where is the equivalent of this?


    public Half()
    {

    }
  3. Replies
    2
    Views
    1,543

    Half-Presision Float

    How would I implement this in C#?
  4. Replies
    3
    Views
    536

    Re: Error With Input Dialog

    Silly me, I fixed it, "Input" was not static.

    Also, when it pops up, even if TopMost is set to true, it will not be above like an actual dialog. How do I fix this?
  5. Replies
    3
    Views
    536

    [RESOLVED] Error With Input Dialog

    All variables are defined.

    static void GetUserInput(string Text)
    {
    FormInput IForm = new FormInput();
    IForm.LabelQuestion.Text = Text;
    ...
  6. Replies
    0
    Views
    1,374

    Firefox keeps changing search engine

    Okay, I think this is the right forum.

    Whenever I type in something in the address bar, like "java tutorials" for instance, it will take me to these results. It's a custom search setup.
    ...
  7. Replies
    1
    Views
    413

    Type Conversion Help

    Okay, I want to know if you can do something like this, I have a parser and I'm trying to have less and less switch blocks and/or repetitive code.

    So something like this. It errors out but can I...
  8. Thread: html parsing

    by code?
    Replies
    8
    Views
    918

    Re: html parsing

    You'll need to use mshtml.dll and then use Microsoft.

    You'll open up new classes that are real *****es to use, but once you know how to work them everything slides right in.

    Just use a...
  9. Replies
    2
    Views
    537

    Extension Methods & Pointers

    Okay, so I'm having this problem.

    I defined this animation function (similar to jQuery if you have heard of it) for controls. Notice: I condensed the code into one box, the two methods are in two...
  10. Thread: Syntax Woes

    by code?
    Replies
    2
    Views
    1,144

    Syntax Woes

    Okay, so I can't do this?


    <?php
    class A { public function A() {} public function B() {} }

    new A()->B();
    ?>

    How can I do this in one line?
  11. Replies
    2
    Views
    1,007

    Myspace-Like HTML Stripping

    Alright, I'd like to allow users to post comments with HTML, but also avoid things like abuse via scripts, iframes, and inline events.

    How would I do this?
  12. Replies
    3
    Views
    699

    Re: Regex For String Input

    Thanks, and also I use Rad Regex Designer, it's free and it's awesome.
    http://www.radsoftware.com.au/regexdesigner/
  13. Replies
    3
    Views
    699

    Regex For String Input

    This is sort of a general question, but it's with an application in C#.

    I'm using grammatica to generate parsers and stuff, so I need a regex for strings with double quotes.
  14. Replies
    1
    Views
    621

    Javascript-Like Time Function

    How do I get a javascript-like output in seconds, from PHP? I want to track the amount of time it takes to pass all the data from server to client.

    Consider this code.

    var Now = new...
  15. Re: Process Closes On Open, Doesn't Trigger Process.Exit

    Oh, I got it fixed.

    I used a using block, and everything fine now.


    ProcessStartInfo startInfo = new ProcessStartInfo();
    startInfo.WorkingDirectory = "Path/To/Game"
    ...
  16. [RESOLVED] Process Closes On Open, Doesn't Trigger Process.Exit

    Alright, so I made a process to start a 3D game (Worms 4: Mayhem). I first tried it in a console application, and it started the process, and then it got closed. I thought it was just because I was...
  17. Thread: Input Type Check

    by code?
    Replies
    15
    Views
    1,685

    Re: Input Type Check

    Oh, well then move the Match before and out of the if block, then add a condition for if the match.Value != ""


    Match match = check.Match("[0-9]+");
    if (text.Length > 0 && match.Value != "")
    {...
  18. Thread: Input Type Check

    by code?
    Replies
    15
    Views
    1,685

    Re: Input Type Check

    You can do a regex check first to avoid some errors, and it's regex, so it matches or it doesn't, no error unless text field is blank or expression is bad.

    Of course, my code might not be the...
  19. Replies
    0
    Views
    692

    [RESOLVED] Class Pointer?

    Can I set a variable to be a pointer/reference to a class?


    <?php
    class Data {}
    $DataClass = Data;
    $Data1 = new $DataClass;
    ?>

    I'm not so good with pointer syntax, is it &?
  20. Replies
    5
    Views
    1,453

    Re: Regex Help (location.search)

    I've got it all figured out now, thanks!

    I got it all down to one line.


    var $_GET = eval("({" + location.search.substring(1).replace(/=/g, ":").replace(/&/g,...
  21. Replies
    5
    Views
    2,258

    Re: signon.rememberpassword

    I don't think you can, for security reasons.
  22. Replies
    5
    Views
    1,453

    Re: Regex Help (location.search)

    I had something like that.

    It was this.

    var arr = location.search.match(/([0-9a-zA-Z]+)=([0-9a-zA-Z]+)+/g).join().split(/[,=]/g);
    var GET = {};
    for (var i = 0; i < arr.length; i += 2)
    {
    ...
  23. Replies
    5
    Views
    1,453

    [RESOLVED] Regex Help (location.search)

    Alright, I need help with some regular expressions. I'm trying to get all the GET parameters within javascript in one fell swoop, but can't. I'm wondering if you can help me with this.

    ...
  24. Thread: Indexers

    by code?
    Replies
    3
    Views
    1,044

    Re: Indexers

    No, you don't understand what I want.

    I want this.

    var Groups =
    {
    _List: [],
    get this() { return _List; }
    };
  25. Thread: Indexers

    by code?
    Replies
    3
    Views
    1,044

    Indexers

    How can I define a custom object/class, but also for it to have an indexer, so that I can get values via something like this.


    var value = group1["bob"]; //return a person class, for example
    var...
Results 1 to 25 of 311
Page 1 of 13 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center