473,544 Members | 1,813 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.
0
925
thread by: tsnave | last post Aug 21 '13 by: tsnave
I have VBA code for Pulling data from Word Forms for Word 2007 & 2010. However, some people that are going to be using the form have older versions of Word. When they open the .docx form, the content controls disappear. I converted the from to use Legacy Controls. I am having a hard time converting the code to get the data from the Legacy...
0
772
thread by: muddasirmunir | last post Aug 22 '13 by: muddasirmunir
I want to know how can we give prints using vb6 on very small pritners, like on cash machines usually used by shops or resturants. I mean machine like these http://www.shutterstock.com/pic-104659109/stock-photo-two-printer-for-fiscal-cash-register-on-a-white-background.html You can see the page has very very small width hardly few inches. So...
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 :...
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,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.
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...
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 =...
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
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?
0
1,248
thread by: scrapcode | last post Sep 13 '13 by: scrapcode
Hi everyone. I'm facing a problem with excel 2010 when using a function that worked fine in 2003. I'm using Environ(username) in the following function in module 1: Public Function Username() Username = Environ("UserName") End Function
0
981
thread by: mirzahaji | last post Sep 14 '13 by: mirzahaji
Dear sir, i have designed vb application in win-7.But here cratered setup files then not run in win-xp. i request you to please advice me multiple operating system running my application software.
0
905
thread by: Ghaleon | last post Sep 16 '13 by: Ghaleon
I have a lot of archieves .pdf, I'd like to join them into a single archieve. I'm trying this code: MyPath = Replace(strCaminho, "Carta.rtf", "") MyName = Dir$(MyPath & "*.pdf") Documents.Add Do While MyName <> "" If InStr(MyName, "~") = 0 Then
0
880
thread by: Ghaleon | last post Sep 18 '13 by: Ghaleon
I'd like to know a way to Insert Images to MySql Database. I tried to follow This tutorial. But didnt get it very well... =\ Any help ?
0
920
thread by: jose2013 | last post Sep 23 '13 by: jose2013
I want the program to locate a file (whose name will be inserted in a texbox) in the computer, and then show it's location on a label, what would the code for the locating be?
0
941
thread by: prog100mmer | last post Sep 27 '13 by: prog100mmer
Hello I am beginner in visual basic 6.0. I designed calculator program and make help file have the name (calculator help.chm) and designed menu by menu editor this menu is help menu as all program has help menu but I don't what is correct code that I must write it in this menu, when I lunch the program and press on the help menu open the help...
0
963
thread by: Ferdinandekene | last post Sep 27 '13 by: Ferdinandekene
Please gurus help me out here, I need a code that triggers the Excel Save As dialog box so that I can save every change I make to my workbook as new project regardless of whether i have saved it before or not. In detail I want each time I click the Print Button it must have to go "Save As" and not just "Save" so that I can use a new name and...
0
1,056
thread by: peroron2000 | last post Sep 29 '13 by: peroron2000
In the following example I am doing a find and replace using a macro inside Word. At the bottom you can see that I assign the searched for text to the variable sText. How would I assign the replacement.text to a variable? So for example in this case the macro finds "To:" and replaces it with o. I would like to be able to assign "o" to a...
0
1,060
thread by: zlatan1 | last post Sep 30 '13 by: zlatan1
I would like you to help me to write a code in visual basic 6 to open and close a USB CD ROM , to complete my program . please.... Thank you
0
1,002
thread by: btthevoice | last post Oct 4 '13 by: btthevoice
This FREE audio editor ( http://www.wave-editor.com/waveditor.exe ) is my target. Could someone please show me the VB6 code that could press PLAY and STOP on this application. Please show specific to this app. I'll love ya for it. Thanks in advance.
0
889
thread by: vikashpatel | last post Oct 6 '13 by: vikashpatel
How to use doevents in multiwindow application whereas my report page is 1 to 100 pages and when i close the report between running time then get error can't display more type recordset
0
853
thread by: aoeaoe | last post Oct 21 '13 by: aoeaoe
I am trying to automate a process where I need to be able to detect whether an image appears or not. This does not appear to have an easy "divid" that a could use. Copying the html code: <img onmouseout="battle.clear_infopane()" onmouseover="battle.set_infopane_effect('Spark of Life', 'Any attack that would normally kill the target leaves it...
0
840
Gobindap
thread by: Gobindap | last post Oct 24 '13 by: Gobindap
In my project, Form1 contains a textbox named marks. Form1 remains opened. In need I need to open Form2, which intends to change the value of textbox marks on Form1. I tried to call the sub procedure which reads the value of textbox 'marks' of Form1 from database, but it did not function. But is happens if I hide the Form1 and show again. I need...
0
889
anoble1
thread by: anoble1 | last post Oct 25 '13 by: anoble1
I am able to tell what username is logged into the PC, however, sometimes users can log in with there email address. When I look to see if will only show their ID not the email address, is there a way to tell what exactly is typed in?
0
978
thread by: ariannaa | last post Oct 26 '13 by: ariannaa
Code the click event of the Play Game button to do the following i. Generate a random integer between 1 and 100 ii. Code a loop that will end when the user guesses the number or 10 guesses have failed to find the number. iii. Use an inputbox function so that the user can enter each guess. iv. If the user does not enter an integer number...
0
857
thread by: moons | last post Oct 27 '13 by: moons
http://im36.gulfup.com/JQuFh.jpg how i can fix this error in Attached picture thank you

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.