UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
 
   Reply to this topicStart new topic
> Access Refrence, Any Version    
 
   
access2009eg
post Sep 14 2019, 06:06 PM
Post#1



Posts: 1,126
Joined: 19-February 08



Hello friends;

Is access (reference) equal or (name) space in VB.net

Thank you so much

--------------------
I would like to Thank you for your help
Go to the top of the page
 
GroverParkGeorge
post Sep 14 2019, 06:08 PM
Post#2


UA Admin
Posts: 35,894
Joined: 20-June 02
From: Newcastle, WA


I am not sure what you are asking here.

Please explain.

Thanks.

--------------------
My Real Name Is George. Grover Park Consulting is where I do business.
How to Ask a Good Question
Beginning SQL Server
Go to the top of the page
 
access2009eg
post Sep 14 2019, 06:29 PM
Post#3



Posts: 1,126
Joined: 19-February 08



edit
reference in access like reference in vb.net

I mean same idea

add library to ms access to increase it's functionality

for example
in vb or c#
using system.data.oledb

in access
Microsoft DAO 3.6 OBJECT Library

--------------------
I would like to Thank you for your help
Go to the top of the page
 
projecttoday
post Sep 14 2019, 06:37 PM
Post#4


UtterAccess VIP
Posts: 11,079
Joined: 10-February 04
From: South Charleston, WV


In VBA you reference libraries in the code designer. It works, so VBA programmers have no reason to try it in the code. Did you try it?

--------------------
Robert Crouser
Go to the top of the page
 
access2009eg
post Sep 14 2019, 06:48 PM
Post#5



Posts: 1,126
Joined: 19-February 08



iconfused.gif

projecttoday
Example

--------------------
I would like to Thank you for your help
Go to the top of the page
 
projecttoday
post Sep 14 2019, 06:58 PM
Post#6


UtterAccess VIP
Posts: 11,079
Joined: 10-February 04
From: South Charleston, WV


References.

--------------------
Robert Crouser
Go to the top of the page
 
GroverParkGeorge
post Sep 14 2019, 07:10 PM
Post#7


UA Admin
Posts: 35,894
Joined: 20-June 02
From: Newcastle, WA


Okay, I think I see what you are asking.

I guess the answer would have to be, in a very general sense, they are similar, yes.


--------------------
My Real Name Is George. Grover Park Consulting is where I do business.
How to Ask a Good Question
Beginning SQL Server
Go to the top of the page
 
jleach
post Sep 15 2019, 06:25 AM
Post#8


UtterAccess Editor
Posts: 10,152
Joined: 7-December 09
From: St Augustine, FL


A Reference (in .NET or in VBA) is a link to a library file which is loaded into the project so we can access the code within that file.

A Namespace (in .NET, there is no VBA equivalent) is a way to fully qualify an object.


Namepace:
System.Data.Entity

The usual convention is to name the files the same as the namespace, so a reference to that file might be:
C:\...\GAC\System.Data.Entity.dll


However it's not required that the reference and the namespace be the same name.



In VBA, we do not have namespaces, but a reference works the same.

VBA Reference:
C:\MyLibraries\MyLib.dll

Then, we access it via CreateObject instead of a namespace:

x = CreateObject(MyLib.MyCustomObject)



So references and namespaces are similar, but not quite the same.

hth

--------------------
Go to the top of the page
 
access2009eg
post Sep 16 2019, 12:04 PM
Post#9



Posts: 1,126
Joined: 19-February 08



thumbup.gif

hat_tip.gif

Thanks My friends for clarification


--------------------
I would like to Thank you for your help
Go to the top of the page
 


Custom Search


RSSSearch   Top   Lo-Fi    21st October 2019 - 05:06 AM