Click here to Skip to main content
14,365,629 members

Comments by Richard MacCutchan (Top 200 by date)

Richard MacCutchan 5hrs 20mins ago View
   
Yes, it is unreadable.
Richard MacCutchan 8hrs 10mins ago View
   
Please show your code, we cannot help unless we can see what your code is doing.
Richard MacCutchan 10hrs 5mins ago View
   
The code most likely needs adjusting to take account of different screen sizes. Go back to the person who wrote that code for assistance.
Richard MacCutchan 10hrs 10mins ago View
   
This is not a programming question. Try Google for "SQL reporting".
   
Maybe if you post your question in the forum at the end of the article referenced in your question, the author will have some suggestions.
   
"I tried. But failed"
And you think that what you tried should remain a secret?
   
So what is your problem?
   
Most likely the URL is not valid when you publish on the server, since 10.10.10.52 is the IP address of your local PC and not the web server.
   
That is not C#.
   
Try some of the online dictionaries. I have never seen such a list separate from a dictionary but there may be a way with Oxford, Chambers etc.
   
Your question is not clear. If you have a problem with some code then please show the codes and explain clearly what error occurs.
   
That message in Italian means the system cannot find the Leadtools DLL.
   
Unless you are an experienced C programmer you will need to search Google for a tool to help you.
   
Much the same issue as your sliding puzzle question.
   
Most likely by using linkedin's published interface.
   
This is the third time you have posted this question, and you have already received some suggested approaches. Please do not keep reposting the same thing.
Richard MacCutchan 14-Nov-19 12:46pm View
   
I have fixed the indentation on your code, but there is still some missing. And you still have not asked a question.
Richard MacCutchan 14-Nov-19 11:30am View
   
I have tested this and it works fine. The actual alignment is not clear unless you look closely. When the calendar window opens it is aligned with the left or right edge of the control. If you create two controls one with this option and one without you can easily see the difference. Although to be honest it is hardly of much use.
Richard MacCutchan 14-Nov-19 11:03am View
   
What does "it doesn't work" mean?
Richard MacCutchan 14-Nov-19 11:00am View
   
Start with research, planning and design. Draw your puzzle on a piece of paper and work out what you need to do to move tiles from one location to another.
Richard MacCutchan 14-Nov-19 10:59am View
   
This is not an answer.
Richard MacCutchan 14-Nov-19 10:47am View
   
What do you mean by "find the files/folder as well"?

Your original question is asking to find a Windows handle which does not exist. Now you are asking about finding files or folders. Please edit your question and explain exactly what information you are trying to find.
Richard MacCutchan 14-Nov-19 8:51am View
   
Please read my comment again.
Richard MacCutchan 14-Nov-19 7:37am View
   
Windows handles are not stored anywhere in files, they are dynamically created for running applications.
Richard MacCutchan 14-Nov-19 4:34am View
   
You need to show the code you are using and explain where the problem is. That picture does not tell us what is wrong.
Richard MacCutchan 14-Nov-19 4:30am View
   
The code appears to be correct. Use your debugger to check that it is following the correct path.
Richard MacCutchan 13-Nov-19 12:39pm View
   
As OriginalGriff says below, the values have been converted. You need to set the precision for display when you print them.
Richard MacCutchan 13-Nov-19 11:18am View
   
None of those things are part of the string class, probably for good reasons. However, you could make your own class that contains a string and add all those features to it.
Richard MacCutchan 13-Nov-19 10:53am View
   
Yes, but where are you using these statements?
Richard MacCutchan 13-Nov-19 7:54am View
   
"Does anyone lift their finger?"
Yes, we all do. Do you?
Richard MacCutchan 13-Nov-19 7:30am View
   
What is the context of these two statements?
Richard MacCutchan 13-Nov-19 7:29am View
   
It is not clear what space you are referring to. If the grid is slightly larger than the form or panel then there may be extra space visible.
Richard MacCutchan 13-Nov-19 7:21am View
   
I cannot see what problem you are trying to fix. The user decides which Window to activate at any time.
Richard MacCutchan 13-Nov-19 6:43am View
   
"That what we need. Somebody do it."
You are somebody.
Richard MacCutchan 13-Nov-19 4:44am View
   
Not enough information in your question. Please elaborate and show any code that is not working correctly.
Richard MacCutchan 13-Nov-19 4:41am View
   
