True, but if I use the same (exact) code you typed with:
1) someText
2) [someTag=someValue]
(note the absense of an attribute in the first example)
It will not produce the following code:
1) <someTag>someText</someTag>
2) <someTag someVariable="someValue" />
But will product something like...
I just realised, you've used preg_split, which doesn't work with the current script I have. I need to have a script using preg_replace (or str_replace) so that I can change (an example BBCode string):
http://someWebsite.com[/b]]someText
To:
<a href="http://someWebsite.com">someText</a>
I...
If I have the following string-
someText
How do I use str_replace or preg_replace to change the string into something like this?
<someTag someVariable="someValue">someText</someTag>
Basically, how do I keep the "someValue" bit intact during the function?
Whoah! Well it looks like making "unmanaged" programs are very difficult. Thanks for all your help, but I've now opted not to use "unmanaged" coding. I guess I'll have to return to VB6. Thanks again, James.
Errrm thanks again for the reply. I first looked in the VB.NET forum and found nothing, but then realised you said C# forum. However, I don't know much about the C#.NET language so any furthuer help is appreciated.
Aww thats a shame, but thank's for the reply anyway. What I am now puzzeled is how does Microsoft Internet Explorer (MSIE) and Microsoft Word etc. use the .NET framework visual styles without the requirement of it? I hope you can clarify this as well. Many thanks again, James.
P.S. Could you...
jebenson, thanks for replying. Yes, I am currently using that, but then when the form load, how can I determine the avliable width space? I mean, the Anchor property only anchors the distance between two edges, but I have been puzzled to "closing" this gap up. I hope you understand, and sorry...
I have several situations which I can sucessfully make an application for, but I need to be able to "embed" the .NET framework into the application, or something similar. Basically, I need to make my application to run without the need to install .NET framework or the need to "setup" anything...
Any progress so far because I am getting desperate. I have been suggested to use the resize event and the .width method of my combobox but it doesn't look "neat", so please help.
I would suggest using a Timer control to achieve what you are doing. Set the interval of the Timer to 5000 (5,000 milliseconds) and then double click the control to bring up the Timer's tick Sub. Put the code that you need to repeat every 5 seconds here.
I've have just changed all my code which needs to refer to the active MDI child to the code provided. But now I need to find a way of updating a control on the parent form from the active mdi child. Based on the code above, I have the following:
Dim frmParentForm As Form = Me.ParentForm...
I just want to state in this post that I have found a solution: to manifest into VB.NET which has the XP styling in every control. Many thanks anyway guys, James.
My program consists of a MDI Parent which needs to relate to the active child form. How do I achieve this, if I want to use the .GoBack() function on a web browser within the child if I click on a tool bar button in the parrent form. All I know how to use is Me.ActiveMdiChild. but it fails to...
In the status bar control, there is a “Spring” property which auto-resizes the control to file any available space. Is there a similar property for a combo box control embedded into a toolbar? In MSIE, the Address bar is structured in a similar way, and I would like to mimic the properties. Many...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.