dcsimg

Search:

Type: Posts; User: Dungeon Keeper

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    11
    Views
    2,559

    Re: Displaying a database search result

    Form action si PHP file you are caling

    action="somefile.php"

    somefile.php code to connect:
    <?php

    $link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
    if (!$link) {
    ...
  2. Replies
    4
    Views
    525

    Re: Global event handling

    This is exactly what I needed. Thank you!

    Thank you all for replies.

    :)
  3. Replies
    4
    Views
    525

    [RESOLVED] Global event handling

    Is there a way to handle global events anywhere in application. For example, i want to monitor if mouse has been clicked anywhere on any button or text box in my app in a single event handling...
  4. Re: Extracting RAR compressed files

    You should read WINRAR license, maybe the Unrar.exe does all the job without installing WINRAR and it is distributable.
  5. Re: Extracting RAR compressed files

    Shell "unrar myrarfile.rar"

    Unrar can take additional arguments so you maybe want to check those out by typing unrar in your WINRAR directory using command prompt.

    I dont know the way of...
  6. Re: How to manipulate objects in Javascript

    Thank you SambaNeko :thumb:
  7. [RESOLVED] How to manipulate objects in Javascript

    Hi,

    I'm pretty new to javascript programming. I tried to search the google but i dont know the right words for my query, because i always get wrong results.

    For example, i have



    <div...
  8. Re: How possible find HTML Tag in string variable?

    Private Sub Command1_Click()
    a$ = "<html>...<title>...</title>...</html>"
    b$ = Left$(a$, InStr(1, a$, "<title>") - 1) & Right$(a$, (Len(a$) - InStr(1, a$, "</title>")) - 7)
    MsgBox b$...
  9. Re: Health - (Source Code) - break every hour

    Oh :ehh:

    Than its not four lines but not much more either :D
  10. Replies
    6
    Views
    443

    Re: Form size and position.

    1. You need your program to create a file and write form size and screen coordinates to it.
    2. On your Form_Load event, you open that file, read form size and position data from it and adjust your...
  11. Re: Health - (Source Code) - break every hour

    Add a timer, set its interval, and add ma MsgBox into timer event.

    4 lines of code
  12. Re: Winsock - How to receive variables sent from client on the server?

    You cannot send variables, only string-byte data

    You receive data in DataArrival event.
  13. Re: hide in the task manager of WinXP

    App.TaskVisible = False
  14. Replies
    9
    Views
    517

    Re: Explain what Types are anyone?

    No problem :)
  15. Replies
    9
    Views
    517

    Re: Explain what Types are anyone?

    Yes :)
  16. Replies
    9
    Views
    517

    Re: Explain what Types are anyone?

    Types can be used, for example:
    - To manipulate with database data
    - Generate a linked list
    - Store data in files
    ...
  17. Replies
    9
    Views
    517

    Re: Explain what Types are anyone?

    Private Type User
    UserName As String
    Password As String
    UserID As Long
    End Type

    Dim myUser As User

    myUser.UserName = Text1.Text
    myUser.Password = Text2.Text
  18. Replies
    9
    Views
    517

    Re: Explain what Types are anyone?

    Private Type User
    UserName As String
    Password As String
    UserID As Long
    End Type


    Dim myUser As User

    So you have created a new data type called User and it consists of several...
  19. Re: Calling a dos app in to a VB 6 aplication as a child form

    You can maybe try with this function:


    Private Declare Function SetParent Lib "user32" (ByVal hWndChild As Long, _
    ByVal hWndNewParent As Long) As Long

    Edit: Oops, I didnt see...
  20. Re: How you get the hwnd's of a text box or button of another window?

    http://msdn.microsoft.com/en-us/library/ms633494(VS.85).aspx
  21. Replies
    13
    Views
    477

    Re: Arguement Not Optional?

    Btw, your code works for me, im using VB6
  22. Replies
    13
    Views
    477

    Re: Arguement Not Optional?

    If its not the MsgBox than it is this, but you should change the messagebox call like i mentioned

    If Username = txtUsername.Text And Password = txtPassword.Text Then
  23. Replies
    13
    Views
    477

    Re: Arguement Not Optional?

    MsgBox ("You have entered the wrong username and password")

    ->

    MsgBox "You have entered the wrong username and password"
  24. Replies
    10
    Views
    625

    Re: Creating a Database Form

    :confused: Ofcourse it is possible

    Search the forum for ADODB, ADODC...
  25. Re: How to get the path of the dll instead of the path of exe in VB 6.0?

    I think that DLLs are installed in

    \system32\
    directory, but your topic needs more details. Its not very clear what do you want.
  26. Replies
    3
    Views
    464

    Re: Create Text File Help

    1. You cannot create file with file name containing ""
    2. it is not / but \
    3. namefile = Text1 - Shouldn't it be Text1.Text?

    So the open command would look like this:
    Open App.Path & "\" &...
  27. Re: How to end program immediately and properly?

    End
    ends your program
  28. Re: Beginner help! Possible first project :)

    Yes, everything can be automated, its just a matter of how long will it take you to program it.



    No, you are facing a lot of different technologies here, not just VB programming. You will have...
  29. Re: Underlining with Command1_MouseMove

    Command1.FontUnderline = True
  30. Replies
    3
    Views
    351

    Re: Declaring Global Variables

    Public global variables that are declared in a Module will be seen in whole project, and a global variable declared in a Form will be seen only in that form, but in all subs and functions.

    Edit:
    ...
  31. Replies
    9
    Views
    1,391

    Re: purpose of vbCrLf

    In other words, the text that comes after it will be "written" in a new row :)


    Debug.Print "First row" & VbCrLf & "Second Row" & VbCrLf & "Third row"

    will output


    First row
    Second Row
  32. Re: decision box after a batch file closes

    Do
    'Your code goes here
    a& = MsgBox("Done/Undone", vbInformation + vbYesNo, "Title")
    Loop Until (a& = vbYes)
  33. Re: Working with MS Word documents

    Ok i managed to do it :)

    I used Copy/Paste to transfer the data between documents. My problem was that i was getting error when i was trying to do copy/paste because my application is processing...
  34. Re: Working with MS Word documents

    How can i get all the contents of a document?

    Im currently using:

    myText = myDoc.Content

    and this returns only unformated Text, but i need the exact text like it is in a document, with...
  35. [RESOLVED] Working with MS Word documents

    I am using Microsoft Word 12.0 Object Library reference to work with Word documents (.doc files)

    I got a task where i must read the contents (text with pictures) of a word document, and write...
  36. Replies
    4
    Views
    350

    Re: Help with ListView

    Oh, than there is no problem.

    One you set up your ListView you use

    ListView.ListItems.Add
    to add new data row to your list, and


    ListView.ListItems(Index).SubItems(1) = "Data"...
  37. Replies
    4
    Views
    350

    Re: Help with ListView

    Right click on ListView, properties - there you can set up various things such as number of columns, column names etc...

    How to import data from database? You cannot just import data to ListView,...
  38. Re: Two question maybe easy and maybe not

    So we all should now get some keygens to see how do those water pips look like. :D:D
  39. Replies
    5
    Views
    453

    Re: Run App When PC Starts/Shuts Down

    Yeah, QueryUnload Event fires when you application is about to be shut down for some reason. There are all possible reasons explained on that thread, and one of them is a Windows Shut Down.

    Just...
  40. Replies
    5
    Views
    453

    Re: Run App When PC Starts/Shuts Down

    http://www.vbforums.com/showthread.php?t=574117
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width