Make A Screenshot On Default Coordinates In Program?

Apr 29, 2012

Basically what I would like to do is take a screenshot of a portion of the screen based on coordinates taken with the mouse left button click.

what I can do up to now is get the coordinates with the mouse and show these in a label thanks to[code]...

What I thought to do is take the coordinates of the upper left corner and lower right corner and make a screenshot thanks to these coordinates.

View 1 Replies


ADVERTISEMENT

Make My App As A Default Program?

Jun 21, 2011

I have made an app named photo viewer so how to make it the photo viewer Default program in user computer when he install it in his computer?

View 5 Replies

How To Make Default Web Browser Program

Aug 24, 2010

i make a web browser program. how do i make default my web browser program? simple. if internet explorer is default, all web pages start automaticly with internet explorer. how do i make default my web browser program with VB code?

[Code]...

View 1 Replies

How To Make Program Default For File

Mar 31, 2010

How do I make a program a default program for a file? As in if I had just a basic .txt file editor, I could make the program the default program for the extension .txt. I have tried just doing it in Default Programs, in Windows 7, and Windows XP. But when you click on the file it opens the program, but does not load the file. I plan on actually releasing the beta 2 a Office Suite I created.

View 17 Replies

Make A Program Default For File Type?

May 27, 2011

I have made a media player in vb and I need to make it the default player for *.mp3, *.avi etc.

View 1 Replies

Make Default Opener For .txt Files - Seems Like The .exe Of My Installed Program Doesn't Exist

Mar 4, 2012

I have recently published a simple text editor(just as an exercise). the editor has been published using Microsoft Visual Basic Express. Once the program is installed i wanted to make it a default opener for .txt files, so i clicked openwith ->Choose default program and then i was asked to show the location of the .exe. It seems like the .exe of my installed program doesn't exist. where the .exe is on a windows7 or tell me of another way of makeing that program the default opener.

Here is the link to the publish page: [URL]

View 2 Replies

Make A Screenshot Of A Specific Monitor

Jan 23, 2012

How can my app screenshot a specific screen (in a multiscreen environment)? I need one screenshot per screen. And one more thing, how can the form change the screen it's working on?

View 4 Replies

Take A Screenshot With Program Minimized?

Jan 13, 2012

I wrote some code for a program I am making to take a screenshot when the program is minimized. Thing is something is wrong with the code and I am not sure what it is. Whenever I take a screenshot the program is taking the picture with the application up and not minimized.

So what I need it to do is minimize the application then take the screenshot and then reopen the program after its taken the screenshot. for the noob question but I am brand new to the VB and only been coding it in for less then a day.

[Code]...

View 2 Replies

Set Coordinates For Each Beam At Intervals Of 610 Then Write That Coordinates System To A Text Based *.SCR File

Dec 2, 2010

I am trying to build a coordinates system but am having trouble with how to.. What I have sofar is a textbox that allows the user to enter a length. This length is user defined but never smaller then 610 in length since this is the minimum unit size we use to build timber frames. The overall length of a timber frame is infinite (well not really, but it is for what I want) the timber frame has beams every 610mm set apart from each other (this is a legal requirement) so I want my vb.net to set coordinates for each beam at intervals of 610 then write that coordinates system to a text based *.SCR file

[Code]...

View 1 Replies

Translate MouseEventArg.Location X,y Pixel Coordinates To Custom Grid Coordinates?

Nov 29, 2010

I want to translate MouseArgEvent.Location (x,y) coordinates into my custom graph coordinates. Mouse Y coordinates increase from top to bottom while my grid's y value increase from bottom to top. Given my following code, I would need to create 21,500 separate conditional expression for 100(y) x 215(x) possible coordinate locations for my grid.

Sub OnMouseMove(ByVal e As System.Windows.Forms.MouseEventArgs)
If e.X > 48 AndAlso e.X < 50 AndAlso e.Y > 397 AndAlso e.Y < 399 Then
MessageBox.Show("about 0,0")

[code]....

View 5 Replies

How To Get Coordinates Of Another Program

May 26, 2011

How would I be able to get the X,Y coords of another programs top-left corner? I am trying to make a program that "attaches" to the top of a foreign program.

View 5 Replies

Make Text Editor Handle "Set As Default Program" Requests?

Jun 2, 2010

I was wondering how to make my Text Editor handle "Set As Default Program" requests, and have files saved default-ly open with it. For example creating my own file type.I don't know if this is possible in VB.net

View 1 Replies

Saving The Screenshot - Program Where The User Fills Out Info

Nov 17, 2009

I'm making a program where the user fills out info, then they click one button and the program takes a screenshot of the form, then they click another button and the screenshot gets saved. I'm having a couple problems with my code though. For one, I'm trying to make the screenshot go to an invisible picturebox to make saving easier, but I cant figure out how to make the image go to the picturebox. The other problem is that I want it to automatically save without showing the dialog, but so far, it won't save.

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
TakeShotOfScreens()
Picturebox1.image=allscreenscapture

CODE:...........................

View 4 Replies

VS 2010 Making A Screenshot Program But Unable To Draw The Rectangle?

Nov 22, 2011

I'm currently working on a screenshot program, much like Gyazo and I've come across a problem.

[code]...

Now, it draws perfectly when I drag left to down (vice versa), but when I try and drag the opposite way (this is when I get negative x and y values), it doesn't seem to draw the rectangle.I've tried fixing it but with no luck at all, it just messes it up :c

View 2 Replies

Copy Text To An External Program, Click Somewhere On The Screen, Then Save A Screenshot?

Oct 16, 2011

I picked vb.net for this question since it's the only prgramming language I am fairly familair with, but if C++ or something else is more suited for this, I am willing to learn something new.What I am trying to do is:Retrieve text from database (this already works in vb.net) and copy it to clipboard Switch primary screen to the external application I want to work with (example: word or open office) Emulate key-press "Enter" Paste text and hit enter again Emulate key-press CTRL and then emulate a click on a pre-defined spot on the screen (like 500pixels from left, 740pixels from top). Save screenshot, using a second value from the database as the filename (the naming part should be easy) Emulate another click on another pre-defined spot Repeat for next text in database.I wouldn't know where to start, though. I guess the most important part of what I'm trying to achieve is; switching focus to an external application and emulate keypresses and mouse clicks on it.

View 1 Replies

How Does The Program Know That The Public Property X And Y Means The Coordinates Of The Object

Nov 9, 2011

I've got a piece of code of a class. When initialised a new object is made on a picturebox. But what I don't know is how does the program know that the public property x and y means the coordinates of the object?

[code]...

View 1 Replies

Allow The User To Enter Coordinates (X And Y Coordinates)?

Jan 18, 2011

Develop a Company Logo application that allows users to draw shapes. The application should provide the user with RadioButtons to allow the selection of the next shape to be drawn. TextBoxes should be provided to allow the user to enter coordinates (X and Y coordinates) of the shape, the width and the height of the shapes. Users should also be able to change the shape�s colour.my question is how to allow the user to enter coordinates (X and Y coordinates) of the shape, the width and the height of the shapes and change the shape�s color from combo box. pro help

below is my code:

Public Class Form1
Dim mycolor As Color
Dim mypen As Pen
Dim mygraphics As Graphics

[code]....

View 3 Replies

Photo Coordinates Vs. World Coordinates?

Mar 26, 2012

I have a Geo-tagged snapshot (photo) captured with a my digital cam.

I want to read world coordinates (real coordinates) upon click on any pixel on this photo.

View 1 Replies

VS 2010 Use Program As Default Program?

Mar 12, 2011

I want to associate my program with a certain filetype. I know how to do this, but my question is: how i can i see witch file is opened?

View 1 Replies

C# - Make The Default Value Of A Type As Nothing?

Nov 10, 2009

For example Dim aInt as Integer should have the value as nothing instead of 0.

View 6 Replies

Make A Default Value For ComboBox?

Dec 2, 2010

What are the steps to create a Default Value for a ComboBox? say you have two items "Enabled" and Disabled" and you want one of them to be the default value that is selected.

View 11 Replies

Make The Browser Default?

Dec 5, 2009

I have created a browser, but I want to add to it the control that makes it the default browser using VB code.

View 7 Replies

How To Set A Program As Default

May 22, 2007

I have made a web browser program and would like to know how to set it as my computer's default program for opening web pages

View 4 Replies

Make Browser As Default WebBrowser?

Nov 17, 2011

I've done a webbrowser and I want to make it mi default webbrowser and .html viewer. I've found a registry modification, but, when I try to implement a registry modification code, my webbrowser requires to be ran in admin mode. Can I implement a code that doesn't requires admin (like firefox - when you want to make it default browser, it doesn't requires to be ran in admin)?

View 7 Replies

Make One Of Buttons The Default Button?

Apr 13, 2010

I come from using REAL Studio (formerly REALbasic)on the Mac + Windows.I just got MS Visual Studio and I am using the "Basic" language part of VS. in REAL Studio there is a property pane where you can select a button and make it the default button.I looked at the property pane in Visual Studio and couldn't figure out how to make one of my buttons the default button.

View 9 Replies

Get The Events Of The Web Control - Make My Browser As Default?

Jul 10, 2009

i am making a webbrowser and i have coded over 10,000 lines of code & i am only 11 and self taught .

1) I want to make a popup blocker but my webbrowser is a tab type so it generates the wb controle so how can i get the events of the wb control? because it is not in my form and only is when it's runtime!

2)I want to make my browser as default

View 1 Replies

How To Make The Form Full-screen By Default

Nov 4, 2009

I'm making a manually started screen-saver-esque program, and I need the "Black screen" form to be full screen, totally black and border-less.

I have so far managed to fix the last two criterea with changing the border style and form back color, but how do I make the form default full-screen?

The only settings I could find were things like "Manual" and "Center Parent". I'm probably just missing something obvious, but how do I make the form full-screen by default?

View 1 Replies

Loop To Make Default Name For File Before Saving?

Nov 29, 2011

I am creating a button to save text files (Visual Basic 2005 and Windows XP). I made the following loop to give a default name for the file before saving:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

'This loop is supposed to name the file "file10.txt", and if such a file exists it is
supposed to name it "file20.txt" then "file30.txt" etc.

Dim myFileName As String
Dim i As Integer = 10
myFileName = "D:filesfile" & i & ".txt"[code].....

However, the app gets unresponsive only after one round in the loop (when the file name is "file20"). The loop gets stuck at the following line:

If IO.File.Exists(myFileName) = True Then

This line works only once and after that it becomes unresponsive.

View 2 Replies

Make Radio Button And Combo Box Has Default Value?

Mar 15, 2012

how to make radio button and combo box has default value?

View 2 Replies

Make The Default Modelbinding Handle Lists?

Jul 9, 2011

How do I make the default modelbinding handle Lists?

Let's say I have a ShoppingCart class, which has a ShoppingCartItem List:

Public Class ShoppingCart
Public Property CouponCode As String
Public Property Items As New List(Of ShoppingCartItem)
End Class

[Code]....

However, when I submit the page, no values are picked up, not even the CouponCode field. The model object is empty. What gives?

Ultimately, my goal is to add/remove items clientside via javascript and then have the modelbinder pick up the changes automatically when the page is submitted.

Update: I was just missing the Property keyword from my model properties declarations. It's too late, and I got to get some sleep. :)

View 1 Replies







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