Search Result

Collapse
31 results in 0.0025 seconds.
Keywords
Members
Tags
problem
  •  

  • forjonathanwils
    started a topic stop webbrowser DOM changed alerts

    stop webbrowser DOM changed alerts

    has anyone found a solution to this yet? I joined so I could continue this thread but I'm not allowed to reply to the original message!

    I am having the same situation, web browser used in a C#.NET project throws alert when DOM is changed. I'm bypassing it by throwing out a "n" keypress event when I anticipate the alert box, but it's sloppy and occasionally causes the n to insert elsewhere if a user changes focus before the...
    See more | Go to post

  • karan173
    started a topic Why is this simple program not working?
    in C

    Why is this simple program not working?

    Code:
    #include<stdio.h>
    
    int main()
    {
        char *s="hello";
        *(s+2)='a';
        printf("%s",s);
    	return 0;
    }
    it gives a runtime error, however if i declare s as a character array like s[]="hello", it works, why?
    See more | Go to post

  • Having trouble creating a Hangman game in Java using Netbeans.

    I currently have two know problems with my current code.
    First, I can't seem to get the image to display. I have the gallows already displaying and I want to get the head (that is the next pic that shows the gallows with the head) to display but its not working.. I believe I have the right code but I'm thinking that I am putting the wrong file path in? I'm using a JOptionPane to double check the image and it always comes up blank. So, I'm...
    See more | Go to post

  • Gonzalo Gonza
    started a topic Strange issue with normal operations

    Strange issue with normal operations

    Hello, I was writing a very simple code and I noticed something was failing. I detected the problematic part but I CANNOT find wheres the error.

    The code is:

    Code:
    def pri(max):
        for m in range(1,max):
            num=(m+1)/m
            if num==1: print 'ERROR'
            else: print 'OK'
    The problem is that it prints:
    Code:
    ERROR
    ERROR
    ERROR
    ERROR
    ERROR
    ...
    See more | Go to post

  • raw_input encoding diferent from code encoding problem

    Hello, everyone, any help wil be greatly appreciated.

    I'm writing code for a japanese learning app in python;
    so all my japanese strings have are preceeded by 'u' (eg. u'にほんご'); Everthing works like a charm, except for when I get input from the user.
    Code:
    >>> internal=[u'\u306f\u3057\u3063\u305f', u'\u306f\u3057\u3063\u3066', u'\u306f\u3057\u3089\u306a\u3044', u'\u306f\u3057\u308a\u307e\u3059', u'\u306f\u3057\u308b',
    ...
    See more | Go to post

  • hasLayout element in absolute positioned element width problem

    The problem is when i want to put an element("a" in my code) into an absolute positioned element and i also want this element("a") has a fixed height, then ie6 will render this element("a") as a common block element with a 100% width. I also found that if any css property can make element hasLayout added to the element in absolute positioned element in ie6, the problem will occur.

    ie7 8 and other standard...
    See more | Go to post

  • szidijani
    started a topic operator[] does not work
    in C

    operator[] does not work

    Hello!

    I have a homework for tomorrow, and I simply can't solve it.
    I have a list (with template) class, I wrote and it has an operator:

    Code:
    T& operator[](int i)
        {
            ToFirst();
            for(int j=0;j<i;j++)
            {
                StepForward();
            }
            return Act->value;
        }
    For using the elements with indexes.
    And I've...
    See more | Go to post
    Last edited by Markus; Nov 16 '10, 01:00 PM. Reason: Added [code] tags, undeleted thread and moved it to /c/answers/

  • ashlegen
    started a topic I'm trying a php code but i don't know what's wrong!
    in PHP

    I'm trying a php code but i don't know what's wrong!

    Hi guys.I've got a problem.I'm building my php browsergame and i'm stuck into the inventory page.I have a code that seems ok to me but it won't work.Here it is:


    Code:
    $inventory = array();
    $query = sprintf("SELECT id, item_id, quantity FROM user_items WHERE user_id = '%s'",
    		mysql_real_escape_string($userID));
    $result = mysql_query($query);
    while($row = mysql_fetch_assoc($result)) {
    	 $item_query
    ...
    See more | Go to post
    Last edited by Dormilich; Sep 14 '10, 06:42 PM. Reason: please use [code] [/code] tags when posting code

  • gameguru
    started a topic javascript form and function problem

    javascript form and function problem

    The problem is rather sinple: I can't figure out how to make the script work:
    Code:
    <head><script language="JavaScript">
     var dynamic_code_index;
     var dynamic_code_index="Click a button to display the code in the textbox";
      function SetTextbox (num) {
     dynamic_code_index=num;
     }
     dynamic_code_view.dynamic_code_box.value=dynamic_code_index; 
     // Makes a usable
    ...
    See more | Go to post

  • ramilol
    started a topic c++ gdi animation problem
    in C

    c++ gdi animation problem

    ok so i have problem using gdi to create a animation
    i have this code but it creates that creates a circle than it update its location so if like x = 1 it will be x = 2... that works file but when i try to clear what was painted and repaint it that doesn't work so it creates mroe than one circle with different locations(x).
    here is the code for that creates the cricle
    Code:
    VOID onPaint(HDC hdc)
    {
       Graphics
    ...
    See more | Go to post

  • Rafael Justo
    started a topic Pure virtual methods cannot be inherit?
    in C

    Pure virtual methods cannot be inherit?

    Check the following code example:

    Code:
    ///////////////////////
    
    class A
    {
    public:
      int a;
    };
    
    ///////////////////////
    
    class B : public A {};
    
    ///////////////////////
    
    class C
    {
    public:
      virtual void c(A *a) = 0;
    };
    
    ///////////////////////
    
    class D : public C
    {
      void c(B *b) {}
    };
    ...
    See more | Go to post

  • kondi69
    started a topic Problem with passing data between forms.

    Problem with passing data between forms.

    Hello,

    I'm right newbe in c# but I have big problem with passing data between forms.

    Below code:

    [FORM2]:
    Code:
    public Form1 main = new Form1();
            public int opuwminuty;
            public Form2()
            {
                InitializeComponent();
                numericUpDown1.Value = main.uwminuty;
            }
    
            private void numericUpDown1_ValueChanged(object
    ...
    See more | Go to post
    Last edited by kondi69; Jun 22 '10, 03:22 PM. Reason: forgotten

  • matt753
    started a topic Problem with creating new record

    Problem with creating new record

    I have three forms: Quotations, Custom Quotations, and Custom QuotationsDetai ls. If I have a basic quote for a customer I need to make I just use Quotations, but if it requires more in-depth details such as extra parts or labor I need to use Custom Quotations to add these. I fill out the CustomQuotation s form that pops up and when I close it it fills in the information in the main Quotations page. Custom Quoatation Details is a subform inside CustomQuotation s...
    See more | Go to post

  • matt753
    started a topic How to print all records in recordset

    How to print all records in recordset

    I have a subform that displays all of the invoices for the day selected. There is a "Print all" button (code below) that should print all the records in the recordset. I cant figure out why it does not work, but it appears to be only printing one record.

    Does anyone have any ideas?

    Code:
    Dim rs As Recordset
        
        Set rs = frmsubAdminEdit.Form.Recordset
        
        rs.MoveFirst
    ...
    See more | Go to post

  • matt753
    started a topic CurrentDb.Execute Problem

    CurrentDb.Execute Problem

    I have the followind code executing when a popup form closes.

    Code:
    CurrentDb.Execute ("UPDATE Orders SET RequiredDate=#" & [ShippedDate] & "# WHERE OrderID=" & [OrderID] & ";")
    I need the 'RequiredDate' field in the backend db to update to what is stored in the [RequiredDate] fireld. I also have the Shipped date updating in the db but that is done automatically since it is bound....
    See more | Go to post
Working...