Question about Compilers & Programming Tools

1 Answer

Visual basic if i use the GetElapsedDays() function im getting the following error... External name not defined. my code: GetElapsedDays ([rs.Fields(6).value] - [datetime.date]) plz help...

Posted by on

  • pradhikshaa Aug 02, 2008

    Plz get me d solution

×

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Mayor:

    An expert whose answer got voted for 2 times.

  • Contributor
  • 4 Answers

Please Check the format of date time that is comming from record set

Posted on Aug 02, 2008

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

How we can create module in the project


Hi,
it depends on how you define "module". Defining VB .NET modules is simply done by writing:
Module YourModuleName
' TODO : Add your code
End Module
Is that what you meant? There is also a template available in the new file dialog under the VB category. Calgary Website Design Firm Agua Web

Jan 25, 2014 | Microsoft Visual Basic Professional...

1 Answer

Free download because.i need in my school.


MICROSOFT VISUAL BASIC 6.0 PORTABLE Microsoft Visual Basic 6.0 has many advantages compared to other software or programming language, among the advantages of visual basic are as follows: a. Learning curve and development that is shorter than that of other programming languages ??like C / C + +, Delphi or PowerBuilder even though.b. Eliminate the complexity of Windows API function calls, because many functions - these functions have been "embedded" into the visual basic syntax.c. Suitable for developing applications / programs that are "Rapid Application Development).d. It is used to create a program or business applications.e. Used by nearly microsoft office as a macro language and will soon be followed by others.
f. Can create an ActiveX Control
g. Can use the OCX or component provided by third parties (Third Party) as the developer tools.
h. Provides a wizard that is very useful to shorten or simplify application development.
i. Approaching Object Oriented Programming.
j. Can be integrated with the Internet, be it on the client side and server side.
k. Can create an ActiveX Automation Server.

sanjibsaha.jpg

click on the link and download http://www.mediafire.com/?37hlpq6h1e5xf4s
password to unlock the file is -

freesoftwarepc.biz

Aug 07, 2011 | Microsoft Visual Basic 6.0 for PC

1 Answer

How to disable command button in visual basic


  • tep 1 Open Visual Basic and select "Standard Exe" to create a new project.
  • Step 2 Add a button by clicking the square button tool on the right, and then clicking and dragging in the main window.
  • Step 3 Click the button once to open the "Properties" window on the right. Select the "(Name)" property, and type "myCmdButton" as the name.
  • Step 4 Double-click the button to open up the code-view window. Type the following in the white space under "Private Sub myCmdButton_Click()":
    myCmdButton.enabled = False;
  • Step 5 Click the blue "Run" button on the top toolbar of Visual Basic. Because you set enabled to "false" in the previous step, you will see your button grayed out, and nothing will happen when you click it.
  • Jul 07, 2010 | Microsoft Compilers & Programming Tools

    1 Answer

    What does Dim, Try , Me , Private Sub means in Visual Basic


    Dim allows you to declare a variable. It is short for "Dimension", and is an old old keyword. For example if you want to declare a variable called i that can hold an integer you would write:
    Dim i As Integer
    The Try keyword is used to allow you catch errors when they occur. If you didn't catch them, they would cause the program to end with an error report.
    Try ' Code goes in here that might throw an error Catch Ex As Exception ' Code goes here to deal with any error End Try
    The Me keyword refers to the current instance of the class in which the word appears. For example if the class is called Form1, then Me allows you to refer to the current instance of the class when the code is running.
    Private Sub is formed from two Keywords. Private is an "Access modifier". When applied to a Sub it means that the Sub would not be visible outside the class. Sub is short for "Subroutine". A subroutine is a section of code that performs some useful function that you might want to run many times. For example you might want to do something whenever a button is clicked, and so you would write a subroutine with code in that will run whenever the button is clicked.
    It would be better to ask programming questions in a visual basic forum. There are many on the internet. Search the internet for "visual basic forum". Also note that when you are using Visual Studio 2005, you can press the F1 key when you have placed the cursor in a word that you do not understand, and it will open the help and the relevant page.
    These terms are very very difficult to understand when you have never programmed before. Usually it is best to take a lot of it on faith, and move on through the book or example that you are following without completely understanding it all. Over time, with practice, repetition and perseverance you will start to develop an understanding of the underlying concepts. They are hard to explain and hard to learn.

    Jun 06, 2010 | Microsoft Visual Studio 2005 Standard...

    1 Answer

    Visual Basic 6.0 for PC: how can i get the source code of a ATM machine fun...


    You Can download your code from

    http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=72945&lngWId=1

    May 17, 2010 | Microsoft Visual Basic 6.0 for PC

    1 Answer

    How to setup visual basic 6.0


    1. One of the first and best things to do is begin to understand the Visual Basic IDE (Integrated Development Environment). By understanding the IDE you will be able to develop VB programs quickly and effectively. Start by reading the Getting to know the VB6 IDE tutorial
    2. The classic first program in any language is the Hello World tutorial. As a beginner you should make sure you write this program to get your feet wet. Check out the Simple Hello World VB6 tutorial
    3. Good programmers figure out how to use a consistent naming scheme when they develop applications. The quickest way to graduate out of the beginner VB6 level is to check out the Object Types and Naming Scheme VB tutorial
    4. Variables are used in any real development. Make sure you visit the Quick Variable tutorial to see how variables work in Visual Basic 6
    5. (Optional) More In Depth Understanding variables and types in VB6
    6. When you need to make comparisons or have your program choose between options you will need to understand Visual Basic's if statements. Luckily there's a beginners tutorial that explains just that: Understanding the if conditional statement
    7. Once you grasp the basics check out this next beginner VB6 tutorial that goes more in depth into conditional statements: Understanding if statements and conditionals in VB6
    8. Need to do something repeatedly? Need to iterate through a list of things? Need to count from 1 to 1 Billion by 3's? You need to understand loops! Understanding For, Do, and while Loops
    9. Once a beginner understands how to use functions and subroutines he or she is on the road to being a full fledged VB6 guru. A solid grasp on functions and subroutines allows you to reuse code and functionality throughout your program and in future programs.Functions and Subroutines in VB6 tutorial
    10. Last but not least, begin to learn how to use all the great controls Visual Basic offers and create a great User Interface for your clients to use. Basic Graphical User Interfaces in VB6 - Tutorial
    Once you have finished these tutorials you should have a very good understanding of the fundamentals of the Visual Basic 6 language and development environment. Feel free to download some more advanced tutorials and continue learning on your own. If you have any questions or comments related to this Visual Basic 6 guide please post them below.

    Jan 27, 2010 | Microsoft Visual Basic 6.0 for PC

    1 Answer

    Errors after building


    ok DIALOGSET is referenced in your code but where is it declared , or defined, could be a class or structure etc.

    May 30, 2009 | Compaq Digital Visual Fortran Standard...

    2 Answers

    I want 2 pass assembler code in c or c++


    What do you mean by pass?

    Depending on your compiler, you can inline assembly statements. For Microsoft Visual Studio C/C++ the syntax is:

    __asm push eax

    or

    __asm {
    push eax
    pop eax
    }

    If you want to link to assembly routines that you separately compiled via an assembler... that is a little bit more complicated:

    In your C or C++ program declare your assembly routine:

    extern "C" { void __stdcall example(); }


    This gives it standard C linkage (which will turn off name decoration), and tells your compiler that the function is external (i.e. won't be available until link time).


    In your assembly file:

    .386
    .model flat
    .code

    public _example

    _example proc

    ret

    _example endp

    end

    After assembling your .asm file, you will need to tell your linker to include the resulting .obj file. This varies by environment, but for Microsoft Visual Studio you can add it under Project Properties, 'Linker', 'Input', 'Additional Dependencies'. You may get linker errors, in which case you should double check your assembler options to make sure you are generating case sensitive names.

    Apr 14, 2009 | Compilers & Programming Tools

    Not finding what you are looking for?
    Compilers & Programming Tools Logo

    Related Topics:

    132 people viewed this question

    Ask a Question

    Usually answered in minutes!

    Top Compilers & Programming Tools Experts

    Robin Hill
    Robin Hill

    Level 3 Expert

    1251 Answers

    Fred Block
    Fred Block

    Level 2 Expert

    289 Answers

    Les Dickinson
    Les Dickinson

    Level 3 Expert

    18304 Answers

    Are you a Compiler and Programming Tool Expert? Answer questions, earn points and help others

    Answer questions

    Manuals & User Guides

    Loading...