Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

BadKarma

@BadKarma
About
Posts
426
Topics
28
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Real Problem in Listview dealing with tons of data
    B BadKarma

    Hi, I'm not certain if this is the problem but you say that the problem started when you wanted to show a lots of data, you also mentioned that you draw the list yourself. (Custom draw) It could be that you are running out of resources, GDI resources to be precises, this could explain why even other part of the application are getting problems drawing themselfes. Its a wild guess, but its worth to check this. (this can be verified quickly with the task manager) regards

    Learn from the mistakes of others, you may not live long enough to make them all yourself.

    C / C++ / MFC help question com graphics data-structures

  • How to write Benford’s Law in C++ Need Help
    B BadKarma

    Hi, I suppose that you didn't expect the result you've got. Your program doesn't check the frequency of the first digit of the number but all the digits in the stream. You have to split your data set into numbers first and then take only the first digit of that number. Now there are several ways to split a number but the easiest is probably to use the getline function of a stream. The get line default uses the endline to seperate the lines but you can provide your own delimiter.

    std::string sNumber;
    std::stringstream numberStream = std::stringstream(strNum);
    while (std::getline(numberStream , sNumber, ','))
    {
    ++digit_frequency[sNumber[0]];
    }

    This reduces the complexity of your program, which is good in industrial code but isn't when someone still needs to learn coding algorithms. I think your aim should be to write your own string split function/algorithm. regards

    Learn from the mistakes of others, you may not live long enough to make them all yourself.

    C / C++ / MFC tutorial c++ php com help

  • Problems with Button Click Event
    B BadKarma

    Thanks for the reaction. I'm using controls designed by DevXpress, so i did a search on there forums as well. While there I stumble onto a similar problem. The problem could lay in a databinding control which could prevent events from firing. This second page exists out of a tab control with 4 pages. When I remove the 2 last pages the control starts working. So my best guess is that one off the bindings onto those pages misbehave. Thanks anyway

    Learn from the mistakes of others, you may not live long enough to make them all yourself.

    Web Development html database question

  • Problems with Button Click Event
    B BadKarma

    As far as i know the control isn't loaded dynamically.

    <visitcontrol:SimpleVisitorControl ID="BadgeControl1" runat="server" />
    

    Is used to get the control on the page. To show the Control it is call by a client side script.

    badgeCallbackPanel.PerformCallback("");
    

    Which is the same code as on the working page. On both pages the control is shown in a 'popup' but on one of the pages the OK button doesn't work.:mad:

    Learn from the mistakes of others, you may not live long enough to make them all yourself.

    ASP.NET html database question

  • Problems with Button Click Event
    B BadKarma

    Thanks for the reaction, but the markup and the code behind is more then 2400 lines, The real problem is that is have inherited this project from some other company which failed to deliver on time. And now I have to 'Make it Work, ASAP'. Kurt

    Learn from the mistakes of others, you may not live long enough to make them all yourself.

    ASP.NET html database question

  • Problems with Button Click Event
    B BadKarma

    Hi guys, I'm currently experiencing a strange phenomenon. I have a user-control which allows the user to add data into a list on clicking on the OK Button. On the page where I use this control all works fine. However, now I need to have a second page where i need to enter the same data. So I wanted to re-use the control. The control is shown but when I click on the OK button no event is trigger, nothing happens? I have put a break point in the PageLoad of the user-control, but it doesn't event get there. It seems like that the event if any is missing at all, althought that the html (client-side) code is the same. Does anyone have a thought, or knows a reason why this could happen? Thx, Kurt

    Learn from the mistakes of others, you may not live long enough to make them all yourself.

    ASP.NET html database question

  • Problems with Button Click Event
    B BadKarma

    I think i have miss post this question I will post it under the ASP.Net forum Kurt

    Learn from the mistakes of others, you may not live long enough to make them all yourself.

    Web Development html database question

  • Problems with Button Click Event
    B BadKarma

    Hi guys, I'm currently experiencing a strange phenomenon. I have a user-control which allows the user to add data into a list on clicking on the OK Button. On the page where I use this control all works fine. However, now I need to have a second page where i need to enter the same data. So I wanted to re-use the control. The control is shown but when I click on the OK button no event is trigger, nothing happens? I have put a break point in the PageLoad of the user-control, but it doesn't event get there. It seems like that the event if any is missing at all, althought that the html (client-side) code is the same. Does anyone have a thought, or knows a reason why this could happen? Thx, Kurt

    Learn from the mistakes of others, you may not live long enough to make them all yourself.

    Web Development html database question

  • !(How to best use a try catch block) [modified]
    B BadKarma

    If I see such a thing i can say only one thing: "Everybody please remain calm! You Sir!! Get your hands up in the air and step away from the keyboard!"

    Learn from the mistakes of others, you may not live long enough to make them all yourself.

    The Weird and The Wonderful tutorial

  • Anyone fancy a game of word association? I'm starting Bored
    B BadKarma

    Little Red Riding Hood

    Learn from the mistakes of others, you may not live long enough to make them all yourself.

    The Lounge game-dev question

  • Anyone fancy a game of word association? I'm starting Bored
    B BadKarma

    Magic Box

    Learn from the mistakes of others, you may not live long enough to make them all yourself.

    The Lounge game-dev question

  • Anyone fancy a game of word association? I'm starting Bored
    B BadKarma

    IT -Crowd

    Learn from the mistakes of others, you may not live long enough to make them all yourself.

    The Lounge game-dev question

  • Anyone fancy a game of word association? I'm starting Bored
    B BadKarma

    Beer

    Learn from the mistakes of others, you may not live long enough to make them all yourself.

    The Lounge game-dev question

  • Anyone fancy a game of word association? I'm starting Bored
    B BadKarma

    Demi Moore

    Learn from the mistakes of others, you may not live long enough to make them all yourself.

    The Lounge game-dev question

  • Anyone fancy a game of word association? I'm starting Bored
    B BadKarma

    Zombie

    Learn from the mistakes of others, you may not live long enough to make them all yourself.

    The Lounge game-dev question

  • Anyone fancy a game of word association? I'm starting Bored
    B BadKarma

    lol

    Learn from the mistakes of others, you may not live long enough to make them all yourself.

    The Lounge game-dev question

  • Anyone fancy a game of word association? I'm starting Bored
    B BadKarma

    go

    Learn from the mistakes of others, you may not live long enough to make them all yourself.

    The Lounge game-dev question

  • Stuff that every programmer should know but isn't necessarily in the school books
    B BadKarma

    Dario Solera wrote:

    Really?! How do you debug your code then?

    With MessageBeep of course.

    Learn from the mistakes of others, you may not live long enough to make them all yourself.

    The Lounge collaboration tools help question learning

  • Need books about C# 3.5
    B BadKarma

    :laugh: No, I need to teach C# 3.5 to other people, and for the course i'm allowed to buy 3 books for the students

    Learn from the mistakes of others, you may not live long enough to make them all yourself.

    The Lounge csharp wpf oop question

  • Need books about C# 3.5
    B BadKarma

    Hi, I need to order 3 books about C# 3.5 (VS2008) that covers from the basic (loops, conditions, class inheritance) to advanced C# (Entity framefork, WPF, ...) What books can you recommend to buy? Thanks

    Learn from the mistakes of others, you may not live long enough to make them all yourself.

    The Lounge csharp wpf oop question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups