Search:

Type: Posts; User: ExcalibursZone

Page 1 of 13 1 2 3 4

Search: Search took 0.63 seconds.

  1. You could use an MDI application, which has been...

    You could use an MDI application, which has been mentioned.

    I decided to play around with the SetParent API function and had fun with my parent window having the 'universal' menu and even having...
  2. Replies
    11
    Views
    1,221

    *nodnod* I just put it there to mean any listitem...

    *nodnod* I just put it there to mean any listitem with listsubitem(3) in it. it could be listview1.selecteditem.listsubitems(3), listview1.listitems(listview1.listitems.count).listsubitems(3), or in...
  3. Replies
    11
    Views
    1,221

    Ok, here's what you do: Say you want to change...

    Ok, here's what you do:
    Say you want to change the color of the 3rd subitem to blue.
    ListView1.ListItems(X).ListSubItems(3).ForeColor = RGB(0,0,255)
    That's all there is to it. You don't have to...
  4. Replies
    12
    Views
    1,156

    Did you grab the required .DLLs that are needed...

    Did you grab the required .DLLs that are needed for the outlook bar to run? It states that directly at the beginning of most of the controls he has on the site.
  5. Replies
    9
    Views
    833

    Just so you know, Blobby's will work well for...

    Just so you know, Blobby's will work well for INI files, though you will need to remember to grab the api declarations to do this:
    Public Declare Function WritePrivateProfileString Lib "kernel32"...
  6. Thread: cmd

    by ExcalibursZone
    Replies
    1
    Views
    470

    You need to compile your code first. This creates...

    You need to compile your code first. This creates the .exe file you need for your program to run. Next, you need to run it from windows it won't work in dos mode.
  7. Replies
    6
    Views
    575

    *nodnod* That's how it's used, you can check to...

    *nodnod* That's how it's used, you can check to see if it is selected with:
    If List1.Item(X).Selected = True Then ...
    As was stated earlier. If you set the multiselect feature of the listbox you...
  8. Replies
    17
    Views
    759

    Ok: #1 Windows 2000 is far more stable than 98...

    Ok: #1 Windows 2000 is far more stable than 98 and can run alot of the same software without a hitch. I've played many games, including some old win95 games without a problem (the old dragon's lair...
  9. You'll need to get the distributed report...

    You'll need to get the distributed report software that comes with crystal reports 8 or higher, unless you want to write a specific report viewer that people download.
  10. Replies
    11
    Views
    951

    Hey, matthew, I'm a little confused by the...

    Hey, matthew, I'm a little confused by the GetSystemMenu api you posted. Will this keep the form from resizing? Could you explain your code? :)
  11. Replies
    1
    Views
    534

    If Dir(Text1.Text) "" Then MsgBox "It Exists!"...

    If Dir(Text1.Text) <> "" Then MsgBox "It Exists!"

    Second way requires the FileSystemObject from the Microsoft Scripting Runtime (reference it in Project/References)
    Dim FSO As New FileSystem...
  12. Replies
    25
    Views
    1,002

    Use the DateAdd Function (you'll have to look it...

    Use the DateAdd Function (you'll have to look it up, I *still* haven't gotten VB reinstalled here at work :() Set it to add the date from the two textboxes together. Then, in your label, put the...
  13. Replies
    17
    Views
    716

    Ah, so he had, my bad, Sorry Da_Silvy ;)

    Ah, so he had, my bad, Sorry Da_Silvy ;)
  14. Replies
    17
    Views
    716

    Well, you can simulate the DATA command and use...

    Well, you can simulate the DATA command and use split.
    Dim MyArray$()

    Data$ = "1,2,3,4,5,6,7,8,9,0"
    MyArray$ = Split(Data$, ",")

    You can also use other delimiters, of course. In old hat...
  15. Yep, a collection would be good as well ;)

    Yep, a collection would be good as well ;)
  16. Replies
    2
    Views
    365

    Trim removes spaces. To get the last 8 characters...

    Trim removes spaces. To get the last 8 characters of a string:
    LastEight$ = Right$(MyString$, 8)
  17. You actually won't need to worry about anything...

    You actually won't need to worry about anything outside of a single dimensional array. All you need to know is the actual number. Just write your code to recognize that 43 is the 5 of clubs.
    For X =...
  18. Replies
    11
    Views
    823

    Keep in mind that you do not need the *.* :D As...

    Keep in mind that you do not need the *.* :D As dir grabs all visible files in the specified directory, the *.* is just redundancy :)
  19. Replies
    6
    Views
    654

    I did? :D I was editing it to print and noticed...

    I did? :D I was editing it to print and noticed your post after I hit sumbit *lol*
  20. Replies
    2
    Views
    387

    If you're looking for something Akin to header...

    If you're looking for something Akin to header files, try placing your code in code modules instead of classes (I prefer classes myself). You don't have to declare objects to use the...
  21. Replies
    6
    Views
    654

    Wee! Same Ideas there ;)

    Wee! Same Ideas there ;)
  22. Replies
    6
    Views
    654

    Dim FF As Integer Dim strFile As String FF =...

    Dim FF As Integer
    Dim strFile As String

    FF = FreeFile()
    Open "C:\Temp.Txt" For Input As #FF
    strFile = Input$(LOF(FF), FF)
    Close #FF

    strFile = Replace(StrFile, "abdce", "abcde")
  23. My idea? use sprites for the baddies. Put the...

    My idea? use sprites for the baddies. Put the sprite in front of the movie. Then, you can detect when the mouse cursor is over the sprite and see if the player fires first.
  24. Replies
    12
    Views
    1,080

    Here's what you do: Place a frame on the page,...

    Here's what you do:
    Place a frame on the page, no border, no caption
    In the frame, place your picturebox
    along the side of the picturebox, place your scrollbar
    in the scrollbar_scroll event,...
  25. Replies
    2
    Views
    940

    That is correct. Backspace is actually chr$(8),...

    That is correct. Backspace is actually chr$(8), the chr$(27) is escape.
  26. Replies
    1
    Views
    376

    PHP. Though ASP is closer to VB, I don't really...

    PHP. Though ASP is closer to VB, I don't really like it. PHP is much smoother and refined.
  27. Replies
    8
    Views
    617

    You can cut down the code and not have to worry...

    You can cut down the code and not have to worry about adding vbCrLf (and looping through a hard disk file) by doing this:
    Dim strHelp As String
    Dim strHelpData As String
    Dim FF As Integer

    FF =...
  28. Replies
    2
    Views
    477

    To sort by year, put the year first. To make...

    To sort by year, put the year first.

    To make sure that you are deleting something that exists (the selection is not empty):
    If List1.Text <> "" Then List1.RemoveItem List1.ListIndex

    To Show...
  29. Replies
    8
    Views
    1,040

    Wee, this is going to be a fun project :) Have to...

    Wee, this is going to be a fun project :) Have to go back a ways hehehe We'll see what I come up with.
  30. Replies
    8
    Views
    1,040

    Post one or more of the programs and see if...

    Post one or more of the programs and see if anyone can create a converter :) I'd like to try my hand at it ;)
  31. Replies
    13
    Views
    637

    Hello, PlenderJ asked me over ;) I have...

    Hello, PlenderJ asked me over ;)

    I have actually used classes successfully in a multi-user environment and can say "yes, it can be done" but not quite the way you have it there ;)

    You'll create...
  32. Replies
    14
    Views
    619

    BTW: Just tested it and Mid$ can be used without...

    BTW: Just tested it and Mid$ can be used without a problem (outside of the last post) :D
  33. Replies
    14
    Views
    619

    Ah, my silliness. You can't use Mid in this...

    Ah, my silliness. You can't use Mid in this situation as it overwrites everything else :) You'll have to do:
    Dim iPos As Long
    Dim sTemp1 As String
    Dim sTemp2 As String

    iPos =...
  34. Replies
    14
    Views
    619

    Mid$ is a function Mid is a statement that...

    Mid$ is a function Mid is a statement that doesn't return anything :) I'm not even sure if Mid$ would work in this example ... What say you?
  35. Replies
    14
    Views
    619

    Well, technically, you don't need a whole new...

    Well, technically, you don't need a whole new method just for that. It could easily be:
    Mid(Text1.Text, Instr(1, Text1.Text, "Two") + 3) = "Three"
  36. Replies
    14
    Views
    619

    Mid(Text1.Text, Text1.SelStart) = "Three"There is...

    Mid(Text1.Text, Text1.SelStart) = "Three"There is one way, if you want to insert the word at the caret.
    Private Sub Command1_Click()
    InsertWord Text1.Text, "Three", Instr(1, Text1.Text, "Two")...
  37. Replies
    15
    Views
    1,010

    Could you possibly build one using the API? That...

    Could you possibly build one using the API? That way, you'd have the same one that the basic Windows system has.
  38. Replies
    15
    Views
    1,010

    Well, how utterly anal. You can get them for free...

    Well, how utterly anal. You can get them for free but you cannot redistribute them ... bleh.

    Idea: Make your own scrollbars or check out VBAccelerator or Common Controls Replacement Project.
  39. Replies
    15
    Views
    1,010

    *nod* It is in the common controls 2. However, it...

    *nod* It is in the common controls 2. However, it is extremely sluggish with it's response time. Other than that, it works. If you don't mind the blinking, you can always add the Form2 Object Library...
  40. Replies
    11
    Views
    835

    As has been stated MANY times, you need to put...

    As has been stated MANY times, you need to put your public variables in a MODULE (right click on your project explorer -- where all the forms are listed, select ADD/MODULE, select the default code...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width