choudhuryshouvi 33 Posting Pro

Hi guys,
I need to put the results of a query to an acces database onto a word document. now the query is driven by user choices so it might return one record or it might return over 300 records or then again, nothing at all. but if there is at least one record returned, this is needed to be desplayed on a word document that is going to have to be designed on the fly in code. since I am new to programming (not a student, working!!) i would like some help on this please. i have got as far as getting the info out of the database, just need help on putting it into a word document.

I've a code that acts like the similar way u want.Try this code.I think it will give u an idea how to do word writing from vb programs.If u still have problems then mail me.My email id is :
choudhuryshouvik@yahoo.com

Insert the following references into your project before trying to run this code :
Microsoft Word <version no> Object Library
from Project->References

Here is the code:-
'add a textbox(text1).also add two command buttons and name 'them cmdclose & cmdword respectively.

Option Explicit
Dim wrdapp As Word.Application

Private Sub cmdclose_Click()
On Error GoTo cerror

wrdapp.ActiveDocument.Close
wrdapp.Quit

cerror:
If Err.Number = 4198 Then
Dim ex As Integer
ex = MsgBox("Do you want to save this file …

choudhuryshouvi 33 Posting Pro

dear friends i need visual basic tutorial & books on pdf or video formet plz post for me i am biggener for this ..........
thanks......... in advance........

If u seriously need those what u requested for then I've the resources for u. Just send me a notification mail to my email id and I'll send u what u want within a few moments.My e-mail id is :-

choudhuryshouvik@yahoo.com

or u can try

choudhuryshouvik@gmail.com
bye!!!

choudhuryshouvi 33 Posting Pro

I want a program which will automatically detect and notify whenever a mp3 disc is inserted into anyone of my cdrom drives. I've got a logic but I think it becomes non-practical and also lengthy.So,I want to know if there is any other way to solve the problem. If you can able to figure this out it will be very much appreciated by me. I need this very much. So, please hurry and help me!!!