10,991 Topics
| |
hello, I have in my procedure this code: 1. Selelect Case Count 2. Case 1 3. Call MySub1() 4. Case 2 5. Call MySub2() 6. Case 3 7. Call MySub3() 8. '... 9. Case N 10. Call MySubN() 11.End Select But using an array: 1. Dim ArrMySubs(N) as string 2. … | |
Hallo, I need to make in practice a application running in WIN7. This application must read continuously the sound(noise) received from the microphone and, if the level of the sound(noise) is higher that a adjustable value, to activate to display some random files (messages) on the screen and at the … | |
Can you help me to fix this pls. Ty :) ![Untitled.png](/attachments/large/4/56bcf602f2b942d369db5fac83e05b45.png "align-center") | |
Hi Dw I'm creating a program in Visual Basic 5.0 and what I want is to listen to keyboard keys the main form that I will be using to listen to the keys will be hidden so that is my problem to detect the keys while the form is hidden. … | |
hi all this code give me input box i want to make the Characters like this ******* Dim x As String x = InputBox("inter password") If x = Label1.Text Then Me.Hide() frm_chose.Show() Exit Sub End If MsgBox("try again") | |
im a complete newbie in visual basic and im currently working on my first project which is the book borrowing system. the project is almost done except with this error. Syntax error(missing operator) in query expression 'Title like %Mathew Henry's Commentary:GEnesis to Revelation%" | |
SELECT BANK ACCOUNT.*FROM BANK ACCOUNT ORDER BY ACCOUNT NAME What is the missing operator here? In sql statement, pls I need help | |
How to delete record with msgbox? Pls i need this for my project | |
Dim searchvar As String Dim sbookmark As String searchvar = Text1 searchvar = Trim$(searchvar) If searchvar <> " " Then With Data1.Recordset sbookmark = .Bookmark .FindFirst "ACCOUNT NO like'" + searchvar + "*'" If .NoMatch Then MsgBox " No Record Found " .Bookmark = sbookmark End If End With End … | |
Hi, I am a new member in this site. I am also just learning VB6. I made some progress in programming a report generator for my farm. However, after having designed a report using Data Report designer, I keep getting the same result or reports repeatedly although I have changed … | |
I Dont Know How To Add The Login Code And The Poll Code This Is My Layout Created In Visual Studio 2013 Login [Click Here](http://i300.photobucket.com/albums/nn4/Nicolei_Esperida/Screenshot%2016_zpscdvryyx0.png?t=1425394848) Poll/Voting [Click Here](http://i300.photobucket.com/albums/nn4/Nicolei_Esperida/Screenshot%2018_zpsqjyvn3pk.png?t=1425394868) | |
Hi to all! I am having a 69 fields in datagrid, i can add data into it but as i have selected certain row, not all data displays on the corrsponding textbox. there are 5 fields didn't display "runtime error subscript out of range"... here is the code: Private Sub … | |
Dear sir, I am getting some port input in ASCII form, and wanted to convert it in HEX form, I have used following code '\\\\\\\\\\\\\\\\\\\\\\\\\////////////////////////////////////////// For A = 1 To Len(sText) HexIt = HexIt & Hex$(Asc(Mid(sText, A, 1))) & Space$(1) On Error Resume Next DoEvents Next A HexIt = Mid$(HexIt, … | |
I have to call a Sub in "parametric" way, for instance instead of: call MySubCompute( par1, par2, par3) in a way like this: dim MyString as string MyString="MySubCompute" call MyString....... can you help me? | |
Hi Group, I've written a macro to save a copy of the spreadsheet at the end of each day. I tried to test it as a shared file and learned the macro wouldn't work. Is this normal for a shared document? If so, is there a way around this? How … | |
Set rs2 = New ADODB.Recordset rs2.Open "select * from company_name", db, adOpenKeyset, adLockBatchOptimistic rs2.AddNew If pdfpath <> "" Then Set pdffile = New ADODB.Stream pdffile.Type = adTypeBinary pdffile.Open pdffile.LoadFromFile pdfpath rs2.Fields("pdf") = pdffile.Read rs2!co_no = Val(co_no.Text) rs2!co_name = co_name.Text ''' pdffile.Close Set pdffile = Nothing rs2.Update Set rs2 = Nothing … | |
Hi, I need to write a program which counts the frequencies of heads and tails when a coin is tossed 15 times. The user enters H or h for heads, T or t for tails. to record the outcome of each toss. It does 15 tosses then you have to … | |
I'm trying to take some basic form data (item and quantity), from a form where this sort of information is filled out by a user, and after the user clicks "ADD", the entered info is moved to a DataGridView on a different page. The following code: Me.DataGridView1.Rows.Add(...) ...does not work … | |
Hi Im new with this and tryng to learn thru reading any sources in internet, but i have no idea where to find a solution to my problem. Every time i save or update a new entry to my database it working find but when im trying to search the … | |
I've managed (over a very long time) to write a program in VB using Visual Studio 2008. This program is now published to my website and works well. Probably because people shy away from downloading and running .exe files or due to lack of my understanding of search engines, I … | |
hello!~ i have a search button on my form and i need to search all the information inside the "information" table. i have 10 fields. what i've code is: adoInfo.RecordSource = "select * from information where name+age+score+birthdate+gender+civilstatus+citizenship+contactnumber+address+email like '%" & txtSearch.Text & "%'" adoInfo.Refresh If adoInfo.Recordset.RecordCount = 0 Then MsgBox … | |
im studing my a'level may please help me to solve this problem **scenareo** the hk university's mathematics dpt is looking for a way to automate the determination of the roots of a quadratic equation. The equation is of the form ax2+bx+c=0 where a,b and c are abitrary constants. The solution … | |
AOA, I m using vb6 with Access 2010 (DAO recordset) and Crystal Reports 9.22 I have developed a projet in vb6 it works fine at desing time but when i Install it (i mean after Package and deployment) and run the projet everything works fine but when i run reports … | |
Hi to all daniwebians! I want to make application that starts automatically when windows starts! Anyone can help me? Thanks!!! | |
Input and store the temperature recorded for a month. you must store the temperature in two dimensional arrays, one for the midday temperature and one for the midnight temperature. All the temperature must be validated on entry and any invalid temperature rejected. you must decide your own validation rules. you … | |
I want to create a login form by taking the text written on the notepad file in the same folder . is there anything that can help me | |
Is there any difference between visual basic 6 and 2010? SAP not working in vb 2010, help! :( | |
Anyone can help me out on how to code an updateable program? Any help would great!.. | |
i need to connect the data grid to access db using ado code and vb6 (without using adodc control)and diplay the result of a select statemet on it and here is the code that i am using (it give me a run time errorr 3705 : the operation is not … | |
i am in need of coding for retrieving data from access database using combo box, which means retrieing the stored particular details that for eg, retrieving particular students details using the students id that is retrievied by combo box. |
The End.