Take A Printscreen At Application When A Msgbox?

Feb 9, 2009

i want to take a printscreen at my application when a msgbox it's in foreground..When the programs get into a catch block, i display a msgbox with the error to the user, and the user must click yes or no to send the info to the database..BUt to send the info to the database i need to take a printscreen to the error message with all info of what the user was doing in my program...

If i use a different thread to show the messagebox i only get the image of the messagebox, if i use the same thread i can't take the picture (if i can i don't know how).So i need some help to take a picture to the messagebox with my program in background and then wait for user response to the messagebox.

View 10 Replies


ADVERTISEMENT

API / Something To Use Similar To PrintScreen?

Jun 7, 2009

Is there an API or something I can use similar to PrintScreen?

I want to be able to select everything inside of a panel and then print it.

View 6 Replies

Save The PrintScreen Using .Net?

Sep 6, 2010

I have one button.when i click that button , Take the PrintScreen and Save it in My Database.I use the Below Codings.

[Code]...

View 4 Replies

Display MsgBox But Continue Application?

Apr 13, 2012

I have this For Next Loop with a Delay that runs but it stops running till I hit OK on the MsgBox. what is the best way to do a task x times with x delay but not wait for MsgBox. [code]...

View 9 Replies

Possible To Have A Msgbox Without A Button On It In A Console Application

May 25, 2011

Is it possible to have a Msgbox without a button on it in a console application. I would like to have a msgbox pop up and then disappear when the task has been completed. Or could I send the msgboxresult to some form of window that would just disappear when the file has been written? [code]

View 2 Replies

Panic Button Application MsgBox Error

Jul 13, 2011

A friend of mine has requested my assistance in making a "panic button" application where you place the directory, click a button and boom. Directory deleted. You might assume this may not be the most legal application. I have already figured out how to delete directories due to this MSDN post. My code is near the exact same.

My problem is, I want to make sure the button is fully intentional. So I added a MsgBox with Yes, No, and Cancel. As you can see below:

[Code]...

View 8 Replies

Thread Msgbox Application Modal Not Working

Jul 26, 2011

I have a background thread that checks software updates available and few other things. If there is an update it shows a msgbox do you want to update. Since this is in another thread its not being application modal. I can still use form screen enter text to textboxes.I thougth of moving the msgbox out side the thread but then i need to do some amount changes in my code.

View 2 Replies

Use Of Server Side MsgBox Is Wrong In Web Application?

May 9, 2012

I have a web application based on vb.net.I used MsgBox() in my MYPage.aspx.vb where my expectation is that the user on client should click on a button and based on it I would process further.But I heard a suggestion the MsgBox() is working fine in my code cause on developer machine(my dev box) webserver is running locally. This does not work on a remote web server or in any hosted environment outside of a local server.

View 2 Replies

Windows - Block MsgBox From External Application?

Oct 7, 2010

Is there a way to intercept a MsgBox() from an external application and block it using VB.Net?

For this discussion, let's say the MsgBox Title is "SQL Application" and the Message is "SQL Error - Try Again".

I have found some examples of looking for the MsgBox to pop-up (by watching for the Window title) and then sending key(s) to press OK, but I was curious if the whole process could be avoided. Otherwise, the user still sees a MsgBox or a "flash", even if it's only temporary.

View 1 Replies

.net - Window Screen Capture (ALT+PRINTSCREEN)

Apr 1, 2010

I found that code somewhere and I find it quite useful but I would like to find a way to make it work so it capture only the given window target. Maybe with a processID or Window Name. Even if that window is not active. I do not want to make that window active but want to get a screen capture like if I was doing Alt+PrintScreen on it.

[Code]....

View 1 Replies

Make Trigger Printscreen Action Like It Normally Would?

Sep 6, 2009

I am attempting to send the PrintScreen key, obviously, which ought to work no matter the window it is focused on. How can I make this trigger the printscreen action like it normally would? This is in VB.net. I have googled this, and couldn't find any results that worked.

View 1 Replies

Msgbox Capabilities - Msgbox Cleared Without Having The User Do It Manually?

Nov 15, 2011

if its possible to have a msgbox cleared without having the user do it manually? what would be my best option here?

View 8 Replies

Console Application / MsgBox While Looping Without Interrupting Loop

Jul 19, 2009

Im working on a console application, and i need my application to open message boxes without stopping/interupting/pausing the loop. I have been trying to make it open another application which spawns the messageboxes, but then every message box comsumes ~4MB RAM which becomes a problem when to many gets opened.

View 12 Replies

Pressing PrintScreen To Input Image Into PictureBox?

Aug 28, 2010

I am making a program to automatically save screen shots that I take, and I am having trouble with one part so far.The code to make it input the picture into the PictureBox1 after you press Print Screen on your keyboard, does not seem to work, no image ends up into the PictureBox.

Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
If e.KeyValue = Keys.PrintScreen Then
Dim bounds As Rectangle

[code]....

View 11 Replies

