For those new to message boards please try to follow a few simple rules when posting your question.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again
I am running Net use * /delete /y also but still I am getting this error whenever I use a different user than previous user
background:- Actually I am trying to excute a command in remote computer and read the command output from a text file. for that I am using wsnet connection by establishing a connection and through unc path \\10.210.1.1\C$:\output.txt , I am reading the output back. and then disconnecting the connection ... even if the connection is not properly closed, I am making sure to execute Net use * /delete /y command in my local system to delete all the existing connection on , but even after doing this if I use a different user I get this exception while connecting using WSNET in C# Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again
Not as a generic rule, no - you could try iterating though it's child windows looking for appropriately named items, and post a WM_CLOSE message, but there is no guarantee that: a) It'll work, b) It'll find them all, or c) The app won't crash or otherwise misbehave as a result.
Seriously? If you need to do this, you're probably better redesigning the application if you can.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
A simple video player with my own play, pause, stop, forward, backward and play list functions. All these things are present in the windows media player and I want to hide them, in order to provide my own functionality.
This world is going to explode due to international politics, SOON.
hello to everybody
i have a class that it name is diver and another class that i called it time.driver has a property iset. i use entity framework for connect to my database.now i want to add an object time to time property of driver.=>add to Driver.time
but when i fill the time and i want to show it to the datagrid it show the count of time in datagrid .where is my problem
this is my query code.
string value = DriverStatusGridView.Rows[DriverStatusGridView.CurrentRow.Index].Cells.Value.ToString();
var SearchTime = (from Search in Context.Drivers
where (Search.InternationalCode == value)
TimeGridView.DataSource = SearchTime;
Sounds interesting. I had never that problem. I'm working on a web application out for 5 years and made no changes to the config file for ages...
It's true that at the beginning I spend about 3 hours to fine tuning everything, but nothing since then...
You better get us into the details so we may spot the problem and help you out...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
I usually only set database information in the config file, the rest goes in the database.
I define it as key/value pairs, but also include "category" and/or machine/module information to be able to filter the necessary.
In addition you could add a "user" filter for settings that a user can change.
I also add a description on what the key/value pair is for.
my two cents.
PS: web services/WCF remain a major drag in this...