Search:

Type: Posts; User: SLH

Page 1 of 13 1 2 3 4

Search: Search took 0.51 seconds.

  1. Replies
    2
    Views
    4,239

    VS 2010 Re: .NET and Windows 8

    Great, thanks.
  2. Replies
    2
    Views
    4,239

    VS 2010 [SOLVED] .NET and Windows 8

    Hi all,

    I want to understand how installing an application that requires .net works on windows 8.

    I've seen this question: http://superuser.com/q/491000/85165 but don't know how it works in...
  3. Thread: XNA Books

    by SLH
    Replies
    1
    Views
    1,195

    [C#] Re: XNA Books

    There's a wealth of information here: http://create.msdn.com/en-US/education/catalog/

    Be aware that XNA 4.0 was released relatively recently, so when looking for books/videos it's worth noting...
  4. Replies
    2
    Views
    1,535

    Re: Convert If...Else to formula

    Fantastic! Thanks for the very detailed explanation of your thought process. Top marks for showing your workings. I would rate, but apparently i need to spread some rep around first. :(

    In case...
  5. Replies
    2
    Views
    1,535

    Convert If...Else to formula

    I'm writing a pixel shader that will be used to draw a slider type control that has min/max and current values.

    Any pixel before the current value should be full colour (original texture alpha...
  6. Replies
    7
    Views
    2,725

    Re: Puzzle game, check connected gems in 2D array

    Don't have time for a long reply sorry (4:55pm UK time).

    If the player is adding gems one at a time can't you just check whether that gem is in a group with any others?

    The general algorithm...
  7. Replies
    2
    Views
    1,830

    Re: Directx Tiles Shaded/Squares Error

    Another posibility perhaps is the (default) texture/backbuffer format being different per machine.
  8. Replies
    2
    Views
    649

    Re: BackgroundWorker

    You have to report your progress in the DoWork event. e.g.:
    BackgroundWorker worker = sender as BackgroundWorker;

    for (int i = 1; i <= 10; i++)
    {
    if...
  9. Replies
    1
    Views
    758

    3.0/LINQ Re: Building Linq Query on the Fly

    var xxxx = from word in words where stringpassed.Split(' ').Any(sp => word.Name.Contains(sp))
    I think. (can't test on the machine i'm on).
  10. Re: Exception has been thrown by the target of an invocation.

    It means that the method you're invoking raised an exception. If you use the debugger to look at the details of the exception, the actual exception that was raised by the method will be in it's...
  11. Replies
    36
    Views
    2,603

    Poll: Re: Important: Fold or scrunch (toilet paper)?

    Scrold
  12. Thread: Event handlers

    by SLH
    Replies
    3
    Views
    772

    3.0/LINQ Re: Event handlers

    Thanks for the replys.

    Giraffe, I'm fine with it only calling the method if we have a valid device. If i find i need to then there are other events i can hook for if the device couldn't be...
  13. Thread: Event handlers

    by SLH
    Replies
    3
    Views
    772

    3.0/LINQ Event handlers

    I'm using a class defined in an external library that allows access to a generic save device.

    This class has an event handler for when it aquired the device.

    I can then use the device to...
  14. Replies
    2
    Views
    964

    Re: Handling large datasets in charts quickely

    Not 100&#37; sure what you're after, but you could combine your 2 ideas (filtering out colinear points and points close to each other) and filter out points very nearly colinear (along the same line)....
  15. VS 2008 Re: Programatically determine bindings on a textbox

    It's twice as hard as doing it once! :D

    I've got quite a few web apps already written, with many gridviews, with many fields. To change the gridiviews i can find/replace, but i'd have to change...
  16. VS 2008 Re: Programatically determine bindings on a textbox

    I don't want to have to add the field name to every bound textbox in every gridview control i use. I want to be able to change every instance of a gridview to my derived class and have it Just WorkTM
  17. VS 2008 Re: Programatically determine bindings on a textbox

    I've had a play with that and it looks kind of ok, however, if the template has multiple textboxes (one of the main reasons for using a template field as opposed to a bound field) then i can't tell...
  18. VS 2008 Re: Programatically determine bindings on a textbox

    Sorry, maybe i was a bit unclear.

    By saying i can get the lengths dynamically, i mean, given a field name i can get it's max length.

    The issue i have is getting the field name in the first...
  19. VS 2008 Re: Programatically determine bindings on a textbox

    I can get the lengths dynamically fine.

    I want to get the field name that a textbox is bound to without adding custom attributes to every textbox in the gridview.
  20. VS 2008 Re: Programatically determine bindings on a textbox

    I'm binding in the normal way:
    <asp:TextBox ID="TextBox5" runat="server" Text='<&#37;# Bind("Notes") %>'
    TextMode="MultiLine"></asp:TextBox>My issue is that i want to create a...
  21. VS 2008 Re: Programatically determine bindings on a textbox

    Thanks for the reply Paradeep, i don't think i'm explaining too well thought as you've both given good explanations of how to get the object a row is bound to, and information about it's columns, but...
  22. VS 2008 Re: Programatically determine bindings on a textbox

    I've just had a play around, turns out i need to add a few things to my global.asax file to correct the error.

    Now i can run the code calling the FindMetaTable extension method. Trouble is, as the...
  23. VS 2008 Re: Programatically determine bindings on a textbox

    Thanks for the reply Gary.

    I've just tried to use the FindMetaTable extension method on my textbox, but i get the error:
    The context type MyLINQtoSQLDataContext does not belong to any registered...
  24. VS 2008 [RESOLVED] Programatically determine bindings on a textbox

    I have a method that takes a LINQtoSQL object and a field name and will tell me the length of that field based on the attributes of that field within the class object.

    I want to use this method to...
  25. Replies
    3
    Views
    2,230

    3.0/LINQ Re: Report Parallel.For progress

    Thanks axion_sa, i should be able to take that and work it into what i have currently.



    Ideally they'd all finish at the same time, but since there will always be many more tasks than theads to...
  26. Replies
    3
    Views
    2,230

    3.0/LINQ Report Parallel.For progress

    I had a for loop that i converted into a parallel for loop which works fine.

    I'd like to be able to report progress too. I'm guessing i'll have to stop using the parallel.for and set up each loop...
  27. Replies
    27
    Views
    3,997

    Re: Interpolating a rectangle

    Going from one fractal formula to another over time sounds like it could produce some good animations; i'll definately have to give that a go!

    Cheers for all your help, what started as a pretty...
  28. Replies
    7
    Views
    3,131

    Re: Check if an array has been modified?

    Think you're either gonna have to loop through each element in the array, or wrap it in a class that has a flag to indicate whether it's modified.
  29. Replies
    27
    Views
    3,997

    Re: Interpolating a rectangle

    Yeah, i've been playing around with colouring. Currently you can place any number of colours on a scale 0..1 and it interpolates between them. If you click the fractal it calculates the...
  30. Replies
    27
    Views
    3,997

    Re: Interpolating a rectangle

    Woohoo! Got it sorted.
    The issue was that i was incrementing the current frame number before applying the formula rather than afterwards.

    One thing that i don't understand though, is why in the...
  31. Replies
    27
    Views
    3,997

    Re: Interpolating a rectangle

    Thanks for all your patience!

    Hmm, i've tried altering it as you say but there must be something else i'm doing wrong.
    Can i take a look at your code to see if there's anything i'm doing...
  32. Replies
    27
    Views
    3,997

    Re: Interpolating a rectangle

    Thanks for another very detailed post!

    I've change my code around a bit to use a the method described in your post (incrementing at each step).

    Unfortunately i'm not quite getting the results...
  33. Replies
    27
    Views
    3,997

    Re: Interpolating a rectangle

    By the way, is that a fractal in your avatar? If so, what's the formula?
  34. Replies
    27
    Views
    3,997

    Re: Interpolating a rectangle

    I've just ran my animation routine using your parameters and i get an identical result.

    I'm trying it for a julia fractal with formula and starting coordinates as below:
    <Fractal name="Julia"...
  35. Replies
    27
    Views
    3,997

    Re: Interpolating a rectangle

    Right, i think i've implimented option 2, however i'm still getting the same issue so obviously i've done something slightly wrong.

    It looks like up until about half way through the animation the...
  36. Replies
    27
    Views
    3,997

    Re: Interpolating a rectangle

    Wow, thanks for the very detailed explanation!

    I've read it through a few times, and am still not 100&#37;, but it's starting to make sense.

    I've got to refactor my code a bit so that instead of...
  37. Replies
    27
    Views
    3,997

    Re: Interpolating a rectangle

    Ok, i've sort of got it working.

    jemidiah's formula is perfect for the width and height.

    I've changed it so that the rectangle is defined by a point in the center of the rectangle its the width...
  38. Replies
    27
    Views
    3,997

    Re: Interpolating a rectangle

    Thanks for that huge reply jemidiah. My intial explanation wasn't quite clear, although i think i can use your explanation/formula to achieve what i'm after.

    I'm rendering a fractal animation,...
  39. Replies
    27
    Views
    3,997

    Re: Interpolating a rectangle

    Thanks for the reply,
    Ideally i want a function that can give the value as a function of start value, end value, and time (between 0 and 1), rather than calculating it as an iterative process.
    ...
  40. Replies
    27
    Views
    3,997

    Interpolating a rectangle [Resolved]

    I have a rectangle defined by it's bottom left coordinates, and a width and height.

    I have a destination rectangle, and i want to interpolate between the 2.

    I've done this in a linear fasion by...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width