|
I know this may sound very easy one. But i am trying to do this from past one hour and unable to get any further. Can any one please help me. How Extract Words that start with <% and Ends With %> in html using RegExp.
|
|
|
|
|
So what code do you have?
|
|
|
|
|
|
Uhhh... how about the complete code that does the search, not just what appears to be a partial RegEx expression.
|
|
|
|
|
That would only match the start tag. Try something like:
<%(.+?)%>
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi there, I have to create a software agent that plays MP3's. I want to be able to store the day that a song was last played along with a rating which the user sets (thinking combo boxes)... Therefore this data needs to be stored in a database.
I'm designing it in Visual Studio and using VB.
In the database there is a field for the location of the track on the hard drive along with the artsits and track name, etc...
But I can't get the Form to play the files...
So far I have the media player component, Binding Source and a Data Grid View. The binding source and grid view are connected to the data base, but is there anyway that I can combine the media player to the database (maybe via the data grid)??
If there is a better way to go about doing this then plase speak up
Many thanks.
|
|
|
|
|
OK, so all you need to do is get the file path from the dataset and then tell your media player component what the file path to play is. The BindingSource cannot be bound to the player, so you'll have to pass that file path along yourself.
|
|
|
|
|
hi everyone
i am with difficulties in translate the next line of code from c to VB.net
can anyone help me?
protected: std::vector<class*> something
best regards
|
|
|
|
|
|
From what I read in the article about how to post questions, i understand that i should ask to the experts. so i am asking to the experts of vb because my question is about vb not c.
thanks for your reply.
i already watch the article indicated by you, but i still don´t understand completly because the question of pointers in vb.
i am sorry if i post in the wrong place.
|
|
|
|
|
Yeah, but you're looking for an explanation of what the C code does, not the VB code.
|
|
|
|
|
Translating from C to VB.NET is a lot of work. the List class is the equivelant of std::vector.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
translating from c to vb is what i am working now. i as working in c to microprocessors, so now i am with lots of questions.
i understand that i have to use the List class. but how do i use now the pointer as the type of the data ? is the same as in c?
thanks for your previous reply
|
|
|
|
|
VB.NET doesn't support pointers, so you have to look at what the concept behind the code was and rewrite that concept in VB.NET. You cannot get away with a line-for-line translation when going from C to VB.NET.
|
|
|
|
|
Thanks for all your replys and sorry about the bad post
|
|
|
|
|
I've been revisiting the old SQL highlighter rich text box using the MSSQLParser.vbSQLParser to do all the work for me and it works fantastically with hardly any coding at all, however, there does appear to be a mistake in it -
if a string in quotes has a carriage return in it, only the part of the string upto the carriage return is colored correctly, the rest of the string is colored as if it wasn't inside the quotes which is different from how the SQL Query Analyser would handle it. Has anyone come across the problem and if so do you have a code snippet which I could run after MSSQLParser.vbSQLParser to fix the error?
Here's hoping,
Paul
|
|
|
|
|
Hi,
I think I have this all working fine, and I can send you the code if you need it. However, I want to know how I can use the parser without SQL Server on the same machine. It all works fine on all our dev boxes, but probably because MSSQLParser relies on some other SQL DLLS, I haven't got it working on boxes without SQL Server.
Any tips would help.
Thanks
Rich
MOP # )
|
|
|
|
|
I generate a PDF by exporting from crystal report with VB code inside. I use ADO.net data set. In my pdf each page contain information of a certain institution including its name. I generate all good, but like to bookmark all institution name in PDF . How to do it?
|
|
|
|
|
AFAIK, Crystal Reports doesn't support bookmarking, so you'll have to do the export, then report the PDF using another library that DOES support bookmarking and have your code make the changes appropriately. I have no idea which libraries do and do not support this. It's going to be a matter of Googling and doing the research on them.
|
|
|
|
|
Where can I download POS system and payroll system samples made with VB.Net 2005
|
|
|
|
|
Google for them.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
I think he is looking for apps that he can grind the numbers off and rebadge.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Thats what I thought too!
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Dear All, Kindly assist me with a code to transfer the contents of one dataset to another starting at dataset starting at row 1 of the new dataset.
Thanks for your assitance.
|
|
|
|
|
Well cheifo, that question is a pretty sad commentary on your knowledge
foreach datatable in dataset
tablenew = table.copy
datasetnew.tables.add(tablenew)
next
Never underestimate the power of human stupidity
RAH
|
|
|
|