Hi,
I need to emulate a real http request via cfhttp.
I was getting rss feed with ColdFusion, but tonight they started to block my request and send an index page in response instead of rss fead.
I added useragent for cfhttp, but it doesn't help.
Opera, Firefox and Chrome open feed correctly from the same computer.
I'd like to iterate through a certain set of fields in a report (rpt) file and, for the sake of argument, make them have a blue background. I'd like to do this for many files and on a conditional basis. The ReportDocument class seems like the way to go, but I don't see any Fields or anything like that in the API.
Is there a way to do this via C#?
CR 9.2
I want to develop a website that will allow analysts within the company to run Hadoop jobs (choose from a set of defined jobs) and see their job's status\progress.
Is there an easy way to do this (get running jobs statuses etc.) via Ruby\Python?
How do you expose your Hadoop cluster to internal clients on your company?
A) I installed atmail on plesk via "/usr/local/psa/admin/bin/autoinstaller --select-release-id=current"
B) i decided not to use atmail. so i did "webmailmng --disable --name=atmail" and "webmailmng --remove --name=atmail"
whats the last(?) step here to completely reverse A and properly uninstall atmail?
thanks!
Using the Basecamp API, is it possible to create a new project? It seems like a simple task, so either I'm missing something or this functionality is not available via the API.
Based on following question
push notification service cost
I want to know, will my application receive push notifications if it is deployed via Enterprise deployment, and is there any limit of number of installations of enterprise deployment for push notifications, we currently have 10000+ users, but the application is only for the members and god knows if apple rejects it to put it on appstore.
How to compile Flash .fla files into .swf via command line on a Windows based operating system. Command line tools that need to be installed are ok.
Can anyone suggest me what to do? (in a straight forward way). :-) Thanks.
I receive an email once a week with information on my Fan Page (like how many more users than last update have become my fan, how many posts, etc). Is it possible to get this info via the FB API so I can show this data where I want outside FB and outside my email?
When using SMTP to send mails (email client or via a script), mails are normally not seen in the Sent folder on the email provider's server.
But it does get reflected in the Sent folders of Gmail (Google Apps).
Is is not mandatory to save the mail in the Sent folder of the server too ?
I consider Sent mails as my log for mails sent automatically.
recently I found an interesting site that provides Internet fax services via internet
I am learning programming and I was inspired to make an application that could send faxes from my PC, any ideas or suggestions?
I am looking for a jquery plugin for table paginnation and sorting (and search/filtering hopefully). Datasource could be obtained locally or via ajax call.
Hopefully comes with most of the features of this script:
http://www.leigeber.com/2009/11/advanced-javascript-table-sorter/
Here is the demo of this script:
http://sandbox.leigeber.com/tinytablev3/index.html
The problem with this script is that it only support local datasource.
I am wondering if I setup some coordinates via addProximityAlert. How long will they keep staying there. Will that be until my app exists, or even later too.
If I'm uploading via http, do I have to wait till the file is transferred to determine the size? Also, what other info is available that would be available on the local copy? Do Last Modified and Created get reset to the upload time or are they preserved?
I have a label that I want to use to show some text. I want to show a few paragraphs of text.
Is there a way via the designer to make a line break in the text? (\n\r just shows \n\r)
First of all, please help me out! I can not take this anymore. I could not find where the error is located. Here is my problem:
I'm trying to update a row via c# winform application. The update query generated from the application is formatted correctly. I tested it in the sql server environment, it worked well. When i run it from the application i get 0 rows updated.
Here is the snippet that generates the update statement using reflection - don't try to figure it out. Carry on reading after the code portion:
public void Update(int cusID)
{
SqlCommand objSqlCommand = new SqlCommand();
Customer cust = new Customer();
string SQL = null;
try
{
if ((cusID != 0))
{
foreach (PropertyInfo PropertyItem in this.GetType().GetProperties())
{
if (!(PropertyItem.Name.ToString() == cust.PKName))
{
if (PropertyItem.Name.ToString() != "TableName")
{
if (SQL == null)
{
SQL = PropertyItem.Name.ToString() + " = @" + PropertyItem.Name.ToString();
}
else
{
SQL = SQL + ", " + PropertyItem.Name.ToString() + " = @" + PropertyItem.Name.ToString();
}
}
else
{
break;
}
}
}
objSqlCommand.CommandText = "UPDATE " + this.TableName + " SET " + SQL + " WHERE " + cust.PKName + " = @cusID AND PhoneNumber = " + "'" + "@phNum" + "'";
foreach (PropertyInfo PropertyItem in this.GetType().GetProperties())
{
if (!(PropertyItem.Name.ToString() == cust.PKName))
{
if (PropertyItem.Name.ToString() != "TableName")
{
objSqlCommand.Parameters.AddWithValue("@" + PropertyItem.Name.ToString(), PropertyItem.GetValue(this, null));
}
else
{
break;
}
}
}
objSqlCommand.Parameters.AddWithValue("@cusID", cusID);
objSqlCommand.Parameters.AddWithValue("@phNum", this.PhoneNumber);
DAL.ExecuteSQL(objSqlCommand);
}
else
{
//AppEventLog.AddWarning("Primary Key is not provided for Update.")
}
}
catch (Exception ex)
{
//AppEventLog.AddError(ex.Message.ToString)
}
}
This part below:
objSqlCommand.CommandText = "UPDATE " + this.TableName + " SET " + SQL + " WHERE " + cust.PKName + " = @cusID AND PhoneNumber = " + "'" + "@phNum" + "'";
generates dml:
UPDATE CustomerPhone SET PhoneTypeID = @PhoneTypeID, PhoneNumber = @PhoneNumber WHERE CustomerID = @cusID AND PhoneNumber = '@phNum'
@PhoneTypeID and @PhoneNumber are gotten from two properties. We assigned the value to these properties in the presentation layer from the user input text box. The portion below where fetches the values:
objSqlCommand.Parameters.AddWithValue("@" + PropertyItem.Name.ToString(), PropertyItem.GetValue(this, null));
The code below fills the values of WHERE:
objSqlCommand.Parameters.AddWithValue("@cusID", cusID);
objSqlCommand.Parameters.AddWithValue("@phNum", this.PhoneNumber);
The final code should look as:
UPDATE CustomerPhone
SET PhoneTypeID = 7, PhoneNumber = 999444
WHERE CustomerID = 500 AND PhoneNumber = '911';
Phone type id is 7 - user value that is taken from text box
Phone number is 999444 - user value that is taken from text box
The above final update statement works on the sql environment, but when running
via the application, the execute non query runs ok and gets 0 rows updated! I wonder why?
Hi,
I have done changes in registry (proxy settings) via Windows programming code.
I have to restart (reopen) Internet Explorer each time I run the code to make those changes take effect.
Is there any API in Windows programming through which I can notify Internet Explorer or Windows that changes are made to the registry and there will not be any need to reopen Internet Explorer to make those changes take effect?
Thanks.
Using the Basecamp API, is it possible to create a new project? It seems like a simple task, so either I'm missing something or this is not available via the API.
Hi there,
can anyone tell me if there is a tool for creating the strongly typed classes (available via the schema) - i suppose similar to Paste as XML type ..
But i was hoping for a tool that i could run to automatically update the classes automatically when there are changes
Does anyone know if something like this exists?
Hi guys
I have two Pocket PCs and I want write an application that be able to send a file via Wi-Fi , as you know the Pocket PC's OS is Windows-mobile ;
1)Can I use J2SE ?(Because windows-mobile) or I must write J2ME Application?
2)please kindly advice me, with a sample source code about that.
Thanks a lot ...
I am wondering if I setup some coordinates via addProximityAlert. How long will they keep staying there. Will that be until my app exists, or even later too.
Hi all,
Anybody know how can I add multiple email addresses in Outlook field "To" via C#?
foreach (var to in mailTo)
newMail.To += to + "; ";
When I try do it how I described this above I receive next kind of string:
[email protected]@[email protected]
Hi, so I need the user to write a review about an article or book and send it to a DB via PHP but with some basic HTML formatting.. I mean, I have a form , when the user writes the review, the data is sent but without any kind of formatting, If the user want to write in a new line, the text is sent like plain text, I need to get also those new line breaks and simple stuff.
I know how to use PHP and DB connection, I just need to know how to get those new line breakes and stuff..