"but it's not working"
That is reasonably obvious. However this is something you need to raise with the providers of FPDF, whatever that is.
Richard MacCutchan 13-Nov-19 4:33am View
   
I don't know ajax, but logically, you would check the button status in the success function, and switch actions according to its value.
Richard MacCutchan 13-Nov-19 4:15am View
   
Solution to what? We still have no idea what your code is doing.
Richard MacCutchan 13-Nov-19 4:09am View
   
Capturing a Window is the same as capturing the entire desktop; you just need to adjust the position and size parameters of the capture.
Richard MacCutchan 12-Nov-19 13:46pm View
   
Start by initialising your array entries to some fixed value (-1 for example). Then fill the elements in order as you have above. The -1 values will remain in any unused entries. Then to print them use the rand() function to get values between 0 and n-1. That gives you an index into the array for all the filled entries. Display an entry (if it is not -1) and then replace its value with -1 so it will not be selected again. Repeat until all enties have been displayed.
Richard MacCutchan 12-Nov-19 12:33pm View
   
You need to save the information for each extra control that is added to the map. When you restart then you just need to reload those controls and position them where they belong.
Richard MacCutchan 12-Nov-19 12:30pm View
   
Please edit your question, show us the code you have tried, and explain what the problem is. We cannot help without knowing what your code is doing.
Richard MacCutchan 12-Nov-19 12:28pm View
   
If you show us the VB.NET code we may be able to make some suggestions.
Richard MacCutchan 12-Nov-19 12:27pm View
   
What happens when you run it?
Richard MacCutchan 12-Nov-19 12:26pm View
   
You forgot to post it.
Richard MacCutchan 12-Nov-19 11:19am View
   
Whether it is explicit or implicit, you cannot sum a set of numbers without a repeated for loop.
Richard MacCutchan 12-Nov-19 11:17am View
   
I am sorry but I do not have any; you will have to do your own research.
Richard MacCutchan 12-Nov-19 5:13am View
   
What have you tried so far, and where are you stuck?
Richard MacCutchan 12-Nov-19 3:21am View
   
You need to provide some more details of what is going wrong.
Richard MacCutchan 12-Nov-19 3:07am View
   
Maybe it would be better to find out what the problem is first.
Richard MacCutchan 12-Nov-19 3:06am View
   
You cannot work on a solution until you know where the delay is. Run some timing tests to find out where the program spends most time. Only then can you start working on improving performance.
Richard MacCutchan 11-Nov-19 11:56am View
   
You have not told us what the problem is, and where it occurs. You could also simplify this by just trying simple values. Only when you have that working should you think about colours and patterns.
Richard MacCutchan 11-Nov-19 10:58am View
   
Please update the question and show the code for both processes that open the pipe and check the return value.
Richard MacCutchan 11-Nov-19 10:53am View
   
Have you considered asking the people who wrote the app?
Richard MacCutchan 11-Nov-19 7:36am View
   
You can save it as VARCHAR or BLOB type
Richard MacCutchan 11-Nov-19 7:35am View
   
Check the object that sends the message in your event handler, so you know which one to hide.
Richard MacCutchan 11-Nov-19 4:44am View
   
The message is telling you that on the line
$user=$_SESSION['user'];
the name 'user' cannot be found in your code.
Richard MacCutchan 11-Nov-19 4:39am View
   
There is no PHP or MySQL code in your post above, so there is no way anyone can offer anything.
Richard MacCutchan 11-Nov-19 4:37am View
   
Please edit your question and show the actual code (properly formatted) with an enabled timer, and explain why it does not work.
Richard MacCutchan 11-Nov-19 4:08am View
   
But that is not the missing import. Try: pip show matplotlib
Richard MacCutchan 11-Nov-19 4:01am View
   
See answer below.
Richard MacCutchan 10-Nov-19 13:12pm View
   
You should post this as a Reply to RickZeeland's explanation, so he can help you.
Richard MacCutchan 10-Nov-19 12:56pm View
   
You're welcome.
Richard MacCutchan 10-Nov-19 12:35pm View
   
Dave, this person has already been cited for abuse, please just add your vote to OP's page.
Richard MacCutchan 10-Nov-19 12:29pm View
   
How can you tell it does not work since you do not print the sorted list?

[edit]
I just tried it and it sorts into descending order.
[/edit]
Richard MacCutchan 10-Nov-19 10:52am View
   
There is only one way to store data into a database. And I have no idea what you mean by "before publishing".
Richard MacCutchan 10-Nov-19 9:38am View
   
1. This is not a solution.
2. It is still not clear what your problem is.
Richard MacCutchan 10-Nov-19 7:50am View
   
Solution to what? Your question could not be less clear.
Richard MacCutchan 10-Nov-19 3:04am View
   
what is the problem with that code?
Richard MacCutchan 9-Nov-19 12:38pm View
   
This guy has already been cited for abuse per messages below.
Richard MacCutchan 9-Nov-19 11:15am View
   
Newtonsoft will do that for you. Your problem is that the JSON text contains invalid characters so the parsing fails.
Richard MacCutchan 9-Nov-19 10:40am View
   
Well I do not think you can do it with Javascript. You need a webscraper application that captures the webpage and activates the button by sending message back. Google for webscraper (plus your language of choice) for samples.
Richard MacCutchan 9-Nov-19 10:38am View
   
Sorry but you need to provide a great deal more information than that. Have you checked with the machine's manufacturer or documentation to see what interface it provides?
Richard MacCutchan 9-Nov-19 9:46am View
   
See comments above, OP is already using NewtonSoft.
Richard MacCutchan 9-Nov-19 9:45am View
   
Why have you posted this comment here, it is not a Solution? If you want it to be seen by the person you are trying to talk to then use the Reply button at that person's comment.
Richard MacCutchan 9-Nov-19 9:39am View
   
Is this your website or someone else's?
Richard MacCutchan 9-Nov-19 9:05am View
   
Thank you, William.
Richard MacCutchan 9-Nov-19 8:26am View
   
Yes, I wondered how long it would take.
Richard MacCutchan 9-Nov-19 8:25am View
   
Thank you again.
Richard MacCutchan 9-Nov-19 8:23am View
   
And, as usual, you tell us nothing. The phrase "not working" is actually worse than not answering at all. We have no idea what code you have tried or what results you get. But I can tell you that your code was wrong. Using timers is a sure way of timing just about anything in a Windows application, and is used all over the world every day.
Richard MacCutchan 9-Nov-19 8:21am View
   
Assuming that is actually: {. Path 'modes[15].channels[8]' then either the full stop after the opening brace, or the single quote before modes is chcharacter 9. I suspect neither of them belong in a JSON string.
Richard MacCutchan 9-Nov-19 8:17am View
   
#MeToo.
Richard MacCutchan 9-Nov-19 7:46am View
   
20 MB of data is nothing so performance is unlikely to be an issue. But as I mentioned above, and OriginalGriff reiterates below, there are many more considerations that need to be addressed.
Richard MacCutchan 9-Nov-19 5:41am View
   
"it spits out an error."
What is "it", and what is the error?
Richard MacCutchan 9-Nov-19 3:46am View
   
Check where these modules are installed, as python is clearly complaining that it cannot find them in the expected locations.
Richard MacCutchan 9-Nov-19 3:44am View
   
You should post your question at the article or solution so the person who wrote the code can help you.
Richard MacCutchan 9-Nov-19 3:39am View
   
Look at your code:
1. Call shutdown.
2. Play a sound.
So if this app is in the Startup set, what is the first thing it will do when startup runs it?
Richard MacCutchan 8-Nov-19 12:44pm View
   
Please edit your question, show the code that you are having a problem with and, as phil.o suggests, explain what you mean by "not working".
Richard MacCutchan 8-Nov-19 12:38pm View
   
Then you must have done it wrong. But seriously, if something we suggest does not work, then show us the actual code you wrote and explain what happens. We cannot fix things that we cannot see.
Richard MacCutchan 8-Nov-19 9:47am View
   
Where is the code that calls OpenEvent?
Richard MacCutchan 8-Nov-19 9:30am View
   
What does "not working" mean? Please edit your question and show proper details of what your code is doing and what results you see or do not see.
Richard MacCutchan 8-Nov-19 7:35am View
   
There is not space here to explain the inner workings of a compiler. There are many examples and tutorials on the internet, that explain both statements.
Richard MacCutchan 8-Nov-19 4:02am View
   
Thanks, I posted this before reading your comment, sorry. And I owe you a few 5s.
Richard MacCutchan 8-Nov-19 2:53am View
   
Because you only read a single record from the returned set. You should use a while loop that continues until reader.Read() returns false.
Richard MacCutchan 7-Nov-19 14:29pm View
   
I cheated and used Google. :)
Richard MacCutchan 7-Nov-19 14:27pm View
   
