Search:
Type: Posts; User: janu
Search:
Search took 0.34 seconds.
-
then what would be the proper way to get as OP asked .
-
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...
-
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...
-
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...
-
i have already tried this one also this also crashes the application
-
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...
-
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
...
-
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
-
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...
-
Thanks this will help me definetly .. because I have text with lots of words having $ with them .. I just wanted to show them sepretaly ..
-
I think it does not make sense what I want .. error on entry="user0:"
-
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
-
-
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
-
Thanks Max187Boucher , it is done .. actually these are my assignments and need to submit urgently
-
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
...
-
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 ..
-
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...
-
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...
-
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...
-
Suppose if you are .. how will you write a batch file to do this
-
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...
-
Is there any way to stop an exe. if it does not execute ..
-
TerminateProcess sub or function not defined
-
right you got my point ... I need to kill the process if the application has slept for 500 milliseconds
-
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
-
Thank you very much.. it is done ... Nice help by : Nightwalker83 and Max187Boucher .. great helping masters
-
in this
MsgBox GetWordFromLine("C:\Test.txt",2, 3)
what is 2 and what is 3
-
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...
-
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...
-
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...
-
I have already tried but error
-
yes sir for the same code i get the error ..
-
-
error on sHold As String
statement invalid outside type block
-
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 ..
-
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...
-
Thanks sir that is already done .. what about reading any particular word from any line
-
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
-
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
|
Click Here to Expand Forum to Full Width
|