Search Result

Collapse
16 results in 0.0044 seconds.
Keywords
Members
Tags
reference
  •  

  • Pawel
    started a topic Error 2465 when referencing to a subform field

    Error 2465 when referencing to a subform field

    Hi everyone,

    I got this error in Access and I really don't have any idea where it may come from...

    In a form with Clients ("DB Client companies - management"), I have a subform with contracted products ("DB Client companies products - management").

    In this subform, there is a button with VBA code behind (OnClick). When it's executed, I get the following error (2465):
    Microsoft...
    See more | Go to post

  • limweizhong
    started a topic Override referenced functions

    Override referenced functions

    Hi,

    Say I have already executed the following code in a JavaScript interpreter:
    [code=javascript]
    var x,o1,o2;
    x=function(){ alert(this.z); };
    o1={z:"o1",t:"o 1t"};
    o1.alertfunc=x;
    o2={z:"o2",t:"o 2t"};
    o2.alertfunc=x;
    o1.alertfunc(); // alerts "o1"
    o2.alertfunc(); // alerts "o2"[/code]

    How do I change...
    See more | Go to post

  • Is Object Returned by Reference from Function?

    Hello,

    This should be a fairly common question, but I haven't found a straightforward answer anywhere.

    If I instantiate an object within a function in VB.NET and return it, does it return it be reference or by value. IE - should I be worried about performance if I write something like this:

    Code:
    Public Function ret_obj_func() As big_object
        Dim ret_obj As New big_obj(<lots of stuff>)
    ...
    See more | Go to post

  • How I can resolve the linker problems in Visual Studio 2010 C++ ?

    This is the output of the software after that I try to compile it
    Code:
    1>Helper.obj : error LNK2019: riferimento al simbolo esterno _GdiplusStartup@12 non risolto nella funzione "public: __thiscall GDIPlusInit::GDIPlusInit(void)" (??0GDIPlusInit@@QAE@XZ)
    1>Helper.obj : error LNK2019: riferimento al simbolo esterno _GdiplusShutdown@4 non risolto nella funzione "public: __thiscall GDIPlusInit::~GDIPlusInit(void)" (??1GDIPlusInit@@QAE@XZ)
    ...
    See more | Go to post

  • Rishabh Chandra
    started a topic Calling methods on unnamed objects

    Calling methods on unnamed objects

    Hello,

    We are building a graphing application in which we define the different components of the form as user controls.

    We have defined a number of series on the graph such as bar, candlesticks, line etc. and at a time, only one series is visible on the graph. The user selects a radio button and based on the selection, one of the series is made visible and the others are disabled.

    The problem we are facing...
    See more | Go to post

  • Stephen Parker
    started a topic Refresh a form from another database?

    Refresh a form from another database?

    1234567890
    See more | Go to post
    Last edited by Stephen Parker; Nov 29 '10, 12:12 PM. Reason: Typo

  • How do I get the index of a control for reference?

    Hello,

    I'm trying to obtain a form control's index. For example, a form may have 30 or so controls on it. To refer to control 15, I can do:
    Code:
    frm.Controls(15)
    My goal is to populate a listbox with the indexes of all controls that have a tag, executing on Form_Load. Then, I wish to reference all controls in the listbox by index on Form_BeforeUpda te. I do this for change tracking in a form. Currently...
    See more | Go to post

  • Reference Form Fields Value - Application-defined Error 2465

    Hello,

    I am trying to refer to fields on a given form from the form query's recordset, essentially from the following commands:
    Code:
        Dim frm As Form 'Refers to the current form
        Dim tagName As String 'Refers to the field in the form's recordset (not a control on the form)
    
        ...
        frm.Fields(tagName).Value 'This gives Error 2465
    My question is how do I refer to a field...
    See more | Go to post

  • Is ((char **) &var_name); a cast to char array giving existing pointer to var_name?

    I am currently reading/learning c. I often like to look at code while I read, - to see more practical use then often are feasible in educational books.

    I am looking at some code from wget.

    Code extracted from wget.
    Code:
    /* file: mswindows.c */
    void
    windows_main (char **exec_name)
    {
      char *p;
    
      /* Remove .EXE from filename if it has one.  */
      *exec_name = xstrdup
    ...
    See more | Go to post
    Last edited by Rizladonovich; Sep 19 '10, 04:30 AM. Reason: added code for xstrdup, changed title

  • overriding virtual function, can the return type be either a pointer or a reference?

    code example from an opensource game:


    Code:
    namespace CEGUI{
    class CEGUIEXPORT Renderer
    {
    public:
         virtual TextureTarget* createTexture() = 0;
    
    }
    }
    
    
    class cFake_Renderer : public CEGUI::Renderer
    {
    public:
        virtual	CEGUI::Texture *createTexture(void) { return NULL; };
    }


    in vs2008 ,it cause a compile...
    See more | Go to post

  • presencia
    started a topic heap object question, and RAII advice request
    in C

    heap object question, and RAII advice request

    Hi all,
    I am still in the process of lerning how to write decent C++ code. I will appreciate any good advice or corrections. I have two questions, a technical one and one for advice for how to design my code.

    1. I have read somewhere (can't remember, must have been some tutorial page) that objects allocated on the heap can only be accessed through pointers. Thus, for example
    Code:
    vector<int> * v_ptr = new vector<
    ...
    See more | Go to post

  • IE says "Cannot display webpage" when script reference is in body?

    Hi there,

    a very strange happened. It seems that IE (7 and 8) can't load a webpage when the script reference (script language="javas cript" type="text/javascript" src="..:") is in the body... It should be normally put into the header, that's clear. But sometimes, on dynamic web portals, it seems really complicated to do that. So, on some occasions, I insert the script somewhere in the body. But it seems...
    See more | Go to post

  • tincho87
    started a topic dll not found when changing the path

    dll not found when changing the path

    Hi everyone, sorry about my english. Im having a problem and i don't know how to fix it.

    I have a plugin-based application that i'm developing. Every plugin has a reference to a dll that has different static classes with functions. When i run the application with all the dlls (plugins and their references) in the same directory, the application works fine. But the problem comes when i change the application's path, leaving the dlls...
    See more | Go to post

  • Fr33dan
    started a topic External Library Reference.

    External Library Reference.

    Hi,
    I have a currently have 2 C# projects that won't work together the way I want them to. One project is a library I've written and the other project is a application that uses it. In the future I will likely be writing more applications that will use the same library project.

    My question is, Is there some way I can get the projects to reference a single copy of the DLL file from one of my projects?

    Currently...
    See more | Go to post

  • ChipR
    started a topic DAO360.dll in 2007?

    DAO360.dll in 2007?

    I've solved my missing Outlook reference problems by using late binding, but a new problem has come up. When my user opened a form, Access started searching for DAO360.dll. The dll was in some crazy folder on his C: drive, so I had him copy it to C:\Program Files\Common Files\Microsoft Shared\DAO, unregister it, and reregister it. Now no search message, but I have 2 questions I can't find the answer to.
    1) What is supposed to install this...
    See more | Go to post
Working...