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 SkipVought 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: *

  1. mbpiper

    String Subtraction?

    Use the (Replace Function) newstr = Replace("/directory","/","")
  2. mbpiper

    format Australian phone numbers using format function

    you can check the length of the field if its 10 then use your format if its 8 then use ####-####.
  3. mbpiper

    Printing problems

    try using a richtextbox. set the scrollbars to vertical.
  4. mbpiper

    DirListBox

    put this in the form load Dir1.Path = "c:\what ever dir" good luck mbpiper
  5. mbpiper

    Refer to calling Form

    this is one way of doing it. have a text box on form A equal the value of what you want passed. then have a text box on form B equal that value. frmB.textbox.text = frmA.textbox.text you do not need to reference frmB I put it in for clarity. good luck mbpiper
  6. mbpiper

    Easy question - About finding a simple char in a string

    Do you mean VB or VFP. In VB you can use the instr() function
  7. mbpiper

    Command Buttons appearance...

    Why do you want it flat? Do you want to see it move when clicked? If you want a flat and non moving button then use a label. mbpiper
  8. mbpiper

    How do I search folders for a specific file?

    I took a few minutes out and put this togeather for you. Hope this is what you want Dim fs Dim ss Dim sc Dim s1 Dim s Dim Fc Dim F1 Dim F Set fs = CreateObject("Scripting.FileSystemObject") Set F = fs.GetDrive("c")...
  9. mbpiper

    ADO Oracle Connection with Data Environment problem

    Try using the DSN but with oracles driver then try this con.ConnectionString = "dsn=name;uid=uid;pwd=password"
  10. mbpiper

    Key Press

    does it matter if you use KEYPRESS or KEYDOWN if you use KEYDOWN then you can use this code Private Sub cmdPlus_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = vbKeyMultiply or (KeyCode = vbKey8 And Shift = 1) Then Operand1 = Val(lbldisplay.Caption) Operator =...
  11. mbpiper

    How can i make an undo button?

    save the previous settings to an array when they press the undo reset using the array values
  12. mbpiper

    How can i make an undo button?

    what are you undoing give an example
  13. mbpiper

    showing a form for a certain length of time

    put this line in general declarations Dim iTimer As Integer place a timer on your form set interval to 1000 (1 sec) add this code to you form Private Sub Timer1_Timer() If Timer1.Enabled = True Then If iTimer = 10 Then Timer1.Enabled = False Unload...
  14. mbpiper

    Key Press

    I don't know if this is what you want but here it is. You can use the "keycode" procedure Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = vbKeyMultiply or (KeyCode = vbKey8 And Shift = 1) Then ... end if end sub here are the other...
  15. mbpiper

    Another Email Error

    Instead of using MAPI you should try to use SMTP. With SMTP it does not matter what the client is using for email you just need to know the ip or name of your SMTP server. There are free downloads(source code) available from http://www.planet-source-code.com/. Do a search in Visual Basic for...
  16. mbpiper

    Displaying current records

    i'm not sure of the connection you are using but try this Text1.text = adodc1.fields!name of db field & "/" & adodc1.recordset.recordcount
  17. mbpiper

    Displaying current records

    what does the code setting the textbox text look like ie text1.text = "value to go into textbox"
  18. mbpiper

    using calendar control but also insert the time

    is this what you want? label1.Caption = Calendar1.value & " " & Format(Now, "HH:MM:SS AM/PM")
  19. mbpiper

    Web Component Server - please help!!!!

    when you type in your url are you typing the intranet address ie http://intranet/report.rpt or the server name ie localmachine/report.rpt. if you are typing the latter your report will open in the designer.
  20. mbpiper

    Password on URL?

    you can pass the password and userid in the url but the viewer will be able to see them if they view source on the web page. the only way that i know of to hide these is using asp.

Part and Inventory Search

Back
Top