dcsimg

Search:

Type: Posts; User: ThorSubak

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: Looking for testers for New Instant Messenger

    will i'm just waiting for the new one!, pyscho
  2. Re: [RESOLVED] detecting numbers in a text box

    BTW, i dont really pick it up...
    maybe, you just letting the user to input in the textbox and then at the top of the execution it will prompt the user "Numeric is NOT permitted!"??
    just a gossy...
  3. Re: detecting numbers in a text box

    As Rhino Stated.. you could also put a msgbox in the Rhino's code that will Prompt the user, just to be able to done it as a user friendly.
    Clearly this way.


    Private Sub Text1_KeyPress(KeyAscii...
  4. Replies
    3
    Views
    320

    Re: Closing an open database connection

    try to check all those open connections. and dont forget to close the connection after the execution.
    when your going to :
    con.open
    be sure you have:
    con.close
    ____________________
    hope it...
  5. Re: help - save 2 tables to variable and compare them

    i guess you tried my code?
    base on the example given, the complete code i've posted is one of the solutions.
    BTW, i'll going to create a code base from your example and please try it.
  6. Replies
    37
    Views
    1,130

    Re: Help, Unable to add Records into Database

    Did you try to put some breakpoints here?


    just take that point.
    Guess this help.
  7. Replies
    37
    Views
    1,130

    Re: Help, Unable to add Records into Database

    instead:



    use this:
  8. Replies
    13
    Views
    553

    Re: STOP or PAUSE the SUB or FUNCTION.

    however it could be better if you were going to define your desired or prospected output. it seems to us that were only guessing.
  9. Replies
    13
    Views
    553

    Re: STOP or PAUSE the SUB or FUNCTION.

    yup you can use "exit sub" without the quote.
  10. Re: Winsock - Chat problem - Mixed messages.

    hope this helps.
    put "DoEvents" after .senddata and .getdata



    _________________________________
    if the problem is solved, please mark your post as RESOLVED and please do rate.
  11. Re: help - save 2 tables to variable and compare them

    if it is and it doesn't have any relationship, then what is the problem..
    -What i've understand from your first problem, is to update a specific field(s) without any respect/reference to its primary...
  12. Re: help - save 2 tables to variable and compare them

    may i asked something..

    is your field(0) or your auto-increment field is your primary key/or one of your keys?
  13. Replies
    11
    Views
    749

    Re: can't get the correct sum

    oops sorry its double..
    i've been edited it now.
  14. Replies
    11
    Views
    749

    Re: can't get the correct sum

    you can also try this method:

    Dim value1 as double:value1=rs1!lcl
    Dim value2 as double:value2=rs1!ucl
    Debug.Print ((value1+value2)/2)
  15. Replies
    4
    Views
    376

    Re: Search a block of text?

    as what you've want to... it contain the filename not the pathway.
  16. Replies
    4
    Views
    376

    Re: Search a block of text?

    you can use this..

    dim oString() as string

    oString=split("C:\Documents and Settings\Owner\Desktop\Copy of New Text Document (11).txt","\")
    Text1.text=oString(uBound(oString))
    ...
  17. Replies
    1
    Views
    299

    Re: Array write to file junk data

    in this part..
    Dim j As Integer
    j = FreeFile
    fname = "C:\arrayout.txt"
    Open fname For Output As #j
    Put #j, ,elements 'you should not put directly the data automatically since the variable is an...
  18. Replies
    2
    Views
    821

    Re: VB6 WebBrowser Back Button

    are you referring to the components? or a windows web browser itself?
  19. Re: Help with choosing a specific record? (ADO)

    sory for that. now i've edited the code..
  20. Thread: TextBox

    by ThorSubak
    Replies
    4
    Views
    405

    Re: TextBox

    yup, you can create your own control and do anything you want to.

    on transparency, you can use a label for that.
  21. Replies
    14
    Views
    600

    Re: Need help fixing this code

    Dim word1, word2 As String

    declare it like this..

    Dim word1 as String, word2 As String
  22. Re: Help with choosing a specific record? (ADO)

    since the record is not that really mass. we will be using a loop for that..

    this way..

    while not AdodcPassword.Recordset.eof
    if...
  23. Re: how does notepad.exe creates notepad.txt?

    thanks guys for the reply :

    actually this is the real question..

    how can i make my own file with my own format and load it to my own executable.
    such sample would be: the notepad.exe creates...
  24. Replies
    26
    Views
    808

    Re: Problem With Data Arrival !!

    does the MultiLine property of the textbox is set to TRUE?
  25. Re: how does notepad.exe creates notepad.txt?

    Originally Posted by Hack
    Because if you are trying to create a file in a folder to which you do not have read/write access, your attempt will fail.

    i'm asking on How Notepad.exe creates...
  26. Replies
    21
    Views
    823

    Re: Run-time error on .exe file

    did you check this code?


    Sub CreateODBC()
    On Error Resume Next
    Dim vAttrib As String
    vAttrib = "Description=Contacts" & Chr(13)
    vAttrib = vAttrib &...
  27. Replies
    6
    Views
    381

    Re: Read text separatly

    try this code..


    dString = "C:\Users\TEST.exe
    For x = 0 To Len(dString)
    If Mid(dString, (Len(dString) - x), 1) = "\" Then
    Debug.Print trString
    Exit...
  28. Re: How to make form appear at center screen when in MDI Child mode...?

    try this code

    Sub CenterChild (Parent As Form, Child As Form)
    Dim iTop As Integer
    Dim iLeft As Integer
    If Parent.WindowState <> 0 Then Exit Sub
    iTop = ((Parent.Height - Child.Height) \ 2)...
  29. Re: How do I save RichTextBox text format(with bold etc) in database field

    does you've checked the output?

    lets see...figuring on it...
  30. Re: How do I save RichTextBox text format(with bold etc) in database field

    .Parameters.Append .CreateParameter(, adLongVarChar, adParamInput, 105, rtbTemplate.TextRTF)
    ___________________
    change the data type to the field, instead LONGTEXT user varchar.


    EDIT: oops...
  31. Re: How do I save RichTextBox text format(with bold etc) in database field

    did you use the "varchar" data type?
  32. Re: How do I save RichTextBox text format(with bold etc) in database field

    try to direct the control...and try to change the data type..

    instead...
    con.Execute ("INSERT INTO emailtemplates(TemplateName,TemplateText) " & _
    "VALUES('" &...
  33. Re: How do I save RichTextBox text format(with bold etc) in database field

    on post#10 that,
    that was the string generated after saving the Me.RichTextBox1.TextRTF.

    this code:

    con.execute("insert into table1(field1) values('"& Me.RichTextBox1.TextRTF &"')")

    ...
  34. Re: How do I save RichTextBox text format(with bold etc) in database field

    did you really save that into database?

    try to paste this into your fields:

    {\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\froman\fcharset0 Times New Roman;}{\f1\fnil\fcharset0 MS Sans Serif;}}...
  35. Re: help - save 2 tables to variable and compare them

    the complete code..try this..

    rs1.Open "Select * from t1", con1, adOpenDynamic, adLockOptimistic
    rs2.Open "Select * from t2", con2, adOpenDynamic, adLockOptimistic

    rs1Cnt = rs1.Fields.Count...
  36. Re: How do I save RichTextBox text format(with bold etc) in database field

    is there any problem?

    __________________________
    if the problem solved, please mark your post as RESOLVED and please do rate.
  37. Re: How do I save RichTextBox text format(with bold etc) in database field

    rtbTemplate = rs!TemplateBody

    like i've said:


    Me.RichTextBox1.TextRTF=rs1!Field1 ' put an .TextRTF
  38. Re: How do I save RichTextBox text format(with bold etc) in database field

    here it is..


    1.) save the (Me.RichTextBox1.TextRTF) to the field on your table which data type is supported by a string. such as varchar and text.
    2.) now, retrieve that field.. this code:...
  39. Re: how does notepad.exe creates notepad.txt?

    Originally Posted by gavio
    Depends on location if you have necessary rights.

    how come location and rights affect this question?
    will you please, ellaborate.
  40. how does notepad.exe creates notepad.txt?

    a simple question..just to know.
    how does notepad.exe creates notepad.txt?
    is there anything to consider?

    -thanks:bigyello:
Results 1 to 40 of 154
Page 1 of 4 1 2 3 4



Featured


Click Here to Expand Forum to Full Width