Click here to Skip to main content
15,880,405 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello all ,

i want to convert following vba code in to vb.net

DoCmd.DeleteObject(acTable, "tbl_name")

any suggetion...???

thanks in advance
Posted
Comments
Foothill 2-Jul-13 9:54am    
What platform are you targeting? Could use a little more information on what you are trying to do.
TnTinMn 2-Jul-13 11:04am    
That code fragment looks like it is from an MS Access macro, but that is only an educated guess. You should state the context of your code.

Assuming that it is MS Access VBA, then that method will delete the table "tbl_name" from the database (see: http://msdn.microsoft.com/en-us/library/office/ff197376.aspx).

Therefore your question should have been: "What is the procedure to delete a MS Access table using VB.Net?".

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900