|
So what toy want to do is to copy a image from one location to another?
Apurva Kaushal
|
|
|
|
|
Hello apurva
I have just image path as string.
I want to save this image in root dir as a picture format
got it?
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
Imran Khan Pathan wrote: I have just image path as string.
This is some other physical location right?
Imran Khan Pathan wrote: I want to save this image in root dir as a picture format
And now you want to copy it form that location to the root folder of your application.
For copying you can use File.Copy method in system.io namespace
Apurva Kaushal
|
|
|
|
|
But Every user required permission to copy that file as it will through Exception if the user don't have valid permission
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Litsen
I am getting image path from the table just like as
string str="http://www.codeproject.com/images/Independence/codeproject225x90.gif";
and now want to save this image in folder as a picture.
I dont want copy of image path.Just I want to get image of that image path.
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
Imran Khan Pathan wrote: tring str="http://www.codeproject.com/images/Independence/codeproject225x90.gif";
Again question is the path of image is from local machine or the image is at any other server
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
The image path is from any other server
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
Finally I got solution
Thanks to everyone
Regards
Pathan
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
I have a stand alone application (messenger). I was asked to the messenger to have the fallowing possibility:
from a link with a phone number parameter to make a call in the application. If the messenger is not installed, to take the client to the official web site. If the product is installed to see if it is open. If it is open and the user is logged in to make the call.
My idea is the client to check the registry and see if the product is there, which solves the first part. If there are certain keys in the registry next step is from the processes to see if the product is active. If active somehow send instruction to call the function : CallNumber( phonenumber phnum)
Can you give me any leads on how to do all this, any other solution to the task?
The project is done in C++
Thank you very much
|
|
|
|
|
|
I am not sure where to post it, but ASP.NET is one of the offered technologies I can use to solve the problem
|
|
|
|
|
Hi,
I am using MS.NET 1.0.
In my project I cann't find the Crystal report item in Add new item.how can add crystal report to my project??
But, in Help Menu i saw the crystal report as in installed item list.
shall I add any other ( lik add reference ) for this??
plz help..
All I ever wanted is what others have.... CrazySanker
|
|
|
|
|
I am using filter attribute in css class and want to apply css class on data grid header but it doesnot apply.
Any suggestions
Do good and have good.
|
|
|
|
|
I am uploading a csv file in which one cloumn is of 16 digits having value
1230000000000000 but when i upload this file on server this value becomes 1.23E+15.
and i am using below code to read this file. my problem is it is reading the value as 1.23E+15. please help me.
string strConn = "Provider=Microsoft.Jet.OleDb.4.0;" + "data source=" + path + ";" + "Extended Properties='text;HDR=Yes';";
string strSql = "Select * From " + filename;
DataSet lobjDtset = new DataSet();
OleDbConnection objConn = new OleDbConnection(strConn);
OleDbCommand objCmd = new OleDbCommand(strSql, objConn);
pstrError_Code = "0";
try
{
objConn.Open();
OleDbDataAdapter myData = new OleDbDataAdapter(strSql, strConn);
myData.Fill(lobjDtset);
return lobjDtset;
}
catch (Exception ex)
{
throw ex;
}
Rickey
|
|
|
|
|
Ricky,
It looks like the db column you are uploading to isnt the right type for the data you are putting into it. Therefore it isnt able to accept the full 16 digits and hence it displays '1.23E+15' which basically means its got 1.23 but then found an error because there is 15 whole numbers too many for it to display.
The same happens on a calculator when you create a number thats too big for its display.
Try messing about with the db field type eg varchar. If you use varchar you will have more than enough capacity for the number. Therefore if you still get the same problem you know something is wrong with your code. If it works however you can try tinkering with the field type or simply convert from varchar back to a number in your code.
|
|
|
|
|
Hi all,
We currently have a webserver running websites done in asp. What implications or should I say problems might occur to the existing sites if I install the .net framework on it. Also, the webserver is currently running on windows 2000 if I'm not mistaken and I want to install the .net framework 2.0 and gradually start converting the sites to it.
Is there any pooling issues that may occur
He who laughs last is a bit on the slow side
|
|
|
|
|
Hi
NeroToxic wrote: What implications or should I say problems might occur to the existing sites if I install the .net framework on it
I think there won't be any problem for the existing ASP pages after you install .NET framework.
|
|
|
|
|
Thanks for the reply, I'm just a bit hesitant to do it because it is the live webserver and if the sites hosted on it goes down there are going to be big k@k
He who laughs last is a bit on the slow side
|
|
|
|
|
NeroToxic wrote: What implications or should I say problems might occur to the existing sites if I install the .net framework on it.
Absolutely no problem - go ahead, all will be fine...
"Knock me down, I'll get straight back up again, I'll come back stronger than a powered up pacman"
(Lilly Allen / Kaiser Chiefs)
|
|
|
|
|
Hi
if anyone has an Implementation of Challenge-Response for authentication in ASP.Net please send me to my email : mohammad_razavi_d@yahoo.com
Best regards
|
|
|
|
|
Have you tried the registration and login controls available in ASP.NET 2.0?
Dan
|
|
|
|
|
You right, no i dont use them yet
i don't even think about it
thanx
Life is good!
|
|
|
|
|
Should i use viewstate or session to get the data from a particular page.
|
|
|
|
|
You can see this[^].
Apurva Kaushal
|
|
|
|
|
Hi Apurva......
and what is serialiable data ?
|
|
|
|