10,992 Topics

Member Avatar for
Member Avatar for opspl_programme

Hi I have an existing Visual Basic 6 program which prints to an attached (LPT1) Dot Matrix Printer. Printing is done by first sending the output to a file and from there sending it to the printer. There are a set of Escape Sequences like Print #1 chr(15); chr(3); strVarName …

Member Avatar for AndreRet
0
4K
Member Avatar for EphRamoso

I want to create a program using vb 6.0 that is connected to a wamp server database.is it possible?can you help me with step by step instructions for it?thanks alot i badly need it for my school project..

Member Avatar for Soft_1
0
73
Member Avatar for Papa_Don

Hi group, I'm trying to insert both a copied range (from and Excel file) AND a message (text) into the body of an Outlook email. I've perfected the code to insert the range, but I've not figured out how to get the message to go along with it. I hope …

Member Avatar for Papa_Don
0
5K
Member Avatar for dragonheart

i am using VB 6.0 and MSAccess in my project.. in one of the forms i use a flexgrid to store data into and load data from database. and also to edit each cell i use a textbox. alll these are working perfect, bt i have a problem with saving …

Member Avatar for JModak
0
829
Member Avatar for nay zin

hi i having trouble with saving and checking duplicate with my coding..i can't save my data and when i save a new data , it's always say duplicate..i want to save my new data and if it record is already have it, want to show a msgbox saying duplicate..here my …

Member Avatar for nay zin
0
381
Member Avatar for JModak

