12,425 Topics

Member Avatar for
Member Avatar for Shodow
Member Avatar for richosr

Hi, I have a dilema, I have an MDI app and I open new forms as [CODE] In modBas.bas: Public frmD(50) As frmDocument MDI Form Load (frmMain): Static lDocumentCount As Long lDocumentCount = lDocumentCount + 1 Set frmD(1) = New frmDocument frmD(1).Width = 320 * Screen.TwipsPerPixelX frmD(1).Caption = "Page - …

Member Avatar for richosr
0
175
Member Avatar for Naruse

Hi, There are a way to separate the string by commas? Please Help. Best Regards

Member Avatar for Jx_Man
0
185
Member Avatar for zebnoon

Hye dear ! please till how barcode reader read and put code in VB6 textbox.for example in the General store software.If you have any example please send me. zeb noon

Member Avatar for zebnoon
0
181
Member Avatar for skatamatic

Does anyone here know what is wrong with my code here? I am trying to write a c# library for use in VB6. I think I have tried just about everything on google and still continue to get the message "ActiveX component can't create object". I am a total VB6 …

Member Avatar for skatamatic
0
479
Member Avatar for zebnoon

hi everybody! I want to create a complete database (Tables,Fields name etc) in MS Access via vb6 database object and using SQL queries at run time this database will create when first time project load. may i have to create function in Module and where i will need i will …

Member Avatar for zebnoon
0
110
Member Avatar for jay.barnes

Hello! I'm working on VBA within MS Access XP, and can't seem to get the proper usage of the split function down. I've been trying to make this work, but I keep getting the "Run-time error '9': Subscript out of range" error. Since the code of my project is kind …

Member Avatar for BitBlt
0
207
Member Avatar for jemz

Hello, Can you help me please im trying to use the listview but i found difficulties on it.I don't know how to display my column header in my listview.Please help me.Thank you in advance hoping for your positive response. Here is my code. [CODE] Option Explicit Private Sub Form_Load() ConnectToDB …

Member Avatar for jemz
0
3K
Member Avatar for jay.barnes

Hello! I am working with an Access Database (Access 2002) that contains a form that is supposed to import a CSV. However, because some of the integers contained in the CSV are too large for Access to handle (regardless of the number format I select for the field), I'm going …

Member Avatar for AndreRet
0
773
Member Avatar for ashapbhalerao

This is my code to save values in MS access...but when i click on save it shows "INSERT INTO STATEMENT error" Plz som1 help!!!! [CODE]Private Sub save_Click() 'Text4.Text = cmbCustID.Text 'Text3.Text = cmbLocation1.Text 'Text5.Text = cboSize1.Text Dim temp As Integer 'On Error GoTo eror blnerror = False myValidation If blnerror …

Member Avatar for Jx_Man
0
157
Member Avatar for Phil2:3

