10,992 Topics

Member Avatar for
Member Avatar for moren

hi, i need ur help. can u help me how to remotely connect some database like ms access,sql server,etc to mysql?every minute i hav to send new information from database ex ms access to mysql. I use VB6.

Member Avatar for debasisdas
0
64
Member Avatar for shahriar2403

I am using adodc to connect with my database in my application. I have command button to show my report consisting of the columns of that table in database. I also have command button to add data in the database during runtime. I can see the report updated for any …

Member Avatar for debasisdas
0
103
Member Avatar for werks

Hello experts. I have 2 [B]vbp[/B] (namely Project1.vbp and Project2.vbp) I Group them into 1 Project, my problem is how can the user choose on what project they want to use using VB6? My initial idea is when the user login a form will prompt, and the user will be …

Member Avatar for nemosmart
0
154
Member Avatar for jubal4285

sir help me how to disabled a checkbox. for example once i check the checkbox it should appear in my list? when im uncheck it... it should not appear in my list? tnx..

Member Avatar for debasisdas
0
83
Member Avatar for zawpai

Hi all, Could you please give me some suggestions about Form closing? My problem is that I will do the checking before closing the main Form whether the user saves the data, but I really don't know how to solve it. If the user doesn't save the data and close …

Member Avatar for Jx_Man
0
129
Member Avatar for priyala

Hi, I have a query if VB 5.0 Learning edition supports usage of Reports. If so how should i go about it. If not what can i do to get the reports options. Thanks, Priya

Member Avatar for cometburn
0
69
Member Avatar for zaharius

I have Folder "C:/MyProject" with my Project. In this Folder exist my VB-Form with name "Form1" and HTML-Document with name "index.html". The code HTML-document: <html> <body> <object classid="clsid:0002E559-0000-0000-C000-000000000046" id="Spreadsheet1"></object> </body> </html> In Form1 I insert Webbrowser1 and button Commad1 with this code: Private WithEvents Exc As MSHTMLCtl.HTMLObjectElement sub Form_load Dim …

0
34
Member Avatar for bornok15

How can i read out and add each item on my listview? for example i have 3 columns in my listview and i want to add them to my 3 database fields..

Member Avatar for debasisdas
0
139
Member Avatar for XZodia

Hi guys! I was wondering if there is any way that I can get Visual Basic 6 to run in Windows Vista? If not, will it work in SP1? I have done so many research but I can't find any answers.. Any help will be greatly appreciated.. Thank you..

Member Avatar for jbennet
0
105
Member Avatar for CzechRock3

Hi im trying to load an Object well reading a file, But the code is not working I have used it several times but this time I am getting an error message "Invalid use of Property" and it is highlighting the 'Load' Function [CODE]Private Sub Terrain_Load() Dim intFileNum As Integer …

0
66
Member Avatar for shahriar2403

In my application i use adodc to connect with access database and have command button to show a report consisting of datas from that database. I also have command button to add datas in runtime. But in runtime when i call for show report firsttime it show what is in …

Member Avatar for shahriar2403
0
104
Member Avatar for priyala

I need one more help Say suppose I have 3 records from database when i did a select query I need three values to be popualted in the three different text box . If I have four then i need four text box in the form How can I do …

Member Avatar for choudhuryshouvi
0
263
Member Avatar for bugmenot

hi guys, i am using vb6 as front end and oracle as back end for my project. i am using ADO to connect to oracle database. can u please help me with the code. my code is [B]Dim con As New ADODB.Connection Dim str As String Private Sub Command1_Click() str …

Member Avatar for bugmenot
0
282
Member Avatar for CzechRock3

