|
expresso is the program you need.
Your problem is that there's a colon in your regex, it thus matches 2 and not 1. Remove the colon and it matches both, because * means any number of chars, including 0. It won't match the whole string, your match is any number of alpha chars, followed by any number of _:/.
dsfsdf::says
matches
dsfsdf::a says
only matches 'a says'
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
i have one doubt about dll hell problem.Suppose i have added a component called imagecombobox in the GAC. i am using that component in my First application.after that i made some changes in that component and again added the same component in GAC with different Version.i am using that component in my Second application.After This my first application will use which component?..................can anybody explain me?............
|
|
|
|
|
I've never once added a component to the GAC, I think it's a waste of time. Far easier to distribute dlls with your app ( which is how they are now solving dll hell )
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
how to delete a value in datagrid from vb.net windows apllication?
|
|
|
|
|
here is a good code for you....
Public Sub DeleteRowFromGrid(ByVal intRowNo As Integer)<br />
EmployeeDS.Tables("Employee").Rows(intRowNo).Item("RowState") = "deleted"<br />
End Sub<br />
<br />
Public Sub ReBindData()<br />
Dim objDataView As New DataView<br />
objDataView.Table = EmployeeDS.Tables("Employee")<br />
objDataView.RowFilter = "RowState<>'deleted'"<br />
dgDetails.DataSource = objDataView<br />
End Sub<br />
<br />
Private Sub btnDeleteRow_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDeleteRow.Click<br />
Dim intRowNo As Integer<br />
intRowNo = Val(InputBox("Please Enter Row Number to Delete"))<br />
If IsNumeric(intRowNo) Then<br />
DeleteRowFromGrid(intRowNo)<br />
ReBindData()<br />
MsgBox("Deleted Row Number :" & intRowNo.ToString() & " Succsfully.")<br />
Else<br />
MsgBox("Please enter an Number")<br />
End If<br />
End Sub
Remember it will not delete any entry from database.....
Tirtha
Miles to go before I sleep
|
|
|
|
|
how to search a record in datagrid from vb.net windows application by selected a value in combobox
|
|
|
|
|
This question has many answers, all of which depend on what your database looks like and what you're searching for, be it a primary key in a table, or text in a table, or ...
Details, man! The answer lies in the details of your question, of which you haven't given any detail at all! If you ask a question and use less than 100 words to describe the problem, I guarantee you've left out critical information needed to answer your question.
This simplest form of a search is for a specific record based on a unique, primary key value to identify that record. In an SQL statement, it looks like:
SELECT someField, someField, someField
FROM someTable
WHERE someIdField = someIdValue
|
|
|
|
|
hi...
i am trying to show a video clip on a track at some postions
is there any code available in vb.net...
if anybody knows this
plzz send a mail to me..
thanks & regards
|
|
|
|
|
Use the windows media player control.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
what is the vb.net windows application code for edit a record in datagrid from vb.net during runtime
|
|
|
|
|
You don't edit the record in the datagrid, you change the data in the datasource the grid is bound to. And how you do that depends entirely on your datasource, be it a DataSet object, DataTable, or some other collection or array.
|
|
|
|
|
what is vb.net windows application code for this c# code?
Response.Redirect("mailto:kumar@indocanapparel.com?Bcc="+sb.ToString());
|
|
|
|
|
your question is utterly confusing....
windows application has nothing to do with Response.redirect It actually takes you to another Page in case of a web application....
what do u want....???
Go to another Form from one Form ???
Or Simple the corresponding VB.NET version of your one liner code...then it is
Response.Redirect("mailto:kumar@indocanapparel.com?Bcc=" & sb.ToString())
I am quite confused........
Tirtha
Miles to go before I sleep
|
|
|
|
|
Remove the semicolon. This is just calling a framework method, so it's the same.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Is there any article that eleborates the events , Raiseevents , delegates .......
Their utilities , advantages and how to use in the real life programs.
|
|
|
|
|
There are at least two on this site.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
All I wanted to know what is the utility of these things like the delegates
As the delegates contain the reference of the functions
we call the delegate and function executes.
now
Isn't that extra work to declare delegates ?
can't we simply call that function to execute
call functionname()
|
|
|
|
|
Delegates allow for more robust flexible code. They fill a needed role and should be used when the task requires them. Christian already mentioned there are some articles on this site. Do a simple search for 'delegates' and you'll find a number of articles here at codeproject that explain them and there purpose.
|
|
|
|
|
Hi,
how to detect if a text file is already open...in VB ??
somthng like..
if(FileOpen(fso) != null)....
Priya
|
|
|
|
|
Hello Priya,
To handle any file operation in VB 6 add the reference of filestream object
byusing the file stream object you can get the file objet
use that object....do the needful
Be A Good S/W Eng... Life is swing with you..Enjoy..
|
|
|
|
|
Try and open the file with exclusive access. In other words, if you try and open the file with DenyShareAll and the open fails, the file is already open in another application or in another part of your code.
|
|
|
|
|
Hi! There
I have any problem in ConnectionString In my Application.
In my Application on client must be connect to Multi type Database Server
- Microsoft Sqlserver
- Oracle
- Mysql
Anyway in my application client can connect to Microsoft Sql Server but It can't connect to
Oracle and Mysql Because In Connection String. I can't use "Initial Catalog" to point my application
connect to Database Server. In Oracle Database server someone tell me I must install "Oracle Client" in
client but I don't agree that. How can i do in connection String Now I use Oledbconnection. It calss to connect
my Database
Thank you for answer
|
|
|
|
|
You can't create a single connection string for three different databases. You probably shouldn't use the same data layer class, either, there are specialised Oracle and SQL Server classes in the framework.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Yes I have multi connection but my problem.
My application can't connect to oracle database server
because in connection string of Oledb class for oracle didn't have
initial catalog same Microsoft Sql server for point to oracle server database.
How I do next for my client application 
|
|
|
|
|
Like I said, create a data access layer class for each database, which uses the classes designed for that database.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|