Click here to Skip to main content
15,898,588 members

Comments by navyjax2 (Top 13 by date)

navyjax2 2-Sep-21 16:45pm View    
"Product.GetProduct()" calls a function in the Product controller called "GetProduct()" that you would need to build that returns a model of the Product table to "product" from the database, given a productID that is passed in.
navyjax2 18-Oct-17 19:01pm View    
Oh, never mind. I had to run the Command Prompt as an Administrator to see it.
navyjax2 18-Oct-17 18:56pm View    
I don't think this command is accurate at all. If I look in Control Panel > Administrative Tools > Local Security Policy, then look under Security Settings > Local Policies > User Rights Assignment, the "Impersonate a client after authentication", which would be the Description value for SeImpersonatePrivilege, has the local Administrators group there, and my domain account is in the Administrators group, but I do not see that privilege listed for me (I see only what you have posted, above). I have been able to run code to impersonate users. So something's amiss.
navyjax2 16-Oct-17 15:03pm View    
That will only write a file that's 1 KB or less. Needs a "while" loop, like Solution 2.
navyjax2 14-Dec-16 11:26am View    
@Mehdi and others, And I know I'm late to the party, but I think I need to remind my fellow developers that saying things like "use intellisense more" won't always help someone. I think he saw in there how he couldn't use Tick, or he wouldn't've posted the question. That doesn't mean you automatically, by osmosis or derivation, can somehow automatically know what selection in the intellisense is the actual, correct event. When I saw "Elapsed" the first time, I thought it was a way to set that the Timer had reached its interval, manually, not as a way to make it actually do its work that it would normally do with each interval, like Tick does. Don't assume everyone thinks like or knows as much or can deduce as well as you can. Yes, he could've gone to MSDN to look up what he had, but it doesn't always register that something should be "it" and there are usually a ton of different properties and events to work with, and searching on MSDN could always yield to you the wrong Timer for your project, since they have 3 of them (System.Windows.Forms, System.Threading, System.Timers).