10,992 Topics

Member Avatar for
Member Avatar for BraithVince

hi i'm working on a project that requires a search code in visual basic to find data from a different table in ms acess..any help?

Member Avatar for happygeek
0
68
Member Avatar for Shayne_1

I am trying to write a code that directs the user to a specific sheet in the workbook depending on a yes or no answer. So basically there is information that will need to be completed and the information is specific to whether it is a YES or NO. So …

Member Avatar for Klahr_R
0
116
Member Avatar for wisyhambolu

please how do i code a search button in visual basic. my database is microsoft access and i am using a binding source to connect to the database.

Member Avatar for Klahr_R
0
273
Member Avatar for kunwar094
Member Avatar for mehul popat

Hi all In my window form project I want to display only 2 columns among 3 columns Of my BRAND datatable in LISTVIEW column 1 BRANID display in listview 2 BRANDNAME display in listview 3 ID don't want to display in listview all brand & it's id display in listview …

Member Avatar for Jx_Man
0
163
Member Avatar for sal21

Sub DUE() Dim strBuffer As String Dim strContents() As String Dim I As Long ReDim strContents(0) Erase strContents() Close #1 Open "C:\TEST\28-06-2013.TXT" For Input As #1 strBuffer = Input(LOF(1), 1) Close #1 strContents = Split(strBuffer, vbCrLf) For I = LBound(strContents) To UBound(strContents) 'Debug.Print strContents(I) Next I End Sub Problem out …

Member Avatar for RonalBertogi
0
164
Member Avatar for vividiah

hi good morning, I would like to ask why when I run my program, but it appears a message like this "Runtime error '381 'Invalid property array index". I am confused about this because I am still a beginner :) what is the solution for this? This is my code: …

Member Avatar for vividiah
0
2K
Member Avatar for Mukhopadhyay
Member Avatar for Stuugie
0
48
Member Avatar for mathewsp.jacob.7

How to check if email id already exist in db using vb6 r.Open " select count(*) from login where username = '" & Text1.Text & " ' ", c, 3, 3 If Count > 0 Then MsgBox " already exist " Else MsgBox "valid" End If r.Close plese help this …

Member Avatar for BitBlt
0
604
Member Avatar for docgrid

dear friends, icreated small project to open excel using vb. everything works fine with one exception. i used VB express 2010 in xp OS when developing the project. when it runs on the windows 7 platform the opening excel file goes behind the my application. the VB form topmost function …

Member Avatar for kRod
0
798
Member Avatar for Patrick_3

I don't know if what I would like to accomplish is possible in VB, but here it is. Lets say my program creates a set of labels at run time. These labels will be named Label_n (n being an index value to uniquely identify the object). Later in my program, …

Member Avatar for Patrick_3
0
384
Member Avatar for crooksb

I'm having a devil of a time figuring out what I'm doing wrong. I get the message "Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another" at the datareport.show line. I've searched for a reason behind it but none I've found …

0
127
Member Avatar for vividiah
Member Avatar for yosian
0
296
Member Avatar for amvx86

Hey what's up everyone? I have a script here that works when i execute it from command line, and when I double-click it. Now, there is something interesting going on here. 1) When the program is executed by process.start it does not load (even when called from cmd.exe /c ...) …

0
198
Member Avatar for akasekaihime

Hello guys! I really need your help regarding this. I am asked to create somewhat a Gauss - Jordan Reduction Method calculator but I am having a hard time creating one. Is any one of you fammilliar with this method and can you help me??? This is the program that …

Member Avatar for knechod
0
601
Member Avatar for santhakumar

I need a Visual Basic code for printing a barcode in a normal printer. Please help me to get out of this probem

Member Avatar for Clintonzz
0
3K
Member Avatar for vishal anand.s

hi i am vishal i need to know source code on how to add datas in combobox in a form dynamically at run-time with ms access as it's back-end

Member Avatar for Jx_Man
0
88
Member Avatar for mavtcr

I want to print adress from a database containing lot of records. I have done it through report. But the problem is, All the address is printed in a single column. I want it to print in four or five columns in the paper so that I can save a …

Member Avatar for ss125
0
860
Member Avatar for DGULLIVER

