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

Search:

Type: Posts; User: mrjavoman

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. JavaScript Re: tying to scroll to a dinamically created tag in innerHtml

    Yes, I used the scrollTo() function and also another function for finding the position of a given tag
    here is the code I used for that:


    function findPos(obj) {
    var curtop = 0;
    if...
  2. JavaScript Re: tying to scroll to a dinamically created tag in innerHtml

    oh come on,
    the project in which I'm working on involves implementing the algorithm I was talking you about not how to scroll to a tag dynamically, It just so happened that I didn't know how to...
  3. JavaScript Re: tying to scroll to a dinamically created tag in innerHtml

    Thanks a lot, yes I do realize I am making things a lot more complicated using an algorithm for string matching when I could just use regular expressions, but its for a school project so it is for...
  4. JavaScript tying to scroll to a dinamically created tag in innerHtml

    so basically I am scanning some text for a match and then when i find a match I'm putting some highlight tags around that word using innerHtml, but i also want to be able to scroll the browser to...
  5. Replies
    2
    Views
    728

    Re: Error in ActionListener

    its hard to trace the error you are mentioning because your code seems incomplete

    for example your method DemoForm is outside the scope of any class and then you have class thehandler that...
  6. Re: need help with some java coding (beginner) thanks in advance

    I'll point out a few things about your code.

    1) your code is missing two brackets at the end (although it might be because of the copy-paste)
    2) random in comeOut method needs an appropriate...
  7. Re: Convert String representation of HEX to HEX value

    Do you mean convert from a string that has a hex value to let say an int that has that hex value so you can make calculations with it?

    you can do that with parseInt from the Integer class:

    ...
  8. Replies
    2
    Views
    873

    Re: New to Java Need help with Homework

    the problem is that you are executing a loop with no body

    your loop is just this part


    while (count <= 5)
    count++;

    none of the if statements get executed
  9. Replies
    4
    Views
    3,432

    Re: C# Form to edit a database.

    when you say save to a data source (database) do you mean an actual database or something like a text file that is acting as a database?

    if you're talking about a text file you can use...
  10. tryin to connect infopath(MS Office) to a web service written in java

    I've been wrestling with this problem for a couple of days now, I've been trying to connect infopath(ms office, used to create forms) to a web service written in java, this web service makes queries...
  11. Replies
    3
    Views
    791

    Re: problem with formulas

    *EDIT* -- SOLVED! i was able to figure this last question, what i ended up doing is creating a sub report that is displayed on the Report Header of the parent report
    all this help me to understand...
  12. Replies
    3
    Views
    791

    problem with formulas

    I've only stated to work with crystal reports recently so im still learning how to create reports, the version im using is 2008

    I have an orders table that looks like this

    ...
  13. Replies
    1
    Views
    503

    win batch file that uploads mysql data

    i wasn't sure where to put this thread so please redirect me if im in the wrong forum.

    i have a batch file that uploads a data.sql script to a mysql server and its working fine, i have this...
  14. Replies
    3
    Views
    663

    Re: Query for a report

    yeah i've heard about it but im just not that familiar with sql syntax I've been doing a bunch of googleing but this got me on the right track, thanks
  15. Replies
    3
    Views
    663

    Query for a report

    I'm trying to create a query for a report but I don't seem to come with the right query for it, I'm kinda new at doing queries and reports, anyway here's what I have.

    I have two tables that looks...
  16. Re: How to add items to the Windows Explorer context menu?

    yeah a bit exaggerated, just wanted to get the point across xD
    anyway that looks like a nice little program for adding stuff to the context menu, when I've done it I've always done it the manual...
  17. Re: How to add items to the Windows Explorer context menu?

    you are actually looking for a modification to your windows registry,

    look for tutorials on how to modify your registry so that you can add programs to your context menu, but always remember...
  18. Replies
    3
    Views
    1,159

    Re: MouseMove event fires for no reason

    well i wouldn't call this "undesired behavior" nor "fires for no reason" because as you explained there is an actual click on the form so this code will definitely fire


    if (e.Button ==...
  19. Replies
    2
    Views
    373

    Re: Problem with adding Item to a ListView

    your question is a bit vague mate

    for starters the problem that i see here is that you are trying to pass int[] to the ListVieIitem constructor and you can't do that, ListVieIitem doesn't take...
  20. Warning: mysql_result(): supplied argument is not a valid MySQL result

    im getting Warning: mysql_result(): supplied argument is not a valid MySQL result resource in when using str_replace, im trying to replace a all "-" characters with " " on a string

    im pulling the...
  21. Replies
    9
    Views
    764

    Re: Help on Calculating Depth buffer

    This problems seems interesting.

    I went to the Wiki page to learn a more about it and I found that they have an algorithm in psudocode there, so maybe that might help...
  22. Re: A question regarding Mulitple Inheritance

    you guys are right xD my bad, it is posible to access methods from B by using a dynamic_cast

    lest see if I get this straight and please correct me if I'm wrong

    Rohshall pointed that when...
  23. Re: A question regarding Mulitple Inheritance

    Yeah you are right, casting is routinely done for polymorphic code but I don't necessarily agree with it being essential
    the reason I'm saying this is that when you do this:


    D* pD = new D;
    A*...
  24. Re: A question regarding Mulitple Inheritance

    When you assign a pointer of D to an pointer of Class A you are implicitly casting a D object to one of Class A thus you are striping the B Part of the inheritance and some of the functionality of...
  25. Replies
    6
    Views
    649

    Re: defining structs in a class?

    well, that sounds like redundant code, what exactly are you trying to do with that?


    that's what header files are for, to separate things like declarations of classes and structs from the...
Results 1 to 25 of 42
Page 1 of 2 1 2



HTML5 Development Center

Click Here to Expand Forum to Full Width