API / Something To Use Similar To PrintScreen?
Jun 7, 2009Is 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.
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.
I have one button.when i click that button , Take the PrintScreen and Save it in My Database.I use the Below Codings.
[Code]...
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.
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]....
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 RepliesI 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]....
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 RepliesHow can I printscreen my screen that can be saved in gif or jpeg format locally in VB.net
View 1 RepliesI know how to check whether an item exists in a list using (MyList.Contains), But I do not know how to check the whole list. For example (use one button and one richtextbox):
[Code]...
Also, if they are so similar then why do they exist separately?
View 3 RepliesI've two BGW with similar coding but different approach, My second BGW shows me "NOT RESPONDING" whenever i try move/click/focus to form while the BGW is running.
VB
RichTextBox2.AppendText("Some Text")
process2.ReportProgress(inc)
My.Computer.Network.DownloadFile(andpic, "pics/" & spliti(0) & nnum & ".png")
My.Computer.Network.UploadFile("pics/" & spliti(0) & nnum & ".png", "ftp://ftp.mywebsite.com/domains/mywebsite/public_html/Pics/" & spliti(0) & nnum & ".png", "users", "password")
WebBrowser1.Navigate("Mywebsite")
I've taken out number of things that i think is causing this error Are they the cause of "NOT RESPONDING" ?
I have a web site where users enter company names to use in the rest of the app. However, recently I've noticed that similar duplicates are appearing, e.g. someone will enter EastTec Solicitors another will enter EastTec Solicitors Ltd someone else will enter EastTec Solictors (missed the i out in Solicitors), when there should only be one entry of EastTec Solicitors. What is the best way of checking the database for entries similar to what they have entered? How would you about checking for spelling mistakes as well like the Solicitors one?
View 7 RepliesWhat is a good way to do networking? I tried this example, but it did not work. [URL]
how to connect two computers similar to how you would with Winsock. Also, I would like to be able to send an image, but I can figure that out later.
What I need to do is be able to enumerate pretty much all hWnds and locate any TextBox (outside of my program) and get information about it (eg: Name if any, text in it, etc).
[Code]...
I'm developing a program that is similar to ATM but I can not keep track of various clients so that each may have their account
View 7 RepliesI've been using the 2006 SerialCommChat program to do my programming functions.This only has CommPort availability and I'm needing both Commport and what I guess they call a Virtual Port known as the USB Ports.
View 5 RepliesI'm trying to create an enumerable class, similar to System.Drawing.Color - My goal is to have places in the code where I can define a variable as the type of my structure, then be presented a list of static values to pick from.I'd also like to use this for a property of a UserControl.I don't know if I'm using the right setup here with the class, structure, etc.I'm just trying to mimic the Drawing.Color class.I'm creating a Public Class called Person.Inside it, I have two Public ReadOnly Properties for Name and Age, their corresponding Members, and a Constructor to create a new Person.Second, I have a Structure called Persons and it has two ReadOnly Properties: Billy and Sally.[code]In my attempt, I get the full freaking .net class library in my intellisense list. Using Drawing.Color, I get a nice pre-defined list of values to pick from.No extra methods.No constructors.Just values.
View 16 RepliesIn VB.NET, I am trying to talk to a webservice (that can't be changed) to create and update customer data.The CreateCustomer service expects an object of type ConsumerPerson and the ChangeCustomer service expects an object of type ChangeData.The properties of these two object are exactly the same, so I thought it would be wise to just set the properties using one single function.
View 5 RepliesIn Visual Basic I used to use the Mid function to loop through a string and examine each character, i.e. like this:
[Code]...
Question is, how would I go about doing something similar using Java?
I want similar coding for treeview, where for linklabel is as follows.
Private Sub LinkLabel8_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles LinkLabel8.LinkClicked
WebBrowser1.Navigate(Application.StartupPath & "\source\test.html\")
[code].....
I've looked around and I haven't found anything that fits my needs.I wish for the program to be able to intercept the Win32 (?) messages that are being sent to my own application, which is written in Visual Basic.As a side note, is "intercept the Win32 messages" the correct phrasing?Either way, an elaboration won't hurt; I wish for the spy tool to intercept the same messages that I would programmatically intercept with WndProc, i.e: the SendMessages and PostMessages.
I wish to make it clear that I am not seeking a program that intercepts the .NET framework events.
Edits:I can see my window and the handles of its child controls, but I do not receive any messages.I am using Windows 7 64 bit.My Spy++ version is 8.00.50727 Semi-solved; I have got a Spy++ alternative ([Window Detective][1]) to work on my virtual machine, which I am most certainly happy with, and would definitely not mind settling for. Although I am still wondering why all the "spy-like" programs I found did not work on my "main" PC... but I guess I needn't care.
Like my computer have 3 image, and this is the location of these 3 image:
C:/A.jpg
C:/B.jpg
D:/C.jpg
And this is the 3 image preview: now if we use eye common sense, we will saw that A.jpg is similar with C.jpg (just think that C.jpg is not animated) But now if i use VB.net to find the for the similar image, how can this be? (just like the searching function on computer but this is searching for similar images, and also what google images does (google image have a function that search for similar images))
I have two classes:
Public Class Subscribing
Private _subscribingObjects As IList(Of String)
Public Sub Add(ByVal obj As SubscribeObject)[code].....
Is there a more elegant way to add do this? One class would suffice, but since the Add methods have different arguments, then one really wouldn't work.
Suppose there exists 'Hello' in the DB, i dont want the user to 'Halo' or 'Helo' or any other same pronouncing word?
View 4 RepliesI saw this in some vb.net source code:Dim sTest As String = "" & drTest("column")
I was told that if drTest("column") is nothing, then sTest will be assigned "", so it is in effect doing:
Dim sTest As String = If("",Nothing,drTest("column"))What is the downside of doing it the first way I showed?
What is the difference between using If and IIf?
I have a table which has the following Columns
TransDate(varchar20) , Name(varchar20), Address(varchar20), Amount(int), Balance(int)
Now i need to get "Recent Balance" which i am getting using the following Query Select Balance from myTable where TransDate = (Select Max(TransDate) from myTable) This query is giving me proper result if there is only one entry per day like below
10/12/2010 SomeName SomeAddress 1000 1000
10/13/2010 SomeName SomeAddress 1000 2000
10/14/2010 SomeName SomeAddress 1000 3000
But what if i have more than 1 entries per day as shown below?
10/12/2010 SomeName SomeAddress 1000 1000
10/12/2010 SomeName SomeAddress 1000 2000
10/12/2010 SomeName SomeAddress 1000 3000
How to get the "most recent balance" using the above date format?
I have a table which has the following ColumnsTransDate(varchar20) , Name(varchar20), Address(varchar20), Amount(int), Balance(int)Now i need to get "Recent Balance" which i am getting using the following QuerySelect Balance from myTable where TransDate = (Select Max(TransDate) from myTable)This query is giving me proper result if there is only one entry per day like below
View 7 RepliesHow does xFire place itself inside of games?
View 1 RepliesAre there any sites which a similar program or web-exam? The best example I can give is Auto-it's "Auto-it 1,2,3" found here.This is for an absolute-beginner,
View 1 RepliesI have an array of structures:
[Code]...
An array of the above structure with 30 element. I want to sum the empsal of those emp elements whose emp.empName & emp.empAge is equal.
[Code]...