I create a project add some item (C_Number,E Number, Model, Type, Color, Key No, Price(numeric field)) in MSFlexGrid1. then add a button when click on this add the record in data1, but only 1(one) data add in the data1 database. I use access database. How can I add all (minimum …

Member Avatar for JModak
0
213
Member Avatar for powerade661

I am trying to make it to where it will read the registry and report back if ProxyEnable is set to the value of 1. If it is, it replies back that the privacy is in risk, if not it says privacy is safe. Here is my code. Any help …

Member Avatar for powerade661
0
332
Member Avatar for nay zin

i want to show the duplicate record with a msgbox,but i dont know what to do next, please help for some advice and coding ...ty Private Sub cmdadd_Click() On Error Resume Next If (txtempid.Text = "" Or txtempid.Text = Null) Or (txtempname.Text = "" Or txtempname.Text = Null) Or (cbodep.Text …

0
113
Member Avatar for squashsparky

Hi I need help I have some XML files which have more children and grandchildren, than I am used to playing with. (Link to xml file below) https://intecprinters.iweb-storage.com/s/IjU2OTNlNjVkNmExODkyMDlmNjU5N2MyNiI.jaEay6nxR-v-gaiJwcVNiP113QI I need to be able to read the xml, determine the name Root node ,<JOBS_Jan_2016> and obtain the list of names of …

Member Avatar for LaxLoafer
0
368
Member Avatar for hallianonline

Hello Friends I am facing a little problem that I want to sort my records according to date I mean to say I want to show the upcoming records based on dates on the top in ascending order I have a complete working code to fetch from the database but …

Member Avatar for Smith5646
0
248
Member Avatar for yaho01

Dim arr1 As String If Left(arr1(i), Len(n) + 2) = n& ": " Then titleBar = String$(100, Convert.ToChar(0)) valid1 = Right(arr1(1), Len(arr1(1)) - 13) how to convert vb6 to vb.net ? Left String$ Right Private Declare Function ObjectFromLresult Lib "oleacc" (ByVal lResult As Long, ByVal riid As Guid, ByVal wParam …

Member Avatar for Reverend Jim
0
250
Member Avatar for jaai

i need help in adding a new record to the database using adodc in vb6.. i've a command button named add in my form...

Member Avatar for md riyaz
0
14K
Member Avatar for hallianonline

I am facing a problem that I have to show database results from 3 different tables on a single report these three tables have are used for different purposes and want to show their headings details separately. I am using VB6 and designing this report in **DataReport** a common feature …

Member Avatar for hallianonline
0
273
Member Avatar for imagetvr

I am developing a sample project in Visual basic 6 and MS Access 2003. 1. I wish to print Invoice in Continuous statonery (Roll Paper ) width of paper 5.5 inches I am using printer.print Code using (x,y) co-ordinates My problem , after printing one bill printer skips and giving …

Member Avatar for jwenting
0
1K
Member Avatar for zelrick

Hello DaniWeb Users/Programmers, I don't know if I post this on the right thread but I already post in Linux and Unix Thread but the cause I try ask in here is because it is programming related. I am a window user but trying to use linux for some purpose. …

Member Avatar for Stuugie
0
412
Member Avatar for sylvarosetech
Member Avatar for Reverend Jim
0
99
Member Avatar for sylvarosetech

Can I get assistant here.. I want to query a database with I Unique id and and display report on list item control with vb6

Member Avatar for Reverend Jim
0
84
Member Avatar for El Ticha

I have a new command in my connection 1 of my dataenvironment, but, when i drag the "Command1" to my form, i cant see the labels and textboxes , why? Please help me, its my homework

Member Avatar for Suzie999
0
83
Member Avatar for M.I.Sahil

Aslam o alikum, I create a report in Crystal report 9 with add command using Oracle 11g as Database with OLE DB (ADO) (Microsoft OLE DB provider for Oracle). It works fine in crystal report. I want to call this report from vb6 form. I m not using any server …

0
177
Member Avatar for Mr.M

Hi Dw. Firstly I would like to ask if there is anyone know a good download link to download VB6.0 I'm in need of this IDE. Now coming to my actual question of how to detect USB insertion and removal and get a drive letter for it in VB5.0? Thank …

Member Avatar for Ketsuekiame
0
396
Member Avatar for themathprof

I installed VB6 on my new windows 10 computer and it installed fine. My compiled program works fine. However, in the IDE mode it does not 'recognize' the on error resume next (or any other on error statement) and shows in a popup that there is an error and will …

Member Avatar for rproffitt
0
333
Member Avatar for Legarcio

Public Class Form1 Dim intsum, intaverage, counter As Integer Private Sub btnAverage_Click(sender As Object, e As EventArgs) Handles btnAverage.Click For counter = 0 To lbNumber.Items.Count - 1 intsum += counter Next intaverage = (intsum / lbNumber.Items.Count - 1) lblAverage.Text = intaverage End Sub Private Sub btnSum_Click(sender As Object, e As …

Member Avatar for Legarcio
0
308
Member Avatar for jonniebl

I am trying to navigate through several we pages and the hyperlinks are constantly changing. I am trying to figure out how to identify a specific link on a web page and then follow it.

0
105
Member Avatar for Hopp3r

I'll try to be brief in this post. I'm working on a cave generation program that will implement cell automata and marching squares. I'm new to Visual Basic and am wondering if the Canvas class is the best way to draw these black & white squares. For a reference the …

0
178
Member Avatar for Abu Thahir

Hi to All. Im create a Vb 6.0 project with MS Acess back end. And Its Have A purchase Report Form. It's works good. But I want to made purchase entry by multiple product's data entered at single time. Like Entering products datas one by one it can be listed …

0
82
Member Avatar for TylerTCF

I was wondering if anyone could help me out with a problem I've had for a few days. This is a code snippet of a program I'm writing to move and delete email attachments from one or more selected emails. Everything works great except the program won't edit the body …

Member Avatar for Stuugie
0
554
Member Avatar for Kaiser95

1. Write pseudocode to solve the following problem. (i) Declare an array nums that can hold 100 real numbers. (ii) Write pseudocode to load nums with 100 values, entered via the keyboard. Assume all data are valid. (iii) Write pseudocode to prompt for an integer target. Search array nums for …

Member Avatar for rubberman
0
200
Member Avatar for hwoarang69

How to replace string with variable in substring? btw im using vb I have a below query that work fine but I just want to replace "ra*" with a variable. How can I do this? SELECT DISTINCT a.[rank], b.Description FROM CONTAINSTABLE(myTable, *, '"ra*'") AS a INNER JOIN myTable AS b …

Member Avatar for incomer
0
329
Member Avatar for hallianonline

Hello, I am facing a very little problem but I am totally confused how to resolve it I have two tables in my access database which have similar items in it from the first table i.e **tbl_reci_inds** I have selected **reci_prod_code** which is a product code, also in this table …

Member Avatar for ez4u2c
0
319
Member Avatar for Tiffany888

I am trying to work the next and previous button to read or navigate throughrecords, please help me to correct this, I'm stuck here: Private Sub Button7_Click(sender As Object, e As EventArgs) Handles Button7.Click Dim k As Integer Dim i As Integer k = 1 i = k + 1 …

Member Avatar for rproffitt
0
254
Member Avatar for sing1006

I had 3 datagridview in visual basic, and each of them is linked to each other. 1 Main component can have many Failure Mode and 1 Failure Mode can have many Critical. [Click Here](http://i1333.photobucket.com/albums/w631/lloyd1006/1_zpsapbu0wla.png) [Click Here](http://i1333.photobucket.com/albums/w631/lloyd1006/2_zpsbe2c2u3n.png) [Click Here](http://i1333.photobucket.com/albums/w631/lloyd1006/3_zpsw2s2weo6.png) I want to duplicate selected row or record including their children details, …

0
158
Member Avatar for hefaz

Hi all, i am doing my project. i need one search box to find something i write in the box, how can i code that? its very important please help

Member Avatar for hefaz
1
254
Member Avatar for 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 …

Member Avatar for hefaz
0
700
Member Avatar for sing1006

Dim DMC_No As New List(Of Integer) cmd.CommandText = "SELECT MC_No FROM tbl_MainComp WHERE EquipTag= '" & TextBox1.Text & "'" Using reader As OleDb.OleDbDataReader = cmd.ExecuteReader() While reader.Read() DMC_No.Add(reader.GetInt32(reader.GetOrdinal("MC_No"))) End While End Using Dim DFM_No As New List(Of Integer) For i = 0 To DMC_No.Count - 1 MessageBox.Show(DMC_No.Item(i)) 'This line to …

Member Avatar for Reverend Jim
0
396
Member Avatar for sing1006

I have 3 table which are ![zz.PNG](/attachments/large/3/f81c645612d06529dba9af30a4a314ac.PNG "align-center") I want to duplicate a record from the master table in the same time it will duplicate all children table. I will assign new primary key to the new duplicate record. For the tbl_System and tbl_MainComp work fine. But when i have …

0
311
Member Avatar for sandhya1987

Dim DB As New ADODB.Connection Dim rs As New ADODB.Recordset Dim RST As New ADODB.Recordset Dim adoConn As ADODB.Connection Private Sub Command1_Click() Adodc1.RecordSource = "INSERT INTO STUDATA(UserName,Password,Course, Gender,Country) Values ('" & TxtUn & "',' " & TxtPw & " ','" & ChkC.ischecked.tostring() & "','" & ChkCC.ischecked.tostring() & "','" & ChkJAVA.ischecked.tostring() …

Member Avatar for Taywin
0
329
Member Avatar for hallianonline

Hello I have created a installer package of my project build in Visual Basic 6.0. I have using Advance Installer for making package. every thing works perfectly on other systems but a minor problem in my project i am facing which is very hard for me to resolve is I …

Member Avatar for Minimalist
0
2K
Member Avatar for Jambaly

I am desgining a userform in ArcMap, but I don't know how to sum up numeric values in a textbox (txtBox1) in another textox (txtBox2). Can anybody provide me with a vba code for that!

Member Avatar for Vicky_4
0
4K
Member Avatar for Enee

I have a problem!! I am trying to convert pascal code to VB and am stuck. Pascal: TYPE Elements = SET of 1..255; Xpath = ARRAY[0..50] of BYTE; VAR Path0,Path1,Path2:Elements; Path:Xpath; So, Elements is defined as a base set of numbers 1 through to 255 (inclusive). Path0, Path1 and Path2 …

Member Avatar for divya.jeeta
0
1K
Member Avatar for Subaz

I am trying to make a program but I am stuck with something. I can't solve the problem of saving the contents of a form as a video file. Please help me with this.

Member Avatar for rproffitt
0
70
Member Avatar for Anne_3

Hi guys, ** Im an IT Intern Student here in the Philippines. they gave me a project which is File transferring, copy and delete. I started my OJT/Internship 3 weeks ago. and that entire week, all I have done is the design :( My professors in our university did not …

Member Avatar for Taywin
0
409
Member Avatar for JModak

how to search a data in particular fields(ms access database) in vb6.0 using data1 control. I create a project in vb 6.0 using ms access data base and data control. I want to find a particular name from the data base table field. My code is.... If Data1.Recordset.Fields("C_Number") = Text15.Text …

Member Avatar for DenisOxon
0
428
Member Avatar for choeychoco

Good day everyone. i have a vb6 program that attaches files in my database having an attachment field named ATTACHFILE. Saving files works fine but i cant upload/save file to a selected directory. I have the following code below . I was able to save it to my spcefied directory …

0
180
Member Avatar for SimonVic

I am trying to develope a banking program using vb. But I've never seen one so I don't know what it looks like. Can somebody help out please??

Member Avatar for rproffitt
0
231
Member Avatar for Iamateur

Hie someone please tell me from which site we can download vb.net software either 2008 or 2010?

Member Avatar for renzlo
0
231
Member Avatar for baabjitvk

hi everybody.. I'm implementing an interface in vb6. In that I'm creating dynamic controls like comboboxes, buttons etc. how can i identify a button click that is created dynamically. if the button is clicked, then only i can move to next stage.. i.e. i have to write code for that …

Member Avatar for rproffitt
0
332
Member Avatar for Steven97.1

Hey guys, I'm teaching myself visual basic using the "Starting out with Visual Basic 2012" textbook and I'm having trouble with a two part programing challenge. I did the first part which was: *"An internet service provicer offers 3 subscriptions packages to its customers, plus a discount for nonprofit organizations …

Member Avatar for tinstaafl
0
636
Member Avatar for sing1006

the error i get from visual studio is `Number of query values and destination fields are not the same.` below is my insert statement "INSERT INTO tbl_ViewAll(EquipTag, S_Name, S_Function, S_Failure, MC_No, MC_Name, MC_Function)" & "SELECT EquipTag,S_Name,S_Function,S_Failure FROM tbl_System UNION " & "SELECT MC_No,MC_Name,MC_Function FROM tbl_MainComp"

Member Avatar for Santanu.Das
0
291
Member Avatar for Melon Lord

Hello! I'm new to VB and I'm having trouble finding the correct formula for the Average Discount :'( Option Explicit Dim mcurExtendedPrice As Currency Dim mcurFifteenDiscount As Currency Dim mcurDiscountedPrice As Currency Dim mcurTotalDiscountGiven As Currency Dim mcurBookCount As Currency 'Declare module-level variables Private Sub cmdCompute_Click() Dim intQuantity As Integer …

Member Avatar for zelrick
0
324
Member Avatar for Ritesh_4

Hello I have a VB.NET project (using Visual Studio 2015 Pro) currently found on my PC, and would like to make it shared across my LAN with others so that they can pull a copy on their own PC and work on it, and push their changes to the project, …

Member Avatar for gusano79
0
1K

The End.