Solved

stdDataFormat

Posted on 2001-06-21
4
348 Views
Last Modified: 2011-10-03
Hi All,

Can anyone tell me how to use this function in VB, and also, can anyone post a simple coding for this functions?

Thanks
0
Comment
Question by:kchoed
  • 2
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
Microsoft earned 100 total points
ID: 6213414
have a look at this :-


object.Format = formatstring

The Format property syntax has these parts

object expression
An expression that specifies a particular object and can include any of the object's containers. For example, an application can have an Application object that contains a Document object that contains a Text object

expression
A combination of keywords, operators, variables, and constants that yields a string, number, or object. An expression can be used to perform a calculation, manipulate characters, or test data.

The StdDataFormat object is an integral part of data binding. It is created for any bound control, regardless of whether you create one in code


or have a look at this link
http://msdn.microsoft.com/library/devprods/vs6/vbasic/vb98/vbproformatprpty.htm


hope this helps

cheers

Andy
0
 
LVL 51

Expert Comment

by:Ryan Chong
ID: 6213443
0
 
LVL 2

Expert Comment

by:Microsoft
ID: 6214600
ryancys link shows exactly the same information my link does,



cheers
Andy
0
 
LVL 51

Expert Comment

by:Ryan Chong
ID: 6216605
ya, similar topic. Sorry 'bout that bcos i just post it without refresh this page.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question