Click here to Skip to main content
16,010,114 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to CREATE XML file using 'view' in VB6? Pin
virendra_0074-Jul-07 2:37
virendra_0074-Jul-07 2:37 
Questionword document [modified] Pin
hsuresh4-Jul-07 2:34
hsuresh4-Jul-07 2:34 
AnswerRe: word document Pin
koolprasad20034-Jul-07 2:43
professionalkoolprasad20034-Jul-07 2:43 
GeneralRe: word document Pin
hsuresh4-Jul-07 2:55
hsuresh4-Jul-07 2:55 
GeneralRe: word document Pin
koolprasad20034-Jul-07 3:01
professionalkoolprasad20034-Jul-07 3:01 
GeneralRe: word document Pin
hsuresh4-Jul-07 3:08
hsuresh4-Jul-07 3:08 
GeneralRe: word document Pin
koolprasad20034-Jul-07 3:15
professionalkoolprasad20034-Jul-07 3:15 
GeneralRe: word document Pin
hsuresh4-Jul-07 23:19
hsuresh4-Jul-07 23:19 
i worked with macros also it's not working
can please help me. if u have code for creating word document.

Dim w As New Word.Application
Dim d As Word.Document

d = w.Documents.Open("c:\test1.doc")
'w.Selection.MoveRight(Unit:=1, count:=6)

d.MailMerge.OpenDataSource(Name:="C:\test1.csv", ReadOnly:=False, LinkToSource:=True, Connection:="", SQLStatement:="", SQLStatement1:="")

d.Fields.Add(Range:=w.Selection.Range, Type:=Word.WdFieldType.wdFieldMergeField, Text:="""LastName""")

With d.MailMerge
.Destination = Word.WdMailMergeDestination.wdSendToNewDocument
.SuppressBlankLines = True
With .DataSource
.FirstRecord = Word.WdMailMergeDefaultRecord.wdDefaultFirstRecord
.LastRecord = Word.WdMailMergeDefaultRecord.wdDefaultLastRecord
End With
.Execute(Pause:=False)
End With

w.Visible = True
QuestionConvert array to arraylist problem Pin
ESTAN4-Jul-07 2:26
ESTAN4-Jul-07 2:26 
AnswerRe: Convert array to arraylist problem Pin
Luc Pattyn4-Jul-07 4:55
sitebuilderLuc Pattyn4-Jul-07 4:55 
GeneralRe: Convert array to arraylist problem Pin
ESTAN4-Jul-07 6:52
ESTAN4-Jul-07 6:52 
GeneralRe: Convert array to arraylist problem Pin
Luc Pattyn4-Jul-07 7:12
sitebuilderLuc Pattyn4-Jul-07 7:12 
GeneralRe: Convert array to arraylist problem Pin
ESTAN6-Jul-07 0:04
ESTAN6-Jul-07 0:04 
QuestionRevolving around the forms Pin
ozzyrocsdbn4-Jul-07 1:58
ozzyrocsdbn4-Jul-07 1:58 
AnswerRe: Revolving around the forms Pin
Christian Graus4-Jul-07 2:04
protectorChristian Graus4-Jul-07 2:04 
GeneralRe: Revolving around the forms Pin
The ANZAC4-Jul-07 2:11
The ANZAC4-Jul-07 2:11 
GeneralRe: Revolving around the forms Pin
Christian Graus4-Jul-07 5:18
protectorChristian Graus4-Jul-07 5:18 
AnswerRe: Revolving around the forms Pin
The ANZAC4-Jul-07 2:12
The ANZAC4-Jul-07 2:12 
QuestionDrag Table to Form from Server Explorer Pin
Khan.Bangash4-Jul-07 1:21
Khan.Bangash4-Jul-07 1:21 
AnswerRe: Drag Table to Form from Server Explorer Pin
Dave Kreskowiak4-Jul-07 5:25
mveDave Kreskowiak4-Jul-07 5:25 
GeneralRe: Drag Table to Form from Server Explorer Pin
Khan.Bangash5-Jul-07 2:22
Khan.Bangash5-Jul-07 2:22 
GeneralRe: Drag Table to Form from Server Explorer Pin
Dave Kreskowiak5-Jul-07 4:50
mveDave Kreskowiak5-Jul-07 4:50 
GeneralRe: Drag Table to Form from Server Explorer Pin
Dave Kreskowiak8-Jul-07 6:52
mveDave Kreskowiak8-Jul-07 6:52 
QuestionHow to Get a file from network machine through installed service ? Pin
Rizwan Bashir4-Jul-07 0:44
Rizwan Bashir4-Jul-07 0:44 
AnswerRe: How to Get a file from network machine through installed service ? Pin
Dave Kreskowiak4-Jul-07 5:29
mveDave Kreskowiak4-Jul-07 5:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.