For txt File
Step 1:
[code=vbnet]
Response.Append Header("Content-Disposition", "attachment ; filename=" + fileName + "." + "txt")[/code]
fileName -> Give the File Name which you download
Step2:
Set the Content type
[code=vbnet]
Response.Conten tType = "applicatio n/x-download"[/code]
Step 3:
[code=vbnet]...
User Profile
Collapse
-
-
Software
=======
1.WindowXP with Service Pack 2 with IIS ( Internet Information Server)
2.VS2005 with .NET FrameWork 2.0
if you want backend process, to install SQL Server 2005
that's all if you not catch this pls replay, what you want actually.Leave a comment:
-
Returning a char* from a C++ DLL to VB.NET
I Create a dll on VC++ [Version used 6.0]
Step 1:
-----------
I written a code in the dll like this]
Code Sample:
===========
SAMPLEDLL_API void GetCompanyName( char *name, int length)
{
if(length < 4) return;
strcpy(name, "Test");
}
Step 2:
-------
I call this dll on my .NET WebServices, [Using VS2005 Code...
No activity results to display
Show More
Leave a comment: