473,544 Members | 550 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.
1
1,112
thread by: ardeis | last post Jan 14 '16 by: mbizup
I am trying to count every single click i did in the command button. And all i want to ask is what will the code be? I want to do like this: If a click once, a message box will appear that i have clicked it one time like that. Please help me :)
5
1,325
thread by: lmpaskewitz | last post Jan 7 '16 by: Luk3r
Private Sub Yes_Click() Sub StandardSpecs() ' ' StandardSpecs Macro ' ' Range("D11:E11").Select ActiveCell.FormulaR1C1 = "5/12 (Std)" Range("D12:E12").Select
1
1,165
thread by: aemerson2 | last post Jan 5 '16 by: zmbd
I am trying to perform a macro that adds a new column, then put a formula in the columns to find a certain word I am looking for. Everytime I rerun the macro, it inserts a new column, which I dont want to happen. I want the macro to insert a new column, then keep that column to display the results of the formula. Does anyone know how to do this?
1
1,367
thread by: Bertha | last post Dec 18 '15 by: codegazer
Am creating a lodge management system and my system is not able to reduce the number of rooms when one checks in and when they checkout it doesn't automatically add.please help me with the codes am using VB6.0
1
1,195
thread by: jayshankar | last post Dec 12 '15 by: zmbd
dear sir my record is to be print like this: - chemical name chemical code basic chrome sulphate bC001 .......... ..... .......... ..... Nearly hundred of chemical name with code is to be dislayed, i am using
1
1,171
thread by: LondonCalling | last post Dec 8 '15 by: Luk3r
The script below is designed to send an email when file appears in a folder; the subject is set to the filename and the body includes the file path. If I run the script from my C drive, the email is fine; if I run it from a server the email has a blank subject and no filepath. Does anyone know why? Thank you strRejectionsSourceFolder =...
0
1,265
thread by: KelvinNyota | last post Nov 28 '15 by: KelvinNyota
I have this problem with my Autocompletion program in VB.NET where you cannot delete text after Autocompletion because once you do that, you cannot be able to Autocomplete again: The cursor gets very sticky when you press the backspace to correct an error. Sometimes the words are hidden and you cannot see what you're typing after deleting...
1
1,340
thread by: KelvinNyota | last post Nov 27 '15 by: zmbd
How do you add Scintilla in VB 2010?
1
2,198
thread by: steven kangungu | last post Nov 24 '15 by: codegazer
im trying to create a car park system but my MDIform 1 has an error. here is my codes. Private Sub MNUADDUSER_Click() MDIForm1.Hide FRMMANAGE.Show End Sub Private Sub MDIForm_Lo() End Sub
0
1,086
thread by: Basenji3 | last post Nov 11 '15 by: Basenji3
I have two tables; tblTime,this contains the emp#, Date, start time and end time. The 2nd table, tblUnits contains the emp#, Date and individually time stamped unit quantities. I need to add the units between the start and end times. Not sure how to do this. I've attached an Excel file showing what I'm working with.
26
2,473
hefaz
thread by: hefaz | last post May 15 '16 by: hefaz
Hello every one. i am trying to catch duplicate values from a data. in the picture when i want to add new record, then if the record already exists then go to that record and fill all the boxes, then i will press the update button,but if not, then add new value. field is indexed. Capture.JPG! so how to code that? i need it very much. here...
1
1,262
thread by: raceman41 | last post Nov 30 '15 by: codegazer
Hi, I am writing a program that uses, if this, then that or else move to next answer. I want to make all answers go to only one box to view answers. Right now I have to use several labels, one for each 2 questions, so when they hit calculate, it shows up on several lines and some are not in line, ( will skip a label box to the next label)
0
1,014
thread by: Milon Mahbub | last post Nov 4 '15 by: Milon Mahbub
I have made two table in Ms Access (a) Product Information (b) Sell Information. "Product Information" Contains those fields. 1. Product ID 2. Product Name 3. Category 4. Purchasing Price 5. In Stock "Sell Information" Contains those fields. 1. Sell ID
0
1,285
thread by: benkelly89 | last post Oct 30 '15 by: benkelly89
Hi To give a bit of background this is an asset register for all assets and pat testing database in one. Two tables concerned are asset register and risk assessments. The reason the tables are separate is because not all items will need a risk assessment. I have a form for adding items to the register which has multiple tabs the first one...
0
1,130
thread by: johny6685 | last post Oct 27 '15 by: johny6685
I would like to automate a data entry part on a website however the site is constructed with VIEW STATE hidden, please advise how to read values from View State through VBA? I would like to have all the input fields name so that I can push the data through code Thanks in advance
0
1,006
thread by: ThizIz | last post Oct 23 '15 by: ThizIz
I'm trying to get the row indices based on my multiple selected cells on a DataGridView. How can I do that in VB.NET? This is what I have:If e.RowIndex >= 0 Then Dim row As DataGridViewRow row = Me.DataGridView1.Rows(e.RowIndex) sno.Text = row.Cells("F2").Value.ToString sname.Text =...
2
2,253
thread by: naziya | last post Nov 24 '15 by: codegazer
to find a first digit of number with output in visual basic studio 6.0 plzzz give me program this question
0
1,209
thread by: jacani | last post Oct 20 '15 by: jacani
Hi from a novice. I have a written a Vb macro to copy a formula with variable NAME elements but don't know how to use the F2 key in conjunction with the F9 key followed by enter to convert a concatenated text string to a formula. See below: Cell E38 '=IF(I42="S";IF(VALUE((+B42-(INDEX( Cell E39 'Barclays Cell E40 ';COUNTIF(INDEX( Cell...
1
2,317
thread by: lester09 | last post Oct 19 '15 by: Luk3r
have created a form in which i call other forms from the main form .. When i click a particular button twice there is an error .. Can anyone help me to solve my problem.. The error is::: ERROR 3705 "Operation is not allowed when the object is open"... Here i am l posting the code so that you all may get some idea... Dim Connection As...
0
994
thread by: Dark000001 | last post Oct 19 '15 by: Dark000001
Set rs = New ADODB.Recordset ssql = "Select * from tblorder WHERE CustomerID ='" & custid & "'" rs.Open ssql, conn With rs If .RecordCount > 0 Then Do While Not rs.EOF cbodelete.AddItem = rs.Fields(productsize) .MoveNext Loop
2
1,147
thread by: khkrish | last post Oct 18 '15 by: Rabbit
EL_SUCCESS = 0 EL_ERROR = 1 EL_WARNING = 2 EL_INFO = 4 EL_AUDIT_SUCCESS = 8
2
1,222
thread by: Dudise | last post Oct 17 '15 by: Dudise
How to make a timetable system in vb 6.0? I want steps and some codes
1
1,209
thread by: johny6685 | last post Oct 20 '15 by: johny6685
I am trying get the input box name and feed some data in a webpage. The website I am trying to work is not showing an details about the elements due to the VIEWSTATE set to hidden. I read some articles that Page.prerendercomplete will helps to identify the objects before it moves to VIEWSTATE hidden status. Please advise whether I can get...
0
949
thread by: Kazim007 | last post Oct 12 '15 by: Kazim007
I have created a table in oracle by coding it in vb 6.0 ... using Con.execute "create table <table name> I want to replace that with a text.text Help me with the code
0
951
thread by: ketchu1j | last post Oct 9 '15 by: ketchu1j
I have been trying to use a command button in Access to print a report to the default printer without showing the printer selection screen first. I finally got it to do that using the following code that I found from someone else on your site... Private Sub Command29_Click() DoCmd.OpenReport "rpt_stamp_label", acViewNormal, , , acHidden ...

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.