Basic Syntax and Examples Tutorial [closed] - vba

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
At work I work closely with MS-Office. I have managed to generate some scripts that perform various tasks. While I can port functions to VBA with some difficulty, I do not fully understand the foundations of the VBA language.
Items for which I seek basic syntax and examples include: 'hello world' program, loops, flow control, variable declaration, variable type conversions, Objects (if possible), file/user input/output, when 'with' block can be used, and so on.
Could someone provide me with a link to a VBA tutorial, perhaps with the details of the above items?

MSDN: Developing Office Applications Using VBA
If you haven't taken a look at it already, you can learn a lot from Visual Basic help within Office. To access it open an Office program and press Alt+F11 to open the Visual Basic Editor. Then press F1 or navigate to Help -> Microsoft Visual Basic Help. Also, as Mitch mentioned, if you learn the basics of VB6 you can use the same syntax for VBA.

The versions of VBA post Office 2000 are almost identical to VB6. This MSDN site is a great place to start. The VB6 resource center might also be of use.

I think you will find this video tutorial pretty helpful:
http://developresource.weebly.com/10/post/2011/11/vba.html
And there are some other great stuffs you can find there so have a try :)

Related

programming an accounting software in visual basic [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I want to learn programming accounting software in vb 6.0. Which book should I read for better achievement that teaches me everything step by step in advanced.
I myself started off with Vb6 a few lightyears back.Golden old days. Over the past years though, like almost everyone else, we have moved to vb.net and now c#.
If you are a beginner, sure you can still start with vb6, it is simple, easy to learn and then you can move on to more current technologies. However, in my opinion it will be better to start with either vb.net or c# directly. The reason being that most of the people are using these now, and lots of help is available. Whether you are looking for a job, or settingup your own company, vb.net ( and actually c# - they are verrrrry similar) would be a much better investment of time.
Rather than buying abook, you can also start with vb6 tutorials... see this link for absolute beginners
http://www.vb6.us/guides/visual-basic-6-beginners-guide
Wrox's books are pretty comprehensive, and yet beginner friendly. I'll provide you a link to the UK amazon for vb6 if you still want to go vb6 way, if you are not in the UK , you can search for it at a local bookstore/amazon
http://www.amazon.co.uk/Beginning-Visual-Basic-beginning-guides/dp/1861001053/ref=sr_1_3?ie=UTF8&qid=1364635699&sr=8-3
and as I said, why go vb6 way, when you will eventually end up using vb.net ( or c#). First get the free express edition of vb.net from microsoft here http://go.microsoft.com/?linkid=9816758
then this is a link to some great beginner tutorials for vb.net. get coding!!!
http://howtostartprogramming.com/vb-net/

Postgresql and OSX [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have a project that's in the design phase and looking at my options have decided on using Postgresql for the application backend because of licensing and features. I have searched around but I am unable to find any solid information on using Postgresql in Xcode or even with OSX applications. Could someone point me in the right direction any help would be greatly appreciated.
You have not given quite a lot of context.
On the application side there are quite a few pieces of software running under OS X that interface with PostgreSQL, for example the standard GUI pgAdmin.
But I believe you're more concerned about the developers perspective. Probably the most common way is to use the libpq library that comes with PostgreSQL. It is well documented and rather stable. Integration into your software project should be straightforward.
If you are looking for an Objective-C framework, you could try out BaseTen. Never used that one, though.
If you want more specific help, you have to ask more specific questions.

Convert vb.net to vb6 [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have written code in c# and vb.net but now the requirement is vb6.Can i convert vb.net code to vb6.How to add namespace in vb6 System.Security.Cryptography
Quite apart from the fact that the language VB.NET is far more feature rich than VB6, the fact that you have developed in VB.NET means that you have made extensive use of the .NET class libraries (including System.Security.Cryptography that you give as an example). These are simply not available to VB6 code. There is no way to convert the code, you will have to start again.
If the company doesn't want the .NET Framework as you state, then you will have to either find some COM libraries that use the same functionality (that they are happy with you using), or you will have to roll your own (not advisable in the case of security functionality). Or you could find a different job...

Online Chess by VB.net [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
as the topic header shows my question is about Coding an online chess by VB.net.
I coded the chess game with all rules , now I designed a login form for it, but I don't know how to connect to a Database and send query , to check the User and pass.
I searched about connecting to a DB and I found something. but i didn't found anything about sending query.
I need a code that contains connecting to a DB and sending query for example about checking username and password to DB.
thanks.
Well, the simplest answer is to use what's called ADO.NET. It's basically a set of classes within the .NET Framework which are used to access a database. Depending on the database you use, there may be a built-in driver (MS SQL, Access, etc.) or you may need to use a 3rd party one (MySQL, PostgreSQL, etc.).
Here are a couple of examples. There are many more.
You can also use LINQ to SQL, which internally uses ADO.NET but presents the data access to the developer is a more fluent way. Or take it another step and use Entity Framework. Etc.
Essentially the question itself is very broad. There are a number of ways you can access a database. But these are the places to get started. If/When you run into specific issues with code not working the way you expect, we'll be happy to help.

Learning to use open source software [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
Do you know any book, blog, tutorial which explains in a detailed way the use of some open source projects? Maybe you have written such a tutorial, example of open source libraries, and your final product is great for a beginner to understand it.
I'm in the learning stage of OOP and I really need to learn by examples. I'll like to find some text which explains the use of some open source software/libraries and the good practices. Beign honestly I feel scared to use the open source libraries as I wish/think at this moment. I feel like as I still write procedural code and not OOP.
Do you know such tutorials, links, blogs, stories, pages?
PS: I know C and PHP. I can't say that I know C++ yet, and that's why I need your help.
Start with one of the most popular Stack Overflow questions.
Then head over to the FLOSS Manuals site for manuals about all sorts of open-source tools.
If you still have questions, use the Stack Overflow search box liberally!
Enjoy!
Many open source projects have their own documentation pages. So if you are willing to use a library or a project you can refer to the documentation.
Or else you want to get involved in any open source projects.
Read these things,
http://www.kegel.com/academy/opensource.html
http://jakarta.apache.org/site/understandingopensource.html