|
ok then i have created a test certificate using makecert and how can i sign my cab file using this certificate in windows Xp...and i want to know my clients from where they are downloading and installing certificate...
how can i achieve the same...
|
|
|
|
|
for test certificate (some 15 days trail certifcate right) you have to get the both from the Certificate Provider. For example thawate, versign. Once I have tried it. Both server and client I have collected from them and it worked.
|
|
|
|
|
Usually you can see the certificate if your client submits the certificate to the server.Doubt that we could see the server certificate in client because it will be validated through the browser by contacting the Certificate Providers like Versign, thawate.
|
|
|
|
|
Hi...
If a user open MSword and gives print command, how my .net application will identify it ?
Remember i am talking about the prior stage of print dialog box....
I want that , if a user click print command in file menu of msword, the print dialog box should not be displayed , but he should be redirected to our .net application.....
For this i make my application in run mode and used Timer control's tick event and i want to detect here, -- the prior stage of print job from MSWord....
awaiting
Hemant
By:
Hemant Thaker
|
|
|
|
|
Well I suggest you ask microsoft if there is an api for what you want to do (which I doubt) or if you could have their source code...
I don't think microsoft will like you pulling apart their software though.
I suggest you create a software printer (google "dopdf") that posts the data to your web app. Not a simple task.
|
|
|
|
|
|
Hi..
thanks for your support....
You are right , so far as accessing any ms word document in our application is concerned.
but what my reqirement is ...
My application in .Net is already running, and if some one opens MS word and gives print command, the print dialog box should not appear , but one windows form in my running .net application should popup
thats it...
so which process is responsible to generate print dialog box in ms word... and what i can do is bypass this dialog box and pop up my form...
please do me a favour and find something i u can...
thanks n awaiting...
Hemant
By:
Hemant Thaker
|
|
|
|
|
As part of a project that communicates with remote hardware via a web service, I have been asked to ensure that all responses include a Date header.
Can anyone tell me where I should be looking to implement this? Possible candidates I have (unsuccessfully) considered/researched so far include:
settings in IIS 6.0 on the web server
settings in the web config of the web service
Am I even looking in the right place? Once I have found how to add the header I may also need to be able to format it...
|
|
|
|
|
|
Thanks for the reply Marc - although it turns what I was actually being asked was to ensure the Date: response (which is included in all responses currently) stays in the same format. As I believe this format is defined in the HTTP specification, I'm assuming that the format would not change even if we were to upgrade to IIS 7.0
Not sure how to interpret your suggestion - as I am coming at this from self-taught asp.net/c# background - I plan to leave well enough alone, until such time as eveything stops working...
Is the Date: header always included, and always in the same format?
Thanks again,
Alan
|
|
|
|
|
I don't think so - but what you can do is make an asp file with the code from that 5th result and prepend every file in the site with that.
Go start > run > inetmgr and look at the properties of your website.
You can prepend the file in there... I think.
|
|
|
|
|
Oh and as for changes between 6 & 7 - i doubt it. best thing would be to search on technet etc for "whats new IIS" or something
|
|
|
|
|
Hi everybody
how copy a file from one machine A to another machine B using asp.net 1.1 C#
|
|
|
|
|
Tons of different ways
You will need code that:
Emails it /uses ftp to transfer it / use sockets / use ajax.
if the servers are on the same netowrk (use machine name instead of "C:/"):
http://www.w3schools.com/asp/met_copyfile.asp[^]
If its a one off - use a usb key.
|
|
|
|
|
My Problem is as
I have one virtual directory hosted on our server. Now I, want only 10 users can access the virtual directory at any instance of time.
The server we are running is windows 2003, IIS 6, ASP.net 2.0
How can i restrict the access
|
|
|
|
|
Try this
void Application_Start(object sender, EventArgs e)
{
Application["ActiveSessions"] = 0;
}
void Session_Start(object sender, EventArgs e)
{
try
{
Application.Lock();
int activeSessions = (int) Application["ActiveSessions"] + 1;
int allowedSessions = 10;
Application["ActiveSessions"] = activeSessions;
if (activeSessions > allowedSessions)
System.Web.HttpContext.Current.Response.Redirect("~/UserLimitReached.aspx", false);
}
finally
{
Application.UnLock();
}
}
void Session_End(object sender, EventArgs e)
{
Application.Lock();
Application["ActiveSessions"] = (int)Application["ActiveSessions"] - 1;
Application.UnLock();
}
|
|
|
|
|
how to use drag and drop upload in IE?is there any plugin for that process?just i want to drag a file file from desktop and drop into web application instead of browse button process.its working fine for firefox and chrome with the help of DragandDropUpload1.16 plugin.but in IE it doesnt work.so what to do?
|
|
|
|
|
im not sure if that possible, but if it is, the best place to start would probably be a java applet
|
|
|
|
|
When i start debugging, it looks like it's going to work and the VS toolbars change to show the debugging toolbar options. However the cursor changes to the "busy" cursor and vista 'ghosts out' VS 2008 indicates that it's "not responding" in the title bar. The web browser never starts up and if you I it several minutes I get the following error:
"Unable to start debugging on the web server. The web server did not respond in a timely manner. This may be because another debugger is already attached to the web server."
HOWEVER, if you then immediately debug the project again following this error, sometimes it works straight away! But the first time you debug after loading Visual Studio you always get the irritating delay and error message described above.
Any ideas what might be causing this?
|
|
|
|
|
Hello,
I have a problem. How can I show a graphic element like a polygon or something like that on a panel in a web application. The Panel should include some of this graphic-elements, and is one of several items like buttons etc. of the web application.
My prefered program language for this is C# in VisualStudio 2008.
It would be very nice to get an example.
Thank's
Frank
|
|
|
|
|
draw it and use an image tag?
or do you mean 3d?
search:
Google canvas
flash
silverlight (Microsoft)
|
|
|
|
|
Good idea,
I installed Silverlight2 and it looks like it is very easy to handle graphics on it.
The canvas was exactly what I am looking for.
Frank
|
|
|
|
|
Hi....
I got a requirement its like this....
I open any document say MS word document and if i give print command from file menu it should not display print dialog box, but one user interface say one form where user can enter his username and password. if user is valid he will be allowed to print the document by clicking print button in our webform/winform....
I am bit confused and dont understand how to start with.
It's not an issue which way i go for.. i.e windows application or web application...
Please help me out, as i may loose my job if i don't get the solution.
Awaiting...
Hemant
By:
Hemant Thaker
|
|
|
|
|
Hi,
I am trying to figure out what tools I need to update a personal project.
The webpage is essentially a collage of small clickable images, that bring up information and a simple interface
The problem I have is no version of the web page uses more than 40-50 of these images but I need to keep a library of about 1000 of them. At the moment, I have them arranged in folders on the server, which is mssively space-inefficient, since each one is only 150-250 bytes long.
I want to improve my storange system.
Is there a way to extract an image (current version uses gifs because many images use transparency) from a server-side archive like a .zip file and hand them off to javascript for placement?
Is there a way to serialize the gifs, embed them in the page, then deserialize them and hand them off to javascript?
I figure I have some learning ahead of me. I'm looking for help in pointing in the right direction. I've been searching the web and just getting info overload.
Thanks in advance to all who answer.
Methane Martini,
Shaken, not stirred
|
|
|
|
|
You can optimize the images using fireworks, photoshop or similar programs. but if they really are the size you say they are - you shouldn't need to worry about that.
|
|
|
|