The issue is that inside a method of the class, all the variables are directly accessible. You can do this explicitly with this:
 cin >> this->variable;

or implicitly just by using the variable's name, as you have in your code. The key being that the method is effectively inside the class.

When you come to write out the record to permanent storage you need to use a serializer which writes each variable in turn. Alternatively in your simple project you could write and read the object inside your main method.
Richard MacCutchan 7-Nov-19 14:11pm View
   
Deleted
As far as I know that is the best you can do. Although your range needs to be (1, 11) to include 10.
Richard MacCutchan 7-Nov-19 12:14pm View
   
You would need to write the code to extract the data from your database and pass it to the control that handles the dashboard display. You will have to study the documentation for the control that you want to use.
Richard MacCutchan 7-Nov-19 12:12pm View
   
Then perhaps you could think a bit harder about what your problem is before posting these vague questions.
Richard MacCutchan 7-Nov-19 11:53am View
   
Just drag & drop it across in File Explorer.
Richard MacCutchan 7-Nov-19 8:32am View
   
You need to use your debugger to find out why helper is not getting a valid db object.
Richard MacCutchan 7-Nov-19 6:46am View
   
You need to show the actual code that creates the json object and passes it to the submitlocation method.
Richard MacCutchan 7-Nov-19 6:44am View
   
Well that is a good clue; something that you are passing through the connection is not valid.
Richard MacCutchan 7-Nov-19 6:07am View
   
You need to inspect the server logs. There is no way anyone here can guess what is happening to cause that.
Richard MacCutchan 7-Nov-19 4:19am View
   
You should check the return value from the call to SetFilePointer to see whether that succeeded.
Richard MacCutchan 7-Nov-19 4:09am View
   
2. Especially when the "solution" is such poor code.
Richard MacCutchan 7-Nov-19 4:04am View
   
You need to explain what the actual problem is.
Richard MacCutchan 7-Nov-19 3:51am View
   
Probably a good idea to ask Oracle.
Richard MacCutchan 7-Nov-19 3:29am View
   
As I mentioned above it is most likely that the search for R.id.main_fragment_container is failing for some reason. That is what you need to investigate.
Richard MacCutchan 6-Nov-19 12:46pm View
   
How does that fit with the code in your question? And I still cannot see any connection between the GridView and the results of your SQL queries.
Richard MacCutchan 6-Nov-19 11:48am View
   
You will need to create your own dialog that does what a MessageBox does. You can then call MoveWindow to change its position on the screen.
Richard MacCutchan 6-Nov-19 11:23am View
   
See my suggested solution below.
Richard MacCutchan 6-Nov-19 11:13am View
   
What is "*spawn* position"?
Richard MacCutchan 6-Nov-19 11:06am View
   
Well something is obviously not correct, but it is impossible for us to guess what. If you are not getting an error message or exception then you need to check the server logs to see if there is any message about connection failures.
Richard MacCutchan 6-Nov-19 10:11am View
   
Speak to the administrators of your SMTP host to check what you need to configure.
Richard MacCutchan 6-Nov-19 9:13am View
   
Sorry, I could not say. But you should still try to find out why the first call fails.
Richard MacCutchan 6-Nov-19 9:12am View
   
No the answer, I guess, is that you must create it so the tests pass. But since I am not on your course I cannot say more.
Richard MacCutchan 6-Nov-19 8:14am View
   
You should check what gets returned by the fragment manager for f1. The best way to do that is to step through the code with your debugger.
Richard MacCutchan 6-Nov-19 7:58am View
   
You say, "//please pass the test cases by modifying the ValueObject class only".
So how can you change the ValueObject class if you do not have it?
Richard MacCutchan 6-Nov-19 5:31am View
   
Since you have not shown the ValueObject class then it is impossible to make any suggestions.
Richard MacCutchan 6-Nov-19 4:02am View
   
Sorry, but I cannot find any powershell command that provides that information.
Richard MacCutchan 6-Nov-19 3:43am View
   
:thumbsup: more reading for me.
Richard MacCutchan 5-Nov-19 12:41pm View
   
