Click here to Skip to main content
12,254,453 members (66,719 online)

Comments by Richard MacCutchan (Top 200 by date)

   
Richard MacCutchan 5hrs 10mins ago View
   
I do not think that running commands through Runtime.exec() supports pipelines. The command is executed directly in a new environment, but not in a shell.
Richard MacCutchan 5hrs 10mins ago View
   
You need to step through the code with your debugger to see what data is received at each end. It is quite possible that the actual data transfers are preventing the UI from updating the form data. In general you would run the socket code in a background thread. Google should find you some samples.
Richard MacCutchan 5hrs 15mins ago View
   
Exactly what help do you expect from such a question?
   
If you check the documentation page for the class in question it should tell you there. Is SQLServer a valid .NET class?
   
What?
   
but it does not work
It is amazing how many questioners seem to think we can immediately understand what that means.
   
This is a question for Google I suspect.
   
The problem could be anything, and it is likely that only the debugger will help to find it.
   
a friend suggested
Does your friend understand the code?

The real issue is to find out what is being received by the service, and what is being sent back. And you are the only person who can find that out by further debugging.
   
Having also looked at your previous four questions, it appears that you are just making random guesses about most of your code. You should stick to one single project and try to get the working before starting a new one.
   
Having looked a bit further at your code, most of it makes no sense. Your prompts are incomplete and the following if statements will never work. I suggest you go back to the python documentation.
   
What happens? What gets displayed on the screen, and what do you type in response? You can trace this by adding more print statements to your code.
   
when i click on the button nothing is happening.
That does not really tell us anything. You need to use your debugger to find out exactly what is going on.
   
You need to read the documentation for the package creator in whichever framework you are using (eclips, Android ~Studio, Xamarin etc).
   
Your question is not clear, what are you trying to do?
   
No one is going to download your code and fix it for you. Please edit your question, and show some proper details.
   
You need to add an event handler for that column of the DatasGridView, that fires when the data is complete. Tyy the Leave event, or maybe the end of edit in the TextBox.
   
Please post your question in the forum at the end of the article where you downloaded the code.
   
Have you tried entering that HTML in your webbrowser to see that it is all valid? Are you sure all parts of that request are spelled correctly?
   
Is the webserver running on your local PC on port 61832?
   
Activate the first sheet before you save the Workbook.
   
You have been given advice on this a number of times already, and yet you just come back and post the same question again. Either spend some proper time studying documentation and tutorials, or face the fact that you have chosen a career path that you may not be suited to.
   
You are not checking the result of your call to cmd.ExecuteNonQuery() so any errors will be ignored. You must check the result values from system calls to check whether your request was successful or not.
   
The only way you can do this is to iterate through all the files and directories and total the file sizes. The time it takes will depend on how many files and subdirectories there are.
   
You should never store username and password information with the application. You need to ask the user to enter that through a dialog when the application starts.
   
So please guide me.

I already did so. You need to look inside the 'bad' files to see what is wrong with them, and then work back into your code to find out why.
   
You need to look at the actual content of the rendered file (preferably with a hex editor) to see what is wrong with it.
   
I have just tried that and it works fine; your problem must be something else. I suggest you get down to using your debugger to step through the code and find out exactly what is going on.
   
Your code is not correct.
   
DTPicker1.Value = Now
What is Now supposed to be?
   
You posted this same question yesterday, and I and others made some suggestions as to how you could clarify the problem. You still have not given a clear explanation of where the error occurs, or indeed, what the error is. Where is line 72?
   
Go to the C# documentation and study the use of classes and methods. You cannot directly call a method in a namespace, you need a class or object to act as the interface. And if you look at any of the millions of samples of C# code around, you will see it happening everywhere.
   
No, that just means (I assume) that the project was created with an earlier version of VS. However unless you learn to provide proper details in your questions you will continue to find that the answers you receive will be similarly vague.

And when you have problems with code that you download from CodeProject articles, you should post your questions in the forum at the end of the article.
   
