12,155 Topics
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?
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 …
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 …
I 've the Activex Control the name called StyleButtonX.ocx ,How to insert into components.
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 …
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 …
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 …
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?
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", …
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 …
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() …
how can i fetch the 1_attdat.log file from the time attendance machine into my local drive ?
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 …
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 …
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 = …
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 …
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. …
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 …
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 …
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.
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 …
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 …
[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 …
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 …
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.
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 …
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 …
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 …
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 …
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 …
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?>
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 …
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.") …
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, …
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
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.
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) …
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 …
hi, i need to execute a query for each button in VB. example to insert,delete etc.... please suggest quick reply
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 …
Hi everybody! I am Cường, from Vietnam I am a VB and VBScript programmer. Very happy and nice to get acquainted with everybody!
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 …
can you plz help me how to create a report in execl from visual basic and sql server 2000...
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 …
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 …
When can i get the recordcount is -1? how to solve it? the table is fresh
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 …
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
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. …
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 …
The End.