Public Class Class1
Dim obj As Object
Dim str As String '???XML??
Set Obj = CreateObject(U8Distribute.iDistribute)
Str=obj.Process(sXml) 'sXml????XML?? SXML?String?
End Class
Hi all, my app is an e-commerce application. During the checkout process, I have "recipient" and "credit card" screens. In the recipient screen, there are number of fields for address entry, which makes it very clumsy. Same in the case of the credit card screen, where the user is asked to enter their credit card info and billing address.
Can anyone suggest how to design these two pages?
I'm investigating ways of using GPU in order to process streaming data. I had two choices but couldn't decide which way to go?
My criterias are as below:
Ease of use.(good API)
Community and Documentation.
Performance
Future
I'll code in C and C++.
what is the best way to identify first row in the following code?
foreach(DataRow row in myrows)
{
if (first row )
{
...do this...
}
else
{
....process other than first rows..
}
}
I have a variable that contains some text, some html, basically can be a string. I need to search the variable for a specific string to process that variable differently if it is contained. Here is a snippet of what I am trying to do, does not work obviously :)
$.each(data.results,
function(i, results) {
var text = this.text
var pattern = new RegExp("^[SEARCHTERM]$");
if(pattern.test( text ) )
alert(text); //was hoping this would alert the SEARCHTERM if found...
Should I validate input parameters on all functions I create? Input isn't passed from a user, but from other routines as part of an automatic process.
I use error handling. I'm not sure what more validating input could do for me. If the input isn't valid, that's pretty much the same thing as an error, isn't it?
If I use UIWebView to render some richtext content and some dynamic web content in my app, then is there a possibility of adverse effect on my app rating in approval process?
Hi,
Is it possible to somehow listen to all perforce cammands issued from my machine to the perforce server?
I did some googling yesterday and found a page somewhere about a perforce proxy or broker that would intercept perforce commands and allow you to do what you wanted with them before sending them to the server...and now can't find the page!
I am trying to debug our build process (built using Maven) that is failing while running the maven-release-plugin (prepare).
Cheers.
Hello,
I have a shared preference that is being accesed via an EditTextPreference. I am in the process of porting this application to a device that does not have a hardware keyboard for text entry.
When the time comes to modify the EditTextPreference, there is no soft keyboard that becomes available, and I am at a loss as to how to invoke the soft keyboard for text input to edit this preference.
Thanks
Hello,
I have to do something like this
string = " this is a good example to show"
search = array {this,good,show}
find and replace them with a token like
string = " {1} is a {2} example to {3}" (order is intact)
the string will undergo some processing and then
string = " {1} is a {2} numbers to {3}" (order is intact)
tokens are again replaced back to the string likem so that the string becomes
string = " this is a good number to show"
How should it be implemented so that the process is done at high performance ?
Thanks in advance.
Hi to all! I have an interesting (to me) problem... There are two threads, one for capturing data from std input and sending it through socket to server, and another one which receives data from blocking socket. So, when there's no reply from server, recv() call waits indefenitely, right? But instead of blocking only its calling thread, it blocks the overall process! Why this thing occurs?
Is anyone aware of an R package for Bayesian Belief Networks (BBN) that can handle latent (hidden) nodes? I am referring to process learning the structure and the parameters of the model. Based on the documentation, the "bnlearn" package does not provide for such capability. In addition, is anyone aware of R packages that allow for making inferences and sensitivity analysis for BBN? Thank you in advance.
Hi,
I am creating a web based email client using c# asp.net.
What is confusing is that various email clients seem to add the original text in alot of different ways when replying by email.
What I was wondering is that, if there is some sort of standardized way, to disambiguate this process?
Thank you
-Theo
I have a rails webapp which internally connects to another request server. At times , ruby process gets stuck in close_wait state and stop responding and needs a restart. i guess this happens only when the request server which the rails app connects to is restarted. But am not completely sure of it. Any help appreciated on how should i go about debugging this issue.
Thanks.
I have column with varchar values like "022008" that I need to convert into a datetime like "02/01/2008". This will run on millions of records for a conversion process. What is an efficient select statement for doing this?
I am using Visual Studio to compile some C++ Code. When I compile my program in Debug mode it works perfectly, but when I try compiling it in Release mode, VS halts when Generating Code (ie: took 20 mins and still didn't finish). After I forced VS to stop the build process, the executable generated was huge 2MB while it should be about 304KB.
Please can you help figure this out. How should I setup the configuration parameters for Release mode to work?
Thanks,
Does anyone know of a Webmail Contact List Importer scripts (ColdFusion, PHP etc) like those used on Twitter and LinkedIn ? I've found some but they are paid for and I want some more bespoke & open.
To clarify a little more I'm not looking for a way to process .csv files :) I'm looking for a bit of code that can logging into gmail, yahoo mail, hotmail, aol and pull out the users address book.
Hi everybody...
I need to use crystal reports with php... I googled around for a long time but was not able to find a good tutorial or book that will explain the process easily and efficiently...
Can anyone point me towards a place where i can get a simple tutorial about using crystal reports with php....?
Thanks a lot for your suggestions......
I have the following declaration in my build.xml file, in my src folder I have my test package which I don't want to include into my process. How can I force scrdir to read everything from ${src.dir} except test package?
<target name="compile">
<javac srcdir="${src.dir}" destdir="${classes.dir}"/>
</target>
We have an existing PHP page (from an earlier project) which could be described as cryptic and ancient. It basically displays a form, catches the input and runs an external application to process the input and then pipes the output to the user.
I would really like not to modify this file any more than is required. Would there be an easy way to just make this file magically work by copying it to some location in the CakePHP's directory and have it receive $POST etc. as usual?
I have a data Table with numbers formatted according to the current regional settings. ie ( in French decimal separators are ',' instead of '.' in English). I need to export it to XML. Numbers in XML needs to be formatted according to the current regional settings.But now numbers in XML are formatted in English.Is there any way to make the number formatting in XML according to current regional settings ( or based on the locale of the Data Table) during the exporting process ?
We are in the process of moving databases from older 32 bit hardware running sql 2005 to newer hardware with sql 2008 64 bit. My question is if the database is automatically converted to 64bit after it is reattached on the new server or if it is running in 32bit mode on a 64bit instance. Is there a way to tell?
I had a problem highlighting text in a pdf file embedded in webbrowser control and highlighting text using PDFLibNet.pdfwrapper so i'm shifting to another process where i'll just convert the pdf to html so i can manipulate the source code to highlight text.
How can i convert pdf files to html files? Is there a better way?
Thanks,
Jepe
I have the following model:
class Service(models.Model):
ratings = models.ManyToManyField(User)
Now if I wanna get all the service with ratings sorted in descending order I did something:
services_list = Service.objects.filter(ratings__gt=0).distinct()
services_list = list(services_list)
services_list.sort(key=lambda service: service.ratings.all().count(), reverse=True)
As you can see its a three step process and I don't feel right about this. Anybody who knows a better way to do this?