Dear all...
I want to get textbox handle from "Oracle Developer Forums Runtime" appications
to read it's text with VB.NET or C# But cannot!!!!
Please help...
I have a string like
Pakistan, officially the <a href="Page.aspx?Link=Islamic Republic of Pakistan">Islamic Republic of Pakistan</a>
Now I am using
System.Text.RegularExpressions.Regex.Replace(inputText, "(\\bPakistan\\b)", "something");
to replace Pakistan outside the tags. But I don't want to replace Pakistan occurring within the <a></a> tags.
Do you know what can I use to open page in my application and to manage it using for example DOM
(when I want to change content of text area for example ?)
I'm talking here about something working which can for example support cookies etc. (Even addon)
Hey Guys,
i'm not very firm with preg_replace - in other Words i do not really understand - so i hope you can help me.
I have a string in a Text like this one: [demo category=1] and want to replace with the Content of Category (id=1) e.g. "This is the Content of my first Category"
This is my startpoint Pattern - that's all i have:
'/[demo\s*.*?]/i';
Hope you can help?
Thanks,
Sascha
Hi, I'm new to NHibernate. Actually I'm trying to save the values ffrom two text boxes into MySql Database in asp.Net page. I that I got
"Resource not found: WebApplication1.Sample.hbm.xml" error. But I can't fix this error. Can anyone help me to fix this one?
This is a 2 part question:
1)
click on one of the demo dropdowns on this page. when you tab over to the next input, the text is selected/highlighted in firefox. how can i prevent this from happening?
2) bonus: can you review my code that is hosted on google and tell me what i can improve?
Hey Guys
Im thinking about making a suggestion box for my next iPhone app.
Whats the best way to go about this? I was thinking an ModalViewController, a text box that emails out?
Are there any other(better ways) to do it?
Any expertise would be appreciated
Cheers
Sam
Why is the following VB.NET code setting str to Nothing in my VS2005 IDE:
If Trim(str = New StreamReader(OpenFile).ReadToEnd) <> "" Then
Button2.Enabled = True
TextBox1.Text = fname
End If
OpenFile is a Function that returns a FileStream
Hi,
I want to send the following JSON text {"Email":"[email protected]","Password":"123456"} to a web service and read the response. I know to how to read JSON. The problem is that the above jason object must be sent in a variable name jason. How can i do this from android? Like creating a request object setting content headers etc.
Hi this seems like it should work,
from something in collectionofsomestuff
select new SelectListItem(){Text = Name, Value = SomeGuid.ToString(), Selected = false};
When I try to do this it doesn't work give me error
LINQ to Entities does not recognize the method 'System.String ToString()' method, and this method cannot be translated into a store expression.
Is there a workaround?
Hi to everybody
thislink text is a demo "done right" about rails3 and UJS, but if you add:
validates :name, :presence = true
to the Task model that error(500 Internal Server Error) is displayed nowhere.
Do you know a correct and clean way to handle it?
For my website I configured some custom error pages.
If I generate a 404, the redirect works fine.
When hitting a 400, the "bad request" text shows up instead of the configured URl.
As a test I copied the URL from 404 to 400. No change.
Then I changed the redirect to a file. No change.
Any ideas?
Hi, I have generated using openssl mycert.pem which contents the certificate. And I converted the base64 text into hex.
I wonder if it's possible to extract the informations from the hex string in c (without using the openssl library). For example, the public key, the issuer, the subject, the validity information, etc.
Thanks.
I've followed a blog post by Scott Hanselman for managing configuration with PreBuild Events and have it working fine.
I now want to split up my configuration into a couple of different files, so need to exectue the command again before the build. The problem is the PreBuild event text all gets executed as one console command. How can I split it up as several commands?
How can one put components into an advanced data grid?
I wish to have a standard row with string items,
in this row there is a date selector I want to put in,
and in another cell of the row I want to put a drop down list box containing text "40" and "20" or you can manually edit the cell so that it displays what ever input you decide (other than 40 and 20)
thanks so much
I got a validation based on backbone fundamentals by addyosmani, but when i try it on my view i can't get the error that the model generated.TIA
model.js
validate: function(attrs) {
var errors = this.errors = {};
if (!attrs.box)
errors.box= 'box value is required';
//console.log(errors.box);
if (!_.isEmpty(errors)) return errors;
}
view.js
validate: function(model) {
console.log("error text--" + model.errors[this.input] || '');
},
Hi, i need to execute specific javascript instructions AFTER an external javascript finishes its own process.
(function(){
var dsq = document.createElement('script');
dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://xxxxxxxx.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
How can jQuery know when that .js has finished doing what it does?
I need to store authentication information and I rather not have the password in plain text:
<property name="user" value="theUser"/>
<property name="password" value="secret"/>
Has anyone figured out a way to encrypt property values in Nant?
I've looked in Nant and Nantcontrib docs but no mention of encryption. I am considering going the route of creating my own Nant Task.
Any suggestions?
Hi all
In our project we use FB connect authorization.
For authentication via mobile phone using the link http://m.facebook.com/tos.php?api_key=2461ce...7e76&v=1.0&next=http://beta.my_servicet.net/fb_connects/new_merge&cancel=http://beta.my_servicet.net/account
The user gets to FB and enter your username and password, then it should redirect to http://beta.my_servicet.net/fb_connects/new_merge
But instead we see a screen with the text "Redirecting ...". Nothing else happens.
My phone is iPhone.
Is it possible to perform custom action when user touch autodetected phone link in UITextView. Please do not advice to use UIWebView instead.
And please don't just repeat text from apple classes reference
- certainly I've already read it.
Thanks.
Hi,
I'm trying to develop an online application where the user writes some text and the software sings it back to the user.
I can currently generate the audio file with the words spoken by the computer using espeak, but I have no idea how to make it sound like a song, how to add rhythm to it.
I'm able to change the pitch and tempo using rubberband, but that's as far as I've gotten.
Does anyone have a clue how to make this happen?
I have a memory leak when i use a UITextView but I don't understand why :
UITextView *textView = [[UITextView alloc] initWithFrame:CGRectMake(20, 160, 280, 150)];
textView.text = @"Hello World";
textView.editable = FALSE;
[self.view addSubview:textView];
[textView release];
Is someone could help me? :S
IE 8 is doing something very strange when I hide a column in a table with table-layout:fixed. The column is hidden, the table element stays the same width, but the tbody and thead elements are not resized to fill the remaining width. It works in IE7 mode (and FF, Chrome, etc. of course). Has anyone seen this before or know of a workaround?
Here is my test page - toggle the first column and use the dev console to check out the table, tbody and thead width:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>bug</title>
<style type="text/css">
table {
table-layout:fixed;
width:100%;
border-collapse:collapse;
}
td, th {
border:1px solid #000;
}
</style>
</head>
<body>
<table>
<thead>
<tr>
<th id="target1">1</th>
<th>2</th>
<th>3</th>
<th>4</th>
</tr>
</thead>
<tbody>
<tr>
<td id="target2">1</td>
<td>2</td>
<td>3</td>
<td>4</td>
</tr>
</tbody>
</table>
<a href="#" id="toggle">toggle first column</a>
<script type="text/javascript">
function toggleFirstColumn() {
if (document.getElementById('target1').style.display=='' ||
document.getElementById('target1').style.display=='table-cell') {
document.getElementById('target1').style.display='none';
document.getElementById('target2').style.display='none';
} else {
document.getElementById('target1').style.display='table-cell';
document.getElementById('target2').style.display='table-cell';
}
}
document.getElementById('toggle').onclick = function(){ toggleFirstColumn(); return false; };
</script>
</body>
</html>
Hi,
I currently able to create a Medium size TextAppearanceSpan, But how can I set the text color to a specified RBG color (say #c71585)?
new TextAppearanceSpan(context, android.R.style.TextAppearance_Medium);
I see there is a constructor for
public TextAppearanceSpan(Context context, int appearance,
int colorList) {
But what is the int for colorList? Is there any example for this?
Thank you.
I am looking at some PHP code where there are translation strings.
For French there are characters that I have never seen before and I am asking if someone could shed a light.
These strings are used as HTML output, but also as body text to send emails.
È = é
Ë = è
‡ = à
Í = ê
...