VB.NET School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

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

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




syntax error

 

syntax error

chandu1382

9 Jan, 2009 - 12:01 PM
Post #1

New D.I.C Head
*

Joined: 9 Jan, 2009
Posts: 2

hi guys,

i'm tryin to export contents lik names n numbers to excel database. but wen i use the keyword "imports", its showin syntax error. wat is the prob?? hav i missed somethin?

User is offlineProfile CardPM
+Quote Post


dklingman

RE: Syntax Error

9 Jan, 2009 - 12:11 PM
Post #2

D.I.C Regular
Group Icon

Joined: 23 Dec, 2008
Posts: 254



Thanked: 32 times
My Contributions
Lets see some code.
User is offlineProfile CardPM
+Quote Post

Core

RE: Syntax Error

9 Jan, 2009 - 03:01 PM
Post #3

The .NET Dude
Group Icon

Joined: 8 Dec, 2008
Posts: 3,043



Thanked: 217 times
Dream Kudos: 900
Expert In: C#, VB.NET, WPF, .NET Framework

My Contributions
Imports is a reserved word in VB.NET, used for including (declaring) additional namespaces in your application. You cannot use reserved words as variables or class/methods names.

Are you trying to declare a specific namespace or is the keyword used somewhere else? Are you sure you are declaring the namespace (if you are) correctly? Also, note that the Imports should be placed in front of any declarations.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 10:30PM

Live VB.NET Help!

Be Social

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

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month