Hi im a student programmer and I was writing a program... and I need to beable to load a form from string variable like Private Sub cmdLoad_Click() dim strFormLink(99) as string strFormLink(1).Show End Sub That will not work... Have Any ideas(If you do I'd be really greatful I tried code …

Member Avatar for CzechRock3
0
105
Member Avatar for sofian786

how would i write this programme to calculate the average monthly sales figure for a single user like in one calendar year. A user will be asked to enter 12 sales figures (pounds & pence), one for each month of the year, and then the average monthly figure will be …

Member Avatar for sofian786
0
91
Member Avatar for MagicBytes

Hello there, how can I [COLOR="red"]SendKeys[/COLOR] to the same window with out having to run a new instance of it every time I click on the command button on my form ? [COLOR="Green"]Private Sub [/COLOR]Command1_Click() Shell "notepad", vbNormalFocus SendKeys "This is a test string" [COLOR="green"]End Sub[/COLOR] The code above keeps …

Member Avatar for djjaries
0
143
Member Avatar for vitchu2003

Hello Friends, I need to store 4text files(diff location) into MYSQL Database., then i access 4 locations data.Here i attached 2 text files. 1. report cum export.txt file contain how i export single databade into text file 2.SalesHyd.txt file after i export the following step1. Now i need to read …

0
60
Member Avatar for priyala

Hi, I am using mysql as the backend. I am trying to retreive data from the mysql table into VB front end For EG: I have Id using id I do a select query and retrieve the value Can some one help me with VB code what do i do …

Member Avatar for Jx_Man
0
78
Member Avatar for edsat

hi there, I'm new here. I have a problem to open a form with variable. Help me Please

Member Avatar for Jx_Man
0
153
Member Avatar for sal21

From a CICS application i send a txt file in dir c:\my_dir\test.txt my probem is when the job is finished... How to be sure when the file is updatable or movable from dir to other dir???

Member Avatar for choudhuryshouvi
0
123
Member Avatar for locsin

Hi I am COMPUTER SCIENCE STUDENT. I created thesis project with a report using VB6 datareport and Access2000. The report works fine on my machine, but when i presented this to my instructor an error "Invalid Data Source" occurs when I installed the application on other machines without visual basic …

Member Avatar for choudhuryshouvi
0
183
Member Avatar for nawaray

hi.... i did this form for sending emails... the form consists of: text boxex: from, to , subject , attachment... buttons: send , forward, ...etc when i fill the info and send the email it will go , but i don't know how to use the attachment , i have …

Member Avatar for choudhuryshouvi
0
148
Member Avatar for lsleongps

Hi, I have been struggling to design a form, so that the form can be escalated from person A to person B, then person B to person C and so forth automatically. The person A only needs to click at a button (exp: confirmed?), then the form will be sent …

Member Avatar for lsleongps
0
119
Member Avatar for talablink

Hello everyone, can anyone tell me where i can find sample codes of basic vb programming of making a database..a sample program where it shows me how to add update search delete and all those stuff..or does anyone have that program here or show me anything? please cause i have …

Member Avatar for choudhuryshouvi
0
75
Member Avatar for mariegomez84

Hi, everybody! I'm working in Visual Basic 6 (NOT for excel application). I'm quite new in this and I'm trying to plot some curves in a graph. The point is that when I plot the curve the second time, the curve for the first time is still there!!! And I …

Member Avatar for mariegomez84
0
979
Member Avatar for purplestar86

Hi experts! I'm a newbie in this site and i wanted to ask for help in VB timers. We have a simple system about time monitoring. May i ask, what code will i use. if i clicked a command button (time in), it will run the time. then if i …

Member Avatar for Jx_Man
0
254
Member Avatar for DGULLIVER

Hi, I needed to add over 200 Class Modules to a DLL, Sounds crazy I know. The quickest way I found was to create a text file with the following class=myclass1;myclass1.cls class=myclass2;myclass2.cls class=myclass3;myclass3.cls class=myclass4;myclass4.cls etc etc... I then copied into the vbp directly. But I'm now getting an out of …

0
75
Member Avatar for rajeshkhanna_in

Hi all, I'm writing a program in vb 6.0 which copies all the files from a pen drive(USB). Problem is pen drive(USB) may reside on any drive letter depending upon the partitions done on hard disk and the availability of CD drive. How do I come to know as to …

0
54
Member Avatar for harryl5

Hey people! I have been using VB2008 since it came out now, and have also used the 2005 version, but I was just wondering, if there is ANY way to create a Chat Application, or any way to create an IM service. Please help me :) Thanks x

Member Avatar for Jugortha
0
209
Member Avatar for Debasis Bag

Dear Sir I have project on vb 6.0 and want to generate report in html page I have knowledge on html but I can't do it through code Please help with a sample code Thanking you Debasis Bag

Member Avatar for choudhuryshouvi
0
51
Member Avatar for aminpr

Hello guys Im working on this project were I have to make the shape of my inicials "HIP" then make the letter H rotate on its center against the clock + make it rotate clock wise around the letter "I". I also have to make the letter "P" move up …

Member Avatar for aminpr
0
198
Member Avatar for Debasis Bag

Dear Sir I have knowledge on html but I can't make a report in html format through vb 6.0 code Now I am giving a Example: <html> <Body>"Debasis Bag"</Body> </html> above this example how to write code in vb 6.0 and print in htm format please help me wiht example …

0
61
Member Avatar for rajeshkhanna_in

Hi all, I'm writing a program in vb 6.0 which copies all the files from a pen drive(USB). Problem is pen drive(USB) may reside on any drive letter depending upon the partitions done on hard disk and the availability of CD drive. How do I come to know as to …

0
60
Member Avatar for evios

