I don't want all dll:s of my project to reside in the same folder as the application, how can I, for example, tell it to put and look for dlls in \appfolder\dll\ ?
thanks
--- neteject.com - Internet Solutions ---
1. How can I select and format the timestamp to, for example YYYY-MM-DD?
2. Timestamp updates only the row inserted not the whole table, right?
thanks
--- neteject.com - Internet Solutions ---
Since XP SP2 and Windows 2003 you can't use CreateProcessWithLogonW under the system account in a Windows Service. Does anyone have a working sample of using the LogonUser and CreateProcessAsUser together or any other example that works.
thanks / Henrik
--- neteject.com - Internet Solutions ---
I am trying to run a windows service under the SYSTEM account and since XP SP2 this does not work:
http://www.technewsgroups.net/group/microsoft.public.dotnet.general/topic2337.aspx
Are you running your code as a windows service?
--- neteject.com - Internet Solutions ---
Does anybody have a working example of this? I can't use CreateProcessWithLogonW because it is not allowed for the SYSTEM account in XP SP2 and Windows 2003 SP1.
thanks
--- neteject.com - Internet Solutions ---
ok, thanks, it worked when I had set the culture and moved the resx files to the root.
But what about this line:
dim rm as new ResourceManager("mynamespace.lang", typeof(mynamespace.LangAPI).Assembly);
If I want to keep all the files in a folder called language, how do I write then?
---...
I find that strange, what if I won't store language information, but something else?
I also found it strange that whatever I name the file to it added ".resources" to the file when it tried to search for it.
thanks,
Henrik
--- neteject.com - Internet Solutions ---
I am new to resourcefiles. I have created two .resx files with strings, the names of these files are:
us-en.resx
se-sv.resx
Now I want to read those strings. The files are in a folder called "lang".
I try to write the following:
dim rm as new ResourceManager("us-en.resx"...
I am new to resourcefiles. I have created two .resx files with strings, the names of these files are:
us-en.resx
se-sv.resx
Now I want to read those strings. The files are in a folder called "lang".
I try to write the following:
ResourceManager rm = new ResourceManager("us-en.resx"...
I am new to ASP.NET. I do some database queries in my script and want to close the connection at the end of the script. Where should I put the disconnect? Maybe I don't know when the last execution will be and there will be several queries so I want to disconnect at the "last stage". Any ideas...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.