[2005] Obtain The String In Between A "< >"
Jan 12, 2009
I'm trying to obtain the string in between a "< >"
eg. string = " partofstring<stringIwant>"
How to I go on to obtain stringIwant and partof string may increase or decrease in length?
View 11 Replies
ADVERTISEMENT
Apr 9, 2012
[code]...
Is there any trick that could give me the first word of the str [code]...
View 1 Replies
Mar 14, 2012
I have a language that generally contains serialised data messages in a human-readable format, but some productions within the language contain verbatim raw, binary data.My parser uses String for its buffer since that seems to be the easiest thing to work with. However the data is read from a network socket into an array of Byte.
Now, I'm trying to connect the dots between Byte() and String:
[Code]...
But my data is still mangled. I haven't actually been able to deduce yet precisely how the data is being mangled, but I do know that the length of the data is changing, indicating that the bytes are not being left verbatim.
So how can I obtain a String whose contents are just a verbatim copy of the bytes from my Bytes() input?
View 1 Replies
Dec 19, 2009
I need to store a calculation to use later and obtain a new calculation
[Code]...
View 4 Replies
Jan 17, 2010
I don't understand why the line final.join etc pops up with these errors!! Value of type 'String' cannot be converted to '1-dimensional array of String' And Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated This is my code.
[Code]...
View 6 Replies
Feb 19, 2009
The following is ment to generate the path to a text file and stream the data found there into an array.
Dim y1 As String
Dim y2 As String
Dim y3 As String
[code].....
View 5 Replies
Jun 4, 2009
codes like(x is variable)
dim k as string="5b5" & x & "85"
I want to know how many times "5" appears in k,
View 6 Replies
Jul 30, 2011
The intent of the code is to open an xls file -minimize it , search for keywords . there are columns like test case name ,priority(simple ,medium and high) with associated keywords.If keywords are found, it shld save the test case name - Priority in a text box. When i run this code i am getting err in
[Code]....
View 1 Replies
Mar 30, 2009
My problem seems simple but I can't find an answer for it.I need to be able to pull a phone number (string) from an entire string. example: "My phone number is (xxx) xxx-xxxx, call me as soon as possible."
Its obvious to me that the phone number should be able to change depending on who you are talking too. So the question becomes, how do i search for the phone number's format within the above string?
View 6 Replies
Nov 11, 2011
I'm trying to obtain data from a dll, but I do not know how to do it.My code is:
'Function
Public Declare Function SET_XML_PATH Lib "EbmPapstFan.dll" (ByRef ruta As String) As Long
Public Declare Function GET_PRODUCTS Lib "EbmPapstFan.dll" (ByRef ruta As String) As Long
[code]....
This isn't a mistake with the path because Int_A is 0. In addition, GET_PRODUCTS gives me the number of products that software has.The manual say that this function also has string character output.I don't know how obtain this other string character output.
View 2 Replies
Mar 15, 2012
How can I obtain the first row value. ex.
Table
ID NAME AGE
1 peter 14
2 Jogn 13
3 Luke 6
If i click peter I will get 1.I can get the clicked value but I do not know how to get the first item in the selected row.
View 2 Replies
Jan 10, 2012
I am following some instructions that apparently work with vb6, but as i have downloaded the lastest version of visual studio i think its up to version 10.
The code i am trying to make work is,[code..]
I searched a bit for an equivalent.
View 3 Replies
Sep 27, 2011
my problem is that is have to create a program in which I enter some text in a text box and then in an other text box it will display the value store in a selected byte. I really don't know where to start. I have a form with three text box and a button. One of the text box to copy o write whatever I want, the other text box to write the number the byte I want to get the value and the last text box to display the value stored in the byte I choose. With the button I will start the function that will get me the value in the byte.
View 6 Replies
Jan 10, 2012
I am following some instructions that apparently work with vb6, but as i have downloaded the lastest version of visual studio i think its up to version 10.[code]The error is that hWnd is not a member of windowsapplication1.form1.
View 3 Replies
Dec 14, 2011
I have a general idea of what the code should look like but I can't seem to finish/put it together.I have a year's worth of data such as December 01, 2010 to December 01, 2011.The problem is that there are more than 365 points, some days for example have 3 data points and others have 4, etc..What I would like is to only have 365 points of data by averaging the data points for the days that have multiple points.
[Code]...
- So far I have another column with dates from Dec 1st 2010 to Dec 1st 2011.
- I think I'll need an IF statement for if the whole range of A column equals one of 365 days, it'll equal the average data.
- then I'll need to have a statement for x+1 date for each consequtive day.
View 1 Replies
Aug 20, 2009
Say I have a rolling collection of values where I specify the size of the collection and any time a new value is added, any old values beyond this specified size are dropped off.Obviously (and I've tested this) the best type of collection to use for this behavior is a Queue:
myQueue.Enqueue(newValue)
If myQueue.Count > specifiedSize Then myQueue.Dequeue()
[code].....
View 5 Replies
Sep 28, 2009
I'm testing a window application which was written in VB.Net 2003.I set a few BreakPoints and Debug the project.When the debugger hit one of the breakpoints, it stops at there. Its correct.But when I try to add one of the variables to "Watch", it said "error: cannot obtain value".I tried to search the Net and found that some said "its because of structures", some said "its because of passing too many parameters." and some said "its because of too many line of codes (LOCs)".but my problem is not in passing parameters or too many line of code.the function i set breakpoint has only around 300 LOCs (including around 100 line of comments)And the value I tried to get is from my TreeView which is on my Win Forms.its very strange that I can't even get the value from Forms.
View 7 Replies
Mar 28, 2011
I have a listbox with urls. For example
View 5 Replies
Mar 10, 2010
I have a .dll provided by a vendor and it requires me to pass a handle to the com port the device is represented as in order to access some other functions. Can I get the handle from the SerialPort object? The device I'm working with is a USB-UART converter chip with auxiliary I/O. I need to access the I/O which involves using a Visual C++ 6.0 .dll which is the one that requires the handle to the Com port.
View 2 Replies
Jan 15, 2010
Is there a way to obtain a collection of ProcessThreads by ID like you can with processes? I know the ID of the threads and I need to obtain additional information about those threads. So I was hoping I could get a collection of threads and then pull the required info.
View 3 Replies
Sep 3, 2009
I am trying to obtain a value by calling a stored procedure I am trying to use the n tier design as opposed to the wizards. I am not sure how my function should look when it is called from the persistance class. I am using MYSQL for the database.
The persistance class works and the stored procedure works in the database.
View 4 Replies
Jul 15, 2011
Is there a way to obtain the "default" network card that's being used by the OS (WinXP, WinVista and Win7)?I've been able to get all stats from all NICs (or just a particular NIC); however, I can't figure out how to identify the "default" network card or "default" network connection or the network connection that's being used to send/receive data.
View 1 Replies
Sep 8, 2011
how to obtain eigenvalues and eigenvectors in VB2010 ?
View 20 Replies
Jun 9, 2011
After trying to port a C++ program which was a console application where it crawled the forums with the url provided and in the end stored the result inside a database for further analysis.
[Code]...
View 2 Replies
Dec 23, 2011
i downloaded vb 2010 express. as usual it requires a registration key after 30 days but i cannot get the registration key . i have an live id but still i cannot get a registration key.
View 2 Replies
Mar 27, 2011
I am looking for a way to obtain some additional features on a treeview. Both, to show as to be able to input some data with a particular hierarchical structure For that on each node I need next to the nodetext a entrypossibility to input some data or to make a selection. This input possibility should be either a textbox, a combobox or a chechbox. An example of what I wisch is almost this article, except that the comment column is only a fixed text, and that I need there a input control like a textbox, or combobox.
View 4 Replies
Oct 11, 2009
I am having problems using the GetWindowRect statement I've searched many forums and used the API text viewer to obtain the declaration statement of which there are a few different versions, a couple being :
View 3 Replies
Jan 29, 2009
I've searched and seen alot of posts about obtaining the mac address of computers but I'm not sure if I understand completely or if those are the ones I need.
I am needing to obtain the mac address of a specific computer via an ip address. Most of what I've seen returns to me an array or list of items.
View 6 Replies
Dec 18, 2010
How to obtain the primary key value of a newly inserted row?
View 15 Replies
Sep 22, 2009
I have a windows application in VB.net that uploads some files to an existing web service. I know that this web service is providing a response back (success or failure), but I have no idea how to view it or save it.
Dim username As String = "username"
Dim pass As String = "pass"
Dim myWeb As New webserviceaddressishere[code].....
View 1 Replies