Find A List Of Virtual Key Codes?
Oct 3, 2009Where can I find a list of Virtual key codes? [code]
View 4 RepliesWhere can I find a list of Virtual key codes? [code]
View 4 RepliesI am trying to create a list of all virtual directories within an IIS site. However, I have found that trying to do this varies dramatically in the older versions of IIS. In IIS 7 this is a relatively easy task via C# but I can't seem to find a good method for doing this in IIS 6 and 5. I have tried using the System.DirectoryServices.DirectoryEntry but that doesn't seem to give me the desired output. I am the server administrator so I'm open to using other things such as .vbs files that are built into IIS as well as writing my own code.
View 4 Repliesi was wondering where i can find all the key codes for KeyChar function. eg, the Enter key is 'Chr13' i did a search of DIC and Google, but can't figure out what to look for exactly.
View 6 RepliesHow to findout computer / server name with vb.net codes.I want to use it in connection string
con = New Data.SqlClient.SqlConnection("Data Source=noor;" & _
"Initial Catalog=accounts;Integrated Security=True")
I cannot find a class library source codes where I can create the sliverlight player so I could input them in the program.
View 4 Replies[code]How i can make The Program to find Numbers On Form and Do That without making So Many "Same" Codes?Its Pretty Annoying To Make Big Program nad only Copying and Pasting Text.
View 3 RepliesI need a list of LAN settings & codes for visual basic 2008
View 1 RepliesI'm making a program in which I need all the currency codes in three letter words like USD, EUR, YEN etc in a combo box. Can sombody please please please help me in how to do that. I have tried the Culture, RegionInfo etc but I'm only able to get just one code. I need all common codes.
View 3 RepliesI have to display data as following:
EEAST
WWEST
NNORTH
SSOUTH
NENORTH EAST
and so on, in a tabular form. when I select any of the above row then that can be deleted by simple buttom; and at the same time we can also add more item in above list throught inpput box. If it is a single column then I can do it by list box. How can I do it when I have multiple columns.
Dear Experts modify UPDATE codes according to INSERT codes Style.
[Code].....
I need update codes as there are insert codes
When .Clear() is invoked, is the memory freed up that was allocated when all of the items were added? I need to load several lists of codes from a database depending on the import selected by the user. Each list of codes will be a List(Of String). My idea is that I will load only small strings into a List(Of String) along with a List(Of <class>) for the data I will be validating and manipulating. When I am done, I want all of the data from the Lists to be purged from memory. Will .Clear() take care of that or does the memory still remain allocated and have to be dumped by the OS once memory gets full? (And, incidentally, what causes the OS to decide which memory blocks to dump? FIFO concept?)
There are so many lists, I'm not sure if I just want them sitting in memory or not. Granted, the lists will just consist of a single string value for each code pulled from the database. So there won't be a ton of data, so maybe I could just load all the validation lists at the beginning of runtime and only worry about purging the data List since it will contain between 35-50 "fields" per record and there will be a couple thousand records each import that is run. I don't want my program to actually cause a hit in performance in the long run. I ultimately don't see a problem because I won't be running millions or even hundreds of thousands of records at once, but I just want to be sure.
After reading all the examples for list of T exists and Find and find first, none show how to handle multi-property objects. Below is bare bones example maybe someone could flesh out to show how this should be done.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim DatePriceList As New List(Of DateAndPrice)
DatePriceList.Add(New DateAndPrice(Date.Parse("1/1/2000"), 10.12))
DatePriceList.Add(New DateAndPrice(Date.Parse("1/2/2000"), 11.12))
[Code]...
I have a list of specific class.In this list , a position class is included.And that position class includes X and Y coordinates.I have Current Coordinates and the coordinates in list .I want to calculate the distance for each item in List and find which item has minimal distance.Here is my code :
For Each item As ITEMX In xHandle.ItemList
Dim CurrX As Integer = txt_TrainX.Text
Dim CurrY As Integer = txt_TrainY.Text[code]....
so distance is the distance between my coordinates and the item.I calculate it for each item in list but how do i find the minimal one ?
i m getting a collection of data in list's object. And from this list i want to get the maximum id.`
Dim objinfo As List(Of AlbumInfo) = objPhotos.GetPhotos_Alb_ID(Me.ModuleId, hdd_AlbID.Value)
Dim Photo_Image As String = ""
Dim str As String = Photo_Image & fu_Photo.PostedFile.FileName.Substrng(fu_Photo.PostedFile.FileName.LastIndexOf("."))
[code]....
this returns the "0"th positions id from Convert.ToString(objinfo.Item("0").Photo_Id + 1)but i want to get the last item's id.
I have a simple class called Player. I can add players to it, but haven't figured out how to remove them. I've tried various ways, some compile some don't none work
Public Class Player
Public Name As String
Public Sub New(ByVal name As String)
[code].....
Does anyone know where I can find a list of symbols used in VB?I'm trying to place documentation in a program, but I want VB to ignore the line.
View 5 RepliesI have a list of names with corresponding numbers (In this case volume and weight names and their corresponding conversion number to deciliter and gram)
I have been looking how to program something like this in visual basic and came up with a list of class objects in which i could then do a find for the name and then get the corresponding modifier decimal.[code]...
I am writing a program using editable list boxes that will then be compared to a string later. I have no problem editing the listbox, but I am having trouble figuring out how to compare the list of things to the string. I envision using either a "for/next" loop or a "do/while" loop.
Mostly, what I need is the way to read the list box one entry at a time, in order.
I've been looking at the List(Of T).Find method and cannot figure out why it is useful?
Microsoft's example for using it is as follows:
CODE:
Can't find a drive list box in the tools (2010).
View 4 RepliesI have this VB.Net form and I need to know the names of all the controls on it. I would suppose that Microsoft keeps a list of all the controls on any given form I just don't know how to access it.
View 4 RepliesI have the following setup[code]...
What I would like is a Item property in the collection that I can say [code]...
I know about predicates but what I am struggling with is how to set the criteria of the predicate (i.e passing x,y,z)
This Questions has properties QuestionID and QuestionAnswer. While iterating through this List of Question in foreach, I have to find .QuestionID = 12. If I find .QuestionID = 12 then I have to immediately assign a value to .QuestionAnswer = "SomeText" of .QuestionID = 14.
I don't want iterate again inside .QuestionId = 12' to find.QuestionID = 14` again.
Is there any way I can go directly to .QuestionID = 14 using LINQ?[code]...
I have an List(of String), i need to find the index of a particular string in that list. I have searched msdn , but i am confused over the predicate methods. I have never used predicates. This i what i have tried
vb
'on button1 click
Dim Heads As List(Of String) = Me.GetSelectedNodes()
Dim tmp As Integer
[Code].....
I have class called GroupSelect and made a collection List(Of GroupSelect)().Now I need find to RowNo = 4 in List(Of GroupSelect)() and get GroupSelect object.[code]
View 2 RepliesIve got two lists (each representing a table in a DB, so they are related). lstTransaction has t_id, date, and cust_id. lstCustomer has Name, and cust_id.For each item in lstTransaction Id like to find the index in lstCustomer where lstCustomer.cust_id = lstTransaction.cust_id.
View 5 Replieswhere can I find the full list of VB.Net Exceptions? I saw one similar question in this forum, but couldn't find the answer.
View 1 Replieshow to use ListName.Find. I am trying to find a number in an a list of integers.
View 1 RepliesIn a vb.net application I have a set of integers currently stored in multiple Arraylist (But this could be something different if required)
al1 = {1, 2, 3, 6, 7, 9}
al2 = {2, 3, 4, 9}
al3 = {2, 3, 19}
[code]....
In vb.net, I am having myList as List(of myClass) and myData as myClass. So how do I find whether if myList contains myData or not? Currently I am doing it like:
dim myList as List(of myClass) = myClasses.GetData()
dim myData as myClass = myClasses.getData(1)
for each Item as myClass in myList
if Item.uin = myData.uin then
msgbox 'yeah'
end if
next