VS 2010 Detecting PrintScreen (PrtScn) Keypress?

May 13, 2011

I'm trying to detect the Printscreen keypress with the use of a timer. I can't useform1_keyup/down as the focus isn't always on the form.

View 4 Replies

Printscreen My Screen That Can Be Saved In Gif / Jpeg Format Locally In Program?

Aug 26, 2010

How can I printscreen my screen that can be saved in gif or jpeg format locally in VB.net

View 1 Replies

MsgBox("") - Unable To Popup Msgbox If Count=0

Jun 22, 2010

I am unable to popup msgbox if count=0. It will work only if i use MsgBox(""). I am unable to understand how it has anything to do with msgbox("")

Private Sub txtstaffID_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtstaffID.TextChanged
Dim conn As SqlClient.SqlConnection

[CODE]...

Both IF and Elseif code executes but the problem is the msgbox won't popup in both the cases( i.e when IF executes and when Elseif executes) unless and untill i have a msgbox("") before da.Fill(dt)

View 3 Replies

Show The First MsgBox If The NewEntryName.text - Show The Second MsgBox If Openfiledialog1 = Nothing

Jun 17, 2012

If NewEntryName.Text = "" And OpenFileDialog1.FileName = Nothing Then MsgBox("Please choose a name for your game.", vbExclamation) MsgBox("Please find your game.", vbExclamation) Else Button1.Text = NewEntryName.Text game1 = True Panel1.Visible = False End If

I want it to show the first MsgBox if the NewEntryName.text = "" and I want it to show the second MsgBox if openfiledialog1 = nothing... how do I do it?

View 1 Replies

Asp.net - MsgBox Is Not Displaying The Right Value?

May 27, 2010

I have a DropDownList, and when SelectedIndex is changed any event is triggered.

I'm putting on it for exemple msgbox, but it's not working.

What's the problem ? EDIT;

now that's working after doing AutoPostBack = True.I did this, but i't giving me always '0' as result

Protected Sub VD_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs)MsgBox D.SelectedIndex End Sub

View 2 Replies

Changing The Name Of A Msgbox?

Apr 11, 2012

I am useing msgboxes but have run it to a problem when they pop up the name on them is the name I have saved my project has but I need a diffrent name

View 5 Replies

Create A Msgbox At 9:00 AM?

Mar 2, 2009

How do I daily create a msgbox at 9:00 AM?

View 8 Replies

Customizing The MsgBox?

Aug 4, 2010

I am making an auto typer and I have a question about customizing the MsgBox. I need it to say "There will be an interval of 10 seconds before it starts" and there needs to be two buttons at the bottom, "Continue" and "Cancel".

View 5 Replies

Display ID In MsgBox()?

Nov 15, 2011

I have pulled some records in DataGridView from database. Now I want that when I select some rows from DataGridView and click on command button, ID's of all selected rows should be displayed through message box. By using followng code I am able to display ID but problem is, "When I select multiple rows and click on Button, msgbox shows only the ID of later selected row, I'm using Visual Basic for Windows Form.

Private Sub btnUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpdate.Click
For i = 1 To DataGridViewIU68E.SelectedRows.Count

[Code].....

View 1 Replies

Getting The Keyed In Value In MsgBox?

Apr 17, 2010

I am using the following Integer Validation on my TextBox5, but the problem is i am not getting the keyed in value in MsgBox.

Private Sub TextBox5_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox5.KeyPress
If (e.KeyChar < "0" OrElse e.KeyChar > "9") AndAlso e.KeyChar <> ControlChars.Back Then
e.Handled = True

[code]....

View 3 Replies

Have Msgbox In New Location?

May 26, 2009

Is it possible to have a msgbox show in a location defined by me?, or do i have to create my own msgbox form for such.

View 2 Replies

How To Set 'NO' As Default In A Msgbox

Aug 28, 2009

I would like to set NO as my default for my Mdsgbox:

Code :
Dim resp As String
resp = MsgBox("Do you want to go to the main menu", MsgBoxStyle.YesNo, "main menu?")

[code]......

View 18 Replies

Msgbox Returning A Value?

Jun 22, 2010

I am creating a message box in VB8 for an error. I created the message box and everything works. The message box returns a value of 0 which is the default one. Where does it return 0 to. Or do you have to tell it where to return it.

View 2 Replies

Set 'NO' As Default In A Msgbox?

Aug 16, 2010

I would like to set NO as my default for my Mdsgbox:

Code :

Dim resp As String
resp = MsgBox("Do you want to go to the main menu", MsgBoxStyle.YesNo, "main menu?") If resp = vbNo Then Exit Sub End If

As of now "YES" is set as default by vb.

View 4 Replies

Use New Line In Msgbox()?

Mar 1, 2011

What is alternate to (for new line) in VB msgbox()?

View 6 Replies

VS 2005 Msgbox Did Not Appear

Jul 16, 2009

I did the following code,it worked great but the msgbox did not appear

[Code]...

View 17 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved