11,869 Topics

Member Avatar for
Member Avatar for sergio_pb

I creating an application in visual studio where I have a client to request specific information to multiple servers. Someone Knows i can make this communication? For one server i know to create that, for many servers i dont have idea. Code example!!! One client for many servers! For one …

Member Avatar for Minimalist
0
351
Member Avatar for bonzo2008

Hi I have manage to install vb5 and trheed32.ocx Trying to install vb6 okej. when I go to components and mark sheridan then it comes up that threed32.ocx is not a valid ocx. Confused how can vb5 run with threed32 and vb6 **NOT** Any help it will help me lot. …

Member Avatar for bonzo2008
0
152
Member Avatar for Lacrecen

hello guys~ i need your opinion on the following code: Private Sub Form_Load() cmbUser.AddItem "Faculty" cmbUser.AddItem "Applicant" End Sub Private Sub cmbUser_DropDown() cmbUser.Clear cmbUser.AddItem "Faculty" cmbUser.AddItem "Applicant" End Sub i always use the combo box dropdown event when adding list to my combo box then i see some code adding …

Member Avatar for Lacrecen
0
117
Member Avatar for SpectateSwamp

Hi all My old old vb5 app does everything I want as far as mpg video goes. Random video and play a random segment. Fast forward and reverse. random groupings of large font, video segments and or pictures and audio I need the code to provide me with the file …

0
232
Member Avatar for PinoyDev

Good day! I have a listview loaded in a form in a **lvwIcon** view with checkboxes enabled.. I have checked some items from it, let say 5 items. Now when I switch the view to **lvwReport**, the checked items are gone. How to make it selected again? Thank you for …

Member Avatar for PinoyDev
0
183
Member Avatar for SunChild

Hello to all! I'm creating a database and I'm using Visual Basic in Excel. I have a problem with showing the data in the text boxes. For example, I have a Text box and a search button. What I want to happen is that when I type an ID in …

Member Avatar for Santanu.Das
0
62
Member Avatar for Tensigh

I'm trying to write code in VBA in Excel that opens a desginated directory, finds all xls and xlsx files and then converts them to csv. I found two sets of code that do one or the other perfectly, but I can't make it work. I'm sure I'm just missing …

Member Avatar for Stuugie
0
5K
Member Avatar for brillantesmarkharvey

I have her 2 combobox.. this combobox are coursecombobox & yearcombox.. example courses are IT,BSBA,&HRA IT-2 years BSBA & HRA- 4 years.. if im going to choose IT at coursecombobox the yearcombobox must show only 1st year and 2 year but if going to choose BSBA/HRA the year combox must …

Member Avatar for Santanu.Das
0
114
Member Avatar for antonymatoi

please help me with my project titled,"STUDENT GRADING SYSTEM" where by the system should capture data using forms, you should be able to edit, compute total marks, total points, grade and position. The system should also show the top 5 students in each class, and also SHOULD PRODUCE REPORT FORMS …

Member Avatar for deceptikon
0
60
Member Avatar for Papa_Don

Hello everyone! Is there a way in VBA to find a file name that has an unknown portion to it? Let me explain: Our computer system is UNIX based. It is creating a text file for us that uses the date, the hour, minutes and seconds that the file was …

Member Avatar for Minimalist
0
330
Member Avatar for Xiao_1

if corrct this code it will come of the list in the datagridview in VB from access this my code: Private Sub ComboBoxadm_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBoxadm.SelectedIndexChanged Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" If conn.State = ConnectionState.Open Then conn.Close() conn.Open() Dim sql …

Member Avatar for Reverend Jim
0
149
Member Avatar for gara_mirza

what's wrong in this code in part 2 it should give answer same the solution part 1 --------------------- Private Sub mnuFileCloce_Click() End End Sub ---------- 'para1 Private Sub Text1_Change() Dim K1, K2, K3, K4, K5, K6, K7, K8, K9 As Double Dim Tc, Pc, T, X, Xx, Xy, Xz, P …

Member Avatar for Reverend Jim
0
229
Member Avatar for Alxprog

There are a lot of examples demonstrating how to connect to ms sql database from windows form application using Visual Studio Professional (right-clicking on the project name -> "Add" ->"new item" -> "LocalDatabase" -> give a name with .sdf extension to the newly created database - > and so on …

Member Avatar for deceptikon
0
312
Member Avatar for Qazi143

write a program in basic which takes marks of 5 subjects as input. calculate the sum,percentage and assign grade on following criteria: A=90+ B=80-90 C=70-90 D=60-70 F=below 60 condition: if student fails in more than one subject his/her admission will be cancelled

Member Avatar for imti321
0
190
Member Avatar for Xiao_1

If String.IsNullOrWhiteSpace(txtadmno.Text) Or String.IsNullOrWhiteSpace(txtcard.Text) Then MessageBox.Show("Please complete the on the box.", "Authentication Error", MessageBoxButtons.OK, MessageBoxIcon.Error) Exit Sub End If Using conn As New System.Data.OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb") Dim Result As Integer ** Dim sql As String = "INSERT [Date Select] From tbl_studentadm values (@DateSelect) "*****in here shold i key in the admin …

Member Avatar for Xiao_1
0
124
Member Avatar for dimitris.dimitri.73

Dear forum, i have created an application for speech to text using windows speech recognition. My question is regarding custom grammar and training the words since it is in my native language and are not supported at first place. I came up with a solution to dock windows speech recognition …

Member Avatar for Begginnerdev
0
262
Member Avatar for Kamrun

which version of crystal report will support for vb6 in win 7? will cr Xi r2 applicable with vb6 in win 7 32 bit.

Member Avatar for Behnam_1
0
103
Member Avatar for PinoyDev

Good day! Is there a way to make the data report to show only the fields selected by the user? I have a form where the user can select the fields(from ms access table) in the list box(checkbox enabled) to show in data report. The total fields is almost 50. …

Member Avatar for Santanu.Das
0
151
Member Avatar for Gebby

Now retiring and would like to resume hobby of writing programmes. Is VB6 Enterprise the one to buy or has it been superceeded?

Member Avatar for Gebby
0
214
Member Avatar for Xiao_1

in the reisgter how i put it togeter time and date of the code when i keyin the admin No and admin card then it record the the access datatbase. Private Sub btnRegister_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRegister.Click If String.IsNullOrWhiteSpace(txtcard.Text) Or String.IsNullOrWhiteSpace(txtadmno.Text) Then MessageBox.Show("Please complete the …

Member Avatar for LesF
0
184
Member Avatar for PinoyDev

Good day! I am now currently ugrading our database to mySQL. My problem is that, how to convert the any msaccess SHAPE command to a mySQL database syntax using 6 and get the same result? Below is the sample code: spath = App.Path & "\employeeaccnt.mdb" cn.Open "Provider=MSDATASHAPE; Data Provider=Microsoft.JET.OLEDB.4.0;Data Source=" …

0
93
Member Avatar for BORIS_4

t = txtSearchMo.Text z = Combo1.Text Adodc1.Recordset.Filter = "br_name like '" + t + "'" Or "mo like '" + z + "'" why this code have mismatch error appear?? help me pls

Member Avatar for BORIS_4
0
50
Member Avatar for Xiao_1

how i put it like i am a student so i choose student and key in username n password, if choose worng like i click lectuere but i not, so cant is worng cant login Private Sub cbinfo_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cbinfo.SelectedIndexChanged Dim conn As …

Member Avatar for Xiao_1
0
100
Member Avatar for razstec

Hi everyone, I haven't touch in vb6 in 12 years so im very rusty... :s But now i need a little exe that allow to open and view office and pdf files, i dont need it to save or allow changes. Since its going to work with a batch file …

Member Avatar for Reverend Jim
0
124
Member Avatar for bonzo2008

I have commondialog that i can search for *.bmp,*.jpg files thats okej, now the problem is. saving the picture to the rot + filename next time I start the program I will change the picture to another file that shall be saved in rot + filename the first picture shall …

Member Avatar for BitBlt
0
194
Member Avatar for Xiao_1

when i login it will come 2 form one is info and other one is register form when i login that time my info come out come a samll form say error complet the box it should not come out this..!! where go worng

Member Avatar for Xiao_1
0
121
Member Avatar for Jeremybcent

I get the error "Syntax Error (missing operator) in query expression" sql = "SELECT Chores.ChoresID, Chores.ChoresDate, Materials.MaterialName, Advisers.AdviserInit, Advisers.AdviserSurname," _ & "Area.Area, Chores.StudentNo, Student.Forename" _ & "FROM Chores" _ & "INNER JOIN Materials on Chores.MaterialID = Materials.MaterialID" _ & "INNER JOIN Advisers on Chores.AdviserID = Advisers.AdviserID" _ & "INNER JOIN …

Member Avatar for Jeremybcent
0
199
Member Avatar for Xiao_1

at the projct No i have choses it should the the project name on the textbox but did not come out Private Sub cbbproject_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cbbproject.SelectedIndexChanged Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" If conn.State = ConnectionState.Open Then conn.Close() conn.Open() Dim …

Member Avatar for Santanu.Das
0
99
Member Avatar for Lacrecen

Good day!~ May i know the difference between creating database using Visual Data Manager and using MS Access. which is better?

Member Avatar for Lacrecen
0
257
Member Avatar for bonzo2008

Hi the line with image4.picture don't work the rest of the code is printing out as it shall do. The image4.picture is in hidden position and the path is Okej.( can see it when the image4 is vissible=true) How or where is the problem ?? Help is use full with …

Member Avatar for bonzo2008
0
1K
Member Avatar for Shafra

I want a visual basic 6.0 project vb as front end and ms access as back end with atleast 2 users admin & operator. can any body help me to do my project please?

Member Avatar for deceptikon
0
43
Member Avatar for Xiao_1

Why done work is it some thing worng i only wan edit one or delete one of it? Private Sub btnedit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnedit.Click If String.IsNullOrWhiteSpace(txtadmin.Text) Or String.IsNullOrWhiteSpace(txtname.Text) Or String.IsNullOrWhiteSpace(txtcourse.Text) Or String.IsNullOrWhiteSpace(txtic.Text) Or String.IsNullOrWhiteSpace(txtgender.Text) Or String.IsNullOrWhiteSpace(txtaddress.Text) Or String.IsNullOrWhiteSpace(DateTimePicker1.Value) Or String.IsNullOrWhiteSpace(txttel.Text) Or String.IsNullOrWhiteSpace(txtemail.Text) Or String.IsNullOrWhiteSpace(txttype.Text) …

Member Avatar for Santanu.Das
0
172
Member Avatar for Lacrecen

can someone enlighten me what 's the difference between having a codeless database conenction and using manual code to connect to database. which is better? for me, i think it is easier to do database using connection using object properties like datasource, datamember. i find it difficult using manual coding …

Member Avatar for Lacrecen
0
86
Member Avatar for metchoy tumanda
Member Avatar for Lacrecen

Hello!~ i'm currently doing a database about examination system.. i already have a database for login,registration, and questionaires. my problem is on my question database.. i managed to connect the questions and choices in visual basic (or so i thought) questions are on multiple choices.. my question is : how …

Member Avatar for Lacrecen
0
159
Member Avatar for Xiao_1

is this coorrct if write like this: Public Class Lecturer_Form Private Sub Lecturer_Form_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" If conn.State = ConnectionState.Open Then conn.Close() conn.Open() Dim sql As String = "Select A.StaffNo,A.TimeIn,A.TimeOut, B.ProjectNo, C.AdminNo, C.UserName From tbl_lecturer …

Member Avatar for Xiao_1
0
180
Member Avatar for Pintu82

I have create a project, There are so many reports. I want change report orientation as Landscape and paper size is width =8.27" and Height=4".But I can't do this. Please Help Me.

Member Avatar for David_50
0
50
Member Avatar for Xiao_1

in stuednt admin i wan it to insert and also select from tbl_stuendadmin how to put it togeter If String.IsNullOrWhiteSpace(txtcard.Text) Or String.IsNullOrWhiteSpace(txtadmno.Text) Then MessageBox.Show("Please complete the on the box.", "Authentication Error", MessageBoxButtons.OK, MessageBoxIcon.Error) Exit Sub End If Dim Conn As System.Data.OleDb.OleDbConnection Dim ConnectionString As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" Conn = …

Member Avatar for Santanu.Das
0
147
Member Avatar for Sal_1
Member Avatar for happygeek

Think that macro viruses written in VBA (Visual Basic for Applications) are just something that people using the Internet a couple of decades ago had to worry about? Think again. Word macro attacks never went away, they just went into decline. New evidence suggests they could be making something of …

Member Avatar for happygeek
1
1K
Member Avatar for pikai

Dim con5 As New ADODB.Connection Dim rs5 As New ADODB.Recordset Private Sub Command1_Click() con5.Provider = "Microsoft.JET.OLEDB.4.0;" con5.Open App.Path + "\da.mdb" rs5.Open "[DEMO]", con5, adOpenStatic, adLockOptimistic 'The above code can't work when the database is protected. 'Please Tell, How can I solve it

Member Avatar for Santanu.Das
0
251
Member Avatar for Silvainius

Hello again. I am back with the problem of using booleans with command buttons. Any reasearch I've done for other methods to complete my memory game have been for Vb2005, VB.net, VB2010, etc. Where as I'm stuck with VB5 not Knowing what to do. `PLEASE NOTE: boolFirst is declared and …

Member Avatar for Reverend Jim
0
159
Member Avatar for Violet_82

Hi all, I have visual studio 2008 and as I recently started to use it, I still develop the HTML from scratch and then move it to ASP.NET. Anyway, when I did my last site and uploaded the CSS in visual, I got quite a lot of CSS 3 error …

Member Avatar for Violet_82
0
737
Member Avatar for Xiao_1

i trying to put this in the combobox why did not come out Private Sub Lecturer_Form_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" If conn.State = ConnectionState.Open Then conn.Close() conn.Open() Dim sql As String = "Select [StaffNo] From tbl_lecturer …

Member Avatar for Xiao_1
0
239
Member Avatar for DarkT

Hi everyone. I have a very simple question to which apparently there is no easy solution (I googled a bit but haven't found any yet). How can I force Visul Studio 2013 to install on a different drive so that it doesn't eat up my C: space? In our company …

Member Avatar for mike_2000_17
0
340
Member Avatar for sergio_pb

Hello guys. I already install the mysql conector and my for studio 1.2 nu t in th visual studio 2012 i cant conetor to database. I try three time reinstall but is the same thing. Someona knows or somenoa already have this problem.«?

Member Avatar for Begginnerdev
0
207
Member Avatar for Xiao_1

Private Sub cbbproject_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cbbproject.SelectedIndexChanged Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" If conn.State = ConnectionState.Open Then conn.Close() conn.Open() Dim sql As String = "Select * From tbl_assignment Where ProjectNo ='" & cbbproject.Items(cbbproject.SelectedIndex) & "'" Dim sqlCom As New System.Data.OleDb.OleDbCommand(sql, conn) …

Member Avatar for Santanu.Das
0
120
Member Avatar for Xiao_1

I have two listbox and two button, one button is assign another is unassign in listbox1 have adminNo I wan the listbox1 of adminno go to listbox2 one by one when pressing button assign and i also can unassign go back to listbox1 one by one also is it: *listbox1.item.forword(sqlRead("AdminNo").ToString)*

Member Avatar for Santanu.Das
0
112
Member Avatar for shivam.prabhat
Member Avatar for Santanu.Das
0
93
Member Avatar for Silvainius

I am trying to make a memory game using labels and command buttons, and I have run across an issue in which when I try to set up a timer with a loop within a Sub function. My current code for this: Private Sub Form_Load() tmrStart.Interval = "1" End Sub …

Member Avatar for Silvainius
0
171

The End.