How did you get the listing in your question?
Richard MacCutchan 5-Nov-19 12:00pm View
   
I did warn you that messing with the registry is not a good idea.
Richard MacCutchan 5-Nov-19 9:49am View
   
Then please go ahead. And when and if you run into a problem feel free to post a proper question with the full details, and people will try to help you.
Richard MacCutchan 5-Nov-19 9:33am View
   
Sorry, I thought the PNPDeviceID may have been enough. The information is available in device manager but I do not know what API calls allow access to that information.
Richard MacCutchan 5-Nov-19 6:47am View
   
The message clearly says: "You have an error in your SQL syntax".
But without the actual SQL it is impossible to guess what the problem is.
Richard MacCutchan 5-Nov-19 6:05am View
   
What error? If you receive an error message then please add the exact message to your question.
Richard MacCutchan 5-Nov-19 6:01am View
   
Please show the actual MySQL statement, we cannot guess where it may be wrong.
Richard MacCutchan 5-Nov-19 4:08am View
   
Are you sure that the JSON file can be seen by Google? That is have you set the environment variable as directed on the above web page?
Richard MacCutchan 4-Nov-19 15:36pm View
   
I may well be wrong. I have no intention of trying it on my system.
Richard MacCutchan 4-Nov-19 15:07pm View
   
No, the only keys that work for everyone are in HKEY_LOCAL_MACHINE. And changing those is a sure way to crash or otherwise damage your system. Whatever you are trying to do I would say forget it, as anything you change in code, can be changed back by the user in Control Panel..
Richard MacCutchan 4-Nov-19 14:45pm View
   
You say above, "i have good experience on windows", so I assume you understand how to change the registry and what the dangers are. If you look at the values for that key then you can see the references for the different cursors that will be displayed. I assume that if you change the entries to point to different files it will achieve what you want. But I am not going to write any code that may affect the contents of the registry for the reason I quoted above.
Richard MacCutchan 4-Nov-19 14:40pm View
   
Well I cannot stop you.
Richard MacCutchan 4-Nov-19 14:22pm View
   
In a word:none. Do not mess about with the registry unless you are an expert in the internals of Windows, as it can make your whole system stop working. As I already said, those can be changed from the Control Panel, which is what it exists for: Control Panel, select Themes and Mouse Cursor to do any changes.
Richard MacCutchan 4-Nov-19 9:03am View
   
Yes, if you are trying to create a registry key (which you really should not be) then all you need to do is to pass the c_str() pointer to the RegSetValueEx function as follows:
RegSetValueEx(key, valuename, NULL, type, (const BYTE *)savepath.c_str(), savepath.length());
Richard MacCutchan 4-Nov-19 8:48am View
   
You do not need unsigned character for that function. Just pass the savepath.c_str() pointer with a cast to const BYTE *.
Richard MacCutchan 4-Nov-19 8:40am View
   
I am sorry but that tells us nothing. Please explain exactly what you are trying to do as it is quite possible that will create, rather than fix, a problem in your code.
Richard MacCutchan 4-Nov-19 6:14am View
   
Try the message forum at the end of the article. Maybe the author can help.
Richard MacCutchan 4-Nov-19 4:05am View
   
You will not get people to help you if you are rude to them. Please remember everyone here gives help in their own time, and at no cost to you.
Richard MacCutchan 4-Nov-19 4:00am View
   
It's a secret.
Richard MacCutchan 4-Nov-19 3:54am View
   
Did you forget to flag it as Repost?
Richard MacCutchan 4-Nov-19 3:52am View
   
"need some help"
Sorry but we cannot guess what help you are looking for. Please edit your question and explain exactly what the problem is.
Richard MacCutchan 3-Nov-19 10:34am View
   
Lots of comments there, and I have no idea which one you are referring to.
Richard MacCutchan 3-Nov-19 10:26am View
   
Why are you trying to refer to a property that does not exist? Go to the documentation for SystemArray, and see what actual properties there are available.
Richard MacCutchan 3-Nov-19 9:42am View
   
What error? Please remember we cannot see you screen, so saying "I got error" tells us nothing. You need to explain clearly what the error message is, and exactly which line it occurs on.
Richard MacCutchan 3-Nov-19 9:40am View
   
Which comment?
Richard MacCutchan 3-Nov-19 9:35am View
   
