Find Age From DOB?
Mar 19, 2011Windows Form I have a textbox when I enter DOB in the textbox the Age should appear respectively .[code]...
View 2 RepliesWindows Form I have a textbox when I enter DOB in the textbox the Age should appear respectively .[code]...
View 2 RepliesI am currently using the code below within a VB.Net application to find specific text in a Word document. The text is surrounded by symbols represented by the character codes in the .Text statement. The code below is working fine. The issue now is that sometimes the desired text within a document has been marked for deletion and appears as tracked change within the document. I would like to find only the desired text that has NOT been marked for deletion. Does anyone know of a way to determine if the found text is a deletion?
[Code]...
I have been trying to find the last filled column row in a sheet using this.
clast = xlapp.ActiveSheet.Cells.Find("*", SearchOrder:=XlSearchOrder.xlByColumns, SearchDirection:=XlSearchDirection.xlPrevious).Column
rlast = xlapp.ActiveSheet.Cells.Find("*", SearchOrder:=XlSearchOrder.xlByColumns, SearchDirection:=XlSearchDirection.xlPrevious).Row
I've got a form - CMCConsole It pops up a dialog form for adding a new case.If the matter number in a textbox on that dialog form matches an existing cases matter number I would like to find it in the binding source of the CMCConsole form
Private Function CheckMatter(ByVal MtrNum As String) As Boolean
Dim cfIndex As Integer = CMCConsole.caseBS.Find("MatterNumber", MtrNum)
Dim cfIndex2 As Integer = CMCConsole.casefileBS.Find("MatterNumber", MtrNum)
[code]....
But it appear the filter for the CASE we were just on that is set on the binding source is keeping the FIND from seeing other cases.
caseBS.Filter = "CaseId=" & e.Node.Tag.ToString
Do I have to clear the filter in order to find a matter number in some other case??
how to search xml file and display the result in list box.then export a xml file to excel in the search result
View 4 Replieshow can you create find & find next (using tooltip menu) create in vb.net for datagridview value.
View 1 RepliesI have a TypedDataTable called CamerasDT which has a composite Primary Key of GroupId and CameraId. I want to use TypedDataTable.Rows.Find(key as object) to return a specific row by GroupId and CameraId. I don't seem to be able to find a way to send primary key to the find function.
View 1 RepliesI have a rich text box with the following text in it:
word word
I am finding the endings of the word, that is, the string "rd". The following code finds the first occurance, but then fails to find the last occurance, and the variable "indexToText " changes to -1.After the first search, the debugger shows the startLocation at character position 4, so it is not past the second occurance but still will not find it.
indexToText = FrmMain.RichTextBoxPrintCtrl1.Find(searchValue, _
startLocation, eof, RichTextBoxFinds.None)
If I change the text to:
word word word
It then finds the first two occurrences and fails to find the last occurrence.No matter how many words I add, it always fails to find the last occurrence.
I am suppose to only Find the total of each column in the last row. Find the grand total in the last cell (the bottom right corner)Ok i have tried to do the grandtotal but i am not getting what she wants done I have also tried to reverse the arrays but that was wrong to. I am only suppose to add two line one line is find the total of each colums in the last row and to find the grandtotal.
Module Module1
Sub Main()
Dim sum(5, 4) As Integer
Dim row, col As Integer
[code]....
I've been trying to get the IPs (or computer names) of the computers in the same network as the computer running the program.
I got as far as getting all the IPs of the servers in the network wich ended up in a dead end since its all the computers that i need and not the servers only.
My goal is to get acces to files on all the other computers, i guess a shared folder would do the work and just access it as a regular folder, but for that i need the computer name (wich i can get through his IP)
Basicly, I need to find the ips of all computers in the same network wich is not what i get right now...
Dim localIP() As System.Net.IPAddress = System.Net.Dns.GetHostAddresses(System.Net.Dns.GetHostName)
Dim strLocalIP As String = localIP(0).ToString
[Code].....
Yes I Was wounder How Would I use System.Net.Sockets To Find my IP And Then In A Separate code How Would I Make an IP changer What Im I making?: Im Making A Program That Tells You Your IP..and then There Will Be an Option To Change It If anyone no's about Computers I Want to No Y when I made An IP Thing in VB6 (using Winsock) That It Shows Me a Different [URL]..
View 9 RepliesHow to find the value of Pi using VB or C? and i want to calculate the values until a millionth or more than that where in i can use the values of the obtained in another program. fir example in a encryption program.
View 8 RepliesI am trying find a string in below string. url...by using url... How can I get Team Discussion word from it?
View 5 RepliesHow would you work out the amount of ram that is in the computer
View 1 RepliesTo get the computer name I wrote something like below:[code]This code works on the server machine but on the client machine its not working.Is there any another way to find the computer name.
View 3 Repliesmy app cant see my access db after installation.i traced the location of the db on the computer after installation
C:\Users\Timosoft\AppData\Local\Apps\2.0\QY65PWX9.W3T\QECRQCWW.P3T\wwtb...exe_e6ecfcd40db94ae4_0001.0000_none_93fcea95705260c6\bin\Debug
didnt get it.am using below code in the program to locate the db.
'declare provider and location
strPath = Path.GetDirectoryName(Application.ExecutablePath) & "\bin\Debug"
dbProvider = "PROVIDER=Microsoft.ACE.OLEDB.12.0;"
dbSource = "Data Source=" & strPath & "\wwtbamDB.mdb;Persist Security Info=False;Jet OLEDB:Database Password=kkkkkkkvvf??"
I have a page with Ajax Tab controls, within one of the tabs is a webcontrol that as a Telerik RadGrid, with Edit forms pointing to another web control. That edit form also contains Ajax Tabs and on one of those tabs, there is an Ajax modal popup of yet another webcontrol.The initial webcontrol works fine when used on it's own page, but the edit form fails to appear when the control is used within the Ajax Tabs as desired. The script manager is throwing the following error:
Microsoft JScript runtime error: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'xxx'. If it is being updated dynamically then it must be inside another UpdatePanel.
I'm trying to code a section for my website in VB but VB can't seem to find a button. Is there a way for the code to find it?
I know where it is. Loginview > Login > LoginTemplate. How do I get VB.NET to point to that location?
I'm working on a custom menu system in asp.net that populates a horizontal menu on the fly based on which menu item is selected from the website's main menu.[url]....
At the time I'd written that post, it did work, but my development environment has changed and now I'm getting an error saying that the XML file can't be found.[code]...
I can use mysqldataadapter and mysqldatareader but i can't find mysqldataset?
View 1 RepliesUsually when you right click on an application, and then click on properties, you can find the applications exe name. Such as, explorer.exe, mspaint.exe, and much much more. But I can't find the exe name of any of my apps.
View 7 RepliesI started a task pointing to CMD.exe with windows XP task Scheduler as a non-interactive process and I can't seem to locate it here with this list, I looks like it populates the same list three times?
Code:
Imports System.Runtime.InteropServices
Imports System.Text
Public Class Form1
[code]....
I just looked like 10 times, I can't find it.
View 4 RepliesI've tried so many different things and have searched far and wide but I cannot seem to find an answer for this problem. I am trying to click an update button inside a webbrowser control but RaiseEvent, InvokeMember do not seem to work and I cannot find the right alt using GetElementsByTagName. I am thinking I am having trouble because it is assigned as an input type.
This is the HTML code for the Update button that I am trying to click:
<td valign="top"><input type="image" src="/images/buttons/button_update.gif" border="0" alt="Update" title=" Update "></td>
i try to connect access file trhough oldb adapter, below find the code,
its shows the error could not find d:empolyee.mdb
Dim dbConn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source= D:EMPLOYEE.mdb")
[code].....
Find a function in VB.NET that is equivalent to C++'s Sleep() command (one that makes the application stop for a fixed amount of time, then resume processing)
View 2 RepliesI have the code below that tries to find a IssueMaterialPO node within an XML document. I can't seem to get the XPath correct or am having namespace issues.[code]...
View 2 RepliesI've got to make a small program for my college course that finds the 1001st Prime number. So far i've managed to be able to create this [code]...
View 3 Repliesmy ip is 10.10.10.66 my subnet mask is 255.255.255.0 want to get all other computers ip address?
View 13 RepliesI am trying to be able to find a delete a specific String.
If nameList1.Text.IndexOf(TextBox1.Text) Then
nameList1.Text = nameList1.Text + nameList1.Text.Remove(start, theEnd)
End If
I have start and end set to a value the user inputs