Type: Posts; User: mrgr8avill
Search took 0.01 seconds.
September 9th, 2012, 06:32 AM
idk about responding to them, but you can generally avoid having them pop up in the first place when using interop with:
oWord = new Word.Application();
September 9th, 2012, 06:27 AM
We can help you if you ask a more specific question. Try posting your code. You are attempting something pretty advanced for your first project.While we all encourage learning, you might try...
September 9th, 2012, 06:13 AM
Here is an example of pen drawing on a picturebox (PictureBox1) that continues to collect points:
Queue<Point> points = new Queue<Point>();
Point lastPoint = new Point(0, 0);
September 9th, 2012, 05:11 AM
It is difficult to tell from the information you provided, but it sounds like your main UI thread is too busy updating the bitmap to capture mouse movement points (it can only do one thing at a...
September 9th, 2012, 05:00 AM
I'm unable to replicate the problem you're having - could you post your code and I'll see what I can do directly?
September 5th, 2012, 04:13 PM
Ger - BeginInvoke is kind of the poor man's way of acting ont he main (form) thread from other threads without causing the processor to get *****y about trying to do two things at once. Sounds like...
September 1st, 2012, 07:12 AM
It depends on the type of data you are storing. Dictionary data, with key/value pairs, offers the easiest way to look up a value - but that ease is really only valuable if the data should be stored...
August 31st, 2012, 12:25 PM
Wow, Arjay - now I know why you're a 3,000+ rep - I can't believe you got all of that from the OP. I was cnfused as h-e-double hockey sticks but just trying to throw anything helpful because the...
August 31st, 2012, 12:09 PM
Oh yeah - sorry I missed the update about running as a service. It's not pretty, but you could go the old-fashioned way and run as a forms app launched by the Task Scheduler. I know that's really...
August 31st, 2012, 09:15 AM
High on mount Enum, I hear there is an Imam that is granting the title of "Guru." The Method of getting there is difficult, and you cannot send a Delegate. Once there, you must Construct your own...
August 31st, 2012, 08:59 AM
No offense at all meant here, but your question is a lot like "I want to buy a new car - it needs to have at least two doors and four wheels and an engine." You could buy a Kia or something that...
August 31st, 2012, 08:46 AM
It is funny that you think working at home (on your own) will solve your problem of being under-compensated. When you run your own business, you have to do paperwork, taxes, accounting, invoicing,...
August 31st, 2012, 08:40 AM
Yes. I fyou are on a salaried position (rather than on an hourly), there is no overtime commitment in most cases. Many salaried people I know work 70+ hours a week and some work 90+ hours many weeks...
August 31st, 2012, 08:34 AM
Uggh. It may come down to using two different classes to get what you need, or maybe adding a forms app to your project just to be able to use Windows.Forms.Screen class accurately & return the...
August 31st, 2012, 08:20 AM
In order to get a flash effect, you need to put a delay in the code, and the delay has to be run on another thread (or the form will not update). Psuedocode:
//add reference to class
August 30th, 2012, 01:33 PM
It's getting really bad - so bad I gave up even trying to search for this topic before posting. Many times, site is offline, and when it is up, extremely long codebehind processing times and...
August 30th, 2012, 01:31 PM
Yeah, you could use constants to create the dynamic equivalent of enums, but that would get complicated. Maybe a single generic "addon" superclass that contains fields to describe/manage the basics...
August 30th, 2012, 01:07 PM
I'd think you'd have to bring up a form for the login, unless that's being handled by the component. Either way, the logic would be the same:
1) Set a boolean to true when the container is firt...
August 30th, 2012, 06:58 AM
Your question is very general and difficult to answer or even comment on without a lot more information about what you're trying to do. From what you've posted, I don't see need for classes for the...
August 30th, 2012, 06:49 AM
That information is in the registry, HKLM-->System-->CurrentControlSet-->Enum-->Display
Check out Microsoft.Win32.Registry.GetValue() for more information. Good luck!
August 30th, 2012, 06:43 AM
Is i global in scope or contained within the same method as the linq query?
August 30th, 2012, 06:38 AM
Wow. That is an extremely ambitious project that you, Google, and about 15 years' experience should be able to tackle without a problem. For "code snippets," try Google:
August 29th, 2012, 08:32 PM
Can you source the image in vector format? First question/best solution for export to PDF.
August 29th, 2012, 08:08 AM
Without looking at your code, I hear code execution was returning to the "wrong" place. If you don't want code to run where execution returns after the timer resets, just use a boolean like "bool...
August 28th, 2012, 02:40 PM
Once you get all that done, repost your code and I'll help if you still have problems.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.