Ok I have a picturebox and i have loaded an image in it that has black bars on all sides.I am trying to find out how to detect where the black ends and then display that pixel number. I wanted it to start reading the pixels from the MIDDLE of the picturethe line represents the picture i used picture.width /2 so that it uses the pixel for the x axis in the middle
Dim TempBitmap As New Bitmap(picture.Image)
Dim MyColor As Color
Dim topcrop = Nothing
Im trying to make a custom Yahoo Invisible Detector. But im having problems getting the submit button to click. I can enter the text no problem. have a look at the source on this website to see if they can get it to work ?
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load WebBrowser1.Navigate("http://www.yahoostatus.org/") End Sub
[code]....
It shows the id as <input id="submit" and the value as value="Check" but its not working.
There's a game that I play, that can be modded. I create mods for it. But some people do not know how to apply the mods by themselves, and just explaining to one person takes about an hour alone.So what I'm wanting to do:Create a program that can add - remove - detect what mods are being used.We'll use'C:GameAddon' For an example target.What I'm wanting:Check Boxes that automatically check when the mod is already in the 'C:GameAddon' folder when the program starts up.and UnCheck'd if the addon isn't in there.
I wanna make a software that checks for copied source code.The input will be the source code files. and then the software should check for duplication.I want to make this software to improve code assignments submitted by students in colleges.
im creating a program which detects motion according to how much difference does the two images have. take note images come from a live webcam stream. the problem is how to compare the two images.
description of the program
a sensitivity text box will be placed on the program where it will compare with the computed difference of the two images. i have a program in vb6.0 that compares images like this
Private Sub Timer1_Timer() 'getting picture from camera SendMessage mCapHwnd, GET_FRAME, 0, 0[code].....
now i cant translate this in vb.net i have included what i have now
The company I work for has given me VS 2008 to build a Data Entry form. They want me to put check boxes, which I've done and now they want a drop down list that when selected pulls up different check box items that populate into a different screen. I'm new to this, but don't feel it should be that hard.
I have written a program in VB.NET 2008 Express that references a .NET managed dll. I simply added a reference to the dll to the project. I then 'Imports' the dll at the beginning of the program and then can use it. Everything works fine when I am running the program in debug mode (and it uses the dll as intended), but as soon as I go to build the project I get an errors that it "Could not reslove this reference" and "Namespace of type specifier in the Imports 'ModbusTCP' doesn't contain any public member or cannot be found." The dll is located in a different location on my hard drive to the project location, but this was referenced when I 'added reference'.
I'm just curious to know if there's any way to build my app. from its binary code. I just saw the thread of creating a program builder and got curious.
company buy some program(create by VB.net) It's easy for customer install it. in program have SQL Server 2005,crystalreport viewer,.net fremework.. i know only use shell for run exe file, but the program install all automatic, it's set registry and database name for you, you do only click next for install.My boss want to me do it but i don't know how to do.
I designed an application to download a file from the Internet onto a selected location on the local computer. This application too, has a form-building error.Debug Error Message: An error occurred creating the form. See Exception.InnerException for details. The error is: Object reference not set to an instance of an object.
Im trying to see if you can make a GUI that can edit the Source code of your progam and then building it as an .exe..Say you have a login program and you wanted to change the password, All you do is go to the "Edit My Account" and go to password and then enter your old password and in the next textbox your new password.Then you would click save and it will ask for a directory and save it as .exe. And when you would start your newly compiled program you can used the program you just entered in.
I have a search engine that will use a webservice to search through my database to find 3 specific things. I don't even know if it will work like this, but I have a dropdown list on my main page to select Product, Feature, Description. From what the user selects, the webservice should then go to an if statement to use the correct SELECT statement and find results for the search.
Will someone help me figure out how to fix what I've written to make it work? Please don't be too critical, I don't have a lot of experience. I have also been researching SQL Injection because I have a lot of code that is vulnerable so keep that in mind when you look at my code.
I can't get the blue squiggly lines to go away that are underneath the DropdownList1.Value instances on the WebService page.
WebService:
<WebMethod()> _ Public Function GetCompletionList(ByVal prefixText As String, ByVal count As Integer) As String() Dim Feature As String = DropDownList1.Value Dim Description As String = DropDownList1.Value Dim Product As String = DropDownList1.Value
[CODE]..........................
Default.aspx page - Here I need the dropdownlist to tie to the database somehow.
I was looking at making a program which can then build other seperate .exes, is this possible? For example the user types their mail username/password into my program then this builds a seperate one which just connects to their mail with their username/password.
I am doing a project on the CRM application which sending and receiving sms using the vb.net language. I am no where to conclusions of my project because I could not build the application. I have found many examples but the problem some of the examples some uses the sms gateway or the AT commands. I could not differentiate which one to use? I have a dateline to finish this project of mine.Most of the example does not look like a CRM application.
I have a little bit of trouble figuring out why I am getting these error messages. Here is the error messages and then the code will follow behind it.The code is taken directly out of the book "ASP.NET 2.0 Everyday Applications for DUMMIES". [code]
relatively new at using Visual Basic, and I'm trying to make a decathlon calculator. My question is how do I make a blank array, and after each person is done calculating their decathlon score it adds the persons name, school,(which are both in text boxes) and score(which is calculated into a textbox) to the blank array
I am trying to write simple database application and try to understand ADO.net as well.say I have 2 table
1. table emp with the following field (empId, empName, empPhone, salary, deptId)
2. table dept with the following field (deptId, deptName, deptLocation, deptManager)
emp table is link to dept table via deptId.so I try to build a form with 2 data grids the top will be dept data grid and below it is emp data grid.I try to do this with out using the wizard so I know the flow and understand how to link together step by step.
in the form load section:
dim conn as new system.data.sqlclient.sqlconnection(connectionString) dim daEmp as system.data.sqlclient.sqldataadapter dim daDept as system.data.sqlclient.sqldataadapter
[code]....
I am kind of stuck on what to do next, I think the next step is to creat dataview from my understanding before mapping it to the datagrid, but on data grid documentation it say it can only filter datarow, it can't filter data column on the dataview.
I would like to be able to display deptName, deptLocation, no the whole column on the table to data grid, and when user select a record from dept datagrid then the employee info (empname, empphone, empsalary) is display on the second grid (again not the whole emp column table).
the user can update, add or delete emp record from employee data grid by clicing on update button, on update button callback routine I need to put something like.
daEmp.update()
from what my understanding then I need to create update, insert and delete routine and attach it to daEmp so the data grid know how to sync with sql server, so when the user say add new record since the data grid doesn't have all the field display, i.e deptId column is not on data grid, how the table know what the dept id would be? I'd like to learn without the wizard 1st since once I know how everything is link then it is easier to debug since the wizard create lots of file and it's everywhere which make it very hard to understand what is happening for someone new to vb & ado.
Okay Is there a way In vb.net to create an exe from a predefined script, for example rather than writting the methods and subs into the codedom code could I just have a textbox that I could put a script into and then have that built? (obviously omitting button presses and things.)
Im not worrying about ui's at the moment just and exe (hello world style )
While I'm trying to build a solution after I've changed a little in its code it gave me an error and even when I've removed the code the same error appears.
"Unable to find manifest signing certificate in the certificate store." (That is the Error and it either stop building or run last successful build.)
I'm interested in building a GUI CAD software in VB.NET, but I don't know from where to begin. I've looked in Audesks online help but there are no instructions, neither tutorials on the net for building something like this. When I'm saying GUI, I mean a work area, where you can use blocks from autocad and build a plan/circuit/PCB or other stuff like this.I'll be glad to see is this possible, and what kind of components can be used.
Im having a hard time getting this to work. Im building a game in .net vb (text based) and where it says "if main.currentpowerget.text <= "7" then ...." when that textbox is between the numbers 1-9 it works but as soon as it hits the number 10 it stops working and shows the msgbox that says you ran out of power.
Private Sub robbank_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles robbank.Click If Main.currentlevel.Text >= "3" Then
[CODE]..............
Here is another code from the same game im making just another event that works just fine when the text box is above and below 10
Private Sub attackaboy_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles attackaboy.Click
I have a problem with building a project. When I build a project and when I create .exe file, I cannot run it on other computers.There is an error: "The application failed to initialize properly (0x0000135). Click OK to terminate the application.".ca i have any chance to solve this error without installing framework 3.5
I am building a module using linq to SQL and I am running into some problems. I have been following Michal Washington's tutorial on [URL]. The problem is that VB does not recognize my Complaint Class when I try to create new Complaint object. why I am unable to Dim a Complaint object? Here is my code: