These might be a good start:
http://www.codeproject.com/Articles/10042/The-Windows-Access-Control-Model-Part-1
http://www.installsetupconfig.com/win32programming/windowsfileapis4_12.html
Type: Posts; User: treddie
These might be a good start:
http://www.codeproject.com/Articles/10042/The-Windows-Access-Control-Model-Part-1
http://www.installsetupconfig.com/win32programming/windowsfileapis4_12.html
Found and tried this as well, but no go:
Both of the approaches in my posts execute without errors, but do not do anything noticeable. Which is interesting in that I would think the operations...
Hey all.
I have been researching this problem and am basically coming up empty. I need to do in code what Unlocker essentially does as an app...That is, remove a lock on a folder that has been...
Hey jmcilhinney, thanks for coming back.
I used them and loved 'em when they were applicable. In fact, this last port-over I did had them. They were simple and quick, just like vb6 could do...
That's true, but only in a limited sense. You cannot group together different TYPES of controls in the same control array. At any rate, it still shouldn't matter. vb.Net still could have had...
Well then, I can only chock that one up to inexperience. That IS a great feature.
I think I might remember that article. If we are talking about the same thing, it was from maybe 10 years...
Sorry for the delay in getting back. I'm totally slammed and will respond shortly.
Hey, formlesstree4,
Thanks for your response.
I respect your opinions, and here is my take on your thoughts.
Response1:
I somewhat agree with you in that statement. I have never...
Well, first off. Sorry for the rant. It was late, I was tired, and not in the mood to not be able to finish up a last bit of code before going to bed.
With that said, I still see things a...
This is why I so GD hate .Net.
Everything was working fine as I was working some code and then I get two types of error messages that are so Fing verbose they tell me nothing but that whoever...
Got it. Makes sense. Funny how this all came about. Asking about a capability based on an incorrect assumption about something I already knew about but forgot and ended up learning something new...
Then it sounds like a FileStream can be either in control of or subordinate to a writer and reader. A Writer or Reader assigns a FileStream, but a FileStream can assign StreamWriter/StreamReader...
Heheh. Age makes it worse. :)
Ok then, I understand. I wasn't aware of FileStream yet, just StreamWriter and StreamReader as separate entities.
Thanks everybody.
p.s. I must confess I was...
From what I have been experimenting with, it seems that StreamWriter is not "bidirectional" in that you cannot write to and read from a file using the same port. It seems that in order to read from...
I understand that is only because most programmers are not taking advantage of the CPU hardware's architecture and still thinking 32-bit on a platform that can do much more. They can get away with...
Sorry, I misunderstood you. I thought you meant that the WHOLE problem started from a form_load event, when I started from a button click. I see now that you mean the PARTICULAR issues that occur...
Right, you are. So .net on 64 bit = black hole, eh? I wonder if vs2008 can be run in compatability mode...Would certainly be a synch to find out.
No. It does sound like it though, since .net...
OK...This was part of the problem. According to MSDN, when a NumericUpDown control is set to a minimum, say, in this case, "1", then if afterwards, you set its current value to some variable that...
Good advice. I will definitely remember that one. Thanks for your help, Niya!
I checked that, but also when I recreated the control, .net recreated the sub line and all its parameters, including the handle.
Also, that temporary copy of some code I was storing in that dummy...
Please disregard my post. It is working now and I haven't the slightest idea why. I would have loved to post why, but if I knew why, I could post why!
The only thing I can gather is that I had a...
Well...I've Googled high and low on this one to no avail. All the posts referring to the event not firing have to do with entering text, not using the up/down arrows. The problem is simple...I have...
DoH!
I meant to put Boolean.
Ahh what the heck!...Who cares about memory management anyway! :)
OK then, I see what I did. I was thinking old school and declaring a variable separate from initializing it at the same time so that I could put it up there at the class level. So I did what you...
Sorry to bother everybody with this one.
Years ago, I remember running into this problem, but I have checked prior projects and my own tuts to find the solution and I can't find it.
The problem...
Thanks for the info everyone. I knew it had to be something simple.
(I posted this earlier but for some reason it didn't take.)
Hi all.
I was researching how to work with Unicode in a textbox and ran into one piece of code involving the function, SendMessageWLng(), as in:
The author did not post his declarations...
Yes, it can help prepare other newbies for the fact that installations are not a "one-click" proposition, even though MS could have gotten a lot closer to that ideal than they did.
Pretty crazy, in the least.
Thank you VERY much for your help with all of this, dilettante! You really helped me get a good start on working with installations. I wish I could give you a great...
OK, now I'm just frustrated. IT WORKS NOW! But why?! It seems that something is wrong in VSI...I tell it to do something and if I set it up correctly the first time and don't change anything, it...
I saw that article too, and went through the font table and found that everything was OK. The entries were there and the version number was written correctly, too.
Found this interesting tidbit...
Could not get past the permissions fiasco thing, so I restarted my VSI install project from scratch, and the errors are gone now. I must have jacked up the script due to Pathonewbieosis.
But font...
Sorry...By "system" I meant files that go into the system32 or sysWOW64 folder if they aren't there already.
I saw that article yesterday and I couldn't understand how VSI could not see that the...
HA! I spoke too soon. I made the awful assumption that since I already had done a good install with PDW on the two XP machines that that would somehow equate to successful install using VSI. ...
Got word back from my brother that the Win7 Netbook finally installed fine, following your guidelines and the available KBs. It now installs fine on 3 Win7 machines and two XP machines. I am going...
OK, that makes total sense. I was scratching my head thinking the reverse!
Well, my experience with one 3rd party setup is that it goes and replaces it regardless and then all kinds of "fun"...
Then I was misunderstanding earlier...The idea is NOT to overwrite a newer version of a file with an older one, but only to provide a very early one if it does not exist to begin with?
Man, so many questions, so few answers from MS KBs.
If , for instance, we use a very early version of richtx32.ocx, then that means that it can overwrite a pre-existing LATER version in SysWOW64. ...
But when I use Dependency Walker I find that it lists a bunch of dependencies that are different than what is in one ocx. For instance, if I check out comdlg32.ocx, the .dep file says there is only...
Thanks, Joacim!
dilettante,
The part about building one's own .dep files seems impossible unless there is some way to "launch" a dll and see what other dll's it tries to communicate with. I have...