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 ---
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 ---
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...
I have the default procedure below. I would like to return 0 if the sql can't find any voucherkey = @key.
How do I do that? Thanks!
CREATE PROCEDURE usp_verifyvoucherkey
(@key varchar(8))
AS
DECLARE @id int
SET @id = (
SELECT isvalid
FROM voucherkeys
WHERE voucherkey = @key)
RETURN @id
GO...
In order to deserialize you need to know the type of what you are deserializing to. I am transfering serialized versions of different classes over a socket. I need to know the type of the string received. I found one way but I believe that there must exist either a function or another way to...
Starting process with the above api function does not work with the system account. Maybe you have a code example that solves this or combines:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/createprocessasuser.asp...
I have an application which takes about 54 MB after being loaded. When I minimize it and then maximize it it goes down to 12 MB and stays there.
Why is this happening? I have tried to run GC.Collect after loading the form but it does not change the memory. Is there anything I can do so that the...
I really need help to understand and sort out my problem with "foreign" characters. Please read this if you now something about this.
I have made some webscripts in php which some translators use. It is some forms which posts to a script which insert the text into a MySQL database 4.1.11 on...
I have read an xmlfile with utf8-encoding into an arraylist of strings. The problem is that when displaying the characters in a form the utf8 is not converted but in it's raw format. I am using Tahoma as font.
How can I solve this?
--- neteject.com - Internet Solutions ---
I am using simple binary serialization and deserialization from this page: http://www.dotnetspider.com/technology/kbpages/454.aspx
The problem is that I serialize an array in one program and deserializing it in another. This causes the following error...
I am developing an application showing traffic in and out. What color do you prefer for showing traffic in and out? I would like to use different colors but is it any standard for that?
Thankful for comments!
--- neteject.com - Internet Solutions ---
I know that you can make a global exception for an application by adding a handler like this:
AddHandler Application.ThreadException, AddressOf Application_ThreadException
But what about windows services? Can you catch global errors there?
thanks!
--- neteject.com - Internet...
I'm trying to insert swedish characters through the MySQL Connector (using VB.NET). The string looks ok before inserting but for example does the swedish character "ä" look like "ä" in the database.
Why is that, do I have to set any encoding or something when inserting?
--- neteject.com -...
I get this error when I try to truncate a table:
Can't execute the given command because you have active locked tables or an active transaction
How can I, by SQL, delete this active transaction or unlock table?
thanks / Henrik
--- neteject.com - Internet Solutions ---
I am doing a japanese version of my program and need to change the font on all forms in the program. How can I do that the best way?
thanks / Henrik
--- neteject.com - Internet Solutions ---
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.