10,987 Topics

Member Avatar for
Member Avatar for drabsch

I need to create a form using code. Is there a way to do this. like in the code i need to create a form with a name, caption and text box in it.

Member Avatar for drabsch
0
3K
Member Avatar for benjaminhan

Hi All, Is it possible to filter 2 fields in Adodc? My code is shown below: *****-----*****----- With Adodc2.Recordset .Filter = "DOC_DATE = '" & myDate & "'" If .EOF Then MsgBox "Item Not found" .Requery End If End With *****-----*****----- But I need to filter another field on top …

Member Avatar for benjaminhan
0
118
Member Avatar for benjaminhan

Hi, All I am trying to do 2 level filter on datagrid. First I search the datagrid for same customer number. Than search again by date. The problem I encounter is the first search works just fine (it return me records of a particular customer no.). But when it comes …

Member Avatar for benjaminhan
0
126
Member Avatar for gendler.max

I'm trying to learn how to add and move objects in VB6 through the code module. SO far i've figured out how to insert an object but have no idea how to change the position. This is what i have so far: Option Explicit Private WithEvents cmdOk As CommandButton Private …

Member Avatar for gendler.max
0
239
Member Avatar for Glasmensch

Hi, I'm writing an application which is intended to run as a service. Everything works fine except if I try to read a file. When running the app as a normal application I can read the file content. As soon I start the app as a service I got the …

Member Avatar for AndreRet
0
139
Member Avatar for bond000007

Hello friends... I am Jasdeep Singh. I am pursuing my B.Tech in civil engineering from DAVIET, Jalandhar.. I require some help urgently. Actually, we have freshers on 4th September. In freshers, we have one event in which we choose Mr. Turbunator from boys and Ms. Smile from girls. I need …

Member Avatar for AndreRet
0
81
Member Avatar for Quath217

I know just little enough about building macros in Excel with VB to be dangerous and currently have the following situation. I've created a macro for use with log files that generally contain the same information. The macro was recorded using the Ctrl+F action to find text string 1, go …

Member Avatar for AndreRet
0
214
Member Avatar for mpande

Good Day People Please help me, I'm trying to do a do until loop, which can search the database to match the value that is entered in the vb6.0 textbox. but I don't know what to call the value in the database. It looks something like this. dim productid as …

Member Avatar for omoridi
0
215
Member Avatar for podrock

Hey I was having a major problem in creating a complex number pyramid. The user inputs a number of rows, but if it exceeds 20 it would go off page, so 1-20. I have a nested For loop (using QBasic) that looks something like this for x = 1 to …

Member Avatar for omoridi
0
903
Member Avatar for drabsch

im making a program that gives you the age of the person that enters there date of birth the code i got at the moment is: Private Sub Command1_Click() Dim age As String age = Month(Now) - Text4.Text If age < 0 Then age = 1 Else age = 0 …

Member Avatar for drabsch
0
2K
Member Avatar for samuelmoneill

Can anyone tell me what is wrong with this code? [code] Dim current_date As String Dim filename As String Private Sub Form_Load() Dim path As String current_date = DateValue(Now) current_date = Format(DateValue(Now), "YYYYMMDD") Debug.Print current_date filename = "Daily SMS Backup " & current_date & " 200.sql" Debug.Print filename path = …

Member Avatar for omoridi
0
252
Member Avatar for xWiredx

hi guys.. kindly help me in this one... i'm creating an inventory system.. i have a problem in their Item No. format... i use maskedbox... my mask is ##-####### ... im using a barcode reader..their current Item number has only 4 digit... i want the output will become this one …

Member Avatar for omoridi
0
1K
Member Avatar for mukund_Sadrani

hi any one help me to format datareport's page footer section start from fix perticular line and endig with pag break

Member Avatar for s.ponnurangam
0
319
Member Avatar for suvi

hi I want to autorefresh a webpage when it is idle can we integrate vbscript + Ajax Plz guide

Member Avatar for N_Blue
0
43
Member Avatar for Maulth

Hey all, I've recently begun learning visual basic using visual basic express 2008 with plans to purchase visual studio 2008 (it'll be worth it as I've used C++ for a very long time, I just wanted to learn vb and vb.net). What I'm very interested in right now is creating …

Member Avatar for GeekByChoiCe
0
838
Member Avatar for QuickBooksDev

