Finding An Image?

Aug 7, 2010

I'm looking to take a screen shot with my program and try to find an image inside of it. Is this possible?In other words, I am trying to find an image inside of a larger image. It would be great if it could be a screen shot of just the webbrowser form.

View 18 Replies


ADVERTISEMENT

VS 2008 Finding If An Image Control Has An Image Loaded (flashing An Image With A Timer)?

Aug 14, 2011

I'd like to verify if an image control has an image loaded . If it does , I want to unload that image (and load no image) , but if the image control has no image loaded , I want to load an image . Is it possible ?

If ImageMY.Image.Equals(Nothing) Then
ImageMY.Image = System.Drawing.Image.FromFile("C:ImageBlaBlaBla.jpg")
Else

[code].....

View 3 Replies

Finding Simple .net Code To Upload And Image From Client To Web Form Image Control And Save It To Sql Express Database?

Feb 15, 2011

find a current and simple way to do this. I'm using VWD Express 2008 and SQL Express 2008.I'm able to get the client's path to the image file using an asp:FileUpload control on the web form.How do I upload the client's image file and display it in the web form's image control?How do I save it to the sqlserver? The image table is already set up with a "Image" data type column. Can the image be saved to the database as simply as other data types?

View 3 Replies

Finding The Brightest Area In An Image?

Aug 5, 2009

I'm working on a small project for the fun of it. One of my hobbies is astro-imaging and I take pictures of planets, nebulae gallaxies etc . One of the more challenging targets is the International Space Station. I have had some success with the ISS by manually aiming my telescope as the Station moves across the sky.

What I am trying to achieve is to write a program that will lock onto the brightest area of a webcam image. If the brightest area (which will be the ISS) is off center, then commands are sent to the telescope to recenter it.

So far I have been able to write code that talks with the scope, and I have been able to get a webcam stream to show on a Form.

So the last piece of the puzzle (well I am sure there will be other things that have to be worked out) is to identify the brightest area of the image. I am scratching my head as to how I should accomplish this.

I'm thinking I should dump pixel information into an array maybe, and establish which line and column has the brightest average values (I could then draw a cross hair over the image).

View 3 Replies

VS 2010 Finding An Image's Coordinates

Dec 5, 2011

I have 2 images. One image is a large image and the second one is a small one. The small image has a copy of itself within the large image. I am wanting to find the coordinates of where the second image is located within the large image, a 'find feature' in other words. e.g, I might have an image with the word "Test" in it. And I want to find the coordinates of the letter 'e'...

View 8 Replies

VS 2010 Finding Text In An Image?

Oct 25, 2011

I have a form, that when opened, displays the image from the webcam onto it.

It's a test, to ensure the webcam is working. A prompt appears that asks if the webcam is working. However, some testers are lying and I need to find a method to make sure they can't lie.

My team wants to use a large bar code that the tester has to hold in front of the camera.

So I need to figure out how to either read the bar code, or just read the text in the bar code, which reads, "* C A M *."

It looks like the image below, but much larger.

Does anyone know where I should begin? I was thinking about using GetPixel, but I'm not sure I could or if that would be reliable enough.

View 1 Replies

Finding Faster Image Merging Algorithm?

Sep 22, 2010

I'm looking to achieve merging of two images. Right now I can get the desired output but its slow for bigger images than 640*480 since it will actually be operating on video frames at least @25FPS.What I'm doing right now is copy both images pixel by pixel, like this. Actually its in c++ but I've converted it to vb code for understanding..

Dim image3 As Pointer(Of Char) = New Char(w * h * 4 )
Dim image1 As Pointer(Of Char) = img1.getPixels()
Dim image2 As Pointer(Of Char) = img2.getPixels()

[code].....

View 13 Replies

Finding Position Of Bright Spots On Binary Image?

Jul 9, 2009

I have a binary image (Black/White) that showing several white spots (3 to 4 spots). Is there any method to identify the position (coordinate) for every white spot.

View 1 Replies

Finding An Image Within An Image?

Dec 5, 2011

I have 2 images. One image is a large image and the second one is a small one. The small image has a copy of itself within the large image. I am wanting to find the coordinates of where the second image is located within the large image, a 'find feature' in other words.

e.g, I might have an image with the word "Test" in it. And I want to find the coordinates of the letter 'e'...

View 2 Replies

Finding Age From DOB

Mar 16, 2011