i have 1 function shown below: after O won the game, it will call the function below: [code]Private Sub OWins() Do playero=playero +1 loop GameOver = True Call GameIsOver MsgBox ("O Wins!") End Sub[/code] this function will show the player O won the games and reset the game. However, i …

Member Avatar for debasisdas
0
95
Member Avatar for vikas1111

Hi All.. I am trying to access records and edit and save the changes .. Here is the code Private Sub cmd_edit_Click() Dim addnew As Boolean rsnew3.Open "select * from company", c, adOpenDynamic, adLockOptimistic rsnew3.addnew If text1.Text = "" Then MsgBox " enter the company name" text1.SetFocus rsnew3.Fields("text1").Value = text1.Text …

Member Avatar for debasisdas
0
174
Member Avatar for werks

Hi experts this is an urgent question. how do you import and export database online? I have 2 equal database. I uploaded my FrontEnd(OPAC) and Database online. I have also a same database in my BackEnd(VB6) located in my computer. My problem is how do i update both database in …

Member Avatar for werks
0
113
Member Avatar for urmip

I need to show multi line address in a listview. I am using it in report format. I am able to show single line data but when i try to add multiline data, it shows it in the same line with boxes for chr(13) and chr(10). I want that it …

Member Avatar for debasisdas
0
66
Member Avatar for JCVM

I found this code that I have to change to work as I need it to I have this event procedure to open a query that gives me the approvers based on the amount of the request so I open the approver Form that has the email addresses I need …

0
58
Member Avatar for Irmann

I have a problem about using find method in Excel VBA. Here is my program:- ____________________________________________________________________________ Private Sub CommandButton2_Click() Dim MyProduct As Range Product = Range("F8").Value Set MyProduct = ThisWorkbook.Sheets("Sheet2").Columns("E").Find(what:=Client, LookAt:=xlWhole) [COLOR="Red"]ActiveSheet.Cells(8, 8).Value = MyProduct.Columns("G").Value[/COLOR] End Sub ____________________________________________________________________________ > how can I pull data in Columns(G) to Cells(8,8) >the program …

0
51
Member Avatar for evios

I'm doing tic tac toe. I am planning to show the scores of the users and computers using the same form. So, for each time the user or the computer loop, i need to add a timer to it so that it can update the scores. Refer to the source …

Member Avatar for evios
0
156
Member Avatar for dragonheart

i am using some listboxes in my form to load data from textboxes.. in one text box , the entry is bit lengthier than others, but the list box size osnt enough to display the whole entry .. is there anyway in which i can increase the column width of …

0
60
Member Avatar for mahibha

hai i am working with vb6 with mapobjects2.4 and i wrote code for MaxFileBuffer Property and i also got the error message as ActiveX component cannot create object th code is as like below: Dim dc As New MapObjects2.DataConnection Dim geo As New MapObjects2.GeoDataset Dim layer As New MapObjects2.MapLayer Private …

Member Avatar for debasisdas
0
180
Member Avatar for bashir matovu
Member Avatar for debasisdas
0
101
Member Avatar for vickyx

Hi, I am making a programme where I use a timer, I have 2 command buttons, one starting the timer, another stopping the timer, currently this works. But when i press the comand button starting the timer I want to have it reset to 0 because at the moment it …

Member Avatar for debasisdas
0
1K
Member Avatar for delete_at

[B][COLOR="Red"]Hello I am new to this site I wish you to help I use Visual Basic Version 6 and database ACCESS would connect database to the server So I can use the database in more than one device Example If the two fields in the database the First for the …

Member Avatar for debasisdas
0
99
Member Avatar for mahibha

hello to everyone i am working with vb6 & mapobjects2.4 and also i wrote code for "To select features based on an SQL expression" and i got an error as "Object Variable or With block Variable not set" .i want solution for this this problem code: Dim recset As New …

Member Avatar for debasisdas
0
213
Member Avatar for locsin

It is possible to print 2 form in one paper page. Or Anybody know how to extend the form size. My problem is when i reached the maximum size of the form especially the vertical size or the height. I cannot add 3 or more line which is necessary to …

Member Avatar for debasisdas
0
120
Member Avatar for olaitanmails
Member Avatar for debasisdas
0
80
Member Avatar for rucci

Hello , I would like to know the difference ADODB and ODBC when connecting VB6 to an Access database . Is one prefered over the other and in what circumstances. Thanks , rucci .

Member Avatar for debasisdas
0
93
Member Avatar for Sroxx

actualli im creatin a database on the driving licnese issuing authority im a new vb user my problem is that i want the new validity date to be automatically displayed wen this text box is clicked the code im using is dim text1 as date dim text2 as date text1.text= …

Member Avatar for Jx_Man
0
69

The End.