Virus Found In PictureBox Control?
Aug 25, 2010
I just started with Visual Studio 08 Professional. After compiling my project, my virus scanner gives me the message that the virus TR/Dropper.Gen is in my project. I tracked it down to the picturebox control. If I delete this control, everything looks fine.However in an new project, which only consists out of a form and a picture box with a jpg image I get the same message (This project doesn't have any code). The picture doesn't matter. Even with the standard wall papers, I get the same message.
View 4 Replies
ADVERTISEMENT
Sep 24, 2009
i want to make a virus remover/scanner tht deletes files og scans for virus.. Just reply i you know some of codes or if you have a project.
View 15 Replies
Sep 24, 2009
i want to make a virus remover/scanner tht deletes files og scans for virus.. Just reply i you know some of codes or if you have a project.VB2008/2010..
View 11 Replies
Jan 31, 2011
I need to plot some analog values read from the serial port.I plot them in a picturebox starting from left. When I reach the end of the control at the right side I shift all values to the left of a point and I plot the new point at the right, (I have some flickering but it could be acceptable). This is my plotting control.My problem is that I have to clear the control (picturebox) in order to plot the shifted graph, but the method Clear of the Graphics class clears everything inside the picturebox, even my grid.How can i make always visible a grid "in" my picturebox?
1.a transparent image with a grid over the PB? (the clear method cannot remove it)
2.an image with a grid below the picturebox that must be with a transparent background to make visible the grid?
3.multiple layers on the same picturebox?
View 5 Replies
Mar 31, 2012
In vb.net, i added webbrowser and i need to keep zoomin and zoomout menus. But i can't found zoom control in webbrowser.
View 3 Replies
Mar 15, 2010
I've got a Panel on a main Form containing a PictureBox control on Top of a TableLayout control. Both the child controls have their docking properties set to Top. The Picture control has sizemode set to Zoom.
What I'm finding is that the picture doesn't size properly when I start the app. There is a border at the top and bottom in the PictureBox control. It's only when I resize the overall form that it's correct.
So at the moment I've got this ugly bit of startup code, just to fix the problem Me.WindowState = FormWindowState.Normal Me.WindowState = FormWindowState.Maximized
What am I missing?
View 2 Replies
Mar 10, 2009
WPF project is not accepting this property definition when starting a thread. Anybody knows the equivalent of the following in WPF?
Control.CheckForIllegalCrossThreadCalls = False
View 1 Replies
Feb 25, 2010
I found a custom ListBox that, strangely doesn't have an InsertAt method and I would like to add one. The custom ListBox uses an object instead of just a list of strings like a normal ListBox. I was curious what the logic behind inserting a new item at a particular index would be.The only thing I could come up with was add the new ListBoxItem at the end, then using the specified index, I could either keep moving ListBoxItem objects to the bottom, with the Add() method, from that index till the ListBoxItem at that index equals the one added, or I could use that index number in a "calculation" till I know I've moved the correct number of objects.
View 14 Replies
Jun 16, 2011
It does work on some machine's but wold not start on other computers. from the code line's I see the problem is related to devex components.
View 2 Replies
Oct 1, 2010
We have an VB.net application that is being moved from one box to another. It runs great on the old box. The new box is configured the same as the old one but is on newer hardware. When I run the application on the new server it complains that the adobe toolkit that we use can not be found.
View 2 Replies
Feb 23, 2009
is it possible to have 2 pictures in one picture box ? the reason i ask is because im doin a lil project. it needs to have the picture change when it intersects with another picture
View 6 Replies
Oct 5, 2010
A problem has arisen with the picturebox control since I have upgraded to VB2010 Express. I cannot be sure that it happended at the upgrade or soon after as something else changed since.
I have a database application that contains books and CDs and part of the display of each item is the cover from a directory c:datacovers and I use the code below to load the files in turn. I started developing the programme un VB2005, thence to VB2008 and the picturebox never flickered but does now with each reload of an image what seems to be three times.
[Code]...
View 9 Replies
Jul 28, 2009
This form has a picturebox and a button. The program draws a random line onto the picturebox every time the button is pressed. I want to modify the program so that it also draws a line onto the picturebox when the program is first run. I added a draw() to the form_load event but that didn't work. What do I need to do?
Public Class Form1
Dim x1 As Integer
Dim y1 As Integer
[code]....
View 1 Replies
Dec 12, 2010
Can you control what part of the image is shown in the picturebox. ex. you only want the top left 100x100 pix shown of a 1000x1000 pix image?
View 4 Replies
Jul 17, 2010
with making a PictureBox or a Panel into a control bar like what you get at the top ofwindows. I just need to know how to make it so when you click it you can move the window.Ive put the form so it has no 'FormBorderStyle'
View 2 Replies
Jun 24, 2009
I'm writing a small program in VB.NET (2008) and would like to know the following..I am loading a metafile in to picture box. My problem is that the metafiles I am using have a considerable amount of "Empty Space" around the actual object I want to display.Is there a way to move the metafile in the picture box, maybe set the images' position in the picture box or best, clip the metafile so that only the drawing part of it is displayed.
Also is there a way to have more than one metafile displayed in the picture box at the same time, say side by side?
View 2 Replies
Apr 2, 2012
every time i hit debug my avg shows i got two trojan viruses this just started happening recently... if i hit the debug button Trojan.Horse.PSWAgent.Auru will display on my screen i tried uninstalling and reinstalling it and still has the same issue...ran a few scans with avg , malwarebytes?
View 5 Replies
Sep 16, 2009
i wanted to make a virus remover..
View 6 Replies
Feb 25, 2009
Then i downloaded C4F (Code 4 Fun) an application that's allow you to make Peer2Peer Applications using the PNRP.
So then i made a simple chat (Must say you do not need to fill in any code at all for this chat system) then i compile the source code to an *.exe file and everything seems fine at this stage.
But now the problem accours, when im am sending my chat application to my friends they got an alert about it's a virus im sending them. but when the file is on my own system it dosent say anything at all, and i have AVG Pro Edition & OutPost Firewall 2009 with lifetime license. and all my Anti Virus / Spyware Engine is up to date.
I have been writing on another forum on the internet but they just told me that my system was infected with a virus and that was the problem. s� ive completely deleted my whole system, and installed the Windows XP Professionel again.
But i i stil have the same problem? any one knows whats going on here. i cant post anycode for this cause you don't need any code for making a Chat application in C4F, Basicly it loads a C4F project in to Visual Basic Studio 2008 with no source at all.
View 3 Replies
Aug 16, 2010
I just want to ask if you have encountered that the anti-virus treat the .exe files in bin folder as virus threat....If you have, can you please tell me what to do?
View 12 Replies
Jan 14, 2012
since i started to vb i made several exe files and when i tried to show them to my friends or someone else but every single time i got the "Virus!" label stuck to my program.. i mean antivirus programs ran alarms and screamed "Are you nuts ?! Its a VIRUS!!" and i dont want that happen... how can i prevent this to happen??
View 9 Replies
Apr 10, 2010
Following on from my question here [URL]
If I replace an image in a picture box, should I dispose the original image first?
Or, what about this situation:
Dim bm As New Bitmap(32,32)
bm = New Bitmap(32,32)
bm = New Bitmap(32,32)
bm = New Bitmap(32,32)
Does bm need only to be disposed at the end, or should it be disposed before each re-creation?
A big oversight there on my part. I knew a control took care of disposing its children but It hadn't occurred to me that I should dispose an old image if I replaced it.
View 3 Replies
Jun 21, 2010
How can I change the content of the PictureBox control based on user entry? I'm assuming it would be similar to this:
[Code]...
View 9 Replies
Mar 28, 2011
I'm creating an app for school to mark targets that we shoot in shooting competitions. Now I have created a dll in C# to do the marking bit and it works.Now the problem I am facing is that my app gets a image from the scanner (A4 size @ 600 dpi) and putting it in a picture box.There will always be 20 targets to be marked per image( However I want this to be able to vary to provide flexibility) My dll accepts a image that contains a single target so I need 20 individual images of targets.Create Drag able Rectangles in the picture box and crop the images from there . There are 2 ways of accomplishing this.
#1 Create a Control and set it's parent to the picturebox. (This should provide a location relative to the picturebox Right ?)
#2 Use only GDI (eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeew)
so my choice would be to create a control except I have never created any control from scratch and I have no idea how to do the visual drawing part of a control.
View 7 Replies
Jan 13, 2011
Sometimes, I have a picturebox lets say 100x100. But the image it will display is actually 100x400. I don't want to increase the size of the picturebox itself. Instead, I would like to create a vertical scrollbar (or horizontal if needed). I could not find a scrollbar in the toolbox, so I guess I have to code it. But, how? And I still wonder if I didn't make a mistake and didn't see the scrollbar in the toolbox.
View 3 Replies
May 4, 2011
i know this is probally a really simple question but i have looked through my book and all my notes and googeled and couldn't find a answer that suites my needs.baisicly i have a combobox that gets loaded on form_load, what i want to do is load the appropriate picture into a picturebox when someone selects a item from the combobox. what i cant figure out is how to get the picture into the combobox using code. all the images are saved in my debug folder for the program. picturebox.image = picture.png this is what i asumed it would be but have tried with parenthises, quotes and both and it dosent work.
View 7 Replies
Dec 17, 2009
I have a picturebox (pbRows) that I want to always be aligned with the right side of the screen. The form may be wider than this (I have a horizontal scrollbar), but the picturebox always needs to be along the right edge of the screen. Currently I have this code snippet in the form_load subroutine:
Dim rowsX As New Integer rowsX = Screen.PrimaryScreen.Bounds.Width - pbRows.Width pbRows.Location = New Point(rowsX, 25) However, the picturebox is aligned with the right edge of the form (initially hidden off the screen). Am I missing something obvious?
View 13 Replies
Mar 5, 2009
by default this is working when the form load but when i change the data in the txtProjID which is representing the name of the folder where the images to be view in the picturebox... it's change but still the images in the previous folder is displaying, the new images did not appear..here is he codes..
Public Class Form4
'\ph-filesp01 eamscommonPROJECTSProjectImages
Private getProjcodeNum As String = "17039974"[code].....
change the name in the txtprojID the images change..
View 2 Replies
Sep 7, 2011
I have never created a control programmatically. I can get this far:
View 5 Replies
Mar 30, 2010
I have a composite drop down calendar user control that consists of a textbox and and calendar image and a validation control. I expose a property called "TextBox" on the usercontrol which returns a reference to the textbox used within the control. This is the textbox that the user enters the date into.
In the ASPX page, I have an instance of this usercontrol: [Code]
In my code behind, I want to detect when a user has tabbed off of the textbox and, using an UpdatePanel, refresh an appropriate message depending on the date that was specified. [Code]
OK, When I move athe calendar usercontrol into the Update panel, I get this error: A control with ID 'txtDate' could not be found for the trigger in UpdatePanel 'upIntendedStay'. It's apparently having an issue finding the embedded control even though it's within the update panel, but it has no problem finding a plain textbox that is not embedded within a usercontrol!
View 5 Replies