That's a definite possibility. The list is for filenames that are searchable. I'm writing a very simple karaoke rotation utility that will launch a 3rd party karaoke viewer/player. I have over 30k files, so on the first population of the listbox (for general browsing) it tends to freeze for a few seconds.
For the time being, I have added a timer that resets every time the user types. Set it for 2 seconds, and when the timer ticks, it...
User Profile
Collapse
-
Fastest/Most Efficient way to repopulate a listbox?
I'm looking for a little bit of input on this topic. The scenario is this: I have a textbox which, using the _Changed event, searches a simple string array filled with filenames for a partial match. The find/search routine works well, but the biggest drawback I'm finding is the speed at which it takes to repopulate the listbox for the results. I'm dealing with a LOT of data (10k-20k entries) and would like anyone's input on how I might be able to... -
Code:Dim cnt As Long Dim i As Long For i = 0 To List1.ListCount - 1 If Trim(List1.List(i)) <> "" Then cnt = cnt + 1 Next ' cnt will return how many non-blank items; we'll just print for reference. Do what you need here. Debug.Print "Non-Blank Entries: " & CStr(cnt)
Leave a comment:
-
You should be able to use "GET remote_filename .ext local_filename. ext" if you're using the same Execute command. If you wish to save the local copy somewhere specific you just need to put it as (for example) "GET filename.ext C:\Path\where\y ou\save\filenam e.ext"Leave a comment:
-
BigPapaN0z replied to Windows Media Player cannot play the file because there is a problem with your soundin WindowsIf you recently reformatted, it's very possible you don't have the drivers for your soundcard installed. Try this:
Right click on My Computer, select Properties. Click the Hardware tab on top, then click Device Manager. You should see a long list of items (Computer, Disk Drives, Display Adapters, etc). Click the plus to the left of the "Sound, video and game controllers". Do you see anything listed such as AC97, Creative, Realtek?...Leave a comment:
-
Sorry about that, I shouldn't be assuming. :) I used the term "relativity " as in the positioning of the div. position: relative|absolu te|etc It's just a positioning CSS rule for layouts/divs/etc.
For more info: W3CLeave a comment:
-
In the markup, are you setting the relativity explicitly? Even though there are standards, I've run across issues with browsers not having the same "defaults" when it comes to CSS. If setting the relativity doesn't fix the problem, let us know and we'll figure this out together :)
One more thing, what versions of said browsers are you using? This can help out quite a bit when troubleshooting cross-browser issues.
...Leave a comment:
-
I'm assuming you are setting the variables for UserName, UserPassword and txtURLbox before calling the above code? (It may sound silly, but if the txtURLbox isn't set, it will always return the root directory since it is always null/blank.
Second, is the & txtNote.Text supposed to be commented out? Just curious.
It might help to post the code in it's entirety so we may see if the error is elsewhere.
Looking...Leave a comment:
-
While this isn't a fix, but rather a workaround, you might try keeping it a standard style and setting it to graphical via code after the form is loaded. Unfortunately, I have been unable to recreate the issue on my system and have never heard of this issue.
Please keep us updated on this, we're always here to help!
PS - Have you also updated VB6 with the latest service pack?Leave a comment:
-
This might sound kind of silly, but perhaps adding
Code:in Form_Load: DoEvents Me.Show
Leave a comment:
-
If you are able to add inline CSS within the template itself, you can add this to the <tr>:
Code:<tr style="visibility:hidden;">
Code:table tr {visibility:hidden;}
Leave a comment:
-
This normally happens if you have multiple controls with different versions (and possibly different/rewritten functions/subs) and also if you are trying to load a partial project/form. Ensure that you are loading the entire project for starters (or the project group, if that is the case) and go to Project > Components and also Project > References and ensure there are no missing dependencies.
If you are still having issues, please...Leave a comment:
-
Very happy that this was of help, jcb. I've run into the same problem before where you think it should be working but sometimes missing just one or two small points can make a world of difference. :)
I would ask if this helped you, make sure you choose the post that helped you so other users that search the website with similar problems know the answer that solved your issue.
Again, if you have any other problems/questions/comments,...Leave a comment:
-
It very well may be since the version that isn't loading and giving you the problem is different from the ones that are working fine. However, you normally don't have that issue with newer version (not saying it never happens) but it does happen.
I would recommend trying another computer with the same version as the one you're having issues with or try upgrading your flash player on one of the computers you're running an older version...Leave a comment:
-
Sure thing! The project contains 2 forms (frmImage, frmMain). frmImage has a picturebox (picImage) and frmMain has 2 option buttons in an array (optChoices).
No code in frmImage, copy and paste this in frmMain:
Code:' Used to preload and hold our images Private spicA As StdPicture Private spicB As StdPicture Private Sub Form_Load() ' Load the images for use Set spicA = LoadPicture(App.Path
Leave a comment:
-
The main thing you want to make sure is that the src is pointing to the movie. Normally it's case sensitive, and you'll also want to make sure the movie is in the same directory as the html file (since you didn't include a path).
Hopefully this will help narrow down any possible options. If it's still not working, feel free to give us more details so that we can get to the bottom of this with you. :)Leave a comment:
-
While I am unsure if Java has the capability to do so internally (I have no java experience other than installing and running apps) I believe the easiest way would be to check running processes (assuming you know what AV/Firewall the user should be running, or create a list of known AV/Firewall filenames to check if you do not) and then launching any missing processes.
However, this seems to be more of a problem that might be better...Leave a comment:
-
I would highly recommend installing a good antivirus (AVG and avast! are two popular AV programs that have free versions) and doing a full system scan, including removable drives.
However, if you're comfortable with the command prompt and doing things by hand, restart your computer in safe mode w/command prompt and try removing it by hand. However, from the sounds of what you've encountered, I doubt there is only one copy of said virus...Leave a comment:
-
Unfortunately, this is something that is handled per application and is not Windows specific. Although I haven't found an application to handle it, it is feasible that you could write a program that intercepts windows messages (WM_ constants for any programmers) and then act accordingly, but modifying someone else's program can cause unexpected results.
Hopefully this clarifies the subject a bit. If you need anything else, please let...Leave a comment:
-
Even if you do not like the deployment wizard, the easiest way to get all the required dependencies is use the wizard when you're done with the project. Afterwards, go to the folder where you build your project and look for the folder "Redist" and you will find all the needed files there. You can then put them where you're building your install (with whatever installer package you happen to be using) and link the files the deployment wizard...Leave a comment:
No activity results to display
Show More
Leave a comment: