Hi, i am using android code with html tag.. but in mail getting same html tag please help me how can i send html link ... the code is giving below
Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
emailIntent.setType("text/html");
emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new String[]
{"[EMAIL PROTECTED]"});…
how do i set any control to the topmost of the screen. For e.g. i have a textblock in a datatemplate or a hierarchichal data template..etc... now i would like to set this textblock to the topmost on mouseover. Setting the Grid.ZIndex value to 1 in the trigger for IsMouseOver doesn't work many times. In order to do that i set the ZIndex value…
Hi
I want to remove characters from a string other then a-z, and A-Z. Created following function for the same and it works fine.
public String stripGarbage(String s) {
String good = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz";
String result = "";
for (int i = 0; i < s.length(); i++) {
if…
I'm beginning work on a project that will access a Drupal site to create nodes on the site. This includes file uploading, as the project is to allow people to upload pictures en mass to a Drupal site with minimal ado. Note that my application is written in .Net.
What I would like to know is the best approach to achieve…
I have an application in VC++ 6 (not MFC) , feature requires it to upload a file to a web server on regular basis. Web server is under our control, anonymous upload scripts/page are already setup that would accept a file manually.
How to program in VC++ 6 to upload? which classes to use?
I understand it is much…
arraylist.add(new ListItem("Activity1", "ActivityName1"));
suppose ActivityName1 value store in properties file to provide locale feature.
now how can i access the value of Activity1 key that associate to ActivityName1 value on jsp ( ActivityName1 corresponds to a properties file value) by using Struts.
i…
input file:
1,a,USA,,
2,b,UK,,
3,c,USA,,
i want to update the 4th column in the input file from taking values from one of the table.
my code looks like this:
my $customer_dbh = DBI-connect("DBI:Oracle:$INST", $USER, $PASS ) or die "Couldn't
connect to datbase $INST";
my $cust_smh;
print "connected \n ";…
When I run the below program I always get the same values each time. Is rand not a true random function?
int main()
{
while(1)
{
getch();
cout<<rand()<<endl;
}
}
In each run I am getting the below values.
41
18467
6334
26500
19169
15724
......
Hi
When i run below program i always get same values each time..Is rand is not a true random function.
int main()
{
while(1)
{
getch();
cout<<rand()<<endl;
}
}
In each run i am getting below values.
41
18467
6334
26500
19169
15724
......
Hi
I am designing a remote CD/DVD burner to address hardware constraint on my Machine.
My design work like that :(Analogous to network paper printer)
Unix Based Machine (acts as server) hosts a burner.
Windows based machine acts as client.
Client prepare data to be burn and transfer it to server.…
Hi Friends
I am using ajax dll in my application for smooth working but i have some doubt in my mind ? is there any security problem in server when we are using ajax dll in my application. means any one can missuse the application because we are using public memthods in ajax dll.
Any one suggest…
I have created Panorama control and binded PanoramaItem from ItemSource. Now when i am changing the selected Panoramaitem by swiping over them the Selected index is always set to -1. I dont know what wrong i am doing while implementation. neither selectionchange event is getting fired.
Code:
…
i want to develop web page in asp(2.0) c#. in this page i want to create and show multiple thiumbnail. for example c:/image and this folder have 5 .jpeg file. when run my web page then show all thumbnail of 5 images without saving thumnails.
it very urgent
I am migrating to SVN from CVS. In CVS I have various aliases defined in CVSROOT/Modules file. That helps me to checkout multiple directories in one go.
For example:
Defined alias in CVSROOT/Modules file as below
…
While I am new to c and want help in this program
my code is :
#include<stdio.h>
#include<conio.h>
void main(){
int suite=2;
switch(suite) {
case 1||2:
printf("hi");
case 3:
…
I am using Explorer_WindowStateChanged to identified tab change event in IE 7 or IE 8.
My problem is, When i open any link in new tab (By right click on link and click on open in new tab), then somtimes…