Click here to Skip to main content
15,886,199 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: tab spacing Pin
Luc Pattyn6-Mar-10 10:18
sitebuilderLuc Pattyn6-Mar-10 10:18 
AnswerRe: tab spacing Pin
Dave Doknjas6-Mar-10 10:53
Dave Doknjas6-Mar-10 10:53 
QuestionURGENT--setting width of column in excel throgh code+vb Pin
chetan_agarwal5-Mar-10 22:57
chetan_agarwal5-Mar-10 22:57 
AnswerRe: URGENT--setting width of column in excel throgh code+vb Pin
Dalek Dave5-Mar-10 23:35
professionalDalek Dave5-Mar-10 23:35 
Questiontext box in VB application Pin
chetan_agarwal5-Mar-10 19:46
chetan_agarwal5-Mar-10 19:46 
AnswerRe: text box in VB application Pin
DaveAuld5-Mar-10 20:35
professionalDaveAuld5-Mar-10 20:35 
Questiondynamically writing text into word document using vb.net Pin
vijaylumar5-Mar-10 18:46
vijaylumar5-Mar-10 18:46 
AnswerRe: dynamically writing text into word document using vb.net Pin
Paramu19736-Mar-10 2:57
Paramu19736-Mar-10 2:57 
MsWrdFile = New Microsoft.Office.Interop.Word.Application
MsWrdFile = CreateObject("Word.Application")
MsWrdFile.Documents.Add()
MsDcmt = MsWrdFile.ActiveDocument

Dim Rg1 As Microsoft.Office.Interop.Word.Range = MsWrdFile.ActiveDocument.Range(Start:=0, End:=0)
MsWrdFile.ActiveDocument.Tables.Add(Rg1, 3, 4)
MsWrdFile.ActiveDocument.Tables(1).Style = "Table Grid 8"

For I As Integer = 0 To 2
Dim oPara_i As Microsoft.Office.Interop.Word.Paragraph
oPara_i = MsWrdFile.ActiveDocument.Content.Paragraphs.Add
If I = 0 Then
oPara_i.Range.Text = "Heading 0"
ElseIf I = 1 Then
oPara_i.Range.Text = "Heading 1"
ElseIf I = 2 Then
oPara_i.Range.Text = "Heading 2"
End If
oPara_i.Range.Font.Bold = True
oPara_i.Format.SpaceAfter = 24 '24 pt spacing after paragraph.
oPara_i.Range.InsertParagraphAfter()
Next
MsWrdFile.Visible = True
MsWrdFile.Quit()
Thumbs Up | :thumbsup:
Questionstoring xml in database [solved] Pin
TremaHD5-Mar-10 5:53
TremaHD5-Mar-10 5:53 
AnswerRe: storing xml in database Pin
Dave Kreskowiak5-Mar-10 7:34
mveDave Kreskowiak5-Mar-10 7:34 
GeneralRe: storing xml in database Pin
TremaHD5-Mar-10 9:41
TremaHD5-Mar-10 9:41 
GeneralRe: storing xml in database Pin
Dave Kreskowiak5-Mar-10 12:00
mveDave Kreskowiak5-Mar-10 12:00 
GeneralRe: storing xml in database Pin
TremaHD6-Mar-10 4:27
TremaHD6-Mar-10 4:27 
GeneralRe: storing xml in database Pin
Dave Kreskowiak6-Mar-10 18:03
mveDave Kreskowiak6-Mar-10 18:03 
GeneralRe: storing xml in database Pin
TremaHD7-Mar-10 5:09
TremaHD7-Mar-10 5:09 
GeneralRe: storing xml in database Pin
Dave Kreskowiak7-Mar-10 9:00
mveDave Kreskowiak7-Mar-10 9:00 
GeneralRe: storing xml in database Pin
TremaHD7-Mar-10 13:13
TremaHD7-Mar-10 13:13 
GeneralRe: storing xml in database Pin
Dave Kreskowiak7-Mar-10 17:17
mveDave Kreskowiak7-Mar-10 17:17 
GeneralRe: storing xml in database Pin
TremaHD9-Mar-10 14:13
TremaHD9-Mar-10 14:13 
AnswerRe: storing xml in database Pin
Luc Pattyn6-Mar-10 5:21
sitebuilderLuc Pattyn6-Mar-10 5:21 
Question[VB.NET/2.0] Clicking ok or cancel on MessageBox with other application using TCPListener Pin
SiXke5-Mar-10 1:20
SiXke5-Mar-10 1:20 
AnswerRe: [VB.NET/2.0] Clicking ok or cancel on MessageBox with other application using TCPListener Pin
Dave Kreskowiak5-Mar-10 2:18
mveDave Kreskowiak5-Mar-10 2:18 
QuestionWill an Excel 2007 application work in Excel 2003 Pin
KLangkilde4-Mar-10 23:36
KLangkilde4-Mar-10 23:36 
AnswerRe: Will an Excel 2007 application work in Excel 2003 Pin
Thomas Krojer5-Mar-10 2:53
Thomas Krojer5-Mar-10 2:53 
AnswerIncompatible file formats Pin
David Mujica5-Mar-10 3:13
David Mujica5-Mar-10 3:13 

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.