dcsimg

Search:

Type: Posts; User: Morris_Zg

Search: Search took 0.02 seconds.

  1. Re: Text box Format Degrees minutes seconds 0.00' 00''

    Hi, I tried to use dilettante's code but it returns 720° 00' 00" for 123.4512 deg.
    It works only for integer values, for example, it gives 123° 00' 00" for 123, and 600° 00' 00" for 123.0000. What...
  2. Replies
    5
    Views
    510

    Re: Problem with email (Outlook)

    Ok, I found next: HKEY_CURRENT_USER\Software\Policies\Microsoft\,
    but now there is not Security folder in that Microsoft folder. There are SystemCertificates and Windows. I don't know where should I...
  3. Replies
    5
    Views
    510

    Re: Problem with email (Outlook)

    Hi, thanks.

    I found this at the link, but i can't find this HKEY_CURRENT_USER in computer? Do You have any idea where it could be? In Program Files, Windows or....?

    "The workaround is to...
  4. Replies
    5
    Views
    510

    Problem with email (Outlook)

    Hi, I am tryin to send e-mail automaticaly with vb6, and for this I am using the code down here.

    But the problem is with Outlook, when the e-mail should be sent. Outlook pops up a notification: "A...
  5. Re: How to send mail using vbsendmail.dll and smtp.gmail.com

    can someone tell me, please, what parameters or functions or something like that, of the following code should be declared in code. I have declared only iMsg, iConf, Flds and schema, all as string.
    ...
  6. Replies
    9
    Views
    668

    Re: Problem with opening a file

    Ok, I'll go over the links.

    Can you tell me, is it possible to store the results of some measurements in a file in decimal form with a "point" (3.14) and not a comma (3,14), since the variables...
  7. Replies
    9
    Views
    668

    Re: Problem with opening a file

    I didn't understand what do You mean when you say this. Where should I check for the FAQ section?
  8. Replies
    9
    Views
    668

    Re: Problem with opening a file

    Thanks guys, it works now.

    I used public in module, and without declaring in forms. It is better to me like this because the file is created in form1 and there the parameters are being printed to...
  9. Replies
    9
    Views
    668

    Re: Problem with opening a file

    The error is: "Path/File access error"

    If I declare this in Module:
    Dim strFileName As String
    Dim strBackSlash As String
    Dim intFileNbr As Integer

    do I still need:

    Dim intFileNbr As...
  10. Replies
    9
    Views
    668

    Problem with opening a file

    Hi,
    I have problem with opening a file that is created in other form. Here is the code. The error happens when the file should be opened in form2. Program marks line 1 in form2. I tried use Public...
  11. Replies
    2
    Views
    449

    How to send a .txt file to an e-mail?

    Hi,
    I'm new with VB 6.0 and I need to send a text file (that is beeing created by the application) to an e-mail address (that user enters in a text box). How can this be done? I don't have Outlook...
  12. Re: How to calculate with date AND time in VB?

    I didn't have a timer control. I've put it and changed lines 22 and 26 to a specific time.

    And now timer works :)

    Thank You ! !
  13. Re: How to calculate with date AND time in VB?

    I tried the code and it returns "compile error: variable not defined". It marks Timer1 in line 27.

    Why would this be?
  14. Re: How to calculate with date AND time in VB?

    Thanks. I'll try it.
    And yes, it should start immediately because I'll put it after akhileshbc's code (Oct 22nd, 2010) that pauses the application till the Start Time. This is because start time...
  15. Re: How to calculate with date AND time in VB?

    I would be very grateful to you if you would do that :)

    Take a look here:
    http://www.vbforums.com/showthread.php?t=630881

    I attached a rar of my project. The text boxes are in frmTimer. In...
  16. Re: How to calculate with date AND time in VB?

    Thanks. I'll take a look at the timer. Planned actions will last for a couple of minutes, so this is significant delay then. It must run every x seconds regardless of how long the processing takes.
  17. Re: How to get and save text from text box ?

    Yes, you're right. User changes variables from frmSaveAsTarget for each measured point so I will try this with form name!
  18. Re: How to calculate with date AND time in VB?

    Hi!

    Akhileshbc, I tried your code and this is what I wanted. Thanks.

    Ellis Dee, I didn't actually understand what exactly does your code do. Can it be used to do some actions every specific...
  19. Re: How to get and save text from text box ?

    Hi!

    There is no frame named SaveAsTarget. I mixed terminology. There are FORMS frmSaveAsTarget and other.

    All the steps for the user:

    1. connecting the measuring instrument to computer
    2....
  20. Re: How to get and save text from text box ?

    Hey,
    yes, I see now I've mixed terminology. I was saying frame instead of form.

    About the file:
    -the line open file is in "Sub cmdOnline_Click()" (Open "C:\Nulto mjerenje.txt" For Output As #1)...
  21. Re: How to get and save text from text box ?

    Here is the attachment. I've done some changes.

    So, I want that when user presses "Save Target" that the data are saved to file.
    In frame "Measurement", there is "Sub cmdSaveTarget_Click()" in...
  22. Re: How to calculate with date AND time in VB?

    Can this pausing be interrupeted? For example, if the user wants to stop the sleep because he changes mind or wants to exit the application, or change date and time?
  23. Re: How to calculate with date AND time in VB?

    thanks :)
  24. Re: How to get and save text from text box ?

    I meant to say that when user presses a command button on another form, the form we are talking about shows. there is to fulfill several text boxes and when ok button is pressed the entered text must...
  25. Re: How to get and save text from text box ?

    But I have other variables that are different names (souch as PrTy, PrHe, Re) and it is the same with them too.

    The code is


    0. Option Explicit

    1. Private sub cmdOK_Click()

    2. Dim...
  26. Re: How to calculate with date AND time in VB?

    Then


    If IsDate(Text1.Text) Then
    MiliSeconds = (DateDiff("s", Now(), Text1.Text))*1000
    Sleep MiliSeconds
    End If

    ?
  27. [RESOLVED] How to get and save text from text box ?

    Hi,

    I have a frame with text boxes and ok and cancel click which is called from an other frame. I want to save the text that user enters in textbox called "txtTargetName" in a file. I tried to...
  28. Re: How to calculate with date AND time in VB?

    Thanks! Datediff is exactly what I need.

    I need it to set up sleep function. So would it be wright if I put:


    If IsDate(Text1.Text) Then
    MiliSeconds = DateDiff("ms", Now(), Text1.Text)
    Sleep...
  29. [RESOLVED] How to calculate with date AND time in VB?

    Hi,

    I'm new with VB 6.0 and could really use some help.

    I have to get time difference (time interval) from entered time AND date in the text box and current time AND date.

    Also, how to...
Results 1 to 29 of 29



Featured


Click Here to Expand Forum to Full Width