Search:

Type: Posts; User: janu

Page 1 of 13 1 2 3 4

Search: Search took 0.09 seconds.

  1. Thread: MSComm

    by janu
    Replies
    9
    Views
    1,269

    Re: MSComm

    then what would be the proper way to get as OP asked .
  2. Thread: MSComm

    by janu
    Replies
    9
    Views
    1,269

    Re: MSComm

    no problem this can be achieved by placing a combo1 on form and copy and paste this code , this will show you the connected serial ports but not sure about usb modem ports .. see if this will help...
  3. Replies
    10
    Views
    1,898

    Re: closing vbmodal form

    Sorry ! where did i say that when Form2 is not open then this codes works , no it crashes the application because it is trying to close a form which is not open .. but if it is open [hidden] then it...
  4. Replies
    10
    Views
    1,898

    closing vbmodal form

    I have a problem in closing hidden vbmodal form ..

    in my project one form is to display a help content with a command button ..

    when a command [Help] button is clicked a vbmodal form [Form2] is...
  5. Thread: Modal Form

    by janu
    Replies
    9
    Views
    2,402

    Re: Modal Form

    i have already tried this one also this also crashes the application
  6. Thread: Modal Form

    by janu
    Replies
    9
    Views
    2,402

    Re: Modal Form

    briefly

    Form2 acts as Form having help contents .. which some users can use or not use .. depends .. if used then instead of unloading it .. I have used Me.Hide ..
    and Form3 which always acts as...
  7. Thread: Modal Form

    by janu
    Replies
    9
    Views
    2,402

    Re: Modal Form

    in form 1 on click of X , I use to call form3 like this


    Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
    Form3.Show vbModal
    If Form3.Answer = 0 Then Cancel = True
    ...
  8. Thread: Modal Form

    by janu
    Replies
    9
    Views
    2,402

    Re: Modal Form

    Form3 is for to confirm the application exit instead of message box .. with yes and no .. whereas i put the unload command in form3 in yesbtn for form2 which is hidden
  9. Thread: Modal Form

    by janu
    Replies
    9
    Views
    2,402

    Modal Form

    i have 3 forms

    Form1 [main Form]
    Form2 [ VbModal]
    Form3 [ VbModal]

    when i call Form2 and then I make it hidden [Me.Hide]
    and Form3 is closing the whole project

    when I try to close whole...
  10. Thread: reading words

    by janu
    Replies
    6
    Views
    976

    Re: reading words

    Thanks this will help me definetly .. because I have text with lots of words having $ with them .. I just wanted to show them sepretaly ..
  11. Thread: reading words

    by janu
    Replies
    6
    Views
    976

    Re: reading words

    I think it does not make sense what I want .. error on entry="user0:"
  12. Thread: reading words

    by janu
    Replies
    6
    Views
    976

    reading words

    How to read a words having common character with it from text file or from texbox1 to texbox2

    like fifty $ and similarly other word which have $ with it
  13. Replies
    2
    Views
    1,045

    Re: [RESOLVED] removing brackets

    Thanks a lot for help
  14. Replies
    2
    Views
    1,045

    [RESOLVED] removing brackets

    I am reading a textfile into textbox .. is there any way to remove brackets { } if found in any line in textfile before reading it inot textbox through vb6 code
  15. Replies
    14
    Views
    1,479

    Re: textbox to textbox

    Thanks Max187Boucher , it is done .. actually these are my assignments and need to submit urgently
  16. Replies
    14
    Views
    1,479

    Re: textbox to textbox

    Private Function GetLineFromText(objTextbox As TextBox, LineNumber As Long, WordNumber As Long) As String
    Dim SplitText() As String
    Dim TextLine As String
    Dim Words() As String
    Dim i As Long
    ...
  17. Replies
    14
    Views
    1,479

    Re: textbox to textbox

    Max187Boucher
    you are real support here ofcourse others also .. the code in post# 5 reads a line but i need to read 2nd or 3rd word of 2nd line ..
  18. Replies
    14
    Views
    1,479

    Re: textbox to textbox

    what i need to change here .. instead of reading from text file


    Private Function GetWordFromLine(LineNumber As Long, WordNumber As Long) As String
    Dim FF As Integer
    Dim LineNum As Long
    Dim...
  19. Replies
    14
    Views
    1,479

    Re: textbox to textbox

    that was about a text file

    Open "c:\store.txt" For Input As #FF

    Here I need to read from Textbox1 to Textbox2

    Textbox1 is with following lines

    Learn to build a web service and an...
  20. Replies
    14
    Views
    1,479

    [RESOLVED] textbox to textbox

    I have text1 with multi line = true , it is filled with text .. I need to show any line or any word from any line into another textbox text2 .. need help

    Text1

    Learn to build a web service and...
  21. Thread: Stoping an exe.

    by janu
    Replies
    11
    Views
    1,389

    Re: Stoping an exe.

    Suppose if you are .. how will you write a batch file to do this
  22. Thread: Stoping an exe.

    by janu
    Replies
    11
    Views
    1,389

    Re: Stoping an exe.

    Oh! Sorry I put the question in wrong way .. Suppose I have an exe. which has to write some files into usb drive [pen drive] .. when the exe. is launched within the vb programme .. it waits for pen...
  23. Thread: Stoping an exe.

    by janu
    Replies
    11
    Views
    1,389

    Stoping an exe.

    Is there any way to stop an exe. if it does not execute ..
  24. Replies
    13
    Views
    5,935

    Re: kill a process

    TerminateProcess sub or function not defined
  25. Replies
    13
    Views
    5,935

    Re: kill a process

    right you got my point ... I need to kill the process if the application has slept for 500 milliseconds
  26. Replies
    13
    Views
    5,935

    Re: kill a process

    Ok .. is this will work to stop execution process .. I use shell execute a cmd.exe .. it remain in process .. does this code will stop its process after say sleep 500
  27. Replies
    40
    Views
    3,837

    Re: reading particular lines

    Thank you very much.. it is done ... Nice help by : Nightwalker83 and Max187Boucher .. great helping masters
  28. Replies
    40
    Views
    3,837

    Re: reading particular lines

    in this

    MsgBox GetWordFromLine("C:\Test.txt",2, 3)

    what is 2 and what is 3
  29. Replies
    40
    Views
    3,837

    Re: reading particular lines

    Ok according to code in post# 30 I found line # 5 in text file now how can i break the line into the words and then read 9th or 10th word of the line .. i don't what that word is but it is on 10th...
  30. Replies
    40
    Views
    3,837

    Re: reading particular lines

    Ok here it works .. but this code find a word from whole text file whereas my aim is to find a word in any particular line

    suppose in text file i want line 3 and in line 3 i want 7th or any word...
  31. Replies
    40
    Views
    3,837

    Re: reading particular lines

    Dim filenum As Integer
    filenum = FreeFile
    Open App.Path & "\test.txt" For Input As #filenum
    li = 0
    Do While Not EOF(filenum)
    Line Input #filenum, NextLine
    li = li + 1
    If li = 5 Then...
  32. Replies
    40
    Views
    3,837

    Re: reading particular lines

    I have already tried but error
  33. Replies
    40
    Views
    3,837

    Re: reading particular lines

    yes sir for the same code i get the error ..
  34. Replies
    40
    Views
    3,837

    Re: reading particular lines

    Post # 13
  35. Replies
    40
    Views
    3,837

    Re: reading particular lines

    error on sHold As String


    statement invalid outside type block
  36. Replies
    40
    Views
    3,837

    Re: reading particular lines

    it does not read even a text file ... this does nothing

    actually like code in post#7 i found line 5 and now i want word no. 10 in line 5 to display in textbox ..
  37. Replies
    40
    Views
    3,837

    Re: reading particular lines

    I tried it this way but not working


    Dim sHold As String
    Open "C:\" & "\test.txt" For Input As #filenum
    Do While Not EOF(filenum)
    Line Input #filenum, sHold
    If Not Trim(sHold) = "the...
  38. Replies
    40
    Views
    3,837

    Re: reading particular lines

    Thanks sir that is already done .. what about reading any particular word from any line
  39. Replies
    40
    Views
    3,837

    Re: reading particular lines

    Thanks .. suppose I want to read text file from 2nd or 3rd line up to end

    and Sir If I want to read a particular word from any line like
  40. Replies
    40
    Views
    3,837

    Re: reading particular lines

    as in post #4 the code reads whole text file .. suppose I want to only read line 2 and 5 , like you said to use counter=2 or counter=5 .. How please help
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width