|
ok ok ! I did ... !!! see my other post!
Jammer
Going where everyone here has gone before!
|
|
|
|
|
Hello,
I have an application that sets a cookie (for authentication purposes) after a user logs in. When I run the application locally it sets the cookie and runs as it should. However when running on the webserver it appears to not set the cookie and cause me to go back to the login screen (to basically do it over). I tested my app in Firefox and it sets the cookie fine (both locally and on the webserver). Can anyone give any insight on this? Thanks in advance.
|
|
|
|
|
Hi there,
can windows service run even before the windows log on (i.e) just once the computer boot? (windows service that is built using C# 2005)
if so, can the service check a data base, update it, and gives pop ups to the user?
also, can it have an icon on the desk top so it is just like a normal application?
I really need to know a lot about windows service building and what things are possible and what are not ,
please help, even with sites ,
Thanks ,
There is always something to learn
|
|
|
|
|
Knowledgestudent wrote: can windows service run even before the windows log on (i.e) just once the computer boot?
Yes, set the startup type to Automatic.
Knowledgestudent wrote: if so, can the service check a data base, update it, and gives pop ups to the user?
For a service to have any UI, set the Interact with desktop option. Natually, it has to run under a specific account for that. I'm not sure if that is compatible with setting the startup type to Automatic.
Knowledgestudent wrote: also, can it have an icon on the desk top so it is just like a normal application?
I thought you wanted it to start up automatically. What do you want the icon to do?
Knowledgestudent wrote: I really need to know a lot about windows service building
Buy a book, or use Google.
Cheers,
Vikram.
Zeppelin's law: In any Soapbox discussion involving Stan Shannon, the probability of the term "leftist" or "Marxist" appearing approaches 1 monotonically.
Harris' addendum: I think you meant "monotonously".
Martin's second addendum: Jeffersonian... I think that should at least get a mention.
|
|
|
|
|
Vikram A Punathambekar wrote: I thought you wanted it to start up automatically. What do you want the icon to do?
actually the service must perform functions according to the user that is why I need an icon for it, in other words : the user must be able to choose what the services must do in the next time.
OR, It is possible to let the service open an application (have it run), isn't it?
I am willing to buy a book , can u give me names that are helpful(worthy)
Thank you
There is always something to learn
|
|
|
|
|
Hi,
I'm trying to write to a file which shud be .csv. I'm using streamwriter for that as
StreamWriter sw = new StreamWriter (Server.MapPath"~/ImportData/Files/"+_FileName),true,Encoding.Unicode);
Now the problem is, when i try to open the file in excel does not see the commas in the file and puts all data for that row in the first column. I can resolve this issue by replacing Unicode with Default, but this solve the problem only for culture english.
I should definatley go with Unicode, as i have to use this for different cultures.
Please, let me know if any ideas, as I'm stuck on this.
Thanks
robust
|
|
|
|
|
wrote: let me know if any ideas
Don't cross post. You asked this same thing yesterday in the General Discussion forum.
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
Have you even looked at the file in notepad to see if the commas are actually there?
Just because we can; does not mean we should.
|
|
|
|
|
Yeah, i looked in notepad......its perfect over there........As I said, when i give the encoding as default then it wrks perfect in english culture.... but it is mandatory that it shud also wrk in other cultures such as french and german.....it writes perfectly to the notepad....but when i try to open with excel it screws.....
|
|
|
|
|
Is there an equivalent of the C++ STL map in C#?
Thanks in advance,
Rachel
|
|
|
|
|
NameValueCollection may be close but have you tried here[^]
only two letters away from being an asset
|
|
|
|
|
The article finally got made and posted then
My current favourite word is: Nipple!
-SK Genius
|
|
|
|
|
How do you add an IMAGE proerty to a control that does not have this property?
Big Paul
|
|
|
|
|
paulhighstreet wrote: How do you add an IMAGE proerty to a control that does not have this property?
I think it would be best to tell us what you are trying to achieve. Just adding an image property to a control won't really achieve all that much.
|
|
|
|
|
This is the code section
private void OpenImage()
{
try
{
this.openFileDialog1.ShowDialog();
openFileDialog1.Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.*";
string path = this.openFileDialog1.FileName;
this.viewer1.Image = Image.FromFile(path);
}
catch
{
MessageBox.Show ("Invalid selection. Must be an image file", "Picture Viewer", MessageBoxButtons.OKCancel, MessageBoxIcon.Asterisk);
}
}
|
|
|
|
|
This will do it, but if you want the image to actually be drawn on your control you'll have alot more work to do.
using System.Windows.Forms;
using System.Drawing;
namespace MyControls
{
public class ImageTextBox : TextBox
{
private Image image;
public Image Image
{
get { return image; }
set
{
image = value;
}
}
}
}
Dave
|
|
|
|
|
Thanks I'll give it a try.
|
|
|
|
|
|
Well, definately not by posting 3 times in under an hour. I'd use the magic google machine to get my answers, but that's just me.
I'm going to become rich when I create a device that allows me to punch people in the face over the internet.
"If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer
|
|
|
|
|
Quit deleting your posts after some has replied. It fouls up the forums...
"0x80004005: InternetForum.WrongCategorySelectException ." - Vasudevan Deepak K
|
|
|
|
|
Hi,
I am assigning a generic colection to a datagridview.
I would like to change the positions of the columns in the datagridview control.
Do I do this in the control itself (If so, how) or do I change the column positions in the generic collection (If so, how)
Thanks
|
|
|
|
|
|
Is there a question in there somewhere? Be more specific. What exactly do you require assitance with?
I'm going to become rich when I create a device that allows me to punch people in the face over the internet.
"If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer
|
|
|
|
|
I have a need to rezise the boarders of a number of PDF files. I need to add boarder to one side & remove boarder from another.
Does anyone know of a tool or toolkit that is capable of doing this without resizing the image itself?
Thanks
|
|
|
|
|
Hi friend i am new in network programming and trying to develop a chat messenger. for this most of the portion has completed but still i have some problem with file sending to anothe user,
files like .zip,.jpeg ,though the file is transfer through socket and well accepted by the user ,but i cant understand where is the mistake i have done , only text file i can transfer to another user,or it also readable ,even word file i cant read.
if any one have the solution of this problem please help me....
Thank you in advance...
Ranjan
z
|
|
|
|