While you are at it, stop using string concatenation to create SQL commands, unless you are happy for your database to be corrupted or destroyed while in operation. Also do not post messages saying things like "Your value inserted In DataBase SuccessFully...." when you have not bothered to check whether the command was successful or not.
   
Study the documentation.
   
Exception in thread "main" java.util.InputMismatchException
You need to step through the code in your debugger to find out what input data is causing the exception.
   
Sorry, I don't understand the question. I don't know what has happened to your system but it sounds like it may be in an unstable state and needs to be rebuilt.
   
Please stop posting answers to dead questions. This one is more than four years old.
   
Ha ha!
   
Thanks, you can owe me the 5. :))
   
Better still, use the debugger first, before posting a question here.
   
There is a lesson to be learned here: do the debugging first.
   
There was also a spam answer just before yours, which I have deleted.
   
This question is more than a year old.
   
Question is more than a year old.
   
The chances are that the one of the variables dir or strs[0] does not contain a valid path/file name. Use your debugger to check it.
   
And you expect us to guess why?
   
You cannot do anything in C# that you cannot do from a system application. I do not know what all these questions of yours are about, but it is time you made an effort to do your own Google research.
   
The regedit command will open the registry - assuming you have administrator privileges.
   
Your question states "i need to make a random generator from combobox2". So why are you trying to pick from ListBox1?
Richard MacCutchan 30-Apr-16 8:47am View
   
Comments such as "not working" are worse than useless. If you want help (and to be taken seriously), then edit your question, show the code that does not work, and explain exactly what happens or does not happen, and why that means "not working".
Richard MacCutchan 30-Apr-16 8:45am View
   
Help with what?
Richard MacCutchan 30-Apr-16 8:42am View
   
Looks like you mislaid some part of your question.
Richard MacCutchan 30-Apr-16 6:31am View
   
Richard MacCutchan 30-Apr-16 6:29am View
   
That is what you are expected to work out. Sorry, but CodeProject does not offer a code writing service. If you do not have any ideas then I suggest you go to The Java Tutorials and work through some of the samples.
Richard MacCutchan 30-Apr-16 6:19am View
   
So what is your question? If you are waiting for someone else to write your code, then it will be a long wait. You need to make an effort to analyse your problem and start thinking about what steps are needed to get your results.
Richard MacCutchan 30-Apr-16 3:51am View
   
This is your fourth repost of this question. Have you tried any of the suggestions already offered?
Richard MacCutchan 29-Apr-16 11:11am View
   
You do understand that converting "batch" (whatever that means) to executable code is not something that you can write in an afternoon. You will need a lexical analyser and parser, some sort of code generator, and a link process to turn the final relocatable code to executable.
Richard MacCutchan 29-Apr-16 11:08am View
   
Why don't you try it and see what results you get?
Richard MacCutchan 29-Apr-16 10:42am View
   
Practice, practice, practice.
Richard MacCutchan 29-Apr-16 8:52am View
   
Subtract 1 from the month. If the month is now zero, subtract 1 from the year. Subtract 1 from the year. Or maybe not; you really have not explained what you are trying to achieve (and your example makes it more confusing).
Richard MacCutchan 29-Apr-16 8:18am View
   
Doing the needful is your job. Start by looking at the documentation for the OpenFileDialog and FileStream classes.
Richard MacCutchan 29-Apr-16 8:15am View
   
What output? It works fine for me.
Richard MacCutchan 29-Apr-16 8:07am View
   
some code
Are we supposed to guess what it is?

Please edit your question, remove what you have written above, and replace it with a proper technical explanation of your problem.
Richard MacCutchan 29-Apr-16 8:02am View
   
I was editing it at the same time; and it took me three attempts before I could see what was wrong. :(
Richard MacCutchan 29-Apr-16 6:56am View
   
Continue reading the documentation.
Richard MacCutchan 29-Apr-16 6:54am View
   
What do you mean by "i dont want to use console statements"? How do you plan to get the program's input values, or display its results?
Richard MacCutchan 29-Apr-16 4:15am View
   
The message is telling you what the error is, check the spelling of the item, and its location.
Richard MacCutchan 29-Apr-16 3:51am View
   
Sorry, no. You could try responding to other people who have posted messages on the article forum to see if anyone there can help you.
Richard MacCutchan 28-Apr-16 11:54am View
   
That is a very strange way to do it, you should edit the PDF file directly. Find a library that you can use to do the actual file handling and implement the editing yourself.
Richard MacCutchan 28-Apr-16 11:43am View
   
Please show the actual code, rather than repeating your original statements. Also, if you get an error, then please tell us what it is.
Richard MacCutchan 28-Apr-16 7:37am View
   
Another disappointment in my life ... OG is fallible (almost) :(
Richard MacCutchan 28-Apr-16 7:09am View
   
Easier than what?

The database file is not the issue. The issue is that in order to share the database it needs to be controlled by an installation of SQL Server.
Richard MacCutchan 28-Apr-16 6:59am View
   
You need SQL server installed on one system, and the client code in all the others. If you have problems then please edit your question and explain them in proper detail.
Richard MacCutchan 28-Apr-16 4:17am View
   
Is this a programming question?
Richard MacCutchan 28-Apr-16 4:14am View
   
Google will know.
Richard MacCutchan 28-Apr-16 4:08am View
   
Then you need to create it. We have no idea what "robot questions and answers" is supposed to mean.
Richard MacCutchan 28-Apr-16 3:43am View
   
It looks like the author of this code has not been active on the site for some years, so your chances of getting help are not very high. If you do not understand the code then it is even less likely that you can give a reasonable explanation of what is going wrong. I can only suggest you step through the code with your debugger to try and identify where the problem lies.
Richard MacCutchan 27-Apr-16 14:41pm View
   
The code above is not what my question was directed at. See the original version of the post.
Richard MacCutchan 27-Apr-16 11:59am View
   
How do you think the system will be able to decide which of those two XmlElement attributes to choose?
Richard MacCutchan 27-Apr-16 10:19am View
   
Then I guess your code needs fixing.
Richard MacCutchan 27-Apr-16 10:18am View
   
Have you tried this manually to make sure the site is responding correctly?
Richard MacCutchan 27-Apr-16 7:13am View
   
This question is impossible to answer here. Go to the solrnet website and ask there.
Richard MacCutchan 27-Apr-16 7:12am View
   
You forgot to write any text into the file.
Richard MacCutchan 27-Apr-16 7:10am View
   
Yes, delete this one.
Richard MacCutchan 27-Apr-16 6:10am View
   
Most likely because the time zone offset indicates a value that would make the UTC value of that datetime equivalent to 2016-04-24T18:30:00. Strip the time fields off the string before converting it.
Richard MacCutchan 27-Apr-16 3:47am View
   
Then please do what I suggested, follow the Google link I provided and do some research into which one you think will best suit your needs. And deciding to learn a new language on the basis of which IDE you think is the most powerful, is not a good decision process.
Richard MacCutchan 27-Apr-16 3:06am View
   
Make sure the close time is one minute past 7, or fix the code that does the compares. Unfortunately you did not indicate where that test is.
Richard MacCutchan 27-Apr-16 2:34am View
   
There is no appreciable difference, the issue is basically the same. And it is up to you to do some research into how such a plugin is created; Google will find lots of information.
Richard MacCutchan 26-Apr-16 13:41pm View
   
Please also follow points 2 and 3.
Richard MacCutchan 26-Apr-16 11:46am View
   
Help with what? You have provided no useful detail. We cannot see your screen, so we have no idea what commands you enter or what responses you get.
Richard MacCutchan 26-Apr-16 11:01am View
   
Just send a header record with all the details, followed by the actual image data.
Richard MacCutchan 26-Apr-16 8:14am View
   
Sorry, this site does not provide code to order.
Richard MacCutchan 26-Apr-16 8:07am View
   
It all depends what results you want.
Richard MacCutchan 26-Apr-16 8:06am View
   
Are you actually getting a valid integer value from the reference? Your debugger will soon show whether you are or not.
Richard MacCutchan 26-Apr-16 5:10am View
   
That makes no sense. The more command types the contents of a file on the console. Type the pipeline at the prompt and see what happens.
Richard MacCutchan 26-Apr-16 4:42am View
   
Well I don't expect it was more, grep or awk.
Richard MacCutchan 26-Apr-16 4:30am View
   
Do you really believe anyone is going to read all that?
Richard MacCutchan 26-Apr-16 4:28am View
   
Because the files are protected from people trying to steal them and pass them onto their friends. And no one here is going to help you commit crime.
Richard MacCutchan 26-Apr-16 4:27am View
   
Your code runs fine. What is really the problem?
Richard MacCutchan 25-Apr-16 7:11am View
   
This question is more than 2 years old!
Richard MacCutchan 25-Apr-16 4:48am View
   
Please do not repost the same question.
Richard MacCutchan 24-Apr-16 10:28am View
   
Fine, but this is not a programming issue, and Microsoft's forums would be a better place to find a solution.
Richard MacCutchan 24-Apr-16 9:06am View
   
Looks like you initialise sets from 1 to N, but then try to access item 0 which does not exist.
Richard MacCutchan 24-Apr-16 9:04am View
   
This question is almost two years old and has already been answered.
Richard MacCutchan 24-Apr-16 3:15am View
   
Sorry, no. I have never looked at the Twitter API.
Richard MacCutchan 24-Apr-16 2:46am View
   
I would suggest posting that question to Google.
Richard MacCutchan 24-Apr-16 2:43am View
   
Deleted
Solutions to what?
Richard MacCutchan 24-Apr-16 2:42am View
   
You need to study the Twitter SDK documentation.
Richard MacCutchan 24-Apr-16 2:38am View
   
Please explain what happens when you run the code, show the exact text of any error message, and tell us which line the error occurs on.
Richard MacCutchan 24-Apr-16 2:35am View
   
You will need to examine all the rich text to find out what styles are applied, and add that information to your document as you create it.
Richard MacCutchan 23-Apr-16 4:59am View
   
I do not think Java is the language to use for such an application. If you wish to use low level network programming then you will be better using C/C++.
Richard MacCutchan 23-Apr-16 3:48am View
   
It cannot be the correct password.
Richard MacCutchan 23-Apr-16 3:22am View
   
Why would you want 15 ComboBoxes, and what do you intend displaying in them?
Richard MacCutchan 23-Apr-16 3:14am View
   
This is not a solution, and totally irrelevant for a question that is nearly 5 years old.
Richard MacCutchan 23-Apr-16 3:12am View
   
No, there is no way to identify the person, unless they have left their name inside the HTML.
Richard MacCutchan 22-Apr-16 13:05pm View
   
Sorry, we do not download and debug people's code for them. Please edit your question and add the proper details.
Richard MacCutchan 22-Apr-16 12:44pm View
   
You need to understand that Android has its own implementations of some features, so may not be completely compatible with other Java platforms.
Richard MacCutchan 22-Apr-16 11:09am View
   
Please read the FAQ. If you have chosen a subject that you cannot understand fully there is little that anyone here can do to help you.
Richard MacCutchan 22-Apr-16 10:13am View
   
A pity you did not mention that earlier. You should be studying the media sections in the Android developer forum, not the Java one.
Richard MacCutchan 22-Apr-16 9:15am View
   
There is much more to it than catching exceptions. Have you actually looked closely at your code to check the logic? Have you checked the documentation for each system/library call to ensure you are passing the correct parameters and checking the return values? Did you write all this code, or is some of it copied from other sources?
Richard MacCutchan 22-Apr-16 3:29am View
   
Why not try desk checking the logic in your convertobase method? The error is obvious.
Richard MacCutchan 22-Apr-16 3:27am View
   
Where is the error?
Richard MacCutchan 22-Apr-16 3:19am View
   
Actually it is spam.
Richard MacCutchan 22-Apr-16 3:17am View
   
This guy is a spammer and needs to be removed.
Richard MacCutchan 22-Apr-16 3:15am View
   
I don't think these three posts are questions. OP probably thinks they are articles.
Richard MacCutchan 22-Apr-16 2:47am View
   
I am sorry, but there is little more that I can offer. I have no idea what is happening in your code, and it seems to me that you do not either. You say you are new in Android and yet the above code looks far from basic. The only thing that is left is for you to use your debugger to step through the code and examine the values set in every variable, and the return values or statuses from every system call, in order to discover exactly where the code is failing. But before you do that you must add code to every catch block in order to get notified whenever any exceptions are thrown.
Richard MacCutchan 21-Apr-16 4:40am View
   
You need to have a service running in the Android device that monitors the local database. It will then need to read the new data, connect to the remote SQL server, and insert the data. And the same for the reverse. It would be much better to have a single database that both systems share.
Richard MacCutchan 21-Apr-16 4:02am View
   
How many times must I explain that your catch block (in fact all of them) contains no code? You really need to learn what a catch block is for and how it operates.
Richard MacCutchan 21-Apr-16 3:47am View
   
You cannot do it via the shell since it provides only for a single file at a time. You would need to write your own properties application.
Richard MacCutchan 21-Apr-16 3:40am View
   
The messages are quite clear, you are trying to use constant names that are not defined anywhere. Check your documentation to see where they are defined.
Richard MacCutchan 21-Apr-16 3:37am View
   
That layout is inside a ScrollView; are you sure it is not just off the bottom of the screen?
Richard MacCutchan 21-Apr-16 3:02am View
   
That is because your catch block is empty.
Richard MacCutchan 20-Apr-16 11:43am View
   
It is nothing to do with your code, it is the server's response telling you that the requested page does not exist.
Richard MacCutchan 20-Apr-16 11:39am View
   
C:\Program Files (x86) is the location of 32-bit applications on a 64-bit system. What does error 2 indicate?
Richard MacCutchan 20-Apr-16 11:37am View
   
Without seeing the code that throws the exception it is anyone's guess what is happening.
Richard MacCutchan 20-Apr-16 11:17am View
   
Type the (correct) URL into your browser to see what response you get. I get a warning on Chrome that this application may be suspect. That may have something to do with your problem.
Richard MacCutchan 20-Apr-16 9:46am View
   
The initial code does not make proper sense. It has two sections to generate the hash, one titled Encrypting password, and one titled Decrypting password. Passwords should never use encryption, only hashing. And you only need one method which takes the raw text and the salt value and returns the hash. That hash value is what should get stored in the database, along with the salt. Alaric Dailey has written an excellent article that explains it clearly: http://www.codeproject.com/Articles/54164/Secure-Password-Authentication-Explained-Simply.
Richard MacCutchan 20-Apr-16 9:31am View
   
If the above is supposed to be a solution then it should show the correction.
Richard MacCutchan 20-Apr-16 8:55am View
   
You URL text is wrong, too many http:// parts to it.
Richard MacCutchan 20-Apr-16 8:54am View
   
Do you know what a correct URL looks like?
Richard MacCutchan 20-Apr-16 8:49am View
   
You need to edit your question and explain your problem better.
Richard MacCutchan 20-Apr-16 8:20am View
   
Interview questions links are a waste of time. The only way to pass an interview is to have a thorough understanding of the product.
Richard MacCutchan 20-Apr-16 8:18am View
   
How is this anything to do with Android? All I can see is PHP code.
Richard MacCutchan 20-Apr-16 8:15am View
   
Sorry, this site does not provide code to order.
Richard MacCutchan 20-Apr-16 8:13am View
   
What happens when you run these commands direct from a command prompt? Also where is PDF_Data_Tool.exe?
Richard MacCutchan 20-Apr-16 8:09am View
   
The 404 eroor is returned from the remote webserver so you need to ask them why it is happening.
Richard MacCutchan 20-Apr-16 6:42am View
   
You are passing the string "strFullName" to getSystemResources, instead of its value.
Richard MacCutchan 20-Apr-16 6:20am View
   
So what are we expected to conclude from that? Have you checked the documentation to see why it returns that value?

It is no use just dumping all your code here and expecting people to debug it for you. You need to provide proper details of the exact circumstances of the error and any results, expected or unexpected. Remember, we cannot see your screen or read your mind.
Richard MacCutchan 20-Apr-16 5:47am View
   
What is aadhar card, what is otp? If you want help here then please edit your question and explain your problem in proper detail. Don't use abbreviations unless they are in common and universal use.
Richard MacCutchan 20-Apr-16 5:44am View
   
This is about electricity and nothing to do with programming.
Richard MacCutchan 20-Apr-16 5:43am View
   
You should use your debugger (or use the log system) to find out what is happening when you run the code. And using try/catch with an empty catch block is not a sensible way to detect errors.
Richard MacCutchan 20-Apr-16 5:41am View
   
If is is urgent then just do it manually via your browser.
Richard MacCutchan 20-Apr-16 5:33am View
   
How would that work, since the button would need to run some code on the recipient's system?
Richard MacCutchan 20-Apr-16 5:17am View
   
Not according to https://msdn.microsoft.com/en-us/library/dt5dakze.aspx.

But this is all academic anyway, as none of us actually knows what the OP did in his/her real test.
Richard MacCutchan 20-Apr-16 3:34am View
   
The sample above does not include that header, so std::pow is implied.
Richard MacCutchan 20-Apr-16 3:32am View
   
Intrusion from where? If you mean internet then you need to study network design and programming to understand all the issues involved with such a system. You also need to understand that this is the sort of project that will take you years to complete.
Richard MacCutchan 20-Apr-16 3:30am View
   
There is no algorithm. It is a stack, first item put in is the first item taken out.
Richard MacCutchan 20-Apr-16 3:12am View
   
You need to post this question on the WS4j website, it is not a programming issue.
Richard MacCutchan 20-Apr-16 3:07am View
   
That should not even compile since pow does not accept or return ints.
Richard MacCutchan 20-Apr-16 2:43am View
   
Sorry, I don't understand what your problem is.
Richard MacCutchan 19-Apr-16 12:30pm View
   
Quite possibly, as the message suggests.

You also need to use proper parameterised queries for your SQL text, not concatenated textboxes; it leaves you open to SQL injection (Google will explain it).
Richard MacCutchan 19-Apr-16 10:20am View
   
You do not necessarily have to do that. you need to look at the structure of your installation package.
Richard MacCutchan 19-Apr-16 10:16am View
   
1. Yes it is doable, but probably in man years, rather than months. And that assumes competent developers who have good experience of image processing.
2. see 1.
3. Don't understand the question.
Richard MacCutchan 19-Apr-16 10:12am View
   
And? Do you have a question?
Richard MacCutchan 19-Apr-16 10:10am View
   
If it is not supported then it is no supported. What do you expect?
Richard MacCutchan 19-Apr-16 10:08am View
   
Stop looking at it.
Richard MacCutchan 19-Apr-16 10:06am View
   
Short answer, which others have tried to explain is: you don't. You cannot just save some Window including all the labels, textboxes, controls and their content. You need to use serialization, which will loop through each control on the page (Tab, Form, Control etc), and save information about them and their content, that you can later deserialize back to the original.

What you have done in your code above will never work.
Richard MacCutchan 19-Apr-16 9:21am View
   
Well you obviously need to use a control that supports binding.
Richard MacCutchan 19-Apr-16 9:20am View
   
Why do you refuse to go and read the documentation? If you really want to make it in this industry then you need to be prepared to find things for yourself and try out different approaches. This issue is quite simple and all you need to do is to go to the MSDN documentation and read the section on the Split method in the String class. It will take you all of 10-15 minutes to learn what to do.
Richard MacCutchan 19-Apr-16 3:14am View
   
Use databinding.
Richard MacCutchan 18-Apr-16 11:56am View
   
You need to find out where the files are and use the correct paths when running the program. Alternatively use the FileDialog class to locate them.
Richard MacCutchan 18-Apr-16 11:42am View
   
Still not a question.
Richard MacCutchan 18-Apr-16 11:37am View
   
And how many times did it?
Richard MacCutchan 18-Apr-16 10:30am View
   
You first need to define 'best'. The ultimate object of any application is to fulfill a business need. Whether it is web, form, wpf etc is dependent on that business need.
Richard MacCutchan 18-Apr-16 9:41am View
   
Then you should look at the documentation to see why.
Richard MacCutchan 18-Apr-16 9:26am View
   
Yes I could, but you will learn much more by going to the documentation, studying it, and trying for yourself. Reading from a text file and splitting strings are basic issues that you really need to master if you plan on a career in IT.
Richard MacCutchan 18-Apr-16 9:18am View
   
Do not use var for all your variable types. It makes it much more difficult to figure out what you intend by each statement. Also you cannot convert random objects of one type to objects of another.
Richard MacCutchan 18-Apr-16 9:05am View
   
No it is not in quotes. And I already told you how to split the string.
Richard MacCutchan 18-Apr-16 8:00am View
   
You need to step through that code in the debugger to see what is happening. Your use of the count variable looks suspicious, to say the least.
Richard MacCutchan 18-Apr-16 7:57am View
   
This question was posted and answered nearly 3 years ago. Please do not mine the site for old questions just to gain reputation points.
Richard MacCutchan 18-Apr-16 7:09am View
   
Don't use strings to represent numbers, use proper integers.
Richard MacCutchan 18-Apr-16 6:16am View
   
Deleted
What answers? Have you run the code to see if it produces the information requested in the question?
Richard MacCutchan 18-Apr-16 6:03am View
   
Passwords are stored securely as hash values so they are no use, and the only reason for wanting them is to hack into other people's systems.
Richard MacCutchan 18-Apr-16 6:02am View
   
That information is held securely by Windows and is not available. Windows already provides all the checks to make sure only valid users can logon, so what extra do you think you can do?
Richard MacCutchan 18-Apr-16 3:42am View
   
It's quite simple. When the user tries to login you use his/her userid and hashed password to search your database. If the record does not exist then the details are not for a valid user.

Oh wait, every system I have ever worked on already does that.
Richard MacCutchan 17-Apr-16 7:59am View
   
That error code is 0xC0000005 which means access violation. So, something in your program is trying to access memory that it does not own. Use your debugger to find out where this happens and why.
Richard MacCutchan 17-Apr-16 3:12am View
   
This is not a technical question. If Google does not find what you are looking for then the chances are very high that it does not exist.
Richard MacCutchan 17-Apr-16 3:10am View
   
Most of your if statements do not have balanced parentheses. Please learn to do basic desk checking of your code first.
Richard MacCutchan 17-Apr-16 3:08am View
   
This would require a service running in your device which continuously monitors the database for updates and uses a network connection to pass those updates to your SQL server. This is not a simple application.
Richard MacCutchan 17-Apr-16 2:51am View
   
Yes because by doing some research via Goggle they are likely to find what they are looking for. If you read the original question thare is no other answer.

And, why are you so concerned? If you know the answer then you give it rather than attacking me for trying to help.
Richard MacCutchan 16-Apr-16 12:34pm View
   
Please do not just dump all your code with a vague "it doesn't work", and expect other people to figure out what is happening. Edit your question, show only the failing code and explain exactly where and how it fails.
Richard MacCutchan 16-Apr-16 10:35am View
   
No, you need to go back and read that link and learn how to do screen layouts in HTML/CSS.
Richard MacCutchan 16-Apr-16 6:53am View
   
Please do not post in old questions. This was answered over three years ago!
Richard MacCutchan 16-Apr-16 6:47am View
   
The answer is in the link you gave; go and implement it.
Richard MacCutchan 16-Apr-16 4:02am View
   
Just reload it from your backup.
Richard MacCutchan 16-Apr-16 4:00am View
   
You start by listing your rerquirements, then you convert that to code.
Richard MacCutchan 16-Apr-16 3:59am View
   
What problem? You have not provided any useful details.

Advertise | Privacy | Mobile
Web01 | 2.8.160426.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid