Welcome to Dream.In.Code
Become a VB Expert!

Join 149,486 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,342 people online right now. Registration is fast and FREE... Join Now!




Functions don't work

 
Reply to this topicStart new topic

Functions don't work

Schwarzenegger
4 May, 2007 - 10:10 PM
Post #1

New D.I.C Head
*

Joined: 20 Feb, 2007
Posts: 13


My Contributions
The problem has been solved. Thanks

This post has been edited by Schwarzenegger: 5 May, 2007 - 04:48 AM
User is offlineProfile CardPM
+Quote Post

born2c0de
RE: Functions Don't Work
5 May, 2007 - 02:42 AM
Post #2

printf("I'm a %XR",195936478);
Group Icon

Joined: 26 Nov, 2004
Posts: 4,026



Thanked: 38 times
Dream Kudos: 2800
Expert In: 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions
Add the Data Types of the Parameters like this:
CODE

Public Function MAX(Col As <data_type>, First as Integer, Last As Integer)


It might work. When Data-types are omitted from the function definition, VB assumes the concerned parameters to be of the Variant Data type.
User is offlineProfile CardPM
+Quote Post

Jayman
RE: Functions Don't Work
5 May, 2007 - 12:06 PM
Post #3

Student of Life
Group Icon

Joined: 26 Dec, 2005
Posts: 7,302



Thanked: 66 times
Dream Kudos: 500
Expert In: Everything

My Contributions
Please do not delete the content of your post just because your problem has been solved. Leave it there so that other members can learn from any problems you had and the solution required to fix it.

Otherwise we may just have to disable the ability of all members to edit their posts to put a stop to this childishness.

Thank you.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 04:54PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month