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.
*Poveži aktuelne predsednike sa državama u kojima vladaju. Trajan Basesku=Rumunija Karolos Papuljas=Grčka Đorđo Napolitano=Italija Tomas Hendrik Ilves=Estonija Danilo Tirk=Slovenija Dimitris Hristofias=Kipar Tarja Halonen=Finska Meri Mekelis=Irska
*Francuski gradovi Bordeaux=Bordo Auxerre=Okser Toulouse=Tuluz Nantes=Nant Marseille=Marselj Dijon=Dižon Limoges=Limož Chateauroux=Šatero
I'm not reading that entire code dump. Most of is probably not related to the problem.
You can't randomly seek to a specific "line" in a text file. You have to read through it, looking for the lines that start with "*". You can do ignore a random number of them but you might want to initialize some structure with the data from the file, reading through the entire file looking for the "*" lines and recording which line you found it. You can then pick one at random, and get the line number to skip to. You have to go back re-read the file, counting lines until you get to the one you want.
When you get the line with the "*" in it, you start reading and recording the data from each line, these are your answers, until you get to another line with a "*" in it.
Hi all, I am using Selenium ver 2.53.0, Firefox 46.0.1. I want to create an application that use Selenium WebDriver to do parallel tasks. I have created an app like that but: My app opened 2 webdrivers and its task was the same, not different task as I have assigned to each thread before. I wonder what was going on? Was there one-one connection between thread 1 - Webdriver 1 AND thread 2 - Webdriver 2 OR not? If not I suggest each thread was pushing its data to active Webdriver at that time. Was I right? Hope to get any help from all of you, so I can solve my issue. Thank you!
You don't provide the correct information to diagnose your problem.
But I will say that WebDriver is not thread-safe. You can't have multiple threads using the same WebDriver instance.
You CAN, however, have each thread create it's own instance of WebDriver, but each one of those is going to create it's own instance of the browser. This is going to greatly increase the amount of memory your app is using.
I installed Visual Studio 2017 a few days ago and for now I have 3 problems.
1.- After starting and stopping the project several times, when compiling appears the "Access Denied" indicating that do not have permissions in bin\Debug to copy the .exe file from obj\debug to bin\debug. The only thing that works is to go back to restart the pc. The .exe file not is in memory and unlocker does not indicate anything.
2.- I deleted the Debug directory but when compiling or recompiling the bin\Debug directory is not regenerated and error CS0246 appears because it does not find the references to the Dlls that i use in the project. Simply bin\debug remains empty.
SOLVED. Last minute: Solved. In the .csproj file there were several lines <Reference Include = "XXX Version = XXX, which indicated the version of the dll that I used. I thought that when reinstalling the new version of the dll controls the Visual Studio project was already updated but I had to change it with the Notepad editor. Now the bin \ debug directory is now regenerated
3.- Visual Studio 2017 is much slower to detect changes in the .cs code. When in a .cs file i make a modification and change to a second .cs, you have to wait a while for Visual Studio to correct any reference to the modified part in the first .cs
4.- So far I could not make modifications in debug mode by stopping execution with a breakpoint. It has been solved by unchecking the box "Project", "Properties", "Compilation", "Optimize Code". Thanks.
The first thing you need to do is decide what language you plan to write in. Since this is the C# forum, I assume you are going to use C#. And since you want to store information you probably want to use a database. So Start with C# and when you feel comfortable using that go and learn about databases (SQL in particular). .NET Book Zero by Charles Petzold[^] is a great starter on C#, and then you can go and look at some of the articles here on CodeProject. For database there is a good tutorial at Lesson 01: Introduction to ADO.NET – C# Station[^], and again lots of further articles on CodeProject.
Need to know step by step in construction of this Download manager using c# MyDownloader: A Multi-thread C# Segmented Download Manager[^] i want to learn all the concepts required for it anyone who knows or have worked with the same project ? please guide me to what to do i want to understand this project and modify it to make it more powerful
With all due respect, you're not going to get very far as a software engineer if you expect people to stop what they're doing and spoonfeed you. This is a field where you learn by taking the trouble to read, write and debug code. It starts with YOU. If you have specific questions, feel free to ask and we'll do our best to answer them. But please don't for a moment think that this is a field where you can sit back and have someone explain software engineering to you.
No offense taken Mr. Ravi but i am asking for tutorial or steps on how to construct the app, the thing is am too new for both the language as well as V.S. need just the direction and for problems if any errors occurs i do it by myself and do not ask others unless i have at least tried it a few more times than my satisfaction level. there isnt any documentation on making or working of it as far as i have seen if you found any please share it w/ me
It's an article. The article should explain how it works. If there are bits in there you are unclear about, post a question on the forum at the end of the article. If you are new to .NET, pick a simpler project to start.
I have tried suppressing the script errors. No go. I have tried the hack where you set the IE emulation mode. No go.
BUT... when I run the very same executable from the command line, it runs and loads the page just fine. I checked the browser ActiveX version of IE being used, and it appears to be the most current version of IE that is on my Windows 10 system ( v11 I think ).
So what is going on here? I am thinking it is some kind of content blocking that IE is doing only when I run in debug mode, but not from the command line. I really need to get this working, because their script sends some Json back to me via the ObjectForScripting property on the web control, and that doesn't appear to be working, thus I need to be able to debug from within the environment.