Hi, Easy way to create/copy from a container i.e. Tab/Frame to another. Given a VB6 program with a form with a Tab Control. Each tab has a frame and many controls (textboxes, radio buttons, labels, combos, etc. each of which is a control array. 1 per tab/frame). We have a …

Member Avatar for vb5prgrmr
0
172
Member Avatar for olseh

Hallo, please, I have RX and TX pins at serial cable at my computer connect. In hyper terminal I try, that is all OK, I send and recive data. In visual basic I send BYTES with code which I send down OK, but when I use dat = READBYTE Text2.Text …

Member Avatar for olseh
0
161
Member Avatar for ksenthilbabu

Hey, I am using URLDownloadToFile API for downloading files from website to which i updated, but this API is retrieving the older files even after i upload a latest version of the file. I used a fake parameters along with the url but in fail. [CODE]szFileName = "C:/somename.zip" surl ="http://www.sitename.com/foldername/filename.zip?FakeParam=" …

Member Avatar for omoridi
0
301
Member Avatar for networkmancer

Can I ask how to make a password confirm box. for ex. password: textarea retype password: textarea2 just like that. The password must be the same with the first one and will prompt that it is incorrect ones clicked the registerd button. I think the thing that must be use …

Member Avatar for omoridi
0
84
Member Avatar for Shenilcar

Please give me the codes or format of conversion in visual basic 1.) inches - centimeter - kilometers 2.) Fahrenheit - Celsius - kelvin 3.) currency Pls mail me at [email]Sheena_etianne10@yahoo.com.ph[/email] tnx a lot

Member Avatar for omoridi
0
84
Member Avatar for emint

helo every one! how can i split string in vb 6??? i got some string in list box which looks like this item1 4 4.50 item2 2 4.00 item3 5 10.00 now i want to split that line into 3 different string. any help will b appreciate . thx

Member Avatar for omoridi
0
4K
Member Avatar for hali_haider_ali
Member Avatar for TechSupportGeek

Well, that is exactly what I want to do. To help you a bit more, I want to create a toolbox that has an auto-hide feature so my application's users will have the option to do actions from there. To be even more specific, I want to create a built-in …

Member Avatar for TechSupportGeek
0
85
Member Avatar for gopi17

hey can't seem to send and receive data...i followed an instruction from another site...but its not working...can u guys help me out.. [CODE] Private Sub conn_button_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles conn_button.Click LoginPanel.Hide() dport.Text = ComboBox1.SelectedItem drate.Text = ComboBox2.SelectedItem SerialPort1.PortName = ComboBox1.SelectedItem SerialPort1.BaudRate = ComboBox2.SelectedItem End Sub …

Member Avatar for omoridi
0
133
Member Avatar for ohyeah

I want to know how to open a file existing in a computer in vb 6.For example I want to open notepad when I click a button.notepad.exe exists in C:\WINDOWS\.So when I click the button notepad.exe should execute.Also tell me how can I generalise this to any computer(means computer where …

Member Avatar for omoridi
0
141
Member Avatar for wenks0910

here's my sample code of my VB 6.0 .... i just want to know if you can teach me on how to remove the item added in the listview1 if there's an item added in the listview1... i want to know the code for that one... im risking in that …

Member Avatar for omoridi
0
144
Member Avatar for chandrasekar_N

Hi, I have a VB6.0 application, which is functioning in windows XP operating system, And I’m going to use the application in Windows 7 operating system. In this application I am using the following OCX controls, • Keysta32.ocx • Grid32.ocx • Threed32.ocx • Mschart.ocx The "Support Statement for Visual Basic …

Member Avatar for Suspishio
-1
235
Member Avatar for dewyShaikh

hi, m thinking to make a project on VB using matlab......but i dont know the connectivity between them........... can u plz tell me.......its a B.E project thx.

Member Avatar for Salem
0
59
Member Avatar for rcook

I have an application in VB6; I want to put part of its functionality onto the web. I have Visual Studio 2008 using VB, and am familiar with OO programming (in Java), VB6 programming, and with web programming, though not all in one place. I would like general advice on …

Member Avatar for kvprajapati
0
167
Member Avatar for rclinebell

I need to put data from a csv file into an Excel worksheet. File is called "DTN.csv" and the Excel file is "BlendPrice" and the workbook is "DTNPrice". The DTN.csv file has 12 fields seperated by commas. (I have been copying and pasting the data in now. I need to …

Member Avatar for vb5prgrmr
0
153

The End.