vba x 200

12,155 Topics

Member Avatar for
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
454
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
210
Member Avatar for vinothmca

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

Member Avatar for debasisdas
0
48
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
702
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
150
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
148
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
69
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
109
Member Avatar for Alexkid

Hi there, I think im trying to do something pretty simple but i can't find a simple explanation. What i have: I have five Textboxs (1 to 5) I have a Button I have a Datagrid with five columns (1 to 5) What i want to do: on a button …

Member Avatar for Alexkid
0
199
Member Avatar for shena

Hi all, I want to send an email to people in the database field list. How to accomplsh that? My code is straight forward and also found an error saying: "the transport failed to connect to the server". Please help. [CODE]Private Sub From_Load() Call SendEmail End Sub[/CODE] [CODE]Public Function SendEmail() …

Member Avatar for debasisdas
0
326
Member Avatar for MoK482475

how can i fetch the 1_attdat.log file from the time attendance machine into my local drive ?

Member Avatar for Harshasr8
0
101
Member Avatar for P.manidas

Dear Sir/Madam, I have created a sample program that dynamically created up to 7 numbers of Labels and Text Boxes. Here I want to add those numbers inputted by user on dynamically created text boxes. I have tried a lot but all are in vain. Please guide me to solve …

Member Avatar for P.manidas
0
431
Member Avatar for Jaseem Ahmed

i have table in sql server 2000, in whicn i have coloums. now on the interface i have one text box as customercode, and four (4)combo boxes with differnt values. when user wants to do entry, he will enter any code, and will select values from combo boxes, and when …

Member Avatar for Jaseem Ahmed
0
184
Member Avatar for dmatos

Hello all, When trying to export save a file i get the following error in my SaveDialog window: The bold line is where the error occurs, says: Object Required [CODE] Dim eRuta As String On Local Error GoTo errores 'dialog.DialogTitle = "Exportar Archivo" cDialog.Filter = "Excel File (*.XLS)" cDialog.FileName = …

Member Avatar for debasisdas
0
149
Member Avatar for shena

Hi experts out there, I'm using ms access to store a date value in (dd/mm/yyyy) format. This field too stores text value something like e.g: N/A. When user selects a date (dd/MM/yyyy) via dtpicker, i want the datagrid to be filtered by that date if it found in that date …

Member Avatar for BitBlt
0
180
Member Avatar for davewillis

Below is an assignment that i did but i didnt do good on it. It is/was never meant to be ran the teacher was just asking for the code to be written based off of her A-D. Can you please let me know what is right and wrong with this. …

Member Avatar for Momerath
0
123
Member Avatar for somjit{}

when i click to open ccleaner, or speccy, or picasa from the desktop shortcut... it opens for a few seconds n then a pop up window shows up, saying - "Runtime error! program: C:\program files\speccy\speccy.exe R6002 -floating point support not loaded" i did a few google search relating to this …

Member Avatar for creekside1698
0
353
Member Avatar for rahulkanna

Hello I am Rahul I am getting error when I am giving password The error listed below Microsoft VBScript runtime error '800a0005' Invalid procedure call or argument: 'mid' /includedfiles/encriptdecript.asp, line 45 here I have listed the code below. I tried so many articles but i didnt, Actually I have used …

0
82
Member Avatar for P.manidas

Dear Sir/Madam, I want to know two things here.. 1. Can we create object variable on Run time? 2. Can we store one object variable's data (Object) into another object variable? Please guide me sir/madam. Because, i have no idea in this regard.

Member Avatar for P.manidas
0
237
Member Avatar for coolpintud

dear all Friends i need to make one application so plz help me quickly as possible and i am very Thankfull if direct give me code or project file because i am no more knowledge of vb6 i have one application have one exe and many other files like graphics …

Member Avatar for coolpintud
0
271
Member Avatar for Resentful

As many of you know, GOCR is a common Optical Character Recognition software that can be implemented into almost any programming language. You must convert the image you wish to convert into a PNM file and then proceed to call the executable OCR file. I cannot find any conversion methods …

Member Avatar for HookDevil
0
259
Member Avatar for elbiociq

[I]To get an answers to my questions, I need to tell you about my profile. Computer Programmer Analyst old fashion (D.O.S. environment, not windows). Languages: Pascal, C, MS Cobol, Clipper, Turbo Basic (C++ but no experience programming), Oracle. The questions are: What should I study in the field of IT …