My EmpTable is in SQLserver & Data entry using Visual Basic 2010 "List format" on Windows form.Sir my requirement, if I enter (Date of Birth) in DOB column the Age should display on the same form in Textbox.

View 3 Replies

.net - Finding Out The Datetime Value

Jun 7, 2011

In my vb.net winform application, I am moving the file from one folder to another. I need to store the datetimevalue when the transfer has been done. Later I need to show this DateTime value in my Grid. Here is the code i have written, but not able to store the datetime value.

[Code]...

View 2 Replies

Finding A Control In .net

Mar 3, 2010

In vb.net I have control named checkbox1 that I can see at dropdown menu in properties tab. but in designer I am not able to locate it... Also when I am selecting CheckBox1 from properties' dropdown menu, no checkbox in designer gets highlighted.... How to find that control in designer?

View 3 Replies

Finding A Decode Key

Jul 19, 2011

I have to provide a client with a method to retrieve data from an Audiometer. The equipment is discontinued, but they have six of these and are used every work day. Using port monitoring and the DUMP command on the peripheral I was able to read the data and save to file. Now my challenge is decoding each line. It appears that only a section of the string is not in plain values.I added the pipe separators for clarity. I have determined those columns are: EMPID | DateTime | TechID | Results | ResultType = Test.[code]

View 8 Replies

Finding A VB, Or C# Or C++ Dll Injector ?

Aug 26, 2009

I have been finding a VB, or C# or C++ Dll injector for a long time. Ive decided to make one. So in VB i went to toolbar and found "Process" and i didnt know what to do after. how to make one (dont post code). Ive tried using the "GetProcessByID" thing but dont work.

So far what i did:

If Process.Start("Engine.exe") Then

End If

Also how do u make it inject the "DLL"?

View 4 Replies

Finding A Winpcap For .net?

Jan 25, 2011

Is there a Winpcap for Visual Basic .net?

View 8 Replies

Finding And Opening Wow.exe With VB?

Apr 30, 2009

I can't find out how to find and open the program wow.exe using VB.

I can get it to open mine but it can't open other peoples they get errors when they try, I have xp and the Vista and other people can't get it to open theirs so I need to know how to find the file then open it.

The code I'm using is this:

Private Sub Play_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Play.Click
Dim installpath As String = String.Empty

[Code].....

View 7 Replies

Finding The Max & Min Of An Array

May 10, 2009

I have some code that generates 15 random numbers between 1 and 100 and prints the 15 numbers in a listbox. I want to be able to find the max and min numbers in that list. How would I go about finding those values? I'm new to VB so a solution involving basic string/array manipulation would be preferred.

View 2 Replies

Finding The Name Of The First Worksheet

May 27, 2010

I am trying to find the name of the first worksheet in excel. I can get the list of sheets, but i need to know which on is the first one in the workbook. using vs 2010 and office 2007

View 1 Replies

Finding Where App Is Running From?

Aug 22, 2011

under VB6 I used to use the code app.path, what is it under VS2008

When I write the final code I want my program to install the exe and support files in the same directory/folder

In the software I want to be able to refer to these support files when needed
Regards Princy558

View 4 Replies

Page_PreRender Finding Div By Id (asp.net VB)

Sep 1, 2011

I am trying to run some code on Page_PreRender but only want it to run on hyperlinks within a certain DIV. What the code does is change the colour of a hyperlink if the NavigateUrl = the URL of the page the user is on. I have some code that works but it changes the colour of every link on the page that matches when I only want it to happen within a certain div.

[Code]...

View 1 Replies

Custom Cursor - "Image Format Is Not Valid. Image File May Be Corrupted?

Oct 11, 2011

I created a new cursor (it works properly, I tried it in windows 7) but is not working for me in the program.I took the Windows cursor (aero_helpsel_xl, from C:WindowsCursors) and it appears to me the same error.i use with this code:

Me.Cursor = New Cursor("Patch..")

The problem say:: "{"Image format is not valid. Image file may be corrupted.

Parameter name: stream "}"

edit: I realized what the problem ... It can read only cur files with 24-bit color and lower - but it shows only two colors: black and white.

View 2 Replies

Dispose Of An Image For A Picture Box & Exifworks Class Does Not Release Image File For Deleting?

Jun 14, 2009