That file is owned by "Administrators". So if you are not that user, and you do not have Administrator rights, then you cannot (obviously) change it.
Richard MacCutchan 3-Nov-19 9:31am View
   
I often wonder how some people manage to build code that we know the compiler would normally reject.
Richard MacCutchan 3-Nov-19 9:23am View
   
Change the operator to the double == as I already showed you. You really need to get these operators fixed in your head, so you avoid simple mistakes like this. It is something we have all done in the past, but reading through the code carefully is a useful method of finding the obvious errors.
Richard MacCutchan 3-Nov-19 8:30am View
   
See below.
Richard MacCutchan 3-Nov-19 7:44am View
   
The best way to find out if your code is correct is to build and run it yourself.
Richard MacCutchan 3-Nov-19 7:23am View
   
Yes, I have done that in the past. But some people really need to learn to do a bit more for themselves.
Richard MacCutchan 3-Nov-19 3:53am View
   
You must be very good at counting. :)
Richard MacCutchan 3-Nov-19 3:49am View
   
Please edit your question, add <pre> tags around the code, and identify which line causes the error.
Richard MacCutchan 3-Nov-19 3:47am View
   
Either the Gui.cpp module is not being compiled after the change, or you have a constructor call somewhere else with the wrong number of parameters.
Richard MacCutchan 3-Nov-19 3:40am View
   
No one is going to struggle through that to find line 691 (if that is indeed the right place). Please edit your question, remove the code that is not relevant to the problem, and explain exactly where the problem occurs.
Richard MacCutchan 2-Nov-19 13:58pm View
   
Sorry, no idea. As I keep repeating, you need to explain exactly what is failing, people here cannot see your screen so have no idea what is going on.
Richard MacCutchan 2-Nov-19 13:46pm View
   
I have given you my full code, which is just a sample of how to iterate a directory tree and check if a directory is empty or not. I suggest you start with that basic code and check the output matches what you see with File Explorer. You can then add code to the block where a directory is not empty to do the additional work that your program needs. Do not add all the extra code in one go, build it up one piece at a time so you can check that it still works at each stage. That will also help to identify problems when a new piece of code causes an error, or does not produce the correct output.
Richard MacCutchan 2-Nov-19 13:22pm View
   
Yes. The block of code starting with if (block.is_directory()). The directory_entry Class does not contain a method named is_directory(), so I do not know why this is being accepted by your compiler.
Richard MacCutchan 2-Nov-19 12:11pm View
   
I have tested that code in a number of different situations and it works fine. I have no idea what you are doing differently, as not all the relevant code is visible. I suggest you use your debugger to step through the code and find out exactly where the error occurs.
Richard MacCutchan 2-Nov-19 12:04pm View
   
Please stop saying "not working", it means nothing. Explain exactly what the error is and where it occurs. You have made so many changes to your code it is impossible to guess which line is failing or why.
Richard MacCutchan 2-Nov-19 12:01pm View
   
Please edit your question and explain exactly what help you require. But do not expect someone here to write your code for you.
Richard MacCutchan 2-Nov-19 11:58am View
   
You need to use a JSON deserialiser, not JavaScript. See JSON deserialiser vb.net - Google Search[^].
Richard MacCutchan 2-Nov-19 11:55am View
   
What is not working? All you need to do if the item is a directory is to test if it is empty. If it is not empty then process it as normal.
if (block.is_directory())
{
    if (!fs::is_empty(block.path()))
    {
        currentDepthSize = dir.depth();
        currPath = dir->path();
        innerPaths.push_back(currPath);
    }
}
Richard MacCutchan 2-Nov-19 11:30am View
   
Look at the code sample I gave you.
Richard MacCutchan 2-Nov-19 11:28am View
   
Why are you calling exit if you find an empty directory? All you need to do is ignore it and continue the loop.

And please stop just saying "error". Explain exactly what error you are seeing and what line of code it occurs on.
Richard MacCutchan 2-Nov-19 11:03am View
   
See my suggested solution below.
Richard MacCutchan 2-Nov-19 10:06am View
   
Well I am sorry, but that does not tell us anything. When you say "does not work", we have no idea what your code may be doing wrong. You need to do some debugging and gather some proper details of exactly what happens when you try to translate something.
Richard MacCutchan 2-Nov-19 9:05am View
   
What does "not work" mean?
Richard MacCutchan 2-Nov-19 9:03am View
   
