15,908,020 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 11971472 (Top 18 by date)
Member 11971472
9-Sep-19 6:15am
View
private void PrintScreen()
{
Bitmap printscreen = new Bitmap(System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
Graphics graphics = Graphics.FromImage(printscreen as System.Drawing.Image);
graphics.CopyFromScreen(0, 0, 0, 0, printscreen.Size);
printscreen.Save(@"C:\Temp\printscreen.jpg", ImageFormat.Jpeg);
using (var pd = new PrintDialog())
{
pd.PrinterSettings.PrinterName = "FOLLOWME-FARVE";
var info = new System.Diagnostics.ProcessStartInfo()
{
Verb = "print",
FileName = @"C:\Temp\printscreen.jpg",
};
Process.Start(info);
}
}
Member 11971472
26-Aug-16 4:12am
View
Jochen thanks. can I find example code somewhere if I wish to backup running config on a network switch? I would like to setup the job to run once every day.
Member 11971472
26-Aug-16 4:11am
View
yes network switches primarily hp and Cisco switches.
Member 11971472
29-Jan-16 8:44am
View
Can anyone provide me with some code for this? Can the Windows Username be used, so they do not need to enter the login details twice. They login when they start the day pc each day.
Then when the website is entered a query to AD should be made for the user so users belonging to department sales only can see the sales dropdown item.
I appreciate all the help I can get with code.
Member 11971472
16-Nov-15 3:59am
View
And how would I do that?
Member 11971472
9-Oct-15 6:34am
View
Thanks for the help. I made it in an updatepanel instead, but will mark your response as solution.
Member 11971472
7-Oct-15 5:20am
View
Finally found the issue. Thanks a lot for the help!
Member 11971472
7-Oct-15 4:10am
View
Or can I instead somehow use the button tooltip. When you roll over the button it will show a certain image in the image.imageurl?
Member 11971472
7-Oct-15 3:06am
View
when debuggin the javascript is never hit
Member 11971472
7-Oct-15 2:51am
View
no but nothing showing
Member 11971472
7-Oct-15 2:12am
View
I did and nothing happens.
Member 11971472
6-Oct-15 9:58am
View
Thanks for all answers. Would like to use this solution, but where do I put the C# code on the webform?
Thanks for helping me out
Member 11971472
6-Oct-15 8:56am
View
I would like to make a button rollover to show an image and not image rollover.
Member 11971472
16-Sep-15 9:16am
View
Process p = new Process();
p.StartInfo.FileName = "iexplore.exe";
p.StartInfo.Arguments = "http:\\\\www.google.com";
p.Start();
Member 11971472
16-Sep-15 7:51am
View
Thanks for your replies unfortunately nothing I can use.
Member 11971472
15-Sep-15 4:03am
View
what is the code for having the link open in IE?
Member 11971472
14-Sep-15 6:47am
View
Let me give an example.
I open a website in Google Chrome. I have a link on that site to http://www.jp.dk, but would like to open this link in Internet Explorer is that possible.?
Member 11971472
10-Sep-15 6:30am
View
It is a matter of helping the users.
Some of the links they use in their daily job will only work in Firefox
Others will work fine in Chrome.
I am making a link portal where the users have to use these links and if one of the links will work best in Internet Explorer it does not help the users that it is opening in Chrome.
You are saying there is nothing I can do about that?
Show More