Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: jajinder
  • Order by date
  1. jajinder

    Execute VBA code upon quitting application.

    I don't use Acces, but I think you need the "BeforClose" event. Hope this helped ya out. --------------------------------------- This will be the day when all of God’s children will be able to sing with a new meaning, “My country, ‘tis of thee, sweet land of liberty, of thee I sing. Land where...
  2. jajinder

    Reducing Installation file size

    Do not use the Package And Deployement Wizard, but a 3th party installation tool. I recommend http://www.clickteam.com/English/index.php --------------------------------------- This will be the day when all of God’s children will be able to sing with a new meaning, “My country, ‘tis of thee...
  3. jajinder

    Polpulating and selecting from combo box

    To execute the code with the Keyboard - Enter-Key use the Keypress methode. Private Sub Combo1_KeyPress(KeyAscii As Integer) Select Case KeyAscii Case 13 Call Combo1_Click End Select End Sub --------------------------------------- This will be the day when all of God’s...
  4. jajinder

    How to create Setup program for Multilingual Application?

    Take a look at this site for free Installation Utilities :P http://www.hlrnet.com/frprinst.htm --------------------------------------- This will be the day when all of God’s children will be able to sing with a new meaning, “My country, ‘tis of thee, sweet land of liberty, of thee I sing. Land...
  5. jajinder

    Trigger code Combo_Ckick() with "Enter-Key"

    Thank you all once more for your support ;) It work fine now. Never knew that I could call a "Private Sub" within the same form. Learned something again. You also have a star pkailas. --------------------------------------- This will be the day when all of God’s children will be able to sing...
  6. jajinder

    Trigger code Combo_Ckick() with "Enter-Key"

    That it would be so simple.... I´d never knew... Have a shiny my friend and many thanx for the solution... ;) --------------------------------------- This will be the day when all of God’s children will be able to sing with a new meaning, “My country, ‘tis of thee, sweet land of liberty, of...
  7. jajinder

    Trigger code Combo_Ckick() with "Enter-Key"

    I understand that you will here a beep, but my code did not execute... This is the code I already have in the KeyPress() Private Sub Combo1_KeyPress(KeyAscii As Integer) Select Case KeyAscii Case 8, 65 To 90 Case 8, 97 To 122 Case Else KeyAscii = 0...
  8. jajinder

    Trigger code Combo_Ckick() with "Enter-Key"

    Hi, Got me a Combo1_Click() event. When I press the down-arrow the code executes. Is it possible to do that also with the "Enter-Key"? I thought that it would be possible to write the code under a KeyPress Event, but then nothing happened. --------------------------------------- This will be...
  9. jajinder

    Combobox with database values

    :lol: --------------------------------------- This will be the day when all of God’s children will be able to sing with a new meaning, “My country, ‘tis of thee, sweet land of liberty, of thee I sing. Land where my fathers died, land of the pilgrim’s pride, from every mountainside, let freedom...
  10. jajinder

    Combobox with database values

    Forgot the rest.. oops: Private Sub Combo1_Click() Set rs = New ADODB.Recordset rs.Open "SELECT * FROM Blad1 WHERE DISTRICT = '" & Combo1.text & "'", cn, adOpenDynamic If Not rs.EOF And Not rs.BOF Then rs.MoveFirst Do While Not rs.EOF If rs!plaats =...
  11. jajinder

    Combobox with database values

    I see I made a few mistakes... oké... Í realy am a newbee: Your code would be: Option Explicit Dim cn As ADODB.Connection Dim rs As ADODB.Recordset Private Sub Form_Load() Set cn = New ADODB.Connection With cn .Provider = "Microsoft.Jet.OLEDB.4.0" .ConnectionString =...
  12. jajinder

    Combobox with database values

    If you use the same code try this: If rs!plaats <> tTable Then Combo1.AddItem rs!DISTRICT tTable = rs!Place --------------------------------------- This will be the day when all of God’s children will be able to sing with a new meaning, “My country, ‘tis of thee, sweet land of...
  13. jajinder

    Combobox with database values

    What is the code u use to import the table? I use an AccesDatabase and import the DB with the following code: Option Explicit Dim cn As ADODB.Connection Dim rs As ADODB.Recordset Private Sub Form_Load() Set cn = New ADODB.Connection With cn .Provider = "Microsoft.Jet.OLEDB.4.0"...
  14. jajinder

    One or more boxes checked

    Well... I'm a newbie. So the way I would write it, it would be al lot of work. Perhaps there is another way. At least I'm trying.. ;) If Check1.Checked = True then 'do this ElseIf Check1.Checked And Check2.Checked = True Then 'do something else End if...
  15. jajinder

    clear all text/combo boxes with one click

    ooops.... made a little mistake... Combo.Value = Empty --------------------------------------- This will be the day when all of God’s children will be able to sing with a new meaning, “My country, ‘tis of thee, sweet land of liberty, of thee I sing. Land where my fathers died, land of the...
  16. jajinder

    clear all text/combo boxes with one click

    Hope I can help you out here.... create a module Sub ClearCombo() Dim Combo As Control For Each Combo In UserForm1 '<-- name of UserForm If TypeOf Combo Is ComboBox Then Combo.Text = Empty End If Next End Sub Create a CommandButton and enter the following code: Private...
  17. jajinder

    clear results in listbox?

    example: Private Sub Text1_Change() If Text1.text = "" Or Empty Then List1.Clear End sub Private Sub Combo1_Change() If Combo1.text = "" Or Empty Then List1.Clear End sub etc.... etc..... --------------------------------------- This will be the day when all of God’s children will be able...
  18. jajinder

    Retreiving data using an SQL string

    ConString should be Con.ConnectionString --------------------------------------- This will be the day when all of God’s children will be able to sing with a new meaning, “My country, ‘tis of thee, sweet land of liberty, of thee I sing. Land where my fathers died, land of the pilgrim’s pride...
  19. jajinder

    retreiving listbox value???

    Let this noobie try to help you.... (:P) I presume that you made a Connection with a database. Private Sub List1_Click() Set rs = New ADODB.Recordset rs.Open "SELECT * FROM Page1 WHERE Name = '" & List1.Text & "'", cn, adOpenDynamic If Not rs.EOF And Not rs.BOF Then Text1.Text =...
  20. jajinder

    Copy contents of a Locked TextBox

    Hmmmmmmmmm..... That's strange. Perhaps there is something wrong with mine..... (8$) --------------------------------------- This will be the day when all of God’s children will be able to sing with a new meaning, “My country, ‘tis of thee, sweet land of liberty, of thee I sing. Land where my...

Part and Inventory Search

Back
Top