Which line is the check for empty directory in the above code, and what happens when it is executed?
Richard MacCutchan 2-Nov-19 4:56am View
   
Sorry, this site does not provide code to order. You need to show what you have done and explain where you are stuck, and people will try to hep you.
Richard MacCutchan 2-Nov-19 4:54am View
   
I am not a PHP expert, but are you sure the included file needs the <?php and ?> tags around it?
Richard MacCutchan 2-Nov-19 4:50am View
   
You need to find out why this reload is happening. Could be that you have some virus in your system.
Richard MacCutchan 2-Nov-19 4:37am View
   
Sorry, I have not used iTextSharp. You need to look at your code to see what happens when there is more than one page being created. I can only guess that somewhere you are missing some code that sets or resets the font.
Richard MacCutchan 1-Nov-19 10:04am View
   
You should put this information in your question so it is clear what you are trying to do.
Richard MacCutchan 1-Nov-19 9:50am View
   
You are right, see my suggestions below.
Richard MacCutchan 1-Nov-19 8:55am View
   
You should take the Dependent_name from user input, remove the sub SELECT clause, and just match on the string.
Richard MacCutchan 1-Nov-19 8:12am View
   
Yes, it was broken for a couple of days (see Bugs and Suggestions[^]) but seems to be working again now.
Richard MacCutchan 1-Nov-19 8:11am View
   
What is the question?
Richard MacCutchan 1-Nov-19 4:12am View
   
Use a SELECT command to look for records that have conflicting times; whatever you are comparing against.
Richard MacCutchan 31-Oct-19 12:25pm View
   
I think you need to tell the form which font must be used to display those characters.
Richard MacCutchan 31-Oct-19 7:26am View
   
That text does not look like code, HTML or text strings. What exactly is it and what are you trying to do?
Richard MacCutchan 31-Oct-19 7:24am View
   
Forget it; unless you are an expert in cryptography. And explain to your supervisor that these algorithms have been created by top experts in the field. The chance of you being able to improve on what has been tested almost to destruction, are as close to zero as makes no difference. And if he still does not believe you he is welcome to come here and engage in a debate on the subject.
Richard MacCutchan 31-Oct-19 7:20am View
   
You have updated this to format the code but you have still not shown exactly where in the code the error occurs.
Richard MacCutchan 31-Oct-19 7:06am View
   
Four years too late dude.
Richard MacCutchan 31-Oct-19 6:15am View
   
You are correct. I wonder why some of these posters are so afraid to try anything.
Richard MacCutchan 31-Oct-19 6:14am View
   
Deleted
Dummy comment. Will the others appear?
Richard MacCutchan 31-Oct-19 5:26am View
   
Where is the code that handle the column name click?
Richard MacCutchan 31-Oct-19 5:24am View
   
Please do not just dump a load of unformatted code here and expect someone (who has never seen it before) to analyse, and debug, it for you. Just show the extract of the code where the error occurs, and explain exactly where and what error it is. And put the code between <pre> tags so it is properly readable.
Richard MacCutchan 30-Oct-19 16:08pm View
   
I just tried and it runs the loop.
Richard MacCutchan 30-Oct-19 15:50pm View
   
You never execute the INSERT queries.
Richard MacCutchan 30-Oct-19 12:37pm View
   
I showed you what to do in your original question. Why have you opened another one with the same issue?
Richard MacCutchan 30-Oct-19 12:35pm View
   
#MeToo.
Richard MacCutchan 30-Oct-19 10:21am View
   
Sorry, so did I. I will rewrite as C#.
Richard MacCutchan 30-Oct-19 10:20am View
   
Excellent suggestion. And why feel guilty? If you have the answer to someone's problem then you are fully justified in promoting your own article.
Richard MacCutchan 29-Oct-19 12:32pm View
   
Well there is not really anything more elaborate than "use the debugger". Alternatively find some way to display the string that you are trying to convert.
Richard MacCutchan 29-Oct-19 12:22pm View
   
"i just saw this lines of code in some forum"
Maybe that forum would be the best place to post your question.
Richard MacCutchan 29-Oct-19 10:13am View
   
It is becoming fairly obvious that whatever is in that field is not a valid number. You need to use your debugger to find out exactly what data it is trying to convert.
Richard MacCutchan 29-Oct-19 9:35am View
   
Thanks for clarifying.