|
Dear all.....i have a doubt regarding the remoting that we use. after creating our "RemoteClass" we add its reference to our "RemoteServer" as well as to our "RemoteClient"...now my question is why do we need to do that? i mean if v hav to add its reference then rather then using remoting we can add the "RemoteClass" assembly to GAC n then directly use it in our "RemoteServer" as well as "RemoteCllient". so then why do we use remoting?
|
|
|
|
|
How is this an ASP.NET question ?
I suspect both classes need to know about the object being passed around, is that what's going on ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi,
in my project i want to generate regions according to countries. both i have to list in dropdownlist. where i can found database or xml file for it. any reference for this.
|
|
|
|
|
You mean a country list ? you can find those on the web, there's a standard one that is widely published.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi friend's
i have a site with registration ability. and i have problem,although this part work correctly, but i want to Amelioration the performance.
problem is:
in my site when a user registered a mail contain a activation link sent for him/her. this is for vertifying a mail.
but if a user after 72 houre or 3 days will be deactive system suppose that mail is not valid and remove specific account of that mail.
now i put a button for administrator of site to when clicking on it system call a procedure that do above job.
my ask is :
how can i do it aoutomatically and remove that crazy button.
thank you.
nobody help you...
you have to help you yourself
and this is success way.
|
|
|
|
|
In cherto perta chie neveshti yabooo.
Ye negahi be schedulere to sql server 2005 bendazi fek konam javabeto begiri.
|
|
|
|
|
kheili mamnun as javabet harchand biadabane bood
farghe ma iraniha ba in kharejeha ham hamine
oonha faghat ba in fekr mikonan ke be javabe soal fekr konan na khode soal.
behtare ya darko shoooreto bebari bala va bad too in forum bemuni ya beri be jahanm. zemnan age englisi balad nisti behtare khafe shi ashghal.
nobody help you...
you have to help you yourself
and this is success way.
|
|
|
|
|
jesus!
You are angry Dont even think about it.
Now, do you know how to set a schedulere on sql server 2005?
If u have any problem, contact me.
best regard.
|
|
|
|
|
SPWeb curWeb = SPContext.Current.Web;
SPFile file = curWeb.Files.Add(curWeb.Url, ???)
can u explain that what should i put istead of ????
i know that this form: curWeb.Files.Add(string urlOf file,byte[] file)
but i dont know how define byte[] file .
please give me a sample
|
|
|
|
|
Looks like you need the bytes of the file itself to call this method. What does it do ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
i create a file with this code:
System.IO.FileStream f = System.IO.File.Create(@"C:/webpart/WritingWebPart/Reservation2/a.htm");
and i want to add it to a url with this code :
SPFile file = curWeb.Files.Add(curWeb.Url, ???);
but i dont know what should i put instead of ????
|
|
|
|
|
The file you created is empty, so just pass an empty byte array, I suppose. What are you trying to do ? You didn't actually answer me, you just restated the question.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
i want create a html file for example in this path: http://spserver3:5050/reservation exactly
i can create a file for example in this path: c:/webpart
but i can not create a file in url
|
|
|
|
|
But, you're creating an EMPTY file, then trying to add it, what's the point of that ?
http://msdn2.microsoft.com/en-us/library/microsoft.sharepoint.spfile.aspx[^]
Looks like the GetFile method is how you create an SPFile from a file on the HDD. Like your empty file.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
no im not create a empty file after create i write inside it htm code with this code:
string old = "html code";
using (System.IO.StreamWriter sw = new System.IO.StreamWriter(@"C:/webpart/WritingWebPart/Reservation2/a.htm"))
{
sw.Write(old);
//sw.Close();
}
|
|
|
|
|
OK, in that case, the method I found by googling for 3 seconds, and mentioned above, is probably what you need.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Good Morning All
I have a ASP Classic Application that Connects to SQL2000,my pages are linked well and the Errors i get from the reported line is strange, because te code is fine. when ever i run the page, i get the Following Problem.
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.
--------------------------------------------------------------------------------
Please try the following:
Click the Refresh button, or try again later.
Open the mtiicorys008 home page, and then look for links to the information you want.
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
--------------------------------------------------------------------------------
Technical Information (for support personnel)
Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: 'ACTIVITY_BASIS_AREAS_WITHOUT_SPATIAL(...)'
/VALUATIONS/Gui/joust/DisplayJoustTreeActivity.asp, line 267
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)
Page:
GET /VALUATIONS/Gui/joust/DisplayJoustTreeActivity.asp
Time:
23 April 2008, 08:22:15 AM
More information:
Microsoft Support
Thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
|
Well all the Suggestions there could not help me ,and i have googled first before i posted here
thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
One of the ways to solve this is to break down your code and debug bit by bit, then you find out which bit of code is causing the error
|
|
|
|
|
This error code (0x800A01A8) conveys it all. The COM object could not be instantiated properly.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
i want create a html file in this path: http://spserver3:5050/reservation
how can i do this????
i wrote this code but its not right.
if (!System.IO.File.Exists(@"C:/webpart/WritingWebPart/Reservation/Reservation/a.htm"))
{
System.IO.FileStream f = System.IO.File.Create(@"C:/webpart/WritingWebPart/Reservation/Reservation/a.htm");
SPFile file = curWeb.Files.Add(curWeb.Url, f);
f.Close();
using (System.IO.StreamWriter sw = new System.IO.StreamWriter(@"C:/webpart/WritingWebPart/Reservation/Reservation/a.htm"))
{
sw.Write(old);
//sw.Close();
}
}
|
|
|
|
|
What's not right ? What does it do ? What did you expect it to do ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi all,
how to freeze the column in listview?
Thanks,
aravindakumar
|
|
|
|
|
What do you mean by freezing the column in listview?
Apurva Kaushal
|
|
|
|