10,989 Topics
| |
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 … | |
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 … | |
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.. | |
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" … | |
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 | |
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, … | |
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 & "'", … | |
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 … | |
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 … | |
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 | |
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.. | |
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 … | |
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" … | |
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() … | |
how to prevent using ALT F4 TO close a vb form | |
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 … | |
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 … | |
[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] | |
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 --- … | |
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 … | |
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.... | |
If someone wanted to learn Visual Basic should they learnVisual Basic 6 or Visual Basic 2012. I prefer Visual Basic 6. | |
Please can tell me how to disable keyboard and mouse using vb6 | |
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 ?? | |
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. | |
**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! | |
how do I write a simple code for the following in visual basic 1 percentage (%) 2 sin , cos, tan | |
it is possible to determine using vb6 what is printer doing? for example if its finished printing any kind of docs | |
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??? | |
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.. |
The End.