16,004,505 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Sergey Alexandrovich Kryukov (Top 200 by date)
Sergey Alexandrovich Kryukov
30-Jun-16 15:54pm
View
You are very welcome.
Good luck, call again.
—SA
Sergey Alexandrovich Kryukov
30-Jun-16 11:25am
View
1) Parse JSON, deserialize it into some object; 2) Use ADO.NET and do whatever you what to do with the object obtained.
—SA
Sergey Alexandrovich Kryukov
30-Jun-16 11:19am
View
Here is the key word: debugger.
—SA
Sergey Alexandrovich Kryukov
30-Jun-16 11:16am
View
It does not seem to make any sense. Anyway, it could not be possibly called "create... Windows 10 system".
This is not just your problem. I have an impression that people in your company have nothing to do. :-(
—SA
Sergey Alexandrovich Kryukov
30-Jun-16 10:42am
View
That is enough, thank you.
In this environment, you use raw Windows API (perhaps with a very thing MFC wrapper (see MFC documentation: CImage), or combining it with raw Windows API). The approach I described in my previous comment fully applies. The role of the event handler is played by your handler of the event WM_PAINT. Look the documentation on this event and handling it. See also the Windows API methods Invalidate*..., for completeness.
If you need more detail or cannot find all ends, please post a separate question, on a separate question page. You can give me a link to this question by commenting on this comment; I'll try to answer quickly.
—SA
Sergey Alexandrovich Kryukov
30-Jun-16 10:34am
View
Your idea that "this" is related to the scope is wrong. It is totally irrelevant to the scope.
It is related to the concept of the relationship between an object having property and an object used as a property. Note that 1) a function is also an object, 2) and this object can be a property; in this case, "this" is actually passed as an argument.
It you understand that and dismiss your scope misconception, you can probably easily understand the rest. I describe the functioning of "this" in Solution 6.
—SA
Sergey Alexandrovich Kryukov
30-Jun-16 10:28am
View
I answered in detail in Solution 6. Please see. I hope you will also accept it formally.
—SA
Sergey Alexandrovich Kryukov
30-Jun-16 9:46am
View
I know. That's why I advised what I advised. You need to start with some experimenting, to feel the process of recognition. I can not possibly "satisfy" you, because for that I would need to do all the work you have to do yourself. One more advice: "trying multiple filters" is also not quite right approach. You should first predict what you expect from each filter, then it will make some sense. I tell you: I faced the same problems, which I resolved pretty quickly after I played a bit. And for that, I created the experimental application. The goal was: to play quickly.
—SA
Sergey Alexandrovich Kryukov
30-Jun-16 9:41am
View
Because if non-strict mode. This is just weird obsolete behavior. In strict mode, it's always "undefined" object.
Isn't it obvious why it is undefined? Why should it be anything else? "this" is hidden function parameter, which is missing in this case.
—SA
Sergey Alexandrovich Kryukov
30-Jun-16 9:39am
View
Not true. There is no such thing as "assign this". "This" and "object" is the same. Return "this" is... well, not accurate. To check up up, write "return 3" at the end. You will see that the instance is still returned via new Employee(); that is, there is a separate mechanism for returning a result of construction. There are two ways too call a function f(): var a = f() and var a = new f(). In second case, return is ignored and newly constructed object is taken. "this" is only a name for the object passed to a function. In your case, nothing is passed.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 22:32pm
View
Do you think that if this is not a full screen mode, the generated speech would not interfere with playing the game? :-)
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 22:28pm
View
Strictly speaking, even the use of Ajax is not exactly "calling server-side code from client-side code" and not even complete analog of "remote call"; however, it can be done very simple to this concept. (I refer to your earlier comment.)
You know what? would you rather formally post your advice on zip-code services? It may close the question.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 22:22pm
View
The question is way too vague to discuss anything seriously. When one needs to "secure" something, this person needs to understand what problems or exploits can be expected, why, and so on.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 22:12pm
View
I'm just curious: if you "don't know", how you came to the idea that you may need such thing as a function returning an iterator. May I assume that this is because someone requested you to create such thing, gave you an assignment?
This is what I would suggest: learn iterators, their purposes, decide what iterators you need and why, practice in using them, and then just create a function (do you need to learn what is "return" and how it's used?) and return what you need.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 20:20pm
View
There is nothing wrong with this question. We have a lot of stupid questions, but they are usually stupid due to the logical contradiction, most typically wrong baseless assumptions and inadequate ambitions; in other way, false knowledge is stupid, but lack of knowledge isn't. Your question is nothing like that; it's natural on the certain level of learning. Please don't hesitate to ask.
Here is the thing: answering your question heavily depends on 1) your exact platform; 2) UI/graphics framework/library you are using. So answering in too much detail won't make sense until you specify that. Most usual approach is this: the UI is event oriented; the OS provides an event used to handle some graphics rendering event. You handle this event, use the graphical context reference/pointer/handler to draw an image or something else. The OS makes sure there are no redundant calls. For example, if you hide your window behind some some other window or an edge of the screen and then show again, the re-rendering event may be triggered, but not if you simply move the window around. This mechanism may seem overcomplicated, but this is not so; it's very reasonable and efficient. Now, some libraries may do it internally, so you only need to place some object in some container, then it will be rendered. It seems to be much simpler, but it's not necessarily better. Also, modern libraries transparently use hardware acceleration.
With these hints of the background, you would need to ask a separate question, as soon as you provide the required information. If you want me to participate, please give me a link to your new question by adding a comment to this comment.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 19:45pm
View
I just added some analysis closer to the inquirer's situation, in addition to your answer. Please see Solution 3, especially the very last (unrelated) code sample — this is pretty interesting.
...and Solution 6. I credited your use of .call, as I explained other cases of passing "this".
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 18:49pm
View
I 5ed the answer, but did not read the articles you referenced. I did not like what I read before on the topic; it's not so clear or helpful.
At the same time, "this" can be understood very easily by one approach which is psychologically somewhat difficult to many, including myself. One would need to clear one's mind from thinking of JavaScript as of "traditional" OOP system with classes. It's very important to understand that JavaScript programming with prototypes and constructors is very far from the illusionary similarity with OOP: none of those concepts are analogous to classes or class instance constructors; in JavaScripts they are... much simpler. It's really all about objects, not types (the JavaScript concept of type is another non-analogous concepts; and the prototypes are just object prototypes, and constructors are just "normal" functions with "this".
I hope you will like my other answer, Solution 2, more exactly, another reference to the article about the "distractions". :-)
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 18:37pm
View
Ah, now I understand what you meant, thank you. But then it could be not the console application, but the application without any consoles and any windows. Formally speaking, it is a "window application". Microsoft development model, especially in .NET or just in Visual Studuo, is very confusing. They suggest application types "Console" and "Window applications", but in fact, there are no such things. Those options are actually "Show console" and "Don't show console", without anything like "Windows application". On the server side, I see no point of showing anything at all. There is no one to look at that console. :-)
The output can be just logging.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 17:49pm
View
The message posted by mistake is deleted (please see "Deleted" on right of it); I shorten such messages down, because deleted messages are still visible. Sorry for the inconvenience.
I hope my message about the weather is clear. :-)
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 17:47pm
View
That's right, the request is quite unclear. I still think that your information can be very useful, just not quite sure if its relevant in this particular case.
I still have doubts of those console applications. What should start them, when, on what event? With Windows Service, it's more clear; they can auto-start... I mean, if, by some reason, some HTTP request starts a console application, many can be started. Of course I understand how create a single-instance application; the problem is the very principle.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 17:43pm
View
I answered in detail in Solution 2, please see.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 17:23pm
View
Isn't that obvious? You define it once in one place, never repeat. Each enumeration value is converted to string via .ToString() or .ToString().ToUpper(), depending on what you want. It makes code maintainable. Besides, you can have a data structure directly associating input with actions.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 12:27pm
View
I agree, but I just answered the question on its different level, because it was formulated this way: how to "convert" JSON string. This is still a valid question and the problem unresolved by the inquirer; and my answer is still correct.
At the same time, I fully agree with the idea that many questions should not be answered as formulated, and some more reasonable help should be provided based on what the inquirer really needs, not what he thinks he needs (important difference). I just did not dig into it in this case.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 12:23pm
View
You are right, a 5.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 12:20pm
View
This is too much related to the general design of your product. I suggest that the variables should be stored in some data structure representing contexts of execution. Representing context and scope, and also thread context, for stack variable, is the major design problem, and storing the variables themselves if a secondary one. Its important to understand that the same variable name can be used in the different contexts, so they should be not messed up, kept as separate objects.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 12:17pm
View
Use the debugger and/or logging. It could be the undefined object or something else. For some information, test typeof on this object.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 11:57am
View
This is really useful information and might be even what the inquirer needs. But to start with, it would be important to dismiss the inquirer's "run a form" misconception.
By the way, why console application? And how would you prevent it from starting several times? Just asking...
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 11:55am
View
There is no such concept as "run a form". A form is rendered on HTTP request and generates some HTTP request, that's it.
You can use server push to render something on a page when some event on a server side is handled, but this is a different thing.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 11:31am
View
5ed. I did not pay attention that the news are supposed to be taken from Google.
Even with a correct solution, don't you think the whole goal is wrong? The massive use of non-original content is the the plaque of the Web, major kind of noise, distraction, waste of bandwidth, garbage... If people don't have enough to say, they should not publish sites...
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 11:24am
View
Deleted
...
Sergey Alexandrovich Kryukov
29-Jun-16 11:24am
View
Due to hot weather, my access to your hard drive is somewhat limited.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 11:16am
View
Good catch, a 5.
The inquirer's code has many problems; one of them is hard-coded "A", "B", "C" and the like. This is not maintainable. One solution would be using enumeration type, or at least a set of explicitly defined constants, instead of those
immediate constants
. The code should be neat, nothing should be repeated, and so on...
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 11:11am
View
Why no primary key? Anyway, nothing prevents you from deleting a row. To fix another null exception, follow the steps I described again... :-)
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 11:07am
View
A 5.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 11:05am
View
Why all that text? Who needs to read all this noise? 1) Keep to the subject of your question, 2) don't mess up the terminology.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 11:03am
View
Check up if sda is null at the moment of the call... Follow the steps I described in my answer...
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 10:10am
View
This issue is just another reason to avoid Office interop... What to do depends on what do you have to achieve.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 10:08am
View
5ed.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 10:04am
View
Why text box? why not date time picker? Just checking...
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 10:03am
View
In what line?
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 9:59am
View
Using iFrame is not the best idea. You can much better use some element on the same page, such as div.
iframe works like a page inside a page; this is a page with different URL, so you don't control its content. So why using it? The only problem is: on what events do you want to refresh the news content? What initiates the change of content? The rest of the problem is trivial...
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 9:56am
View
Essentially, with modal pop-ups, there is no "close". "Closing" is just ending the (simulated) modal state of the page, which does some changes on the page, in particular, modal dialog gets hidden. As far as I can understand, you don't want to end it. You just need to hide the element you "close". I cannot see all your detail, but this is the idea.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 9:49am
View
There is no such thing as "java script". This is one of the cases where spelling is critically important, because there is "Java" and totally unrelated "JavaScript". Java is not a scripting language.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 9:45am
View
How is that related to JavaScript? You have the files on the server side, you can read them there, present their content as Content type "text/plain" or "text/html". If you want to represent a set of files on the same page and navigate it on the same page, yes, add some JavaScript with a tree of something, as well as some navigation code. I cannot imagine what help would you need. This is just work to be done; needs some effort.
I also cannot understand "jango server... receives the file" part. Do you mean that you also need to edit a file and send it back? (Why sending anything on "user click" if the file originally came from the server side? probably you mean editing it, or supplying by the user, but then you add a node to the tree, not just "click".) If you want to edit the file, just edit it in a control or contenteditable HTML element and send required content using Ajax...
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 9:32am
View
PDF has nothing to do with Web and is not a part of W3 standard. It's just a file you can generate on your server side, it can have any content at all. It has nothing to do with any JavaScript editors.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 9:21am
View
It looks like you are right, thank you very much; I'll fix the code sample.
Anyway, the purpose it to share some directory with assemblies by several applications; which is perfectly possible. How can it make my approach "useless"?
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 9:09am
View
You are very welcome.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 9:05am
View
Then do exactly that. Will you accept my answer formally? Do you have any further questions?
Again, you do not allow or deny pages; you just present different page content in response to different requests from different users. It's better not even show anything like "access denied", even if it is denied, but show something useful, or redirect.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 9:02am
View
Sorry, no, it's not about code. You need to understand what exactly you need to achieve, at least for yourself.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 9:01am
View
Oh, right. I can see your point.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 4:00am
View
The inquirer never mentioned segmentation fault. The question was about fragmentation, which is totally different thing. Fragmentation is unrelated to the access to memory; it happens as a result of allocations and deallocations.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 3:53am
View
Do you mean that you have to add some text to drawing?
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 3:51am
View
I voted 4 in this case. The answer is not quite complete.
First, the option of using OnFormClosing is not mentioned, but it has certain benefits. More importantly, CloseReason property is important but is often forgotten, so it's important to point it out. Please see Solution 2.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 3:37am
View
Here is the idea: your database is still unique, the same one for all the client systems and users. So, you can change the status of the authenticated user. When the user tries to authenticate from a different system (by the way, even the same system but with different browser, which is equivalent to using a different system), your server-side code can read that flag check it up, and respond accordingly.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 3:29am
View
I cannot understand what "archive" may possibly mean, in this context. And what would it possibly mean, to "get an event"? Event instances can be defined as members of some type, invoked in the declaring type; and event handlers can be added to the invocation lists of event instances. Basically, this is all you can do with events. Which part of it is your problem?
Yes, many inquirers have problems with exposing events of nesting controls. The solution is to create appropriate events in the top-level control and add handlers to the inner nested control which invoke those events of the top-level controls. But I'm not sure this is what you try to do.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 3:25am
View
The problem is unclear; I can only tell you for sure: nothing in any applications is related to "command prompt". The "prompt" is nothing as one of the many other applications which can start other applications; the command interpreter.
The creation of the files should be described in the AutoCAD API documentation; from your code, I cannot see where you try to save any file at all.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 3:18am
View
Okay, but you have very little change to get any help at all. I cannot see how your post may make any sense; and you are not really explaining it, — sorry.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 3:17am
View
Then it makes no sense. Your C# code can only detect the WiFi on the server side, which is totally irrelevant.
In principle, GPS can be accessed by JavaScript, on the client side, but, to best of my knowledge, W3 is only recently started to work at the standards related to this topic; we cannot use it with any of the major present-day browsers.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 3:12am
View
You did not show the definition of the type with your bug. But what's unclear in this error message? Visual Studio should show you then problematic code. Find out the members with the same name as the type...
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 2:57am
View
I would not be a problem if you explained the scenario. You send encrypted data, but how the addressee can read it? Where the keys come from? It has nothing to do with certificate or anything like that, this is pure logic. With public-key encryption, the communication in one way can be done with two messages, but then no one who spy on all the communications cannot read the message. With symmetric, the problem would be the key distribution. Perhaps you have to learn cryptography in general, just the main ideas.
—SA
Sergey Alexandrovich Kryukov
29-Jun-16 2:53am
View
Not clear at all.
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 22:48pm
View
What have you tried
so far?
Please don't be surprised with my question. Yes, you've shown mySQL statement (but did not explain what's the problem), but your question was also about mailing. What have you done to send a mail?
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 22:41pm
View
Could you first format your code? Did you even look at it after you posted it? It starts with some "#include"...
This is just HTML...
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 21:32pm
View
What have you tried
so far?
Help with what? How to access the element of an array? How to read an element or assign something to it? It's all described in the language documentation.
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 21:30pm
View
Why so much of irrelevant code (not formatted, by the way)? You had to some 5 lines or so: one single method like void SwipeArray<element>(ELEMENT[] array). Where is all that? You are not even trying to solve your problem. And what would be the use of any help you may get?
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 20:30pm
View
What have you tried
so far?
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 16:17pm
View
Just truncate it according to the format you've used for recording the numbers in the database. You are the one who may know this format.
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 16:12pm
View
Sorry, this is not a question.
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 16:08pm
View
Use the debugger, find out what exactly happens, and so on...
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 16:06pm
View
Help with what, exactly?
What have you tried
so far?
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 16:04pm
View
Help with what? I have no idea what is your application type, platform, UI framework, language, nothing.
What have you tried
so far?
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 16:01pm
View
Good ideas. I didn't think about it. I improved code according to these suggestions and credited them — thank you very much.
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 12:19pm
View
This is the re-post of
http://www.codeproject.com/Questions/1109296/How-can-I-change-this-Cplusplus-to-C
.
Please don't re-post; it is considered as abuse, by obvious reasons, and cannot help you. Instead, continue the discussion of the page of your original question.
You already got an answer. You should not assume that someone write required C code for you. This is your job.
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 11:26am
View
What exactly do you want to access and why? What's the problem?
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 11:25am
View
I don't think it makes sense. Nothing should be passed via query string; and the worst idea is to pass credentials.
I formally answered your question on getting URL query parameter; gave you fully operational code; will you accept the answer formally now?
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 11:17am
View
Platform? Application type? Language? Anything?
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 11:07am
View
This is not even a question. If you know how to draw a line, what prevents you from drawing a circle?
What have you tried
so far?
And the question makes no sense without telling us your application type and what you are using for drawing.
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 11:01am
View
I don't think it make any practical sense, especially if you "have no idea", but I gave you some code in Solution 2. It it what you need?
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 10:57am
View
Sorry, this is not a question. This forum is not a code-writing or code-finding service.
Let me note: major modern browsers have standard spell checkers. Why would you need to develop anything on ASP.NET? By the way, it will be slower in all cases.
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 10:12am
View
All right, but why password then? May I know what do you want to do in production?
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 10:11am
View
What do you want to achieve?
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 10:06am
View
This is a wrong idea; such password "protection" would make no sense; it cannot protect anything.
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 10:02am
View
What have you tried
so far?
Yes, it can be easily done via getting attribute, if you have a control reference, but it defeats the purpose of "id". Normally, id is used in JavaScript as input data, to find a control.
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 4:17am
View
What does it mean? What is "HWID"?
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 4:15am
View
Not a solution, not even close.
—SA
Sergey Alexandrovich Kryukov
28-Jun-16 0:56am
View
I up-voted the answer, it's correct. Perhaps you should better ignore the morons voting in idiotic ways; that happens all the time...
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 23:39pm
View
Sorry, this is not a question.
All the help you need is one magic word: the debugger.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 23:04pm
View
How to run? — off-topic. This is a site for software developers, engineers.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 18:51pm
View
Good idea to get rid of bad idea, isn't it? :-)
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 18:25pm
View
Do you want an idea how to update just one table on some event? If so, what difference the second table may make?
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 18:24pm
View
I never noticed any underscore used like that. But don't you think that having such rendering would be plain bad? Using something looking like a character to render non-character information is just wrong. I would rather think at keeping such underscore from happening. I mean, habits are important, but some habits should better go.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 18:20pm
View
I know. Can you see my point? Anyway, your question does not explain what's wrong with B. The last sentence is related to A.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 18:18pm
View
:-)
Sergey Alexandrovich Kryukov
27-Jun-16 18:18pm
View
Ah... thank you for the note. I did not realize that...
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 18:16pm
View
Yee... In addition to what I say: I know that Hungarian language is one of the most complicated...
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 18:15pm
View
I can assure you: if you do it well, it would be, by far, much more interesting than majority of the articles on the site (By "well", I mostly mean the quality and comprehensiveness of demo/test code, tests, not so much of the normal article text, but everything should be properly explained.)
If you do, please don't forget to notify me by adding another comment on this comment.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 17:42pm
View
Do you? Then pleas see Solution 2. :-)
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 16:35pm
View
It looks like a very early starting point. Checking for a prime number should be a part of the process, not a separate "check for being a prime number" algorithm. In particular, prime numbers should be stored in memory as they are found, as they are used for the check up.
Also, the inquirer should stop hard-coding numbers like 50 and 3...
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 16:18pm
View
Which code?..
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 16:16pm
View
Thank you again. Really, think of writing an article. Would you?
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 15:29pm
View
I perfectly understand. This code fragment is just irrelevant to the problem, which is quite difficult.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 15:27pm
View
I just imagined the programming language with the "smile" compilation directive, ":-)".
It means: "compile this line if possible; if not, just don't take it seriously". :-)
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 15:03pm
View
So, VB or VB.NET? VB6 or VB v.8 (.NET)?
All grid view controls are "dynamic" enough. It's hard to see what kind of help you may need.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 14:54pm
View
Please read this:
What have you tried
so far?
Do you mean Microsoft file sharing service? Anything else? Is the share to be used by a .NET application on Windows? Anything else? What does it mean, exactly: "not share"? What happens?
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 14:08pm
View
Fair enough, a 5.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 14:03pm
View
You should use Unicode-aware data types.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 13:53pm
View
Hard? Well, nothing is too hard here, not even developing appropriate skills. My whole point is: this is one of the easiest problems to solve. This is the main goal of the way I answer such questions as in Solution 1...
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 13:50pm
View
Didn't I answer in full already? Just read it carefully, understand, and see what's going on under the debugger. Are you going to accept my answer formally?
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 13:48pm
View
They are not different enough to make separate question posts. As I said before, you hardly need binarization. Splitting the discussion into two different pages is not helpful at all; and it would be very helpful to keep it all on the same page. You did not accept my previous answer and already asking a separate one. That was me who pointed out that image filtering is more relevant to your problem than image classification, and I agreed that both approaches might be needed.
I clearly understand added complexity of your problem, but I'm sure it's solvable with some acceptable fidelity.
Please see my answer on this page. This is a really good idea which helped me a lot.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 13:42pm
View
Sorry, algorithms of such complexity is not something which can be possibly "given". Given — in what sense?
It looks like you are using
System.Speech.Synthesis.SpeechSynthesizer
. If so, how is that related to your "own TTS"? (If it's really yours, I'm sorry for my mistake.)
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 13:40pm
View
I'm afraid we already live in interesting time, way too interesting. I can compare it with the life in relatively dull times of the past, which looked much more stable and promising.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 13:37pm
View
This is not what I meant. Wikipedia can be opinion-forming enough, it's respectful enough, too. I mean, that this all arguments based on authority (
Argumentum ad verecundiam
, a "logical fallacy") are invalid in principle.
I don't argue against existence of some entity in principle — please see the beginning of my post. I tried to clarify the context and emphasize the relative nature of "existence".
Here, the practical aspect is important: I wanted to warn against targeting "Data Scientist" "profession". It's too narrow and too unreliable to be practical, especially taking into account that this is a modern trend. The trendy is the unreliable.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 12:41pm
View
Please don't re-post. Instead, continue the discussion on the page of your original question.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 12:27pm
View
It has nothing to do with SQL. SQL "knows" nothing about any drives or file systems. Of course, you can store information on files in your SQL, exactly as any other information.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 12:22pm
View
It will make a fair answer. Will you post it with proper attribution as a formal answer using "Add your solution here"?
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 12:17pm
View
The link I provided will lead you to examples. This is a very simple thing in use.
If you have some concerns, write the code yourself and ask questions if you face any problems. It's too early to ask for samples when you did no try anything. Start from the documentation; this is the fastest way.
If it doesn't work out well, I'll gladly try to help.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 12:14pm
View
Again, very good information. How about building of CMUSphinx or Google's (are they related somehow?) on Windows?
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 11:44am
View
Just a note for others: we are now discussing speech recognition (not text to speech, which is the topic of the original question), but this is what I'm interested in.
I only tried recognition I installed on Android, in the form of a virtual keyboard in two different languages (I don't know the origin of source code); and was pleased by the quality even in dictation; it can even make "speech typing of text" practical.
Before, I tried recognition supplied my Microsoft for Windows; it does work; but overall I characterized it as "spectacular failure". It can recognize things based on tiny grammar, but dictation, formally existing, is better should be forgotten.
So, my other question is: does Windows build work? Did you try it, too?
Perhaps your experience would be very useful if you develop good demo applications with complete build instructions and one-click batch build, tests, discuss results, etc. — in a fairly detailed article.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 11:37am
View
I doubt you really need binarization. Reasonably good OCR libraries work with gray-scale images. You just need to improve contrast, sometimes reduce noise (those two kinds of transform are kinds of opposites). Your images certainly need processing (yes, I looked at your example). Here is what I did: created an application with several important transformations applied interactively with different parameters and played with them. It gave me certain experience. You really need to create such experimental application.
Will you accept my answer formally now? In all cases, I'll gladly try to answer if you have other follow-up questions.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 11:32am
View
Use the text search on the page. Did you notice the smile in my comment?
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 11:17am
View
Very interesting link; thank you for sharing. Did you test the recognition itself, its quality?
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 11:12am
View
The second line, "my project is three Layer" won't compile because round brackets () are not balanced. :-)
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 11:09am
View
From scratch? In my rough estimate, you need to meet at least one of the two requirements:
1) get so much talent for the task;
2) get a life span of several hundreds years.
Meeting the second requirement is much more likely.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 10:54am
View
5ed.
By the way, I never tried, not to Microsoft. The opinions of how responsive to reports Microsoft is have been usually very skeptical. :-)
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 10:42am
View
Future telling? I think it's not hard to tell the future; it's just make harder to live in that future when it comes. :-)
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 10:37am
View
If the inquirer's observations are correct, that very exception could be only in the third line, because first two lines would throw out-of-range exception instead.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 10:32am
View
Maciej,
Do you think that a Wikipedia can make an argument for me? The word "science" does not make a subject a science. Also, read the "Criticism" section in the same article. But more essentially, it all depends on what sense of the word "exists" we imply. "Astrology" does exist, right? And all myths do exist. The question is: where? I'm just talking of different things.
You see, the names of "sciences" is a very relative thing. This is a purely social phenomena. They appear as social institutions, such as university courses, books, associations of specialists, conferences, etc. There are very different views on what exists and what not, and what is science. One of the sound positions is that none of the technical sciences (including "computer science") is really a science, in true epistemological sense... For example, compare solid-state physics and strength of materials... All that matter can be a subject of argument.
It's important to see that commercialization badly distorts the picture.
A while ago, I personally started to note that a number of modern computing disciplines is a actually some pseudo-science, a kind of modern astrology/alchemy. And this is where the lack of understanding may hurt in practical terms. As to the "Data Science", I noticed that this name became a name of a position in companies. This is the trend, and the observation of a trend along should be indicative, some reason to look critically at the subject...
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 1:58am
View
The question doesn't make sense. If you just close a window, nothing is refreshed unless you intentionally program it.
It's not always possible to close a window; popup is generally bad in most cases; many users will block it.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 1:52am
View
You are very welcome.
Good luck, call again.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 1:50am
View
Please see my previous comment.
—SA
Sergey Alexandrovich Kryukov
27-Jun-16 1:49am
View
You are trying to get performance counters on the server side. May I ask you what's the goal of this activity?
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 23:29pm
View
You described the whole syndrome, very precisely. Too bad so many inquirers don't understand it; and it's pretty hard to explain to such people; and they are not only the beginners. It's a big thing: to identify a problem which should not be solved, instead of solving it.
One problem is that sometimes it's not even X/Y, but A/.../X/Y, and perhaps even X should not be solved. I always try to ask the inquirer: what is A, but they rarely answer.
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 23:27pm
View
Golden words. The next comment, by enhzflep is also very good, please see.
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 23:17pm
View
Look at it in wider context: computer science. I'm not sure that "data science" exists. It cannot be taken out of context of computer science, informatics, mathematics. "Data Scientists" do exist, because this is a trend, to create positions named this way, not sure about "data science" in reality.
Future? I can roughly explain why future is theoretically unpredictable. You act at your own risk. One remedy: avoid to narrow specialization.
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 18:01pm
View
It happens, sorry; please don't hesitate to remind. Voted.
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 16:41pm
View
I cannot imagine a single valid case of using sleep in UI thread. Why?
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 16:36pm
View
5ed.
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 16:32pm
View
And what is the data type do you use for your Arabic text? I hope it's Unicode compatible.
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 16:31pm
View
Thank you, Maciej.
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 16:29pm
View
Hm... Use the debugger and you will see what's wrong.
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 14:54pm
View
If you cannot open the file, how it can possibly be related to PDF? The file could be defective, or document format version is not compatible with the software version.
Can you open the same document in some other way?
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 14:52pm
View
You simply have to read the whole file in 1 (one) string. Assign the string to the property android:text.
If the text was created in different OS, it may so happen that you have to "normalize" end-of-line characters, but first let's assume it's not the case.
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 14:47pm
View
In what line?
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 14:46pm
View
...besides, it's not clear what "explain" should possibly mean. If I write code, I can explain it; you should be able to do the same.
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 14:36pm
View
This irrelevant to your question. Did you try multiline view with multiline text, according to my answer?
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 9:38am
View
This is not a question, sorry.
It can gather information on the class, metadata and can be used to invoke some method/property, in particular, to instantiate a class.
What exactly do you want to achieve?
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 9:35am
View
Right. Without description of the scenario, the question makes little to no sense. It should be made clear who gets access to what and who is blocked to access, what action should give the access, and so on.
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 9:30am
View
This is not a solution. Such content should rather go to your question, the section "What I have tried". Please use "Improve question".
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 9:22am
View
My question was: why? why do you need it? and why only a path to the module showing active windows? what do you want to do with it ans why? Being an active window has little to do with its functionality, especially for a foreign process.
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 4:40am
View
What exactly do you mean by "grid view"? Exact full type name, please.
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 4:39am
View
May I ask you: why? What would be the purpose of it?
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 4:34am
View
Probably the inquirer means the path name of the mail executable module of the process presently showing active window.
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 4:06am
View
Deleted
...
Sergey Alexandrovich Kryukov
26-Jun-16 3:44am
View
Wow! If your observations are really correct, I would already reinstall the whole OS...
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 3:39am
View
Do you need to start CMD.EXE (command interpreter)? (Would be a bad idea.) Or you really need to some command itself? If so, it has nothing to do with "cmd".
—SA
Sergey Alexandrovich Kryukov
26-Jun-16 3:31am
View
Please, who needs such extensions? You will make it for Chrome, and what to do with people who want to use some other browser? And even if you develop such extension, who will agree to install it? especially the extension doing such a trivial thing, while everyone can use regular on-page search?
—SA
Sergey Alexandrovich Kryukov
25-Jun-16 9:49am
View
The question, as formulated, does not seem to make whole lot of sense, and not really understandable, but the root is understanding of how Web works, not specifically MVC.
—SA
Sergey Alexandrovich Kryukov
25-Jun-16 9:40am
View
You are very welcome.
—SA
Sergey Alexandrovich Kryukov
25-Jun-16 9:40am
View
It shows how to add bookmarks to PDF. It says nothing about import/export. Now, you say "import bookmarks from XML to existing PDF". It means that bookmarks are added to PDF.
—SA
Sergey Alexandrovich Kryukov
25-Jun-16 3:41am
View
You are very welcome. :-)
—SA
Sergey Alexandrovich Kryukov
24-Jun-16 22:42pm
View
Deleted
There is a number of Android file recovery applications. which you don't have to copy on your drive with the problem; in particular, it can be done from a separate computer. Some data could be lost forever, some recoverable...
—SA
Sergey Alexandrovich Kryukov
24-Jun-16 22:03pm
View
In what line?
—SA
Sergey Alexandrovich Kryukov
24-Jun-16 18:59pm
View
These days, you cannot feel safe (and should not), if you have no possibility to quickly backup all your asserts to an empty hard drive. It's the best to have some SATA drive dock (USB3, eSATA, USB2...). Practically, having good amount of data, it should be a hard drive. You can do it using your current system (it should better be virus-free), or some other computer, than you have to unmount a hard drive from your existing computer. It's also good to have everything is source code.
—SA
Sergey Alexandrovich Kryukov
24-Jun-16 14:50pm
View
Do be serious.
In principle, you can, but on what set of files? Do you understand how Google works? It's a huge cache, "a copy of Internet", indexed with great redundancy, updated on regular basis. It is supplied to the users just as a service. Want to do the same? Or do you want to do scrapping and recurrent search on the fly? How much time do you want the user to spend? Days? years?
But if you want to perform the search only on your site, it would not be a problem.
—SA
Sergey Alexandrovich Kryukov
24-Jun-16 11:39am
View
Are you sure that the path is a sub-directory of the root directory set up for your site?
—SA
Sergey Alexandrovich Kryukov
24-Jun-16 11:35am
View
PHP "has a database" in the same sense as ASP.NET. But PHP is a kind of ersatz language and technology, just the cheap stuff...
—SA
Sergey Alexandrovich Kryukov
24-Jun-16 11:12am
View
Gosh, mind reading again... :-)
My understanding was something like "the rest of the data", the data not yet handled so far, which is really can be something handled by recursive code.
Thank you, Richard.
—SA
Sergey Alexandrovich Kryukov
24-Jun-16 10:35am
View
1) Java makes no difference. Instead of pointers, there are reference types and references, which you already tried to use; 2) "excess data" is unclear, I can only guess what it is. Anyway, I cannot see any problems so far. If you need further help, please write:
what have you tried
so far?
—SA
Sergey Alexandrovich Kryukov
24-Jun-16 10:12am
View
What "$ symbol", where?
—SA
Sergey Alexandrovich Kryukov
24-Jun-16 10:09am
View
The major problem I can see: you never disconnect the client.
—SA
Sergey Alexandrovich Kryukov
24-Jun-16 9:48am
View
You did not show any relevant code, no handling of those click, redirection, nothing.
You only manipulate localStorage, which does not update anything. By the way, why not sessionStorage?
—SA
Sergey Alexandrovich Kryukov
24-Jun-16 9:40am
View
There is no one-to-one correspondence between these two languages, so you need to add additional translate rules to your input. You may need some artificial rules used to express something which does not exist in JSON: attributes, namespace...
Let's say, you design all that. Now, what do you mean "how"? By designing and writing some implementation. This is just work of software development. It's not clear what kind of help would you need.
Idea? What idea? Either write it or find some suitable available solution.
—SA
Sergey Alexandrovich Kryukov
24-Jun-16 9:22am
View
All right, we panicked in vain. :-)
Thank you for your information.
—SA
Sergey Alexandrovich Kryukov
24-Jun-16 0:45am
View
Thank you, Prasad.
—SA
Sergey Alexandrovich Kryukov
24-Jun-16 0:43am
View
What you say is not true. Not even close.
I don't even know how to explain it. The byte has nothing to do with ASCII. ASCII is encoding for text (and it's only for code points below 128). When you read a file, you read bytes, not text. Sorry, you are lost. This is you who don't understand. There are no any problem reading those bytes. Generally, to understand writing or reading file, it would be the best to forget that char or string even exist. Later on, you may learn how to combine text data with the rest. The idea is: you define some structure, get it's binary size and them write it all as a buffer; and symmetrically read, when you need to read...
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 22:55pm
View
You are welcome, and thank you for your understanding. But... don't you follow the same line? I advise seriously: do everything independently. You are wrong about "don't want to help". It's just the opposite: I want to help, but you are not trying to help us to help you. You really need to realize it. We will gladly help you if you have some real questions.
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 22:18pm
View
The question would really make sense if you explained 1) the purpose, 2) the problem.
Just reading a file hardly makes any sense. The whole idea of "convert" is wrong. There is no such thing as "not binary" file; all files are "binary". You just read raw data, that's it; there is nothing to "convert". But reading — to what data structure? It depends on purpose and some other factors.
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 22:11pm
View
First of all, you have to chose between the two: "coding by example" or programming. If you want just "coding by example", asking any programming question would be nearly useless. You just cannot "try all sorts of combinations" or something like that. When you are blindfolded, you cannot expect anything good.
One problem is: I cannot see a single line of PHP code in your post. I'm not really sure you realize it. I can only see some HTML which does not seem to make any sense. The content inside <div> resembles some code, but it isn't.
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 22:05pm
View
Apparently, your implied architecture is not linear, so your schema Servers.. VMware is unclear, and, obviously, part if it is irrelevant (WMware). You are just rushing too much, jumping from really abstract (and perhaps too
non-specific) architecture to "clicking on a tab". You really need to explain everything slowly and systematically.
Generally, if you are a "novice programmer", I would advise to do something much simpler. Anyway, this is quite unclear what help you may probably need. We have no information of your background, on the structure of the articles, nothing. At the same time, I cannot see a single problem here. Rather, it's just a matter of building architecture, design and implementation, in a regular and systematic manner. Probably you have some UI design in your head, but even this part you did not describe; you did not describe how the article should look (based in the logical structure we don't know), not your described the upper level of the UI (how the set of articles is represented, organized, tagged, searched).
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 21:49pm
View
Then perhaps you need to embrace the idea "better less but better". We don't mind giving you a hand, but you have to do your homework first. So far, you did not reach us with your hand.
You ought to get to much simpler tasks first, to get some experience and confidence. If you cannot understand how to work with API, you need experience working with API. How else?
I have no idea why would you need to "convert" from C# to VB.NET, but it's easy to do automatically. On sure tool is ILSpy. But this is not really important. Main thing is to write code, not to copy it, no matter if it is in the translated form or not. I know from long experience: you don't learn much reading some code you don't understand. You learn when you read on theory, documentation and try to study this matter by writing code. Few lines written by yourself beat many pages you get from other developers. You will read code written by others when you have something written by you, when you want to compare and weight quality of your work; only then it will be useful.
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 20:08pm
View
I'm sorry if I'm wrong, but this is how it looks to me: you are not trying to do any development effort, only trying to find some code samples and hope they do what you want to achieve. If so, you probably need to understand that it is pretty much counter-productive.
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 18:26pm
View
You, see, you hardly can expect that someone write a code sample of such request. I suggest you read the documentation and write some code. At least you could show what is the problem, if you face any.
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 18:24pm
View
Ah, Access... Perhaps, to me it's a bit hard to spot "access" as "Access". :-)
Thank you.
Well, right; as I say, no relationship is indicated in any way...
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 17:01pm
View
If you are using a SQL database, you should use not month number or name, but appropriate data types related to time: date, time, datetime, etc.
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 16:59pm
View
Not clear. Do you have a relational database? If you want to express some relationship, you have to describe the relationship somehow. In your example, there is no any sign of any relationships.
It's also hard to help you, because it's hard to understand what is your background and what you are using. In relational model, the relationships is established by using unique keys and foreign keys...
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 16:48pm
View
That's the whole idea: perhaps it means that fixed-size form makes no sense. Here is the idea for you: instead of dealing with ill-posed problems, it's better to do better UI design.
Calculation of metric during runtime is possible:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724385%28v=vs.85%29.aspx
.
But it does not mean that you can pick all the information. A form class can have it's own layout elements which are not exposed to any API. Calculate at runtime? Sure, but where you get input data?
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 15:29pm
View
Again, it's hard to see what help would you may need. It's hard to teach understanding.
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 15:00pm
View
I would not do it. You cannot get reliable results from such calculations. Why not allowing the user to change the size and splitter positions? After all, this is the whole purpose of this layout technique.
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 14:57pm
View
I see. Anyway, thank you for answering. Did you try to install the pack for second language and use two (or more)?
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 14:42pm
View
What part of Google documentation is a problem? I mean, it's hard to figure out what kind of help you may possibly need. I hope writing the whole bunch of documentation on your request is not an option.
What have you tried
so far?
(Apparently, what you wrote in your "What I have tried" section is no longer applicable. What else?)
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 13:17pm
View
5ed.
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 13:17pm
View
5ed.
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 13:15pm
View
Split or add? Those are opposite things. :-)
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 11:48am
View
5ed, but I think the inquirer needs to understand some PDF background. Also, your expression "no DIRECT way" is not quite accurate. Instead, you would need to explain that this is out of control of a Web application/site.
Please see Solution 2.
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 10:27am
View
If you want to do it per application, applications of your own, this is not a problem at all; the solution depends on what you use for printing. (I don't know why you call what you described "watermark".)
But you cannot interfere with all other applications.
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 10:22am
View
Thank you, Karthik.
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 10:15am
View
I also added Solution 3, to explain some background and provide more links.
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 10:08am
View
Not clear: "numbers" is also text. Filtering of characters should be done in JavaScript, on the client side, not PHP. Your server side can sanitize the whole text after it is posted to the server side, if you need it.
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 10:04am
View
5ed.
—SA
Sergey Alexandrovich Kryukov
23-Jun-16 9:51am
View
What "normal players"? Do you mean that you can play the file with the *play utility provided with the library but not other players?
What is your platform?
Note that there is no such thing as "MP4" file. Each media file is a combination of the media container and one or more channels based on different codecs. MPEG-4 is a whole set of different (and alternative standards). What exactly you are using? (You can find an answer if you use your *probe utility, in FFMpeg, it's called ffprobe, ffprobe.exe.) It can be such a simple thing as lack of codecs installed on your system. And some players, such as Windows Media Players are notoriously poor in terms of support of a set of modern standards.
—SA
Show More