Member Avatar for elbiociq
0
231
Member Avatar for iBlake

Ok so what i'm trying to do is grab some strings from a list box and put them in an array so i can list them in a message box each index of the array on a new line so it comes up like this you ordered : arrayindex1 arrayindex2 …

Member Avatar for codeorder
0
223
Member Avatar for Rahulgandhi

Hi, me Rahul Gandhi. I am a student have to submit project of 150 marks. I am pursuing my graduation from corrspondent college. Please help to make a project on VB. I don't know how to start and what should be the topic of the project.

Member Avatar for vikrant1988
0
134
Member Avatar for choudhuryshouvi

Hello folks, I beg your pardon if I have posted the thread in wrong forum. But my query is related to sql server and visual basic 6, so I thought posting it here rather from visual basic forum will help me getting most replies.... I have developed an client-server based …

Member Avatar for choudhuryshouvi
0
578
Member Avatar for MagicBytes

Hello, I use Visual Basic 5 PRO and would like to know how to grab an image from a weblink which has been copied to the Windows Clipboard from google images and then display the image as a thumbnail into a image control on my form. For example, I search …

Member Avatar for CsharpChico
0
257
Member Avatar for Vast

Hi I need some help. I`m looking for a routine or code that will help me in reading a text file into a database. This is how the text file look. Gen 1:1 IN THE beginning God (prepared, formed, fashioned, and) created the heavens and the earth. Gen 1:2 The …

Member Avatar for samsylvestertty
0
396
Member Avatar for TheDocterd

Hi There I'm in quite a need for an answer, can sombody perhaps help me? I have an html file. Then I have a folder, say Test Images, in that folder I have more folders, say e3 and e5, in that folders there are images. I want to write an …

0
91
Member Avatar for Jaseem Ahmed

i have a problem in storing the value of treeview in database. i have populated a treeview from database, how can i store the selected item in of treeview in database.. [CODE] RS2.Open "SELECT * from CUSTOMER_ATTRIBUTES", con, adOpenStatic, adLockOptimistic RS2.AddNew RS2!Customercode = txtpartycode.Text RS2.Fields("CC_ATTRIBUTE_Id") = TV1.SelectedItem.Checked = True RS2.Update …

-1
60
Member Avatar for Jaseem Ahmed

i have populated a treeview in vb6 from database... now i have problem, that i want to only show childs checkboxes, not parents... parent's checkboxes shoould b visible false.. is there anyway?>

Member Avatar for Jaseem Ahmed
-1
89
Member Avatar for gstobart

I have the macro below recorded for sheet 3, I would like it to run on sheet three through to sheet 369, could anyone enlighten me. Thanks in advance. Sub sort() ' ' sort Macro ' ' Keyboard Shortcut: Ctrl+a ' ActiveWorkbook.Worksheets("Sheet3").sort.SortFields.Clear ActiveWorkbook.Worksheets("Sheet3").sort.SortFields.Add Key:=Range("G1:G92") _ , SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal With …

Member Avatar for bmlkidd
0
108
Member Avatar for wilko1995

Hi all, i need help with this code. [CODE]<html> <head> <SCRIPT LANGUAGE="VBScript"> <!-- Sub button_OnClick Dim TheForm Dim y Set TheForm = Document.form1 If IsNumeric(TheForm.inputbox.Value) Then If TheForm.inputbox.Value >= 1 Then y = TheForm.inputbox.Value * 1.3 Alert("Your $AUD is $" & y) End If Else Alert("Please enter a numeric value.") …

Member Avatar for WaltP
0
121
Member Avatar for darkelflemurian

Hello everyone, I have the following situation: The computer i use to develop sometimes is getting very slow and the ram memory goes to 100%. I want to know if using visual basic 6, or visual basic net, or visual basic script, there is a way to clean ram memory, …

Member Avatar for jlego
0
138
Member Avatar for feedz87

Private Sub MDIForm_Load() show Me.BackColor = &H80000005 HideTBButton "", True frmShortcuts.show CrystalReport0.Connect = "westranet.westham.com.my" & ";UID=sa;PWD=123;DSQ=WMS_TEST;" **Error point on Connect

Member Avatar for samsylvestertty
0
266
Member Avatar for nigelv1

Guys help please. I have a form that has a check box. And a form containing a list view. How can I display multiple check box in the list view? Sorry newbie.

Member Avatar for debasisdas
0
182
Member Avatar for karthiyayiniyp

how to update the different text in vb to the same field in oracle my code is below [CODE]If ar.BOF = False Then ar.MoveFirst ar.AddNew ar.Fields(0) = registernumber1.Text ar.Fields(1) = name1.Text ar.Fields(2) = status1.Text ar.Fields(3) = Form9.batch.Text ar.Fields(4) = Form9.year.Text ar.Fields(5) = Form9.department.Text ar.Fields(6) = Form9.semester.Text ar.Fields(7) = Form9.section.Text ar.Fields(8) …

Member Avatar for debasisdas
0
145
Member Avatar for stan_l

This is my first post and my first experience with Python. My environment is Windows XP/Win7. I have installed ActivePython 2.7, extensions and other packages and run many test scripts. I was especially interested that a .py file could include code to self-register as a COM object, and according to …

Member Avatar for stan_l
0
346
Member Avatar for karthiyayiniyp

hi, i need to execute a query for each button in VB. example to insert,delete etc.... please suggest quick reply

Member Avatar for debasisdas
0
62
Member Avatar for cabsjonel

hello guys thank you for reading my post , guys do you know how to call stored procedure with out parameter in visual basic? hers my sample code but it is error Cmd.CommandType = adCmdStoredProc Cmd.CommandText = "proc1" Cmd.Paramters.Append Cmd.CreateParameter("@a", adVarWChar, adParamOutput, 255) Cmd.Execute my stored procedure DELIMITER $$ DROP …

Member Avatar for debasisdas
0
110
Member Avatar for lhxndd

Hi everybody! I am Cường, from Vietnam I am a VB and VBScript programmer. Very happy and nice to get acquainted with everybody!

Member Avatar for jingda
0
53
Member Avatar for skatamatic

I was trying to convince my boss not to use a hard-coded license key in our data aquisition software. If you open our programs exe file in a hex editor (or even in notepad) and somewhat know what you are looking for, it is very easy to see our license …

0
103
Member Avatar for Jaseem Ahmed
-1
69
Member Avatar for rekha gautam

Hello , I'm using ms access 2003, i'm trying to delete the selected data that is the name of employee, from the combobox list when i click to delete button. i'm using this code: [code] Private Sub cmdDelete_Click() For I = 0 To combobox.ListCount - 1 If combobox.ListIndex(I) = combobox.Text …

Member Avatar for Jx_Man
0
176
Member Avatar for Henry Schubel

I have a legacy VB6 application; simple VB6 front end and Access backend database. Works fine on Win 2000, WinXP, Vista, and 32-bit Win7. Bought a new laptop and everything seems to be shipping with 64-bit Windows now. Out of the box, the application worked fine after I manually re-registered …

1
120
Member Avatar for sharmadha
Member Avatar for samsylvestertty
0
125
Member Avatar for saddas

hello i have a form and a database linked by SQL. i have checkboxes in the access database that are ticked when a product is sold is there a way to make a checkbox in access tick once the product has been selected in the form? thanks, help would be …

Member Avatar for reygcalantaol
0
127
Member Avatar for geekme

Hello, I need to design front end of my c++ code in visual basic.Kindly help me provide the code as I'm a beginner. Regards

Member Avatar for davidchilders
0
69
Member Avatar for davewillis

Below is an assignment that i did but i didnt do good on it. It is/was never meant to be ran the teacher was just asking for the code to be written based off of her A-D. Can you please let me know what is right and wrong with this. …

Member Avatar for Member #857553
0
101
Member Avatar for kumarmpk4u

I changed GetDOSEnvironment variable to GetEnvironmentStrings when convering a 16 bit code to a 32 bit one. I got the below error help to resolve the problem mfcs42d.lib(dllmodul.obj) : error LNK2005: __pRawDllMain already defined in SLSOCKET.OBJ Debug/slgsockd.dll : fatal error LNK1169: one or more multiply defined symbols found Error executing …

Member Avatar for Ancient Dragon
0
130

The End.