Search:

Type: Posts; User: greg_schmit

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    292

    Math Function Help

    OK, I'm trying to find a function or module that just evaluates a mathematical expression of one variable (x) at any point. I don't have the time to make one, but i would be like this:

    math("9x^2...
  2. Number of Unique Solutions to an Empty Sudoku Puzzle

    So, I've been programming lately with sudoku puzzles and how to generate/solve them. I do have one problem that I cannot figure out for the life of me, and that is how many unique sudoku puzzles are...
  3. Replies
    2
    Views
    633

    Sending data to yourself.

    I am wondering if I am using a winsock control and I want to send data to my own computer if I should use my ip address or should I use 127.0.0.1.

    Thanks!
  4. Replies
    1
    Views
    525

    IP and Delay Question

    I am designing a remote administraton client/server program that gives the server the ability to control and moniter his client machines through data that is transferred through the winsock control....
  5. Replies
    4
    Views
    672

    Re: Selecting in Listbox

    So if I have this straight, then if I have a listbox with the following:

    one
    two
    three
    four
    five

    And I call
  6. Replies
    9
    Views
    926

    Re: Need help with a program.

    I don't think he is writing a program for a fortune 500 company, so the security is up to him.

    Anyway, you opened the file for Input, not Output so you are not able to write to the file. And use...
  7. Replies
    4
    Views
    672

    Selecting in Listbox

    Hey, I am just wondering how to make the nth item in a list box be selected. smilar to the textbox selstart only given an item to be selected instead of a character.

    Thank you!
  8. Replies
    5
    Views
    496

    Re: Another Font Question

    Yes. I can take MS Sans Serif font file and rename it to "arial.ttf" but the font name will remain MS Sans Serif. I am wondering how to programmatically get the name of the font from the file.
  9. Replies
    5
    Views
    496

    Another Font Question

    A couple days ago I wanted to know how to add a custom font. the following code worked perfectly:Private Declare Function AddFontResource Lib "gdi32" Alias "AddFontResourceA" (ByVal lpFileName As...
  10. Replies
    4
    Views
    558

    Re: Font issue

    nope, all good
  11. Replies
    4
    Views
    558

    Re: Font issue

    What operating systems does this work on?
  12. Replies
    4
    Views
    558

    [RESOLVED] Font issue

    Hey, I'm just wondering if it is possible to use a custom font file in a label/textbox font property. Would be nice because I am building a hex editor and I want the ascii box to show ascii but I had...
  13. Replies
    2
    Views
    527

    Re: About form order

    Thanks for the help!
  14. Replies
    2
    Views
    527

    [RESOLVED] About form order

    I have read several forum threads about keeping a form on top, however they don't meet my objective. I am making a text editor that has a Find function (along with replace, replace all, etc...) and I...
  15. Replies
    6
    Views
    697

    Re: command line arguments

    Yes, if you call your program from command prompt and you pass arguments as such:

    prog1.exe argument

    then the argument is automatically saved in vb as the constant variable: Command. So, if you...
  16. Replies
    6
    Views
    1,725

    Re: Hide Menu Bar

    This is what I would do:


    Private Sub Check1_Click()
    'Assuming that you want the menu to be hidden when this is CHECKED
    If Check1.Value = 1 Then
    Call HideMenu(True)
    Else
    ...
  17. Replies
    8
    Views
    725

    Re: Please Reply at least to this one .

    oh that's why, I didn't have the declare function for it. I'm sorry dude, this is too complex for me, lol. I am just now getting used to api calls and such, but maybe someone else has more...
  18. Replies
    8
    Views
    725

    Re: Please Reply at least to this one .

    Wait... maybe I am missing something. I thought u were trying it on VB, are you? I am running vb6 and for me it gives "sub or function not defined"

    What do you mean calculator window? immediate...
  19. Replies
    13
    Views
    647

    Re: app deleting itself

    Yeah, it doesn't work (File access error) so I am probably just going to write batch file from vb and execute it.
  20. Replies
    8
    Views
    725

    Re: Please Reply at least to this one .

    It does? what is the value? I get an error "sub or function not defined"
  21. Replies
    8
    Views
    725

    Re: Please Reply at least to this one .

    CreateRemoteThread is not a valid function in vb. I don't know a substitute but that is why it doesn't work.
  22. Re: I need some help with Code Statement Questions

    That is where you start learning about arrays and such. For a combobox, there is a list of strings and they are indexed from 0 going to however many items you have.

    So, to return any string that...
  23. Replies
    13
    Views
    647

    app deleting itself

    I am not at my computer to try this, but I was wondering if I could delete my program by executing the Kill() routine from the same program.

    Public Sub Form_Load()
    Call Kill(App.Path &...
  24. Replies
    1
    Views
    483

    [RESOLVED] Long string assignment

    I am developing aprogram, and I ran into trouble assigning long string variables' values when I want to use the "_" underscore character to continue it.

    Example:

    sTemp =...
  25. Re: Subroutine parameter test...

    Ok, that works. I was trying this:


    Public Sub GetScreen(strOutput As String, Optional imgOutput As Image)
    'Code
    If imgOutput <> Nothing Then
    Do Something
    End If
    End Sub
  26. [RESOLVED] Subroutine parameter test...

    I have a subroutine that uses an optional imgOutput (Image) control as a parameter, and in the code I want to see if they used it. (As it is optional)


    Public Sub GetScreen(strOutput As String,...
  27. Replies
    7
    Views
    1,038

    Re: Tilde Sendkey wont Execute

    I think he means that he is making a game and wants to have that built into it. I am not sure how, but to clarify, I think that's what he means.
  28. Re: Getting the Favicon, internet controls

    I think k0zz means that you look for and determine if the http://www.site.com/favicon.ico file exists, and if it does, downloads it onto the user's computer and shows a basic picturebox or something...
  29. Replies
    0
    Views
    572

    Sending Binary Data (winSock CTL)

    I am continuing developing a remote administraton program (server/client type program), and I have coded a feature that allows the system administrator to update screenshots of the network in which...
  30. Replies
    14
    Views
    943

    Re: Form and unloading help

    I can't really experiment because I can't ge on vb right now.. but you could just as easily call the load event before unloading every form.



    Dim frm As Form
    For Each frm In Forms
    ...
  31. Replies
    8
    Views
    580

    Re: input text problem

    I use this every time and it works:



    Public Function ReadData(sFilePath As String) As String
    Open sFilePath For Input As #1
    Do Until EOF(1) = True
    Line Input #1,...
  32. Replies
    3
    Views
    607

    Re: I really can't pin down the problem.

    ok, i will check that out, but thank you for taking a look.
  33. Replies
    3
    Views
    607

    I really can't pin down the problem.

    OK, I have been making a program that listens on a directory in a file system and reports any changes such as a file removed or a file added, and reports the file and the change.

    So far I have...
  34. Re: Help with taking remote screenshots...

    Ok Sorry it took me so long to reply (hats off to sbc). But thank you
  35. Help with taking remote screenshots...

    As I understand it, and to my programming knowledge, you can only remotely access and control a computer by installing a program on the client PC. However, I would like to know if it is possible to...
  36. Help with .txt "database" programming.

    Well, this would not really be a database question because im not using a database, but, what im trying to do, is crreate a chatroom with ActiveX.

    Code:
    Private Sub Send_Click()
    strUserName =...
Results 1 to 36 of 38



Click Here to Expand Forum to Full Width