I have an app that loads a jpg into a picyure box, then updates exif data in exifworks classThe problem is that when I save the image(from image used for picture box) or class (to save exif data) then try to delete, sometimes I get success, others it won't allow delet I have gone to the trouble of using gc.collect, do events, put the delete in a timer & wait for the delete before continuing & still get the problem

View 7 Replies

Make A Picture Box Image Property Switch To A Random Image From The Resources Folder?

Sep 12, 2009

With a button click event, how do I make a picture box image property switch to a random image from the resources folder?

View 1 Replies

Save Image In Msaccess Database & In The Crystal Report It Should Display The Saved Image?

Aug 28, 2010

i want to save image in ms access 2000 database & i want retrive it in a crystal report in vb.net 2005

View 8 Replies

VS 2005 Windows Image Acquisition :: Transfer Image From Camera To Hard Drive?

Jul 3, 2010

I've been searching for hours tonight searching existing posts, other websites and all i can find are examples of how to capture a image from a webcam.Does anyone have any code that simple talks to the camera device via WIA, and then saves every image found on the device to a hard drive?I found this code below. Credit i cant tell you as i have a bunch of different flavors of code, but this only saves the file as a tmp file, and not the actual image file i expected after selecting?

Imports System.Drawing
Imports System.Runtime.InteropServices
Imports WIALib

[code].....

View 2 Replies

VS 2008 - VB BITBLT Equivlant - Build Image By Opening Files With Image Data

Nov 2, 2010

In VB6 you could BITBLT things around before refreshing the screen. In .NET, I'm aware of DrawImage, but that can only be done on a paint event rather than before anything gets painted. The issue I have is, I need to open several files with image data in them and then build a bigger image with those smaller images. Before I could open them, BITBLT them to a Buffer. As far as I can tell .NET offers no way to do this as the only function I've been able to find (DrawImage) only works within the paint event. Is there still a way to do this in VS08 or no?

View 6 Replies

.net - Finding A Memory Leak Cause?

Feb 9, 2010

I have the following Leak situation in a VB.NET (.NET2) application: a form - DetailTache (TaskDetails) - in my MDI application is not garbage collected is not collected ofter open/close.

EDIT: Result search from projet of WinComboRowSelected Event. There are 3 usages of this word in application:

Declaration in Class WinCombo: Event WinComboRowSelected(ByVal sender... (only one)
Raising: RaiseEvent WinComboRowSelected(sender, (3 raisings)
Usage: ...e As Keolis.ctlWinCombo.WinCombo.WinComboRowSelectedEventArgs) Handles cmbProduit1.WinComboRowSelected (multiple handles).

there is No other usage of this event.

View 5 Replies

.net - Finding Path Of Application?

Jul 7, 2011

In a VB application I am building, I need to launch Outlook. Obviously, on every computer the path to Outlook will not be the same. Thus, I need to know how to find the path of Outlook on the user's computer before I Shell("path"). How would I do this?

View 6 Replies

Adding Helpfile With App And Finding It On A Another Pc?

Nov 6, 2011

I need my published vb 2008 application to open a helpfile that I wrote. It is a simple .txt-file and this piece of code does the trick as long as the program is not published because I already know where I placed the Helpfile:

System.Windows.Forms.Help.ShowHelp(Me, "C:Helpfile.txt", HelpNavigator.TableOfContents)

After it is published on another pc, the helpfile is not on the root of the c-drive but in the application folder of the program. However, I can not know where the path to the program folder of someone else's pc is. It all depends on where they decide to place the program when they install, right?

It seems I need to replace this little: "C:Helpfile.txt" with some code that searches all the drives and directories and/or points directly to the Helpfile's placement - i.e. the parent directory of the program.

View 6 Replies

Adding Txt-file With App And Finding It On Another Pc?

Nov 6, 2011

I need my published vb 2008 application to open a helpfile that I wrote. It is a simple .txt-file and this piece of code does the trick as long as the program is not published because I already know where I placed the Helpfile:

System.Windows.Forms.Help.ShowHelp(Me, "C:Helpfile.txt", HelpNavigator.TableOfContents)

After it is published on another pc, the helpfile is not on the root of the c-drive but in the application folder of the program. However, I can not know where the path to the program folder of someone else's pc is. It all depends on where they decide to place the program when they install, right?

It seems I need to replace this little: "C:Helpfile.txt" with some code that searches all the drives and directories and/or points directly to the Helpfile's placement - i.e. the parent directory of the program.

View 16 Replies







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