Allow User To Type In All And/or Part Of A Persons Name?
Oct 26, 2010
I'm trying to allow a user to type in all and/or part of a persons name, which is held in an array, that will yield a parallel array result in the form of a phone number. Here is what I have:
Dim strPeople() As String = {"Ashley", "Brian", "Tony", "David", "Emily", "Frank", "Gina"}
Dim strPhoneNumbers() As String = {"111-2222", "222-3333", "333-4444", "444-5555", "555-6666", "666-7777", "777-8888"}
[Code]....
View 5 Replies
ADVERTISEMENT
Nov 30, 2010
I want to make something thats quick & will allow me to see someone elses screen at 60fps/30fps on LAN since LAN is really fast or 10fps/30fps/60fps over internet. Of course depending on the the computer & internet speeds & everything it will vary how good it works but i'm trying to do it over computers with really fast network/internet speeds & computers, other ways to do it given to me have been really slow, I couldn't even make my app display the picture at even as much as 10fps & that was without sending it over for another computer to display & displaying it in the same application.
View 1 Replies
Jan 7, 2012
I've got a class which consists of a persons name and their height. I then want to sort there height which is in an array, which I can do. However when I want to display both the height in order with there name I can't. The heights are sorted in order but the names just appear in the order they were entered. How do I make the right name appear next to the height?
View 2 Replies
Jul 13, 2011
I am building an application in VB.net and trying to get detail information from the database from de persons name that I write in a textbox, i've the following code (i get an eeror, can not find column "the name i give in the textbox").
in the load of the form :
mijnKlant.KlantVullen()
dgvKlanten.DataSource = mijnKlant.p_klant
With Me.dgvKlanten
[code]....
View 1 Replies
Jul 22, 2010
Following is my code. Private Structure DISPLAY_ELEMENT_TYPE
[Code]...
Actually this is vb6 to .net converted code. I m getting compile error at following line
temp = Lset(DispElem(i)) bcz Lset is not supported in .Net Lset accept string data type for first parameter and interger for second.If you know any alternet solution or if you have any source code for Explicit convert UDT to string type and vice versa.
View 4 Replies
Nov 22, 2010
I have created an application that has a webbrowser, two radioButtons, button1, and a menustrip.The menustrip has two main heading and under each heading are about 15 Tool Strip MenuItem. The ToolStripMenuItem properties are set to CheckonClick and an example of forum1. vb code for this section of the application is:[code]What I need is for the user to be able to add his/her own ToolStripMenueItems to those already present, along with the base url.So that clicking Button1 sends them to the base url And also have the Radio Buttons automatically add the extensions to the base url when the RadioButton is clicked.They need to be able to do this from the application itself.But I'm not sure how to code this in.They will not have VB to make modifications.
View 1 Replies
Mar 11, 2010
I need something tje user can type in data to such a parts QTY cost etc. There are no predefined parts list so the user can enter any part name/Number and there is no limit to amount of parts that can be entered.
Does anyone have any idea what might be useful. It was thinks of a listview bu i can't see that you can type into that. I cant use comboboxs because there are no predefined list and i know there is some way to generate text at runtime (i think) but i don't know how to do it and i would prefer a clearer approach.
View 3 Replies
Jun 11, 2009
i want to know how to type cast to user defined type in vb.net.I have a mark object which contains student id , subject name,subject id and mark. I have to read the subject id from a combo box and read corresponding mark value from it to a text box.
View 2 Replies
Feb 22, 2011
im making an application in vb.net (duh!) anyway i have created and coded the whole project and it performs exactly as i want it to (i dont need code help). my problem lies with the fact that my project is 2-3 parts
1.a setup form that gathers inital data about the enviroment stores this data encrypted in a config file. after inital setup this form is not displayed again. but needs to be run on both computers
2. the second form is the real application form im in the process of turning this part in to a background service anyway this form is the one that establishes the connection between two nodes it works correctly
3. the config files
anyway here is my problem i want to make this application distributional with just one file the (.exe) and have this .exe make everything else happen. it runs the setup form and creates the first config file which it does then it needs to produce a copy of just the second form and the config file to transfer to workstation #2 that will run independtly without the whole application which i cant make happen then it needs to turn both workstations application on by only starting one on either computer and invoke the other computer to start its corrosponding app also no idea how to make this happen any ideas or suggestions as to where to look to try to find my answers.im thinking i might need to make two seperate applications (a setup app, and the running app) and include them both in a project and use the setup.exe to to package them together this is a little side project that im making for my self to use to make programming a little easier so i plan on giving it out to some fellow students to test and tell me what they think so im not really worried about ease of use or complicated procedures yet but if it turns out to work and actually be of use to anyone else i would be willing to rewrite it to distribute to the masses but for now i just want it to work for me.
View 4 Replies
Jan 29, 2012
Ive done a login in vb.net (Visual Studio) which works like a charm. However, i need to store the username of the person that has logged in, in some form of cookie. How can i store the persons username in some form of global "cookie"? It will be cleared when they log out or the program closes PS. I dont literally mean a web cookie - just not sure what else to call it. Just a global variable which will store the current user.
[Code]...
View 1 Replies
Aug 11, 2011
I am writing a scripting language which used .net for execution. Now I have written a function which accepts an object and return a set of numeric values. I wanted user to pass any numeric array (e.g. integer,single,double,long) and I could return values in that format. I mean user can retrieve value in any numeric array type rather than specifying an array type. E.g.
[Code]...
View 15 Replies
Jul 16, 2009
I plan on designing a Crystal Report, and then calling it through VB.NET code. Will the end-user need a Crystal license in order to use the crystal report part of the program?
View 1 Replies
Jan 12, 2012
my requirement is that i have to count occurrence of a certain date and between two months
suppose i have 10-jan-2012 now i have a date range 1-jan-2012 between 1-feb-2013 my requirement is that if i find 10-jan between 1-jan-2012 between 1-feb-2013 irrespective of year i know that 10-jan will come twice between 1-jan-2012 between 1-feb-2013 i am not understanding how to do this.i meanto say that i have to compare only day and month part of the date which will solve my problem
View 1 Replies
May 21, 2009
in my text file i have two part. Called bottom and top. So i need to read the Top part first then and match the line with bottom part. Its like this
[Code]...
View 5 Replies
Apr 16, 2012
I apologize in advance about asking a newbie question. I am a less-than-intermediate programmer who has done most of his work in VB6, and now trying to wrap my mind around the new concepts of the NET languages.In VB 2010, I have a Structure called "Direction", with one data member -- an integer named "Value". It's supposed to represent a value of degrees from 0 to 359.
Public Structure Direction
Private d As Integer
[code].....
View 9 Replies
Apr 24, 2012
I created a Login system using the Login Form from VB 2010 and connectected to a DB table called "Useri" with 4 columns: "ID_U" , "UserName" , "Password" , "UserType". The login form works to authentificate user, and my application starts. My app has 5 buttons and i want them to be restricted by user type
If admin - full acces
if Operator - 1 button(that leads to a form with 4 textboxes that edit a row from a database)
if guest - 1 button that leads to a form with a datagrid
So, if a guest user clicked a resticted button a msgbox appears.
My login form code looks like this.
[Code]...
View 5 Replies
Mar 6, 2011
Okay, I will be using Username &'Type' through out my project to verify certain things. On workbook open, I grab the username. Now I want to put the username list and type into a public array. The username list has a range name of UID and the type has a range name of UIDType. The combined list has a range name UIDCo. Which will be more 'resource' friendly? To load UID into one array and UIDType in another or to load the UIDCo into one all encompassing array? I will very rarely use either list alone, it will almost always be a combination of UID and Type verification.
2nd question is, I've only really used 1 dimensional array's before, any help on where I can research more about multi-dimensional arrays. I can pretty much figure out the what it does and how to use them. I'd be more interested in the actual syntax or coding samples.
View 5 Replies
Jan 19, 2011
i need a vb.net coding behind the text box where user going to type the sentence,i have to search the related keywords in my database(sql server),and i have to give the information according to the user needs.i tried a lot by using 'like' function.
View 13 Replies
Nov 19, 2008
I have a structure like this:
Code:
Public Structure Interval
Public temp As Double
[Code].....
'I want to be able to add to the array like an ArrayList though... 'after assigning values, like this:
interval(0).add
View 1 Replies
Nov 15, 2011
im trying to create a program where the user will type in a number then choose the units its in and units it will be converted to from 2 comboboxes. The output should be changing as different units are clicked without a button.
Public Class Convert
Sub Calculate()
Dim Unit1 As Double = (ComboBox1.SelectedItem)
[Code].....
View 2 Replies
Mar 15, 2012
How do I determin if a user has given me what I am asking for in terms of data type.
Example if my prompt to the user say "Give me a number of double data type"
How can I tell that the user entered a double xx.yy?
Or if I am testing for integers and I get user input ABC.GH?
I know about CDbl and CInt and CStr but these don't work unless data is provided. Also how do you test if the conversion took place? Also how do you differencate between 12.00 being integer?
View 4 Replies
Apr 2, 2009
i'm using VB.net 2003 application program. i'm trying to convert a VB6 program to VB.NET. The VB6 code i'm trying to convert is shown below. declared g_Share() array in module and trying to add values to it inside form.
[Code]...
View 1 Replies
Apr 2, 2009
i'm using VB.net 2003 application program. i'm trying to convert a VB6 program to VB.NET. The VB6 code i'm trying to convert is shown below.declared g_Share() array in module and trying to add values to it inside form. VB6 (Code inside Module)'Global type array to hold printer info.
Public Type OShare
PrinterName As String
BackupName As String
CurrId as Integer
End Type
'Declare dynamic array for printer info as user-defined type declared above.
Public g_Share() As OShare
VB6 (Code inside Form)
Public Sub LoadPrinters()
[code]....
when pgm runs and when it reach ".PrinterName = myReader(0)" line, it crashes. Object reference not set to an instance of an object. using immediate window i can see the myReader(0) value. how can i create dynamic array for user-defined type in vb.net?
View 2 Replies
Apr 2, 2009
i'm using VB.net 2003 application program. i'm trying to convert a VB6 program to VB.NET. The VB6 code i'm trying to convert is shown below.
declared g_Share() array in module and trying to add values to it inside form.
VB6 (Code inside Module)
'Global type array to hold printer info.
Public Type OShare
[Code]....
how can i create dynamic array for user-defined type in vb.net?
View 1 Replies
Jun 21, 2011
I have following VB.NET console application [code]...
View 3 Replies
Feb 21, 2009
I an working on image converting program. I need to convert a file that the user selects in an openfiledialog to the following file types in a folder that the user selects:
.ICO
.PNG
.JPEG
.BMP
.GIF
The user will select which type they want to convert the image to.
View 5 Replies
Dec 12, 2011
Is there a way to tell if a user who opened a ms access datbase located on the network is using a wired LAN connection or wireless? from the access program I can find out the users' network login and also run thru keys on his registry
View 5 Replies
Sep 29, 2009
I'd like to create a user-defined data type in VB.NET but don't know how to do it.Ta say there's a variable to control the action of a timer control. The possible actions would be "no action", "run timer", and "stop timer." I could do this with an integer (e.g. 0=no action, 1=run timer, 2=stop timer), but I'd rather create a data type so that the options are more explanatory than a simple integer. Like so....
Private Timer_Action as MyDataType
Timer_Action=MyDataType.RunTimer
View 3 Replies
Dec 31, 2009
I want a box(listbox or textbox) in VB.Net form. then when I running the program, user can type a value in the box. can I ask user to type and read the value user typed into a variable. Example: User type 4.137, the program will read 4.137 and assign it to a variable A. I try to find the syntax to do this on VB.net but I have no luck finding the right syntax to read the value. I using VS 2005.
View 3 Replies
May 15, 2010
I'm looking to have a user type something into a text box on a form and then on button press check that against values held in a single column of a single table in a database that I already have linked to the project. If it finds the item in the table Do X if not Do Y?
View 2 Replies