473,543 Members | 2,035 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,594
thread by: elderfrog | last post Sep 17 '15 by: trystan4861
How to truncate text in VB? Need to unclutter the map. ArcGIS mapping environment. Only want 1st 5 characters of parcel field "Street".
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
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.
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
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,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...
0
1,124
thread by: handsomeaspen | last post Apr 22 '15 by: handsomeaspen
this code is the code of log in section . but it keeps me giving an debug saying argument are of the wrong type are out of acceptable range , are in conflict with one another i have a registration section also and it works well Dim rs As New ADODB.Recordset With rs .Open "SELECT * FROM tblSecurity WHERE Username = '" &...
1
1,395
thread by: zymurgy | last post Apr 20 '15 by: zymurgy
I have an ADO.Recordset object that is able to successfully connect to the database and pull data. However, the data that is in the database vs what is being retrieved by the object is incorrect. For example, if I take the exact query that is in the command parameter in the Recordset and execute it in Sql Server Management Studio, the RANK in SSMS...
1
1,103
thread by: apollos | last post Apr 19 '15 by: zmbd
I want to create the number list using vb10. If there is two buttom in which, one is for initial value and another is for end value, these values must be generate in listbox with one after nother within a second using timer control. Thus, how will be the code for this purpose ? Pls. help me.
5
1,526
thread by: alien8k | last post Apr 20 '15 by: Rabbit
Hello, first i want apologize for my english, but i hope u will undestand me. I have problem with me quiz program. Generating random 10questions (after 10 random Questions -> end) from txt without repeating, i sent u code, its work great, but questions are repeated. I have menu form where is start button, which will jump to form1 where is...
1
1,314
thread by: Proggy | last post Apr 9 '15 by: kiseitai2
Ive been installing a VB application on another computer, but wen im running the program an error occurs it says that my database is not valid(the path). my program has no app.path thats why i install it on Local disk D. Wat should i do now? is there any option on how can i run the program on another Local computers? thanks.
4
2,027
thread by: alimo | last post Apr 4 '15 by: alimo
Hi, So many examples and code snippets are there to get Lat-Long from physical street address, but I utterly failed to find any example or sample code to get street address from Lat-Long.. That's why I am turning to you guys.. Any help most appreciated. I need VB6 code because I have old project that I want to add this functionality to. ...
0
997
thread by: Rahimah | last post Mar 30 '15 by: Rahimah
I want to transfer image from vb6 to matlab. but I do not how to do it.. The DDE is support only for output image, Should I convert the image in picturebox to array or byte and passes to matlab?
1
1,528
thread by: octa | last post Apr 4 '15 by: Killer42
Dim sFile As String, dFile As String On Error GoTo Salah If Dir(sFile) <> "" Then Open (App.Path & "\proposal.rtf") For Output As #1 Open (App.Path & "\proposal_output.rtf") For Output As #2 Do While Not EOF(1) Line Input #1, tmDat$ sReplace = Replace(sReplace,...
2
1,372
thread by: kevin mak | last post Apr 4 '15 by: Killer42
i want to have the latest .txt file in a folder (e:/notepad) to be opened and the text displayed in listbox.Please help am stuck.
1
1,330
thread by: Proggy | last post Apr 4 '15 by: Killer42
i wonder why my text becomes invisible. after i type the name and i focus on the other textbox it does not show.what was the problem? can anyone help me? thanks much.
2
1,537
thread by: Proggy | last post Apr 4 '15 by: Killer42
Hello there. can anyone help me solve this problem in Visual Basic 6. ive been adding a record when i accidentally press the brocket "[" character. then this error show. Invalid Pattern String. You can view the error i encountered on the image i attached. Ill appreciate your answer very much. God bless. Thanks in advance.

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.