Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the diff between the Create Object and Get object?

Answers were Sorted based on User's Feedback



What is the diff between the Create Object and Get object?..

Answer / guest


Create Object - To create an instance of an object.
Get Object ? To get the reference to an existing object.

Is This Answer Correct ?    10 Yes 0 No

What is the diff between the Create Object and Get object?..

Answer / abcd

1. CreateObject creates an instance of a class
2. GetObject gets the reference of an running object
to another object
3. Always use CreateObject except for Windows
Management Instrumentation (WMI) and Active Directory
Service Interfaces (ADSI)
The below script demonstrates the use of these two VBScript
functions.
Set objExcel = CreateObject("Excel.Application")
objExcel.Visible = True
Set objWorkbook = objExcel.Workbooks.Add

Set objExcel2 = GetObject(, "Excel.Application")
Set objWorkbook = objExcel2.Workbooks(1)
Set objWorksheet = objWorkbook.Worksheets(1)
objExcel2.Cells(1, 1).Value = "In god I TRUST everything
else I TEST."

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More Visual Basic Interview Questions

DHTML Is used for what?

0 Answers  


How many tabs in a tabbed dialog do you consider appropriate?

0 Answers  


what are the types of LockEdits in DAO?

0 Answers  


Explain about the creation of EXE files with Visual Basic?

0 Answers  


How many types of API functions are availble in VB?

1 Answers  


How to find the current record position in data control?

2 Answers  


I'm getting error message "Reserved Error [-nnnn] ("There is no message for this error")" from Jet Engine 2.0.Why?

0 Answers  


What type of recordsets are available in ADO?

1 Answers   CSS,


What is the difference between a PictureBox and Image control?

3 Answers  


What is the use of Visual Basic Document file?

0 Answers  


What is view Port?

1 Answers  


Which datatypes in Visual Basic are capable of accepting Nulls?

1 Answers  


Categories