473,543 Members | 2,365 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic 4 / 5 / 6 Forum

Visual Basic programming language and IDE - Ask questions about rapid applicatoin development, GUI, database access, DAO, RDO, ADO, Active X Controls, objects, Microsoft Visual Basic 4/5/6.
4
1,404
thread by: Ghaleon | last post Sep 13 '13 by: Ghaleon
I'm creating a word document with more than 800 pages. But I'm facing two problems: 1- It's take more than 20minuts to finish; 2- When it's almost finishing, it shows the message: Too Much Ortographic Erros to show the document then the whole operation is ended. How may I fix these problems?
3
1,116
thread by: percman | last post Sep 13 '13 by: Rabbit
I am extremely new to VBA and am trying to something that one would think would be easy. All I need is a way to create a stop in a form when a wrong entry is input. The form consists of hours per day, and three different areas where these hours are distributed. I have this code: * Private Sub Text1470_AfterUpdate() Me.Text1474.Value =...
2
1,098
thread by: Codruta | last post Sep 12 '13 by: ToniKati
I know that exists another topic on this subject and I've read it but for me doesn't work Dim wrdApp As New Word.Application wrdApp.Documents.Open("E:\My Documents\exemplu\exemplu.doc") wrdApp.Visible = True My error is that word.application is not defined. Can someone help me? I'm using VB2010
2
1,687
thread by: dcaghili | last post Sep 10 '13 by: Rabbit
I have written a small program that allows documents to be created through a visual basic form. The documents are created, an excel spreadsheet is updated, the documents are filed, and an email is sent. However, I would like to add more functionality by allowing the user to choose to email documents that previously existed. I have succeeded in...
0
925
thread by: secondry2 | last post Sep 10 '13 by: secondry2
I have a webbrowser control in VB, but how do I remove html elements from it?
1
2,505
thread by: venomv1 | last post Sep 9 '13 by: vijay6
I have encountered a block in my programming escapade. The project that I am working on is from a visual basic 6.0 programming book and is a program that opens a data file filled with roman numerals, read to end of file, and outputs the numerals digit form, performs a mathematical operator on them, and then display output. I am also employing the...
0
1,078
thread by: kako0000000 | last post Sep 9 '13 by: kako0000000
Hello I create a project1 in vb6 and make .exe file i run setup install successful when my problem when i run my program some file show error first i not know how can clear this error i copy the error in crt folder how can .dll attached my modules when make .exe file Thanks
0
984
thread by: jctgt | last post Sep 8 '13 by: jctgt
Hello, I have this: Private Sub Form_Load() Dim oXLApp As Excel.Application 'Declare the object variables Dim oXLBook As Excel.Workbook Dim oXLSheet As Excel.Worksheet Set oXLApp = New Excel.Application 'Create a new instance of Excel Set oXLBook = oXLApp.Workbooks.Open("D:\Billard8") 'Open an existing workbook Set oXLSheet =...
7
3,853
thread by: dawn123 | last post Sep 8 '13 by: muneeebkingmast
I have a text box that I only want a user to be able to enter integers. I have it so that if a number with a decmail place is enter a error message comes up. But when i was testing the code, I entered a letter in and i got a runtime error.. I was wondeirng what I would use give an error if a letter what typed in.
7
19,673
thread by: rekhasc | last post Sep 7 '13 by: Amit Chaudhary
plz help me to write the code to change the current password and to update the new password: i have written the code but its giving error,my code is Private Function pass() As Boolean Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim sql As String cn.Open = "provider=microsoft.jet.OLEDB.4.0;Data...
3
1,489
thread by: Ghaleon | last post Sep 6 '13 by: Rabbit
Does anybody know how to insert a picture from a database to a bookmark in a Word Document using vb. ? I know how to insert image by the path, like Word_App.Selection.InlineShapes.Add.Picutre FileName:="C:\Images\winter.jpg" Also, I Know how to bring the image from the database and store it on a RecordSet. All I need to know is how may...
8
1,223
thread by: hdman | last post Sep 6 '13 by: Rabbit
hi, I'm having trouble incrementing inside a While...Wend loop. i = 0 While <condition> <statement> i = i + 2
3
1,293
thread by: Ghaleon | last post Sep 4 '13 by: Rabbit
Hello everyone ! I'm trying to copy the content of WordDoc-A and paste it to WordDoc-B... I'm trying to work with this: Word_Doc.Content.Copy But I'm failing =\ How may I do that ?
0
1,112
thread by: joshhamilton | last post Sep 3 '13 by: joshhamilton
Does anyone know why the Listbox1.Refresh() command may not trigger the ListBox1_DrawItem sub every time? In Microsoft Visual Basic 2010, a listbox has a forcolor and backcolor property. These properties change the forcolour and backcolor for all the items in the listbox. By default there is no property for the forecolor and backcolor of an...
1
1,153
thread by: Question999 | last post Sep 3 '13 by: Killer42
When in the run of a program and you pause it and would like to see what value is in a variable. All you need to do is hover the mouse cursor over the variable in question. My VB6 was doing it just fine and has now stopped. How do I turn it back on?
1
1,179
thread by: Ghaleon | last post Sep 3 '13 by: Killer42
Hi Guys !! I have something like this, inside a loop: Dim strContentHolder As String Dim strIncomingContent As String strContentHolder = strContentHolder + strIncomingContent Let's talk about the problem I'm facing: As the title says, the strContentHolder that is inside a loop, so the code above will happens a lot of times, like...
2
3,068
thread by: Millahi | last post Sep 3 '13 by: debasisdas
i want to display text in the text box but restrict the user from editting it.
0
1,313
thread by: gonzajm | last post Sep 2 '13 by: gonzajm
Hi guys, I have a DataReport but I need this report should save to PDF. I donīt want to use PDF printer. I need something automatically. I use VB6 or without end user intereaction with PDF settings windows. Thanks.
3
1,361
thread by: Keredw | last post Sep 1 '13 by: Keredw
Using Access 2003 I am looping through table values and creating a separate report for each name. The report is then emailed with a TO: and CC: address. That works fine. What I would like to do is put that value (someone's name) in the header of the report. The field containing the name can have up to 5 names in it. I use the LIKE filter to...
3
1,329
thread by: Ghaleon | last post Aug 30 '13 by: Rabbit
I need to place 3 things on this Word Doc. In this order: -An Image; -Some Text(justify); -A table (Aligned with the text); I'm using my code to place this in the order that I want, but when I open the .doc, the order is all messed up! The table is the first thing to appear, followed by the text, and the image no longer appears.
3
1,510
thread by: Ghaleon | last post Aug 29 '13 by: Rabbit
This is my currently code: Private Sub Command1_Click() Dim Word_App As Word.Application Dim Word_Doc As Word.Document Dim Word_Table As Word.Table Dim Word_Range As Word.Range Dim iCount As Integer Set Word_App = New Word.Application
9
5,671
thread by: Ghaleon | last post Aug 29 '13 by: Rabbit
Hi guys, I need to learn how to create a MS-Word Table using the language VB6. This is all I could do so far: Private Sub Command1_Click() Dim Word_App As Word.Application Dim Word_Doc As Word.Document Dim Word_Table As Word.Table Dim Word_Range As Word.Range Dim iCount As Integer
0
924
shivananda
thread by: shivananda | last post Aug 29 '13 by: shivananda
hope every one doing well, I facing the problem working with the grids how to add two numbers of the grid columns and display in another column pls give me any suggestion how to do this. I attached 1 attachment also , this is how i want exactly thanks in advance
0
1,031
thread by: degas | last post Aug 28 '13 by: degas
Hello, I`ve been tryn to restart an Windows service trough a .bat file every 6h. That didn`t help , now im tryn to parser a .csv file and detect if the last 3 lines are the same , if so to run a "net stop <service> net start <service>. If the last 3 lines aren`t the same to close. Same lines of code :...
4
2,952
thread by: robertybob | last post Aug 27 '13 by: robertybob
Hi I am creating treeview nodes at runtime via the following method. Dim Node As New TreeNode Node.Text = "John" Node.Name = "UK1243_T" Nodes.Add(Node)

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.