10,989 Topics

Member Avatar for
Member Avatar for Sturdy

Hi all, How i changing the color of label caption dynamically, so it looks like highlight text changing color. Thank you.

Member Avatar for Sturdy
0
251
Member Avatar for markee

Hi! I need help for my program.. I add a search the Adodc in my program with a combo box category, but when i run the program and search... the category "ID" not searching.. this is my codes [CODE] Private Sub Command1_Click() If Text1.Text = "" Then MsgBox "Type To …

Member Avatar for Jx_Man
0
320
Member Avatar for raheel88

I want to add a new PropertyGrid control every time an item is added to a ListBox. I have a ListBox, with an "Add Item" button underneath (and also a "Remove Item" button). Every time an item is added to the list, I want to create a new PropertyGrid corresponding …

Member Avatar for raheel88
0
999
Member Avatar for apuamy

Can anybody help me in filling an Access database table in one field from a serial port using VB 6.0.Data coming from the serial port can be seen in the VB text box line by line.I want to store every line under a field and can manipulate.How can i use …

Member Avatar for ChrisPadgham
0
468
Member Avatar for ng5

i have a form with a listbox. the listbox can be edited (things added/deleted) and when the form is closed i would like the items in the listbox to be saved when the red "x" in the top right corner is clicked any ideas?

Member Avatar for Phasma
0
127
Member Avatar for rapirap

Hi! Please help me with my search functionality...searching using textbox and retrieving the data into a listview. here is my code: [CODE]openrstJCcaseInfo "select * from JCcaseInfo" If Not rstJCcaseInfo.EOF Then caseinfo.ListItems.Clear Dim m With rstJCcaseInfo While .EOF = False If LCase(txtsearch.Text) = LCase(rstJCcaseInfo.Fields("CaseTitle").Value) Then Set ls = caseinfo.ListItems.Add(, , rstJCcaseInfo.Fields("CaseStatus").Value) …

Member Avatar for Jx_Man
0
284
Member Avatar for Farhan_B

When Creating a query using the sear Criteria Builder . I keep getting the error : " The schema returned by the new query differs from the base query " I no this means that the error is due to the query attempting to return too little columns i have …

Member Avatar for poojavb
0
195
Member Avatar for emxif

please help me on my school project it is called "faculty evaluation system" my project is used to evaluate faculty members,i will use the following softwares, visual basic 2008 editon, ms sql server 2000, and crystal reports, what i want to do is their will be a question and it …

Member Avatar for lolafuertes
0
228
Member Avatar for christophertheo

whenever i run my code it says method or data member not found my code is such Private Sub cmdConnect_Click() Dim lngComPort As Integer Dim lngMachineNum As Integer Dim lngBaudRate As Long Dim bConn As Boolean Me.MousePointer = vbHourglass If cmdConnect.Caption = "Connect" Then DoEvents lblStatus.Caption = "Connecting Device..." lngComPort …

Member Avatar for samangelin
0
962
Member Avatar for tomsc

Hi, I’m looking for a VBA code which would analyze 2 Excel tables from one Sheet and build up a new one in separate Sheet. Basically one table lists folders and groups granting access to those folders; while the other one lists Groups and its Members. Here’s how it looks …

Member Avatar for BitBlt
0
101
Member Avatar for gozo12

in form1 i have two listboxs listbox1 listbox2 loadbutton and savebutton this code will write listbox1.selecteditem into a txt file and loadbutton will load info in listbox2 but i want when i click loadbutton it check if that item is already exist in listbox2 , if not so write selected …

Member Avatar for Mitja Bonca
0
253
Member Avatar for nickg21

Hey everyone, I am lost on the exception that I have getting thrown at me right now. SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM. What I am trying to do on my site, which is Windows Authenticated on an internal network, is capture the users …

0
128
Member Avatar for Keidi

I am trying to add a button to outlook's tool bar using a Macro.The problem is that the button appears but on clicking it nothing happens,I suspect I am supplying parameters wrongly to the OnAction method. The call[CODE]Call AddToolbarButton("My very own button", "Click here", "!<Sub/UserForm>")[/CODE] The method it's self: [CODE]Function …

0
96
Member Avatar for sphe_g

Hi all I need help with connecting to and manipulating a microsoft access 2007 database using code in visual basic 2008 express edition. It's for a project I'm doing for University that's due on the 12th of October:S. Please help me out in whatever way you can - links to …

Member Avatar for lansky
0
1K
Member Avatar for teofaniza

How to connect the radio button to a listview in an examination system, whereas if you click a radio button of your choice as the answer of respective question and numbering..the answer will be shown to the listview control that serves as my answer sheet?

Member Avatar for ChrisPadgham
0
28
Member Avatar for teofaniza