Hi Everyone, Been a few years since I had to post anything here so I'm glad to be back. I've been asked to do a report to show vouchers that have been issued and presented for July (this year and last year). I have done this SQL: SELECT tblOutlet.OL_NAME, Format([VI_TRANSACTION_DATE_TIME],"mmmm …

Member Avatar for BitBlt
0
267
Member Avatar for Thermalnuke

Hey guys, I havent coded visual basic in a long time I am using access 2003 and doing some code under a form. I have a button that is named system Setup and when you click on it it opens up and another form that has three comboboxes and a …

Member Avatar for Klahr_R
0
162
Member Avatar for ogucheed

Hello, Please any one to guide me through. was a VB 6.0 programmer 3 years ago. Now I want to use Vb.net how to I migrate/upgrade my projects to VB2008

Member Avatar for xcrunner15
0
77
Member Avatar for mrjekzz

Hi all! i have a problem from my program in vb when i click the delete button.... EXAMPLE : |QTY| NAME |PRICE 2 1st FOOD 250 1 2nd FOOD 150 TOTAL AMOUNT IN TEXTBOX >>>>> 400 >>>>>>>DELETE BUTTON<<<<<<<<< then when i click 1st food and click delete button THIS IS …

Member Avatar for xcrunner15
0
129
Member Avatar for Shaikh Sharif

I have develop a project using vb6 with Sheridan Activex Data Widgets SSOLEDBDataGrid here three (3) Column Named 1- SL 2- Item Name 3-Amount. I want to check run time duplicate item name entry but I can't. Any one can help me?

Member Avatar for ss125
-1
59
Member Avatar for androidz

hi i have a table name table1 i want to display all the records in the table by using data grid and when i try to run it there is no records display in the datagrid and i have already configure the datalink which i name it adodc. could anyone …

Member Avatar for Adrian779
0
1K
Member Avatar for tommuhumuza

I have this code am when i try to execute it give an error where am i going wrong Set Rs = New ADODB.Recordset Rs.Open "Select stank from sidetank where job_id='" & Label18.Caption & "'", FrmMother.Db, adOpenKeyset, adOpenDynamic Rs(0) = Val(Rs(0)) + Val(Text7) Rs.Update Rs.Close Will be glad if i …

Member Avatar for Reverend Jim
0
109
Member Avatar for EXTRA_RICE

when im adding some group header or footer in datareport i always got an error msg **report sections do not match data source** i fix the grouping on dataenvironment and everything nice but i could not find the way out of this. hope you all will help me..thanks in advance. …

Member Avatar for SaRa Ahmad
0
82
Member Avatar for mavtcr

I have created a Login form and coded as below (Before that.. I am very new to VB I have the knowledge only of the basic.) I got the code from this forum itself But it is not working properly Can anybody help me... My form contains two textboxes 'TextUserID' …

Member Avatar for ss125
0
311
Member Avatar for EXTRA_RICE

I have to print the invoice in my datagrid using datareport but i dont have the total amount of all the selected items.i have uploaded a picture. I hope u could help me..thanx

Member Avatar for EXTRA_RICE
0
1K
Member Avatar for SaRa Ahmad

can anyone help me of how i can copy a file from user computer to a server that can anyone open the file??? my case is : i have a text field to read a path and command button to save a path and i have another command to view …

Member Avatar for wcttech
0
125
Member Avatar for Henry Schubel

I was here looking for a solution that I didn't find, but have since figured it out so I thought I'd post it as I doubt I'm the only one who has had the need. The issue is - How do you have Crystal print to a 'Named Printer' without …

0
128
Member Avatar for Klahr_R

I work with VBA and VB6 so I miss some things. I notice in sample code that some folks use if MyString <> "" then and others use if Not MyString = VBNullString Is there a difference, and why? Thank you in advance

Member Avatar for Klahr_R
1
279
Member Avatar for razamughal67

Hello every one i have a problem webbrowser1 cannot fill textarea. we use already a command to fill form in my another projects. this command work fine. but in this site this command could not work. web1.Document.GetElementById.All("description").Value = Text5.Text Kindly help me to solve my problem. cause we invest 1600$ …

Member Avatar for razamughal67
0
197
Member Avatar for jemartalaban_1

hi , i have 3 forms, the login form, profile form and notice form ... my problem is if ever my LAN connection lost the profile form will LOGOUT automatically if ever there is someone who logged on and show login form ,if not the login form will hide, then …

Member Avatar for Klahr_R
0
132
Member Avatar for sprishi9

I am trying to print a single record on the data report control in vb6.0 with sql2005 as backend can you please sugest how to do this. please send the code.

Member Avatar for Ancient Dragon
0
74
Member Avatar for SaRa Ahmad

If rs.State = adStateOpen Then rs.Close rs.Open "select Distinct ActvID where ProjectNo = '" & ProjectNo1 & " ' ", db, adOpenDynamic, adLockReadOnly If Not rs.EOF Then rs.MoveLast While Not rs.BOF actvID.AddItem rs(0) ActvID2.AddItem rs(0) ActvID3.AddItem rs(0) ActvIdA.AddItem rs(0) & " " & rs(1) ActvID2A.AddItem rs(0) & " " & …

Member Avatar for Klahr_R
0
210
Member Avatar for eshajoshi

Hi everyone, I have a list of an unknown number of Microsoft Access 2003 databases. All of my databases have the same tables but obviously different recordset data. I am able to open one table from one of the databases (select a table from one database) and edit one recordset. …

Member Avatar for Klahr_R
0
221
Member Avatar for EXTRA_RICE
Member Avatar for raknahs

Dim asynconn As New pfcls.CCpfcAsyncConnection Dim conn As pfcls.IpfcAsyncConnection Dim session As pfcls.IpfcBaseSession Dim oModel As pfcls.IpfcModel Dim A As IpfcBaseParameter Dim Av As IpfcParamValue Dim A_value As Double Dim A_value_new As Double Dim new_paramowner As pfcls.IpfcParameterOwner Dim pa_model As pfcls.CCpfcRegenInstructions Dim asyncConnection As IpfcAsyncConnection Dim cAC As CCpfcAsyncConnection Dim …

0
142
Member Avatar for EXTRA_RICE

greetings here in saudi arabia.i come in peace.i have a problem in search hope you guys have time answering this. i have a datagrid table a textbox and adodc controller.if i input the characters in textbox i want to see only the characters that i have entered and the other …

Member Avatar for Klahr_R
0
203
Member Avatar for SaRa Ahmad

i used this code to send email from vb6 form that connect with out look email account 'Dim olapp As New Outlook.Application 'Dim olMail As Outlook.MailItem 'Create a new mail object form the 'Outlook98 Application object 'Set olMail = olapp.CreateItem(olMailItem) 'Set the mail fields of the olMail object 'olMail.Subject = …

Member Avatar for SaRa Ahmad
0
2K
Member Avatar for EXTRA_RICE

why is command2 in dataenvironment cannot be added on datareport.only the command1 is allowed in datareport.guys pls help me..

Member Avatar for EXTRA_RICE
0
102
Member Avatar for LeNenne

Hi I have made a program and now I am not sure how to clear the screen. When I start the program I will have a blank screen and just my program visible. Lenny

Member Avatar for rishif2
0
187
Member Avatar for EXTRA_RICE

i have this new problem i hope that im not a spam here in this site.but i have to do this bcoz i have no where else to go.sorry for my english hope u understand me.in the picture that i uploaded i have textbox1 and textbox2 their value comes from …

Member Avatar for Klahr_R
0
1K
Member Avatar for SaRa Ahmad

'Text2.Text = "C:\MyPath\MyDocument.pdf" 'Shell "C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe" & " " & Text2.Text, vbNormalFocus this code correctly work for one user pc, but other users that use the system cant be open the file , how i can make the file published??

Member Avatar for Klahr_R
0
183
Member Avatar for siu17

i need a code to enter data into a textbox and update an access database table which must be displayed in my listbox, please help i also want to know hoe to search data in the table

Member Avatar for Need u:
0
1K
Member Avatar for EXTRA_RICE

im doing a program in vb6.0 and im using datagrid as my table for database. i want to print selected rows in datagrid... the system im working on is inventory system printing the selected rows..help me thanxx..

Member Avatar for EXTRA_RICE
0
363
Member Avatar for EXTRA_RICE

i cant print selected rows in datagrid so now i have to export the selected rows in excel file so in that way i can print the selected rows..thanx

Member Avatar for EXTRA_RICE
0
520
Member Avatar for vividiah

how to make a looping with a array? this is my program, it make a visual basic 6. this is program to input a many song to database, and the list song in a list box. if we selected one song in a list, otomatic specific song will appear in …

Member Avatar for vividiah
0
233
Member Avatar for EXTRA_RICE
Member Avatar for SaRa Ahmad

hi every body , i have recently developed a system using vb6 forms but i need a help o f how to save and view a file with the pdf and .dwg and view it in a form , any help plz ??

Member Avatar for SaRa Ahmad
0
2K

The End.