10,989 Topics

Member Avatar for
Member Avatar for bullet_1

I am using the following code which creates a toolbar button on excel menu. On button click it executes a macro Private Sub Command1_Click() ' Start Word Dim wdapp As Object 'Excel.Application Set wdapp = CreateObject("Word.Application") ' Make it visible... wdapp.Visible = True ' Add a new workbook Dim xlbook …

0
101
Member Avatar for suzyq888

Im suppose to write a program that accepts five input values and stores them into an array. The program should then display the average of the five numbers. Finally, the program should display all the numbers in the array that are larger than the average of the five numbers. I …

Member Avatar for rishif2
0
328
Member Avatar for TroxAlmighty

hello guys.. just a new member here.. and also a beginner at VB6.. i would like some help on how to connect my system with a database? because i cannot see the basic of connecting my system to a database.. thank you very much..

Member Avatar for Reverend Jim
0
114
Member Avatar for bullet_1

I want to create a template file in which I want to create my own styles programatically(in VBA) I have following code Sub Style() Dim myStyle As Style Set myStyle = ActiveDocument.Styles.Add(Name:="Abbreviations", _ Type:=wdStyleTypeParagraph) With myStyle.Font .Name = "Calibri" .Size = 12 .Color = wdColorBlue End With Selection.Range.Style = "Abbreviations" …

Member Avatar for bullet_1
0
143
Member Avatar for Bakondaonline

hi every one I have this msg: run-time error '380' invalid property value the error showing in this pic http://im33.gulfup.com/yuIaW.jpg

Member Avatar for Bakondaonline
0
69
Member Avatar for vividiah

I will make the process of looping the data to save data into SQL Server database, but field data that must be stored is retrieved from the database access, data taken later not only a record, but a lot of records, so it takes a process of looping in it, …

Member Avatar for vividiah
0
119
Member Avatar for roy.vincent.56

Guys i need help it says there is a data mismatch in criteria expression need help fast!! Dim statement2 As New OleDbCommand("select * from Student_registration where Student_code = '" & studentnotextbox.Text & "'", conn) Dim statement2 As New OleDbCommand("select * from Student_registration where Student_code = '" & studentnotextbox.Text & "'", …

0
120
Member Avatar for sonunclejalil

Private Sub cmdfind_Click() Dim search As String search = txtfind.Text Con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\HOSTEL STUDENT.mdb;Persist Security Info=False" Rs.Open "SELECT * FROM STUDENTS WHERE [REG] LIKE" & "'" & search & "'", Con, adOpenStatic, adLockOptimistic Do Until Rs.EOF Rs.MoveNext Loop If Rs.EOF = True Or Rs.BOF = True …

Member Avatar for sonunclejalil
0
3K
Member Avatar for jemartalaban_1

hi, everytime i print a form with "printform" it always on print into left side of the printer paper and im using a left feed printer. What if the printer's feed is center and my printer paper is small how can i make it the printing of the form is …

Member Avatar for jemartalaban_1
0
185
Member Avatar for SaRa Ahmad

i need to know if there is way to open a file from groove directory using common dialog ?? more details i have a workspace and many accounts all connect to a server i need to make them upload and open the file using Groove path ?? any help

0
67
Member Avatar for Ann Krizette

can you help me code in VB6 a return command in returning the book that had been borrowed..tnx..need it asap. :(. a very simple code will do..

Member Avatar for Ann Krizette
0
272
Member Avatar for alina.nazchowdhury

I need to finish a program, i found it in a book but the for statement is now finised. I don't know to finish it, anybody can help me, please? Private Sub Form_Load() For i = 1 To Screen.FontCount - 1 Combo1.AddItem Screen.Fonts(i) Next For i = 5 To 300 …

Member Avatar for rishif2
0
214
Member Avatar for vishal anand.s

hi my name is vishal. i have been trying long to figure out to export data from vb6 using join queries in sql to ms word. here is my sample code i have tried: Option Explicit Dim dIsVisible As Boolean Dim inst As String Private Declare Function ShellExecute Lib "shell32.dll" …

Member Avatar for rishif2
0
1K
Member Avatar for Alessandrorenzi

Hello I'm trying to connect my PC to remote PC with socket but I have error 40006. I'm sure that there is not connection. Here is code: SERVER .............. Option Explicit Dim iSockets As Integer Dim sServerMsg As String Dim sRequestID As String Dim Income() As String Private Sub Form_Load() …

Member Avatar for Alessandrorenzi
0
711
Member Avatar for elie.karkafy
Member Avatar for jordaninc

A program is needed that will prepare a tuition bill for the college. The input will consist of the student’s name, student ID number, the student’s state of residency (i.e., KY, IL, TN, etc.), and total number of credit hours for which the student has enrolled this semester. The printed …

Member Avatar for Reverend Jim
0
161
Member Avatar for mavtcr

Friends,I have made a programme where master datas are entered and updated in an Access database. In the database there are several Branches with three digit codes.Under each Branch comes several families with a unique number.I want to generate this uniqe number automatically.. To explain further BranchA with code 100,BranchB …

Member Avatar for mavtcr
0
137
Member Avatar for akasekaihime

[COLOR="Green"][B]can you please help me! i need a code for making a POS. have been looking but could not find anything. I am making a POS for a market stand. it is our project. could you please help me! I need it within next week......help me![/B][/COLOR]

Member Avatar for rishif2
0
465
Member Avatar for eukiandfhull

Hi! please help me..... i just want to know what is the code for time record using ADODB connection. im so tired to get the right code for time attendance please help me... this is for my thesis.... Here's the command: txtEmpID --- textbox cmdGetdata --- command Button lbltime --- …

Member Avatar for rishif2
0
513
Member Avatar for overclocking

Hello, I am new to VBscripting and hope someone can help clarify the split options. I just started learning VBscrpiting a few weeks ago and Im trying to figure out how to do something. I haven't learned anything other than the basics so this question might seem super simple. If …

Member Avatar for overclocking
0
281
Member Avatar for MBBS

How to set opposite interval of timer control on textbox ? For Example: If we enter low value in textbox that progress bar speed is slow. If we enter high value in textbox that progress bar speed is high. Thank you....

Member Avatar for rishif2
0
150
Member Avatar for redean

If someone wanted to learn Visual Basic should they learnVisual Basic 6 or Visual Basic 2012. I prefer Visual Basic 6.

Member Avatar for Ancient Dragon
0
1K
Member Avatar for Shigolala22
Member Avatar for SaRa Ahmad

hi every one , i need to know how to get a file path to textbox using browse button or common dialog , any body can help me ??

Member Avatar for rishif2
1
158
Member Avatar for MBBS

How to set opposite interval of timer control For Example: If timer interval is set to low that progress bar speed is slow If timer interval is high that progress bar speed is high.

Member Avatar for rishif2
0
311
Member Avatar for smellon

**I need urgent help with a hangman game it needs to be really basic so i can understand but it needs to include an array and an onscreen keyboard please please please help!

Member Avatar for KenSquare
0
213
Member Avatar for vokselbama

how do I write a simple code for the following in visual basic 1 percentage (%) 2 sin , cos, tan

Member Avatar for ddanbe
0
74
Member Avatar for jemartalaban_1

it is possible to determine using vb6 what is printer doing? for example if its finished printing any kind of docs

0
82
Member Avatar for lewyjayne

i am a student, learning VB 6.0 and want to creat a program that search data, the problem is that l cant seem to find the search code so that my program will run smoothly. Can you please help???

Member Avatar for Reverend Jim
0
94
Member Avatar for k.prabhu

I'm a beginner to vb6.. I'm doing a attendance project. I'm using datagrid to view the details from database. i'm trying to update the database through datagrid. can any one help please.. i've searched every where data adapter is used to update. i can't find anyother sources..

0
177

The End.