just looking at jmeter, from what I can I see it is a desktop application, so is it safe to say I can use it to benchmark a windows server running asp.net?
any other recommended tools?
Hi folks,
I am getting information (id,name,address) in the form of xml string form the .net web server.
i am using NSXMlparsing to parse this xml string in iphone os 4.0.
Now i need to do the same application in iphone os 2.0.
i found Nsxmlparsing delegate should work on 4.0 and later.
Can any one please suggest which method is suitable to parse xml string and sample tutorial.
Thank u in advance.
Hi All,
I am trying to integrate MyspaceID into our new application (which doesn't run on myspace) where we would like to use OAuth for authentication then pulling Myspace user profile data.
Can we use OpenSocial client library to build off-site (myspaceid) applications? or I have to use Myspace SDK?
We want to mirror our current production app server (Oracle Application Server) onto our staging server. As it stands right now, various things are out of sync, and what may work in testing/QA can easily fail in production because of settings/patch/etc inconsistencies. I was thinking what would be best is to clone the entire disk daily and push it onto the staging server... Would this be the best method...?
I found a lot of links on the internet for this question but i don't understand their (partial) solutions.
One of the main problems seems that i'm builing all dialogs by hand without dialog resource files or the Visual Studio Application Wizards. So i would need pure C++ code that i can type into my Editor.
There is also some reference to a "CWebBrowser2" control, but a grep on the VC directory does not give me any results, so where can i find this?
Hi All,
I am a beginer in iphone application development. Is There anybody who can help me with some sort of codes to develop a alarm clock in xcode for the iphone.
Thanks in advance.
Koushik Podder
Hey,
I am porting a blackberry application to android phone.
The app is talking to web service using soap api. Is it possible
to use ksoap2 available for android and use the same soap stub? if so, how?
or I have to rewrite from scratch?
I have never used soap/rest api's before, so m confused.
I am writing an iPhone application and needed to use the address book functionality. For this to work, it is necessary to specify a ABPeoplePickerNavigationControllerDelegate on the ViewController.
The problem is that I am creating all fields and buttons dynamically runtime, and thus does not have any custom ViewController - using only UIViewController class.
My question is then - how can I specify the delegate runtime without having to create a ViewController class just for this purpose.
I have a critical method in an Objective-C application that I need to optimize as much as possible. I first need to take some easy benchmarks on this one single method so I can compare my progress as I optimize.
What is the easiest way to track the execution time of a given method in, say, milliseconds, and print that to console.
Hi :)
I'm looking for a nice newsletter management solution.
I tried CCmail a good script but whaere I can't imort usernames !!!
I would like to find a system that is able to import Opt-in lists in the following format :
John Smith;[email protected];other paramaeters...;[like] ;Male;Age...
I will develop my own module if I could find another emailing manager
Are you already satisfied with a similar application with a trusted (spam-prevention) emailer ?
Thank you :)
I'm working on re-writing a WinForms application into Silverlight. One use case in the WinForms app allows users to drag TIFF images (of faxes) from Outlook directly onto an "attach an image or fax to this case" control in the WinForms app. Is there a Silverlight 4 control which allows for the same functionality? It's important to realize that saving the file to the local filesystem and then selecting and uploading the file with a standard upload control will not meet the business requirements as outlined in the project.
Does anyone know if it's possible to upload a file via POST body (multipart/form-data) using VBA? I'm currently using the Microsoft.XMLHTTP object, but I'm not tied to it if that doesn't support multipart POST.
Here's what I'm doing so far:
Set oHttp = CreateObject("Microsoft.XMLHTTP")
oHttp.Open "POST", theUrl, False
oHttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
oHttp.Send "body=thebody"
I'm attempting to use Panda with my GWT application. I can upload videos directly to my panda server using
POST MY_PANDA_SERVER/videos/MY_VIDEO_ID/upload
However I would like hide my panda server behind my J2EE (glassfish) server. I would like to achieve this:
Start upload to some servlet on my J2EE server
Authenticate user
POST the file to my panda server while still uploading to servlet
Ideally I would like to never store the file on the J2EE server, but just use it as a proxy to get to the panda server.
This is related to my earlier question.
ren "C:\Temp\%%A" "C:\Temp\%%A"
if errorlevel 0 (
"C:\Program Files\7-Zip\cmdline\7za.exe" a -tzip -mx9 "C:\temp\Zip\%%A.zip" "C:\temp\%%A"
Move "C:\temp\%%A" "C:\Temp\Archive"
)
In the above, the IF evaluates to true always, even if REN command fails.
The idea is to check if a file is not locked by any other application, if not then Archive it and move it elsewhere.
How best to do this?
Thank you.
I've installed XCode 3.2 on top of Snow Leopard 10.6.2. When trying to "build and run" an application created from XCode template, the emulator is always opened in iPad mode. When choosing "iPhone" from the emulator menu, it changes its look but next time it is opened as iPad again.
How to cause the emulator to run in iPhone mode ?
Hi, I gave my client the app for test. He installed on iTunes,but when sync to his iphone,
an error is : Application ** install on **'s iphone need privileges. His system is Windows Vista.
What the problem is ? Thank you so much.
Hi all. I am attempting, unsuccessfully, to use Ghostscript to rasterize PDF files with a
transparent background to PNG files with a transparent background. I've
searched high and low for questions from others attempting the same thing
and none of the posted solutions, which as far as I can tell come down to
specifying -sDEVICE=pngalpha, have worked with my test files. At this point
I would really appreciate any advice or tips a more experienced hand could
provide.
My test PDF is located here: http://www.kolossus.com/files/test.pdf
It could be that the issue is with this file, but I doubt it. As far as I
can tell, it has no specified background, and when I open the file with a
transparency-aware app like Photoshop or Illustrator, sure enough it
displays with a transparent background. However, when opened with an
application like Adobe Reader the file is rendered with a white background.
I believe that this has more to do with the application rendering the PDF
than with the PDF itself -- apps like Adobe Reader assume you want to see
what a printed document will look like and therefore always show a white
canvas behind the artwork -- but I can't be sure.
The gs command I'm using is:
gs -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r72 -sOutputFile=test.png test.pdf
This produces a PNG that has transparent pixels outside of the bounding box
of the artwork in the file, but all pixels that are inside the artwork's
bounding box are rasterized against a white background. This is a problem
for me, as my artwork has drop shadows and antialiased edges that need to be
preserved in the final output, and can't just be postprocessed out with
ImageMagick. A sample of my PNG output is at the same location as the pdf above, with .png at the end (stackoverflow won't let me include more than one url in my post).
Interestingly, I see no effects from using the -dBackgroundColor flag, even
if I set it to something non-white like -dBackgroundColor=16#ff0000. Perhaps
my understanding of the syntax of this flag is wrong.
Also interestingly, I see no effects from using the -dTextAlphaBits=4
-dGraphicsAlphaBits=4 flags to try to enable subpixel antialiasing. I would
also appreciate any advice on how to enable subpixel antialiasing,
especially on text.
Finally, I'm using GPL Ghostscript 8.64 on Mac OS 10.5.7, and the rendering
workflow I'm trying to get set up is to generate transparent PNG images from
PDFs output by PrinceXML. I'm calling Ghostscript directly for the rasterization instead of using ImageMagick because ImageMagick delegates to Ghostscript for PDF rasterization and I should be able to control the rasterization better by calling GS directly.
Thanks for your help.
-Jon Wolfe
I'm trying to create a simple Silverlight application that involves parsing a CSV file and displaying the results in a DataGrid. I've configured my application to parse the CSV file to return a List<CSVTransaction> that contains properties with names: Date, Payee, Category, Memo, Inflow, Outflow.
The user clicks a button to select a file to parse, at which point I want the DataGrid object to be populated. I'm thinking I want to use data binding, but I can't seem to figure out how to get the data to show up in the grid.
My XAML for the DataGrid looks like this:
<data:DataGrid IsEnabled="False" x:Name="TransactionsPreview">
<data:DataGrid.Columns>
<data:DataGridTextColumn Header="Date"
Binding="{Binding Date}" />
<data:DataGridTextColumn Header="Payee"
Binding="{Binding Payee}"/>
<data:DataGridTextColumn Header="Category"
Binding="{Binding Category}"/>
<data:DataGridTextColumn Header="Memo"
Binding="{Binding Memo}"/>
<data:DataGridTextColumn Header="Inflow"
Binding="{Binding Inflow}"/>
<data:DataGridTextColumn Header="Outflow"
Binding="{Binding Outflow}"/>
</data:DataGrid.Columns>
</data:DataGrid>
The code-behind for the xaml.cs file looks like this:
private void OpenCsvFile_Click(object sender, RoutedEventArgs e)
{
try
{
CsvTransObject csvTO = new CsvTransObject.ParseCSV();
//This returns a List<CsvTransaction> and passes it
//to a method which is supposed to set the DataContext
//for the DataGrid to be equal to the list.
BindCsvTransactions(csvTO.CsvTransactions);
TransactionsPreview.IsEnabled = true;
MessageBox.Show("The CSV file has a valid header and has been loaded successfully.");
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
private void BindCsvTransactions(List<CsvTransaction> listYct)
{
TransactionsPreview.DataContext = listYct;
}
My thinking is to bind the CsvTransaction properties to each DataGridTextColumn in the XAML and then set the DataContext for the DataGrid to the List<CsvTransaction at run-time, but this isn't working.
Any ideas about how I might approach this (or do it better)?
Hi.
I'm developing an application that as to export a dataset to excel, this dataset have 3 tables and the relation between them, I would like to export this to a single excel sheet where for each parent table there is a '+' sign that when expanded shows the child values related to it. To export a single table to excel I know how to do it, but to create this type of relation I have no idea how to do it, do I have to create a macro on the excel file?
The problem is that my application only prints the first document fine. The second document is empty, only the page number is printed, the rest of the page is empty.
In Qt4, I'm initializing the printer in the main.cpp in the following way:
mw->printer = new QPrinter(QPrinter::HighResolution);
mw->printer->setPaperSize(QPrinter::A5);
mw->printer->setNumCopies(2);
mw->printer->setColorMode(QPrinter::GrayScale);
QPrintDialog *dialog = new QPrintDialog(mw->printer, mw);
dialog->setWindowTitle(QObject::tr("Printer Setup"));
if (dialog->exec() == QDialog::Accepted)
{
mw->printer->setFullPage(TRUE);
return a.exec ();
}
This works fine for printing the first document from the application:
qDebug("Printing");
QPainter p;
if (!p.begin(printer))
{
qDebug("Printing aborted");
return;
}
Q3PaintDeviceMetrics metrics(p.device());
int dpiy = metrics.logicalDpiY();
int dpix = metrics.logicalDpiX();
int tmargin = (int) ((marginTop / 2.54) * dpiy);
int bmargin = (int) ((marginBottom / 2.54) * dpiy);
int lmargin = (int) ((marginLeft / 2.54) * dpix);
int rmargin = (int) ((marginRight / 2.54) * dpix);
QRect body(lmargin, tmargin,
metrics.width() - (lmargin + rmargin),
metrics.height() - (tmargin + bmargin));
QString document;
/* ... app logic to write a richtext document */
Q3SimpleRichText richText(QString("<qt>%1</qt>").arg(document),
QFont("Arial", fontSize));
richText.setWidth(&p, body.width());
QRect view(body);
int page = 1;
do {
// draw text
richText.draw(&p, body.left(), body.top(), view, colorGroup());
view.moveBy(0, body.height());
p.translate(0, -body.height());
// insert page number
p.drawText(view.right() - p.fontMetrics().width(QString::number(page)),
view.bottom() + p.fontMetrics().ascent() + 5,
QString::number(page));
// exit loop on last page
if (view.top () >= richText.height ()) break;
printer->newPage();
page++;
} while (TRUE);
if (!p.end()) qDebug("Print painter yielded failure");
But when this routine runs the second time, it does not print the document. It will just print an empty page but still with the page number on it. This worked fine before with Qt3.
Hello i need to know there my flash application is running.
in object src my domain. but flash running on others domains.
and i want to know where. and send it with request on my server.
Thanks.
sorry for y bad grammar.
In my web application I would like to complately avoid html and use only javascript to create web-page's dom tree.
What is faster writing web content in the traditional way in html <div>Some text</div> or using javascript dom render, like this: div.appendChild(document.createTextNode("Some text"));?
I am using a Microsoft Chart control (system.windows.forms.datavisualization.charting.chart) in a Windows forms application, vb.net 2008. I use folder paths for the x values in a pie chart. Chart control converts a name like c:\newfolder into c:[newline]ewfolder. I tried adding a slash, making it c:\\newfolder, but this only changes it to c:\[newline]ewfolder. Is there a workaround for this behavior?
In my web application I access a private key that is stored in a Java KeyStore. I would like to know what is the best/recommended way to store the password for the KeyStore and private key.
I've considered using a properties file but that does not seem very secure for use in a production environment (storing password in a plain text file). Also, hard-coding the password in my code is not an option I'm willing to entertain.
Thanks.