TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Researcher
1.7k
23
686
RDP Viewer Blank When Host is Minimized
Apr 29 2021 5:08 AM
I am using Windows Remote Assistance to Access remote pc. Whenever the Shared screen on Source(Host) side is minimized the Client(Viewer) will have blank screen. Both Host and Viewer in Windows server 2012 r2 .
I have also tried below .NET code for remote share.
Host code:
namespace
ScrS_server_ {
public
partial
class
Form1: Form {
RDPSession x =
new
RDPSession();
private
void
Incoming(
object
Guest) {
IRDPSRAPIAttendee MyGuest = (IRDPSRAPIAttendee) Guest;
//???
MyGuest.ControlLevel = CTRL_LEVEL.CTRL_LEVEL_INTERACTIVE;
}
private
void
button1_Click(
object
sender, EventArgs e) {
x.OnAttendeeConnected += Incoming;
x.Open();
}
private
void
button2_Click(
object
sender, EventArgs e) {
IRDPSRAPIInvitation Invitation = x.Invitations.CreateInvitation(
"Trial"
,
"MyGroup"
,
""
, 10);
textBox1.Text = Invitation.ConnectionString;
}
private
void
button3_Click(
object
sender, EventArgs e) {
x.Close();
x =
null
;
}
}
}
Viewer code:
namespace
ScrS_viewer_ {
public
partial
class
Form1: Form {
private
void
button1_Click(
object
sender, EventArgs e) {
string
Invitation = textBox1.Text;
// "";//
Interaction.InputBox(
"Insert Invitation ConnectionString"
,
"Attention"
);
axRDPViewer1.Connect(Invitation,
"User1"
,
""
);
}
private
void
button2_Click(
object
sender, EventArgs e) {
axRDPViewer1.Disconnect();
}
private
void
Form1_Load(
object
sender, EventArgs e) {
panel1.Height = Screen.PrimaryScreen.Bounds.Height - 100;
}
}
}
Code reference :https://www.c-sharpcorner.com/uploadfile/ulricht/how-to-create-a-simple-screen-sharing-application-in-C-Sharp/
Even this have same issue, but error occurs randomly.
I have tried :
1.Registry changes mentioned in this link (https://sahipro.com/docs/faq/remote-desktop-connection.html),but it didn't help.
2.Tried Run as admin didn't help
How to solve this issue?
Reply
Answers (
2
)
What are some good programming programs on the iPad?
Print multiple pages pdf itextsharp C#