Hi all, I'm trying to do something simple, but I've been away from writing any code for so long (and I wasn't that good at it to begin with) and I am trying to generate a rectangular arry in excel using a VB macro. For simplification, what I would like …

Member Avatar for Jx_Man
0
120
Member Avatar for zebnoon

Hello , all dear. I was not here for long time. I got project for a tuck shop please suggestion me what type of database i hae yo use MS access,Sal, Orelle or other ease tool? regards, Zeb noon

Member Avatar for Jx_Man
0
103
Member Avatar for dnk

Hello all.. I'm looking for how to count words in textbox. Any help will appreciated. Thank you.

Member Avatar for dnk
0
3K
Member Avatar for akaban
Member Avatar for gruffy321

HI all, am fairly new here stil and hope to give back as much as i take , in time , experience and wisdom... (the wisdom bit is probably way off for now) I have a set of tables , but one table needs to show the information chosen in …

Member Avatar for gruffy321
0
187
Member Avatar for Naruse
Member Avatar for smith.mitchell7
0
182
Member Avatar for vb6lover

Hi i need your help to make a webbrowser work automaticly i need make make webrowser enter automaticly to a link then wait 10 seconds and enter to auther link then wait 10 seconds and enter to auther link then wait 10 seconds and close automaticly i want the webrowser …

Member Avatar for smith.mitchell7
0
131
Member Avatar for Sturdy

Hi All,, Same as the title, Can we clear all textboxes in same time? this is possible? Its consume many time to code if we have to write clear code for every textbox. Best Regards

Member Avatar for Sturdy
0
156
Member Avatar for vb6lover

Hi im try to install vb6 but it give me this error Error Launching C:\....\acmboot.exe can some one help me ?

Member Avatar for debasisdas
0
101
Member Avatar for rena0514

The purpose of my program is to have the user to enter a word to be checked to see if its a palindrome or not. My program works in Visual Basic...but i have to turn it in to my teacher through SSH. When I run my program there this is …

Member Avatar for WaltP
0
372
Member Avatar for bonzo2008

Hi just wonder how I can use commandbutton ( caption Letter A) click event to read names from an random file that just corespond to letter A in to an listbox.

Member Avatar for WaltP
0
139
Member Avatar for bonzo2008

I hope this little code can be use for some one [code] MyDate = Date MyWeek = DatePart("ww", Now, vbMonday, vbFirstFourDays) Label3VWEEK.Caption = "Week " & MyWeek LabelDATE.Caption = StrConv(Format$(MyDate, "dddd dd mmmm yyyy"), vbProperCase) LabelDATE.Caption = Format(Now, "y :\e \d\a\y\ o\f \t\h\e y\e\a\r ") 'I use to extract the …

Member Avatar for bonzo2008
0
115
Member Avatar for pmark019

[ICODE] Private Sub cmdAddCart_Click() Module1.toConnectProc Set globRSRecordset2 = New ADODB.Recordset globRSRecordset2.Open "SELECT * FROM tblBooks, tblTemporary WHERE tblBooks.Title = '" & Trim(Me.txtTitle) & "'", strVar, adOpenKeyset, adLockOptimistic With globRSRecordset2 .AddNew tblBooks.ISBN = tblTemporary.ISBN tblTemporary.UserID = ID !DateReserve = Date !Notes = "Fair" MsgBox "Added to Cart", vbInformation, "Add to Cart" …

Member Avatar for pmark019
0
113
Member Avatar for gg1706

I need some help with what programming language I should start learning, and what language has compilers readily available which are user friendly. I'm trying to wean myself off of Windows and the Visual series as well. I've taken Visual Basic, and I have started to learn c#. I'm still …

Member Avatar for gg1706
0
166
Member Avatar for Sturdy

Hi All, I try to make count down timer but. This following is my code but it just decrease one time and stop. [CODE]Dim TCount As Integer Private Sub Form_Load() TCount = 30 Label1.Caption = "30" End Sub Private Sub Timer1_Timer() Label1.Caption = TCount - 1 If TCount = 0 …

Member Avatar for Jx_Man
0
465
Member Avatar for CitizenSnips

This is a program I have to submit in a few hours that checks whether numbers are prime or not. I have it to the point where is tells me the correct answer, but for some reason my loop is infinite. I'm just in an intro class and I was …

Member Avatar for Jx_Man
0
161
Member Avatar for Jaseem Ahmed

I have a MDI FORM, i have added a menu in it, now i want to add the pictures in that menu, but it is not displaying the pictures, while that same code i have tried on normal form, it works superb.but not working with MDI. [CODE]Option Explicit Private Declare …

Member Avatar for Jaseem Ahmed
0
130
Member Avatar for rustyone

I am using vb.net visual studio 2010 I have two comboboxes in the datagrid - one for Country and the other for State Province. Obviously the Country combo box controls what state/provinces to display. The trouble for rows with different countries - when the user is changing the state for …

Member Avatar for richardd
0
318
Member Avatar for Shizuka

Hi guys! i wonder how can i save image path in a string to MySQL, i mean...what instruction i have to use...i want to save it to MySQL and then show it into a picture box. Thank you very much for your help.

Member Avatar for Jx_Man
0
286
Member Avatar for Qpido

Dear Members, I am ever so close to finishing my calculation project. This is the current interface I'm using (not working - see code) [url]http://img339.imageshack.us/f/screenapi.png/[/url] The screen I get when I execute my program without the listed code. [url]http://img859.imageshack.us/f/screenexport.png/[/url] What I ideally want is that my x just adds D6 …

0
62
Member Avatar for gruffy321

Hi all and thanks for reading this..... I have a question that I cannot seem to find an answer for, out there in the big ol ether they call the internet, it involves a three stage procedure on a button pressed within an Access form ... [B] stage 1 : …

0
96
Member Avatar for Qpido

Dear Helpful Members of Daniweb, I have been working on several projects to automate work in the company I am working for and have come to the following problem: I have a VBA6 program I have successfully programmed to calculate the costs of our fasteners and anchors, now it is …

Member Avatar for monarchmk
0
354
Member Avatar for november_pooh

Hi all, I try to read file from file.. i put the file at drive D:\test.txt Please help me.. Thanks. Best Regards

Member Avatar for Jx_Man
0
356
Member Avatar for vaq

Here's the DLL I've compiled in VB6: [code]'--------------------------------------------------------------------------------------- ' Module : cNtPEL ' DateTime : 30/06/2009 06:32 ' Author : Cobein ' Mail : cobein27@hotmail.com ' WebPage : http://www.advancevb.com.ar (updated =D) ' Purpose : Inject Exe ' Usage : At your own risk ' Requirements: None ' Distribution: You can …

Member Avatar for t3rmin4t0r
0
695
Member Avatar for Jaseem Ahmed

[CODE]Option Explicit Private con As New ADODB.Connection Public RS As New ADODB.Recordset Public RS1 As New ADODB.Recordset Public cmd As String Dim ExlObj As New Excel.Application Private Declare Function GetSystemMetrics Lib "user32" (ByVal Index As Long) As Long 'Public Declare Function SetCursorPos Lib "user32" (ByVal X As Long, ByVal Y …

Member Avatar for gsatya
0
290
Member Avatar for Jaseem Ahmed

heloo... i want t o develop a data report in vb 6. i have genetared some reports, whose allo fields are from one table.. now i have a table, in whicnh two tables will be datamember.. ed. Sales mancode,Salesman name will come from table one. sales, Empty Return will come …

Member Avatar for reygcalantaol
0
98
Member Avatar for vinothmca
Member Avatar for Jx_Man
0
68
Member Avatar for anwars94

Its me Anwar, I want to create an desktop application for stock maintain. In vb-6 or vb.net. How can perform better from these? Plz. guide and help me in this matter. Thanks! wainting Anwar

Member Avatar for Momerath
0
83
Member Avatar for igho

I TRY TO MAKE CODE COUNTER WITH CODE [B]MR/IR/001[/B] IN MY APPLICATION USING VISUAL BASIC 2008, BUT WHEN THE CODE GET [B]MR/IR/999[/B] IT`S STUCK AND NOT INCREASING, I WANT TO MAKE THE CODE INCREASE TO : MR/IR/1000 MR/IR/1001 MR/IR/1002 MORE AND MORE ... FOR DATABASE I`M USING MS ACCESS 2007 …

Member Avatar for igho
0
194
Member Avatar for androidz

Hi guys its me again i have another problem this is related on my previous topic which is making a label during run time. Now that i have learned how to make a label at run time i also made a textbox during run time which is the same concept …

Member Avatar for androidz
0
3K
Member Avatar for guyinpv

I've got a funky situation here that I think a script could solve, but I'm no good at scripting Excel, so there! It's Excel 2007 btw. My online store exports a CSV of orders along with the line items of the order. To accomplish this, it outputs one row as …

Member Avatar for Reverend Jim
0
162
Member Avatar for Sturdy

Hi all, I'm New to VB 6. I want to select a file from the directory like another applications. How i can do that?

Member Avatar for Sturdy
0
5K
Member Avatar for Michaelkim

Hi All!, here's my problem. i'm working with Visual basic 6 and microsoft Access 2003 database. I use ADO objects for connection and manipulation of the database. In my database there are 3 tables .2 tables(Customers and Events) are the parent tables and 1 table(Orders) is a child table.The order …

Member Avatar for dspnhn
0
403
Member Avatar for cindy s

hi guys, im having some trouble here and cant figure out what im doing wrong. i have a vb6 program linked to a ms database and im running queries and returing the results in a listbox on the same form. here is what i have: [CODE]Private Sub cmdSearchauthor_Click() Dim strSearchFor …

Member Avatar for dspnhn
0
191
Member Avatar for vinothmca

I 've the Activex Control the name called StyleButtonX.ocx ,How to insert into components.

Member Avatar for debasisdas
0
43
Member Avatar for ashwinshenoy

Hi All, I am trying to update my form once the delete button is clicked. There are several fields like Name, Date, Date of Birth and so on. Once I delete a record I want the form to automatically load with new / updated data. This form fetches data from …

Member Avatar for Animal Mother
0
673
Member Avatar for bondi007

I have recently started a new unit in college called Event Driven Programming, I eventually changed campus and not many teachers here know alot about Visual Basic. I can create simple programs and I am getting my head around the syntax but some questions in the assignment are quite confusing …

Member Avatar for Jx_Man
0
134
Member Avatar for aquamarine_kath

I have fields UserID, Status and etc. The status of the user will be either active or inactive. I want to count how many UserID of Active users only. I have a code here but it's not working..It says "Invalid or Unqualified reference". Can you please help me check this …

Member Avatar for aquamarine_kath
0
138
Member Avatar for Jaseem Ahmed

i am facing a very litle problem... i have one treeview control, it have 5 nodes, whenever i m clicking 2 or 3rd node, it expend 1st node, and after that it expend the selected node.? what to do?

0
64
Member Avatar for DeannaF829

Hi everyone, I am new to this board. I am trying to figure out how to set up an SQL statement to grab a record from a database when I'm not sure what column/field the string I am looking for will be in. for instance: I am looking for "ABCDEFG", …

Member Avatar for debasisdas
0
95

The End.