I find it kinda sad, that people always seem to forget that all items in a Listview are Strings!
The moment you add the currency symbol before showing the value in the ListView you're changing it...
Type: Posts; User: Zvoni
I find it kinda sad, that people always seem to forget that all items in a Listview are Strings!
The moment you add the currency symbol before showing the value in the ListView you're changing it...
Is it just me, or is he trying to include the currency-symbol in the SQL-Update?
Have fun: http://stackoverflow.com/questions/7386730/shell-process-standard-output-reading-in-visual-basic-6
I would be intersted if someone did a performance-test on Mark's and "my" solution (better said: Credit's for the Code go to Bruce McKinney, i just added the part to catch the separators. I've...
I couldn't resist :bigyello:
I'm pretty sure a lot of people see the usage in parsing Command-Line-Arguments
Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination...
hmmm....sounds like it's corrupted or something
here are some links i found
http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/21935021-1dc7-445b-a829-b02489009aab/...
There are more than just the one obvious mistake. I've corrected it
If InStr(List2.List(j), List1.list(i)) Then
The other way around: You coded your original program on Win7, which uses IE9, and then you moved your code/program to a machine using IE7, so there might be some differences (and i'm pretty sure...
He doesn't want to sort, but to filter!
So the code i found worked?
Yes, but instead of "private" declare it "public"
It's the position of the menu with 0 being the first, like in this example:
0 - File
1 - Edit
2 - View
3 - Extras
4 - Help
and so on.....
The chapter is basically a discussion about parsing strings (what you're trying to do here). The mentioned source-files contain a ready-to-use solution to your problem, but since it's not my code i...
opens fine for me. you must have Java enabled for that page.
EDIT: If you can't find the mentioned source-files, i can post the relevant code here, but i want an OK from the Moderators of this...
Kind of reminds me that he's trying to do something like this here: http://vb.mvps.org/hardcore/
Look at Chapter 5 - "Code Review"
I just happen to have the mentioned source-code-files...
Your error is the GetMenu-Line. You have to leave that one as it is in the sample.
I've marked something red in the code. This is where you have to select which menu to change with 0 being the...
I'd do it somewhere along these lines
Step 1: During your loop through the file read each line into a string.
Use the Split-Function on this string with comma as separator (resulting array called...
... or you just have to search for the correct words.
Look at Post #3
http://forums.codeguru.com/showthread.php?21912-align-menu-to-the-right
private Declare Function GetMenu Lib "user32"...
Yepp, no IE9/10 on XP as far as i know
Dilettante, whooops! You're right, of course.
Sorry for the confusion.
I'd rather put the processing code into an activex-dll, since that one gets its own thread from windows
Tg, thanks! Now i've understood your reference to "Z".
which brings us back to the select case from the original post where something like you described cannot happen if you insert a "new" case
Sam, if strFundingType is "C" there is no sense in checking if it's not "W" or "N", therefore ElseIf, but i have to admit i didn't understand tg's reference "Z" :-)
EDIT: there is a mistake in...
tg, i just wanted to point out the solution to doogle's objection, but as you can see from my own post/code-sample i'd also still choose the select case.
and you're right: elseif would be the right...
Like in the other thread: look up activex-dll/exe. Set a reference in your 1st app to the second app. Clicking on a button in your 1st app calls a public method of your public class in your 2nd app,...
LOL no, nothing like that. I really am in my prolonged weekend now.
as for starters: COM-servers need public classes with public events, methods and properties, which you can then access from your...
Sorry, JM, but i have to leave that for someone else, since i'm out of office as of now (on my ipad right now), and i'm preparing for a 4-day trip to an Open-Air-festival (Iron Maiden headliner), so...
You can either incorporate something like a timer in your 2nd app to prevent it firing realtime events, or you could do it the way RB told you, again with a timer in your 1st app.
DDE is officialy...
Not familiar with gcc.exe, but isn't there a space missing between strEXEFilename and strCPPFontename?
strEXEFilename & strCPPFontename
something else: i'm pretty sure that shellexecute is the...
Sounds like the usual "must-be-filled" validation. I always do it in the way, that as long as the "must"-data is not filled, the user cannot click on "next"
I would probably code the 2nd app as a COM-server (activex-dll or activex-exe). In that case you just have to set a reference to the 2nd app in your 1st app, and the 2nd becomes an object you can use...
Not if he turns on the Error-Handler. Then in Case of Null strFunding would stay blank
On Error Resume Next
strFunding = rsProductsRiders!Status
If strFundingType = "C" Then strFundingType =...
I make it dependent on the complexity what should happen if a case is true.
If it's something simple like just assigning a value to a variable (like in this code-snippet), i do it the way i...
I know that, but for some reason i dislike it.
I always write each case in its own line for better readability, even if it means i have duplicate code *shrug*
btw: Is there a difference in...
Nope, it's not just you.
Here's my version.
Select Case (rsProductsRiders!Status)
Case "W"
strFundingType = "W"
Here is something similiar: http://www.vbforums.com/showthread.php?691623-How-to-create-folder-and-subfolder-structure-using-list-in-excel
Check out the API in the last post. If the path exists, the...
I would offer you some cough drops.....
http://social.msdn.microsoft.com/Forums/en-US/vbide/thread/1bf46245-4696-44f0-ab36-5fb51cb546cd/
Or he could just enumrate all processes and look for gcc.exe
Is it just me, or is he running into an endless loop the moment the If-clause returns true?