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.
0
1,107
thread by: dawndon | last post Jul 1 '15 by: dawndon
hi am currently develop enrollment system just have a major problem in displaying student rankings see the image attachment. With ListView1 .ListItems.clear End With Set rs = New Recordset rs.Open "select * from revieweegrades ORDER BY GENAVE DESC ", con, 1, 2 If rs.EOF Then Else With ListView1
0
1,057
thread by: SSH1223 | last post Jun 30 '15 by: SSH1223
I have one command button that starts a procedure to fill out a couple different forms. One of those things is to print a page of a report that goes with the selected object. HOwever the report only applies to some of the objects, so when the command button is hit for ones that do not apply the 'Enter Parameter' button pops up. How do I get it to...
0
1,298
thread by: jirkap | last post Jun 27 '15 by: jirkap
Hi, I have a quite complex UserForm and using SQL queries I retrieve from and also save data to another workbook (unfortunately I cannot use Access db in this case). There are three particular textboxes in the form with linked checkboxes. Normally, users enter numbers to the fields and everything saves fine to the external workbook. But...
0
1,183
thread by: ssuuna | last post Jun 25 '15 by: ssuuna
Am making a report generating project and have a field for grades from D1,D2,C3,C4,C5,C6,P7,P8 and F9, I have another field x where D1==1,D2==2, upto F9==9. I have another field named best eight and want it. to have the total of best eight grades using field x
5
1,957
thread by: Alexraj | last post Jun 23 '15 by: inspectelement
Dateadd when I used this function to add hours to time if I add 2 hours to time 11 pm I get time with date like 31/12/1899 01:21:00 am how can i get the time only thank you
0
1,179
thread by: serefina | last post Jun 22 '15 by: serefina
Hi guys. The below code saves the video into specific folder and specific name. I would like to replace Dim destination As String = "C:\Users\Emily\Desktop\Video.mpg" to savefiledialog method so that the user can save the video into any folder and any file name they want. Can anyone please guide me, I'm new to this. Your help is much appreciated. ...
0
959
thread by: serefina | last post Jun 22 '15 by: serefina
I'm trying to save my video using savefiledialog but i have no idea how to modify the code -> Dim destination As String = "C:\Users\Emily\Desktop\Video.mpg" into savefiledialog method where the user can choose to save in any folder and name the video to any name they want. Can anyone please help me out? :( ...
0
966
thread by: JSSchiavo | last post Jun 18 '15 by: JSSchiavo
I create a datagrid by dragging the Northwind Orders table onto a form. I modify the ReadOnly property of the datagrid to False. The designer code still said it was true, and indeed, it prevented my making changes to typable values like "Freight" as though it were still set to true. I've checked the BindingSource and it's not set to read only,...
0
1,145
thread by: sangagouthami | last post Jun 13 '15 by: sangagouthami
How to migrate ole object tool facility from vb6 to vb.net
0
1,088
thread by: medobasic123456 | last post Jun 11 '15 by: medobasic123456
hey guys . i want to add a contextmenustrip in my project .i've did it and put that in "Show/hide - close - Exit " i just want to know witch command to Put in "show/hide" i mean if the user clicked on it . it should show him the form if the form isn't on the screen and if the form...
1
1,332
thread by: DoubleD | last post Jun 9 '15 by: DoubleD
Hi, I need assistance. I have a form in MS Access 2007. On this form I have 30 textboxes. 15 Of these are disabled and get data from a SQL query. The values of these textboxes is a number of which some are more than or equal to 0 and some are less than 0. The other 15 textboxes are editable, but they are set to the value of the parent...
0
1,084
thread by: MahbubMilon | last post Jun 7 '15 by: MahbubMilon
When I want to print a data report a msg shows me that "Data report is larger than paper width" For this I have also changed the paper orientation portrait to Landscape. But problems remain unsolved. What can I do for this?
0
1,275
thread by: sandeeppr | last post Jun 4 '15 by: sandeeppr
here i have a .png image which need to be displayed using image. which should be fit properly.... but if i use stretch=true then resolution reduces.... so pls help me out with gdi+ snippet for vb6. i transformed the .png file to normal to make use in vb6. the only thing i need is snipet to fit into image control
0
1,186
thread by: elderfrog | last post Jun 3 '15 by: elderfrog
In GIS map, I want just the first 5 characters of the "street_name" field to be printed in the map. It's an effort to unclutter the text on the map. What's the vbscript to do this?
0
1,129
thread by: MilonMahbub | last post May 23 '15 by: MilonMahbub
Here is my coding.. cmdPrint.Visible = False cmdMoveFirst.Visible = False cmdMoveNext.Visible = False cmdMoveLast.Visible = False cmdMovePrevious.Visible = False cmdFind.Visible = False Label6.Visible = False
1
1,509
thread by: senakudo92 | last post May 20 '15 by: senakudo92
Hi All,I'm having problem with the frame, I try to insert the option button value which is on Frame 1 but it didn't store in database,it only store the value for Text1,Text2 and Text3. I'm new in VB,hope someone can help me, I'm really appreciate. Thank you =) Dim con As New ADODB.Connection Dim cmd As New ADODB.Command Dim rs As New...
0
1,044
thread by: Raja Ram | last post May 19 '15 by: Raja Ram
language VB 6.0 error:- item can not be found in the collection corresponding.... code:- If rs.Fields("IMEI").Value = b Then help me now error re guarding.
8
3,403
thread by: Valco | last post May 17 '15 by: kiseitai2
Private Sub cmd1back_Click() fmeMain.Visible = True fmeMain.ZOrder fmeQ1.Visible = False End Sub Private Sub cmd2back_Click() fmeQ2.Visible = False fmeQ1.ZOrder fmeQ1.Visible = True
0
1,182
thread by: wild123 | last post May 17 '15 by: wild123
I have a VB6 project with multiple databases (ms access) and multiple forms In one existing table, I have changed an empty unused text field data type to OLE. How do I use the form in the vb project to insert a word document into that filed. I am a novice at this and also the whole code is in VB6. thanks.... Dipesh
0
1,004
thread by: Lawrence P | last post May 11 '15 by: Lawrence P
How do I use a combobox such that when I click on an Item in that combobox, it will take me to another form. For example, I have Tables, Beds, Seats e.t.c as items in my combobox list, I want to click on "Tables" so that it can take me to a form called "frmTables". Is it possible and how do I code it? Am using VB6
0
1,115
thread by: Gaus | last post May 8 '15 by: Gaus
How to create the field for 1000 word Set fd = tb.CreateField(Me.Date1.Text, dbText, 1000) The above is not working
0
1,114
thread by: vikasjains | last post Apr 30 '15 by: vikasjains
Dear Sir, Hi ! Is there any method or function in vb6 so that while working in a Form any control placed on a form can work to a specific kind of behaviour. For eg. there are 4 text boxes on a form.Now I want the background color of a text box to be changed whenever that text box is in focus.I know I can provide that in Got_Focus event...
1
1,770
thread by: kaashiefl | last post Apr 29 '15 by: Rabbit
Hi there Please help with this error ORA-06550 Im trying to call this procedure from within VB. please help with this error PLSQL ----- create or replace procedure sel_barcode (p_barcode OUT VARCHAR2, p_productcode OUT VARCHAR2)
1
1,318
thread by: tic0107 | last post Apr 25 '15 by: zmbd
Hi Would like to know how to set formula in Foxpro to filter policy in certain file which I would like to obtain. I have a dbf file which have policy no ( which is main source), I would like to set a command to filter a new policy list in a new period to have new policies list which consider policy termination or lapse policies. Tis mean new...
0
1,319
thread by: madhumitha1991 | last post Apr 25 '15 by: madhumitha1991
hai.. I need something to do where I stored bmp images for alphabets and numbers and i call call those images when i type it in textbox. i have a sample code like Public Class Form1 Dim graph As Graphics Dim g, g1 As System.Drawing.Graphics Dim img As New Bitmap(144, 16) Dim brush As New...

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.