12,425 Topics

Member Avatar for
Member Avatar for mark.scutt.7

Hiya, please can you help: In my poker program I used to have loads of code for the 10 player slots, I used to ElseIf through each player in each player spot. Tonnes of code. Now I want to loop through so I have only one set of code. The …

Member Avatar for Minimalist
0
201
Member Avatar for LeNenne

Hello I have a problem that is as follows. One list box with 30 perons in it and I have command(index) from a - z when I dblclick on a name it fill all the textboxes good but I will have it like when I dblclick on a name in …

Member Avatar for LeNenne
0
166
Member Avatar for Encheiridion

hi, i use wmp control to obtain sound. in normal (without dx) application runs fine. few months ago i made vb6 program with dx and everythin was ok with sound. now running this soft i hear buzzing, scratching noise. what could happen? (wpm control gives noise only in program with …

0
71
Member Avatar for razamughal67

hello everyone i want to fill description box below the link in vb6 when we press a command botton we use already many types of commands to fill this page form fields. everything is ok but description text box not fill. please give me a source code . what can …

0
165
Member Avatar for teepu.ahmad

** # 1. ## Dar-Ul-Sadar sharqi RabwahBold Text Here ## 1. Item One My books 2. Item Two My bed**Rehman Abad ** 3. Item Three TV # **

Member Avatar for Reverend Jim
0
166
Member Avatar for alina.nazchowdhury

How to save a text information with the formatting italic, bold, underline, small, medium, large? I have a menu, from where I can Save the text as a file, Open a file in my text editor, Exit from my program, but I don't know the coding for Saving and Opening …

Member Avatar for Minimalist
0
194
Member Avatar for Mushtaque

Dear users. i am making user choice database programe. how can i make relationship between multi combo box. IN FORM1 for example. Table 1 customer name city name area name NY FL TO ETC tabel 2 INVOICE combox1 area(NY) thyen display specify area customers IN COMBO BOX 2 combox2 customers …

Member Avatar for GhostWolf
0
170
Member Avatar for elie.karkafy

how i can design an appilcation in visual basic 2010 , the same as the attached picutre using control boxes , thanks for any help

Member Avatar for ryanjayson
0
138
Member Avatar for hawkz86

Hi I am a fresher to VB and now stuck with a code for my project. Project Description : I have a .xlsx Excel File which has two Coulmns "Key" and "Summary", I have populated combobox on the form using DataSet as shown below : Dim dt As New System.Data.DataTable() …

Member Avatar for hawkz86
0
857
Member Avatar for sonunclejalil

i got a problem where i want to show a picture that i've save in access and want to show the picture in vb, If rs.EOF = True Or rs.BOF = True Then MsgBox "Your Name Is Not In Data" Else txtname = rs.Fields("NAME") txtreg = rs.Fields("MATRIX NO") txtic = …

Member Avatar for Jx_Man
0
186
Member Avatar for nel gomez

Good day, Just want to ask some help, Please! I always encounter "Cannot find Table 0" when i call Stored Procedure in DB2 using VB .Net with Ole DBConnection Provider. Here is my code: Private Sub cmdPost_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdPost.Click rsSearch = clsDAOMngr.getConfigParam(2) For …

Member Avatar for Begginnerdev
0
591
Member Avatar for VB user

I'm faceing a problem with compering the values of the Acess with the values that the user enters. The user should enter his /her username and password and choses the title of his/her job. if the user enters wrong username and wrong password and chosses the wrong job title than …

Member Avatar for Reverend Jim
0
282
Member Avatar for jemartalaban_1

please help me with my code. When I enter the exact filename in the text1.text it will find the filename.dat in my folder. but it seems the code cant find it even i type the exact filename even the case. strBackSlash = IIf(Right$(App.Path, 1) = "\", "", "\") strEmpFileName = …

Member Avatar for GhostWolf
0
120
Member Avatar for archangel1177

Hello, I have a question about a sheet that we have been working with here for several months and it is now displaying some odd behavior. What we are doing is using a sheet to collect hourly performance data for the machinery that was have running in our areas. It …

Member Avatar for GhostWolf
0
138
Member Avatar for sonunclejalil

i got a problem where i want use 2 form which form 1 is to find info in database and form 2 for show the data but when i use call form 2, the pop up appear as invalid below is my coding Private Sub cmdFind_Click() con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Fairus\Documents\docklet\my …

Member Avatar for GhostWolf
0
220
Member Avatar for muhammad_46

Private Sub Timer1_Timer() Dim FromModem$ On Error Resume Next For i% = 1 To 6 MSComm1.CommPort = i% If MSComm1.PortOpen = False Then MSComm1.PortOpen = True MSComm1.InBufferCount = 0 Label8.Caption = " PORT " & i% pb1.Value = pb1.Value + 10 List2.AddItem i% Text1.Text = "Searching Modem Port" & i% …

0
56
Member Avatar for micca.jhai

Can someone help me I'm having some problem with this. I am supposed to make a sytem that will alert if the medicine was expired. here is my code. Private Sub DataGrid1_Click() On Error Resume Next Command2.Enabled = True With frmmed1 .Combo1 = Adodc1.Recordset.Fields("MedicineName") .Text3.Text = Adodc1.Recordset.Fields("StockQuantity") .Combo2 = Adodc1.Recordset.Fields("Expmonth") …

Member Avatar for BitBlt
0
394
Member Avatar for bantex07

I was thinking if someone could help me to connect the Bar code scanner with Visual Basic 6.0? Help me please.!

Member Avatar for tahir zafar
0
2K
Member Avatar for lotop12

Hi, I'm very new to VB and, I would like to see an example of how to create a menu with an input field and action that when you hit return, an output is displayed, for example, the input may be a number and the output a corresponding string. Thanks

Member Avatar for taebak3
0
76
Member Avatar for bratinela

hi.please help me how to program a command search in simple way.because all sight here so hard and i'm just a beginner in vb6.with adodc codes,thanks :)))

Member Avatar for ImZick
0
136
Member Avatar for maryam_2

hi, im doing a project on stock control system. if any body is interested in helping me out with my whole project i will be vry thankful 2 you. my project deadline is in december 2013. if u would like to help me pls contact me. pls reply as soon …

Member Avatar for maryam_2
0
158
Member Avatar for Ruan10

1: I have to create an application that will dynamically add a menu strip with menu items to a form(ie NOT dragged and dropped onto the form) in Visual Basic. The menu strip should be created in the Form_Load event handler. I have to use a TextBox for user input. …

Member Avatar for Lennonbull
0
425
Member Avatar for alina.nazchowdhury

After build and debug my program, i want to publish it, and after is installed in my compiuter, i want the program will have the icon that i want to use, not by default. Like any other program, i want my program will have to an icon. Please help me …

Member Avatar for ACE--
0
154
Member Avatar for alina.nazchowdhury

After build and debug my program, i want to publish it, and after is installed in my compiuter, i want the program will have the icon that i want to use, not by default. Like any other program, i want my program will have to an icon. Please help me …

Member Avatar for deceptikon
0
93
Member Avatar for q77t5c7k

i want to upload a local file to server ( eg. 0catch.com). i use following code ( and INET component on form) Inet1.Execute , "PUT c:\a.txt /a.txt" But this only creates empty file on server and not the contents. so how to achieve upload without external software or increased complexity.

Member Avatar for mridul.ahuja
0
238
Member Avatar for lyndata

i am using employee table to test if i am doing the whole program correct. I have 5 buttons. one is to add records and another to save(commit), to update, to delete and to clear. I am having trouble with the code to save the record to the data set. …

Member Avatar for ryanjayson
0
320
Member Avatar for amrahim

Hi, Please help, I don't know how to use arabic language in text box or label(caption) in VB6. I try to change language but the sign "?????" appears in text box. Please help me. TQ.

Member Avatar for el fahem
0
2K
Member Avatar for silversurf

Hello, I am trying to build a pos and inventory system in vb 6.0 with MS-Access database. I do not have much experties in vb 6. Ok here is the question now, I have a frmcashsale in my system which have a MSHFlexgrid called grid, I have managed the codes …

Member Avatar for Stephene_1
1
667
Member Avatar for Sweetmaldita08

is there any code in vb6 were i can say it is fifo(fisrt in first) for ex. i have 1 product but it has 3 different date issue and date of expiration how can i determine which one that i am going to out !is there any code for that?

0
89
Member Avatar for Sara_5
Member Avatar for Ketsuekiame
0
185
Member Avatar for Mr.M

Hi Dw I'm glad to find one active VB forum for the old VB I used to get the solutions in .NET and I'm also a .NET developer but had got a problem the computer that I'm creating this application for is using old Windows OS such as XP and …

Member Avatar for Mr.M
0
234
Member Avatar for mavtcr

Dear friends pl help me I want to select data from a data base table Tran with two selection criteria one is number and the other one is text When i use one criteria it works well But i am failed to use the two criteria my code is here …

Member Avatar for mavtcr
0
213
Member Avatar for paul.rothenberger

Hey Everyone, I'm stuck... I've got a 1-dimensional array from a text file that is displaying in a list box. I have buttons to sort ascending and descending but cannot seem to get them to work. My code for the array is Dim name() As String = IO.File.ReadAllLines("Countries.txt") lstCountries.Items.AddRange(name) This …

Member Avatar for velota27
0
283
Member Avatar for murdoc311

'Hi all. I'm trying to create an application that computes the average monthly 'rainfall, number of months with above average rainfall, and the number of with 'below average rainfall, given the rainfall amounts for each month in a year. 'is what I have so far. Sub Main() Dim sngRainfall() As …

Member Avatar for murdoc311
0
344
Member Avatar for razamughal67

I have a 2 textbox 1 text box is empty . text2 is multine true second text box have some words. text2 text Example : "12345 is my number and 03451234567ddddsfsa somethingis wrong034512345find 03451234567" .............. i want to find 03451234567 11digit number in text box with first 3 or 4 …

Member Avatar for Reverend Jim
0
320
Member Avatar for anelyn.fabular.7

Hi everyone.. Can I ask for any help, we have a project, a mini traffic light using LED lights. I dont have the idea on how we will work on this using VB6.. Help me pleeeaase ^-^

Member Avatar for Ancient Dragon
0
54
Member Avatar for amvx86

Hello everyone, I'm writing up a new application that instead of using microsoft as a server, I'm using a linux server with a database in it. The database was setup, the tables were set up, and access was granted in mysql. The issue I'm having is that I keep getting …

Member Avatar for amvx86
0
410
Member Avatar for scaiferw

Sorry in advance if this is the wrong place for this, it's the closest I could find. I need to create a macro for an Excel 2010 spreadsheet so that the active cell will cycle through three choices: "Y", "N" or "" - the last being simply an empty string …

Member Avatar for scaiferw
0
228
Member Avatar for mansi sharma

Private Sub Command1_Click() Select Case Me.Text1.Text Case 1 MsgBox ("U Entered 1") Case 2 MsgBox ("U entered 2") Case 3 MsgBox ("u entered 3") Case Default MsgBox ("Default") End Select End Sub When i enter 4 in textbox1, Msgbox is not displayed.....Default is a valid case or not in VB

Member Avatar for anup_1
0
149
Member Avatar for SaRa Ahmad
Member Avatar for 2384443

I'm new to this topic..!! Please help me out.. I have learned about Visual Basic during my High school but now there is a new topic which i'm interested & that is VB.net..!! Could you please tell me that is there any difference between them or are these two languages …

Member Avatar for v008370
0
372
Member Avatar for Deep Modi

I am trying to add the History page in my application which will work like as i shown below: 1st Column: (Date); 2nd column: (Login Time); 3rd Column: (Logout Time) I added the following code: Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load …

Member Avatar for Begginnerdev
0
310
Member Avatar for CanadianBlue

I’ve been looking for the answer to this problem for around 2 hours while working on other code. It seems like my answer should be listed in the MSDN because of its simplicity but I cant find it anywhere. And my problem is thus: I have this VB6 program that …

Member Avatar for Carlos_8
0
4K
Member Avatar for MartinT99

Apart from a few small programs written for fun several years ago, it is about 15 years since I wrote any software. However, I have had some visual images in my head for many years, so I am going to write software to bring them into reality, so I can …

Member Avatar for Dani
0
217
Member Avatar for Su Myat Naing

I have a Retail Management System software that write with vb6. I want to join this software with display stand 9600 N 8 1. tell me how to connect plz. what need?

0
62
Member Avatar for FHUGE

hi good am, i just want to know how to make a simple anti virus using visual basic 6.0, i just want to ask the code for scan delete to detect a virus to automatic play the anti virus program thank you

Member Avatar for Ventor
0
210
Member Avatar for smart_virus87

I'm playing around on how to get last name in the string. Below is my current code and it is working. I want to know if there is another way to do it. strMsg = "John Doe" length = Len(strMsg) For i = 0 To length char = Right(strMsg, i …

Member Avatar for Jx_Man
0
235
Member Avatar for dbwalters67

I am trying to create an application using VBA that will create a QR Code based off of some text that has both numbers and letters. I believe that I have been succesful in encoding the proposed data using the Alphanumeric mode of 2Q. I am trying to base this …

0
66
Member Avatar for asamer

The company I am working for is trying to rebuild a simple program that views and/or modifies tables using sql. We want this to be a web app. We already have a working desktop app built in Visual Basic 6. Now we are copying the code over to Xojo. The …

Member Avatar for gusano79
0
337
Member Avatar for DanielTradeWs

Hi every boddy Big problem here. I don't know if from access or vb.net I program in Visual Basic inside Visual Studio 2010 I have Access 2002 dbase with the first field caled ID_no : autonumber and primarykey and it is a "LONG INTEGER" I can not change because it …

Member Avatar for DanielTradeWs
0
613

The End.