i m having txt.doc file..& want to any correction in vb , but unable to do..anyone help me..how to use find,span, or selstart as in below
Public Sub printdoc(sdoc As String, intcopies As Integer)
Dim mydoc As Object
Set mydoc = CreateObject("word.application.8")
With mydoc...
wud anyone help me pls.., i want to print a logo in paper from my sob.doc file, i m using richtextbox & i hv facing problem..that contents are printing, but logo (picture.jpg) is not printing..wud anyone help me by source code
i hv two computer "comp1" & "comp2"
i hvto copy one "temp.txt" file from "comp2" to "comp1" by visual basic code
anyone cud advice how to coding.
Hello..
please any one advice how to retrive computer name/Drive list from "Windows Network Neighbourhood"
please tell me how wud i make code"
Hi Frens
i m getting message from record count properties, anyone wud like to explain about this, i mean..why this messages is coming..& what is the solution of that.
Private Sub Form_Load()
Label8.Caption = "Record No." & " " & Data1.Recordset.RecordCount
End Sub
So i...
Dim bl, rd, gr, ctr As Integer
Dim box As String
Private Sub Command1_Click()
With PBar1
.Left = 2300
.Top = 770
.Width = 6300
End With
On Error GoTo FileError
PBar1.Visible = True
Timer1.Enabled = True
Dim filesystemobject As Object
Set...
Hello..Still My problem is Hanging
I just draw a progress bar on the form, & copying a file from one directory to another direrctory,
but my progressbar is not showing, like blue part of progressbar shows..which is not showing..
wud anyone help pls.
Oya, I wud like to remind one thing, that user can feed any data..which can be in any length, but i want in line wise, like if user feed, as like text
J.L. Consultant
11/13..Jo Street
Me.
so data must show in text box in above format.
please suggest me
I m hving one DBF file, there is three field which 60 Width Charecter
I want to get text from that DBF field in one Text Box, & again i want to save New data to that DBF file.
any one wud help me pls.
DBF.DBF
Name 60 Charecter
Add1 60 Charecter
Add2 60 Charecter
I m Making Application in...
Data1.Recordset.Fields(4) = Mid(Text5.Text, 0, 60)
in above line, showing, all text from text bos in msgbox, its mean that, mid is not extracting only 0 to 60 charector,
even mid is extracting all charector text from text box, which is not suitable for field, therefore its giving error...
john, problem is coming in fst mid line, becoz mid function is retriving all text, not only 60 char.
so i think..mid is not working as per substr, pls guide once again
hello john, actually...its dbf file, & i cant change that datafile in another plateform, therefore..there is some as like field..as text, "Party Name", "address", & all is 60 charector..thatswhy i wanted to save same, but i want to use 5 fields for one text box, thatswhy i m...
pls anyone can help me, becoz i m getting eror again & again, so anyone can tell me..
that how to get total no. of record in textbox or label, & as well as current record.
Actually i m coding this
Text5.Text = Data1.Recordset.Fields(4) + vbCrLf + Data1.Recordset.Fields(5) + vbCrLf + Data1.Recordset.Fields(6) + vbCrLf
but when again i save data again from text5.txt to data file,
so its giving error
Data1.Recordset.Fields(4) = Mid(Text5.Text, 0, 60)...
i hv one database file
rst.field(1)
rst.field(2)
rst.field(3)
rst.field(4)
textbox1 =
"Name
Age
Sex
ClASS"
i want to save in above fields,
LIKE FIELD1 - NAME
FIELD2 - AGE
FIELD3 - SEX
FIELD4 - CLASS
PLEASE HELP ME IN CODING..I MEAN HOW TO WRITE
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.