How to connect the option/radio button to listview control using ADODB connection? That is,right after when you click a radio button as the letter of your choice..then it will automatically shown to the the listview control as the answer sheet..for the respective question..and numbering..? Using the VB 6.0.. Example: 1. …

Member Avatar for ChrisPadgham
0
304
Member Avatar for bantex07

I have a proble. How can i call andd compute all the record in may database(MS Access) Please gave me some idea or Code Thx

Member Avatar for Jx_Man
0
145
Member Avatar for ng5

I have a listbox and would like to save the items added/deleted when the form closes. any ideas?

Member Avatar for ng5
0
211
Member Avatar for cmcmurugan

[CODE] Public Function removespace(ByVal strtext1 As String) As String If Not Len(strtext1) = 0 Then For K = 1 To Len(strtext1) If Mid(strtext1, K, 1) = Chr(13) Then strtext1 = Replace(strtext1, Chr(13) & Chr(10), ",") End If Next Else strtext1 = "" End If removespace = strtext1 End Function[/CODE]

Member Avatar for Jx_Man
0
65
Member Avatar for cmcmurugan

[CODE] Public Function AddSlashes(ByVal chk1 As String) As String [COLOR="Red"]Dim ss As String Dim ss1 As String Dim spl As String Dim i1 As Integer Dim j1 As Integer[/COLOR] spl = "$':<>[]{+}""\" ss1 = " " Dim l As Integer Dim chk As String ss = chk1 For i1 = …

Member Avatar for WaltP
0
75
Member Avatar for Alex_2011

How are you, I need some help with the following code (Attached Form1 & AccountClass). I am trying to figure out the following: - Figure out the code in ButtonWithdrawal when the amount is bigger than 0. - Show the (Balance) in ButtonBalanceInq. - Show the List of transactions in …

0
142
Member Avatar for ster_tet

below is a link for my screenshot [IMG]http://www.fileden.com/files/2008/3/26/1838035/Pictures/vbkoh2.jpg [/IMG] in my sreenshot it must print all what it is in in column1 which is: aaa bbb ccc [CODE]DataReport6.Show DataReport6.Sections("Section2").Controls("label1").Caption = DataGrid1.Columns(1) [/CODE] plz help.. tnx.. :)

Member Avatar for abelingaw
0
204
Member Avatar for jeannebria

hello guys ! here's my code , how can i put my data into adodc2 from adodc1 ? look .. there's some error there .. do help me .. Private Sub Command1_Click() Frame3.Visible = True Frame1.Visible = False Frame2.Visible = False Text3.Text = Val(qtyOnHandTxt.Text) * Val(Text1.Text) End Sub Private Sub …

Member Avatar for ChrisPadgham
0
211
Member Avatar for Alex_2011

Hi, In the following code (Class & Form1), I'm trying to figure out the following: - Create an array that stores the 'Clients' (first name, last name, account number) - 'Button List' the array with the (First Name , Last Name , Array Value , Account Balance) I attached the …

Member Avatar for Alex_2011
0
1K
Member Avatar for Alex_2011

Hi, I am trying to "Show" an error message for the user in two cases: 1. If he/she did not enter a correct value for a String. 2. If he/she did not enter a correct value for a Decimal. I know I have to use Try & Catch but each …

Member Avatar for Alex_2011
0
270
Member Avatar for Quinncunx

Hello, I am trying to make a random number generator (its not really a random number generator, more a random order generator) that puts the numbers 1, 14 in a random order, without duplicating the numbers. That is the problem I am having it will often select the same number …

Member Avatar for ChrisPadgham
0
445
Member Avatar for Goitsheka Radit

hie..I've bin working on a program that reminds other students how many days are left to write the final examination,including weekends.....this program is supposed to read as from now onwards up until 23 April 2012........help me with an idea of interface and program Code

Member Avatar for StephNicolaou
0
90
Member Avatar for dwiniers

Hello guys! Can you help me this type of error? Run-time error '8574': The object 'Employee ID:' was not found This is the code: [CODE]Private Sub cmdPreview_Click() Dim rsq As New Recordset rsq.Open "SELECT * FROM qRecord where EmpID = " & Val(txtEmpID.Text) & "", con, adOpenStatic, adLockReadOnly, addUnknown If …

Member Avatar for BitBlt
0
201
Member Avatar for ynehs

Hi, I would like to know how to set the textbox to only accept numbers, also that will only accept numbers 1,2 & 3 only. Thanks in advanced. :icon_mrgreen: i tried but i really don't know how.

Member Avatar for Jx_Man
0
2K
Member Avatar for ng5

I have two different forms. one has a listbox and the other has a masked textbox. the masked textbox is used as a login and i would like the masked textbox to be checked against the listbox items to be able to "gain access" and login Any ideas?

Member Avatar for M.Waqas Aslam
0
161

The End.