Search:
Type: Posts; User: ExcalibursZone
Search:
Search took 0.63 seconds.
-
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...
-
*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...
-
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...
-
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.
-
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"...
-
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.
-
*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...
-
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...
-
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.
-
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? :)
-
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...
-
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...
-
Ah, so he had, my bad, Sorry Da_Silvy ;)
-
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...
-
Yep, a collection would be good as well ;)
-
Trim removes spaces. To get the last 8 characters of a string:
LastEight$ = Right$(MyString$, 8)
-
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 =...
-
Keep in mind that you do not need the *.* :D As dir grabs all visible files in the specified directory, the *.* is just redundancy :)
-
I did? :D I was editing it to print and noticed your post after I hit sumbit *lol*
-
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...
-
-
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")
-
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.
-
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,...
-
That is correct. Backspace is actually chr$(8), the chr$(27) is escape.
-
PHP. Though ASP is closer to VB, I don't really like it. PHP is much smoother and refined.
-
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 =...
-
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...
-
Wee, this is going to be a fun project :) Have to go back a ways hehehe We'll see what I come up with.
-
Post one or more of the programs and see if anyone can create a converter :) I'd like to try my hand at it ;)
-
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...
-
BTW: Just tested it and Mid$ can be used without a problem (outside of the last post) :D
-
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 =...
-
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?
-
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"
-
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")...
-
Could you possibly build one using the API? That way, you'd have the same one that the basic Windows system has.
-
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.
-
*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...
-
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...
|
Click Here to Expand Forum to Full Width
|