Results 1 to 8 of 8

Thread: some things in the Immediate window arent working

  1. #1

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    some things in the Immediate window arent working

    uhh I'm puzzled. I cant think of the other stuff, but a lot of things dont work when I'm debugging my app. IE this doesnt work with any string anymore. I have a string called CONTENT and I try this in the immediate window
    ?content.IndexOf("hello")

    I get this error error: 'content.IndexOf' does not exist

    I've tried accessign array items as well. I have a string[] and I try to access one element of it and I get this error:
    error: 'links' is not an array or pointer. Indexing is not available
    I get the same error when trying to access an item of any type of array (even arrayList) through the immediate window

    wth is going on?!!
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  2. #2
    Junior Member
    Join Date
    Feb 2005
    Posts
    31

    Re: some things in the Immediate window arent working

    • Is this in one solution?
    • Have you tried the same thing in another solution?
    • Have you tried moving the solution to a different computer?


    Dan

  3. #3

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    Re: some things in the Immediate window arent working

    Quote Originally Posted by dipique
    • Is this in one solution?
    • Have you tried the same thing in another solution?
    • Have you tried moving the solution to a different computer?


    Dan
    who cares about the solution man... immediate window is a part of visual studio so it's VS that isnt working right it might possibily get resolved if I reinstalled it, but I hate reinstalling VS with a passion.
    Yeah so regardless of the project, that doesnt work correctly when I'm using C#... havent tried it in VB projects
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  4. #4
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: some things in the Immediate window arent working

    It's bugger-all use in VB.net too. That's the only reason that I keep VB6 on my machine, so I can use the decent immediate window to test stuff out and quickly access old constants.

    VB Code:
    1. ?vbSrcCopy
    2. &HCC0020

    I don't live here any more.

  5. #5
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Re: some things in the Immediate window arent working

    The immediate window is of course case sensitive - so make sure that's always correct. Of course, the command window itself can be run in command mode or immediate mode:

    http://msdn.microsoft.com/library/de...mandWindow.asp

    To switch to immediate mode, simply type immed.

    You can then use intellisense as you would in the programming window. And lastly, to switch back to command mode, enter >cmd. Also, intellisense and most commands only work when you have stopped at a debug point.
    Attached Images Attached Images  
    Last edited by nemaroller; Apr 27th, 2005 at 10:55 AM.

  6. #6

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    Re: some things in the Immediate window arent working

    I know about the case sensitivity nemaroller... I think wossname is right though, it's just that VS is buggie


    edit: confound it!
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  7. #7
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Re: some things in the Immediate window arent working

    I don't know... I don't have any problem with it. I'm using Vs 2003 Enterprise Architect.. and it works just fine.

  8. #8

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    Re: some things in the Immediate window arent working

    Quote Originally Posted by nemaroller
    I don't know... I don't have any problem with it. I'm using Vs 2003 Enterprise Architect.. and it works just fine.
    I'm using VS.NET 2003 Enterprise Architect too, BUT I have a lot of problems with it
    ah regardless
    lets just hope that VS.NET 2005 would be a lil less buggy
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width