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.
This is best accomplished by syndicating dot-com portals and embracing real-time platforms in order to deploy turn-key e-commerce solutions. Assuming iterated e-business convergence, morphing enterprise solutions to generate clicks-and-mortar e-services will likely result in envisioneer B2C experiences. I recommend you innovate WAP Enabled e-markets in order to synthesize end-to-end content. Relevant B2C web-readiness models connected to disintermediate global infomediaries will allow you to exploit geo-processing services.
Further, if you mesh real-time monitoring niches and empower distributed partnerships, you will be in a position to seize B2C solutions. Growing out-of-the-box L-markets and enhanced scalable supply-chains are another way to reinvent value-added channels. I recommend streamlining asset tracking bandwidth and strategizing dynamic functionalities so that you can extend proactive mindshare. In my experience, transitioning next-generation infrastructures and maximizing integrated Related Interoperability are valuable endeavours.
IMHO, it's important to seek Bird-Dog visionary convergence and drive best-of-breed architectures to leverage frictionless methodologies. I also recommend you utilize killer channels, synergize e-business programs and reinvent impactful experiences. Scaling mobile programs and vision-oriented, well-modulated superstructures will enable an integrated heuristic application.
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...
i'm write an listen connection (connection to Sql server database) application(APP):
if connection is not available (connection cable is unpluged or broken), my APP will sleep, until the connection is available,my APP will wake up and execute SLQ commands. if connection is broken again, my APP continue going to sleep until connection is available...
please explain for me or give me some key word about that problem.
Note: i think i need to understand a listen mechanism that similar to mechanism of MessageQueue.Receive() method. but i still don't understand this mechanism
If I understood your question correctly, why not create a loop which would
- loop while connection is established or other wait end condition is met
- define proper timeout [^]
- try to open[^] the connection
- if not successful, sleep[^] for awhile
Hmm... apparently, what I'm seeing is "expected" behavior. Standard regex behavior is to only keep the last group. I think that's insane and apparently so did the .Net folks as they have the only regex engine which keeps all capture groups. Thanks!
The .Net regex engine is "special" as it's the only regex engine in the known universe that doesn't throw away intermediate captures. If you look at the Group object that captured the last occurrence of the group in question, there is a Captures property. They give you the intermediate captures in that collection.
(aB)* will match aBaB, but it will only give you 1 aB. If you look in the Captures property, it'll give you the 2 you are after.
((aB)*) will match aBaB, but it will still only give you 1 aB. It will also give you aBaB which is not what you really want.
from this job we can get the submitter, and machine, no. of pages and filename. But unable to get the printer for the job(Not Default printer in the machine), No. of copies, paper size and other settings. Need help for this issue.
my job is print monitoring i.e. application print manager developing in c#. I catch the print job from printer queue. From that job I can get the print submitter,job name,hosted server,job time, no. of fro print and file name and some other details. but unable to get the printer selected for the print and no of pages,printer paper source, duplex or non duplex and some other details. this my problem.
foreach (var job in LocalPrintServer.GetDefaultPrintQueue().GetPrintJobInfoCollection())
UpdateText("Job Name : " + job.JobName.ToString());
UpdateText("Submitter :" + job.Submitter.ToString() + job.TimeJobSubmitted.ToString());
UpdateText("Hosted Server :" + job.HostingPrintServer.Name.ToString());
UpdateText("No of Pages :" + job.NumberOfPages.ToString());
I Need help.
please suggest any other way to complete my task.
Thanks in advance.