rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator

James, I supplied the search so you could see the priors. Check the latest HTML5 video standards. I read this:

Quote from the HTML5 spec for <video> tags:

Video content should be rendered inside the element's playback area such that the video content is shown centered in the playback area at the largest possible size that fits completely within it, with the video content's aspect ratio being preserved. Thus, if the aspect ratio of the playback area does not match the aspect ratio of the video, the video will be shown letterboxed or pillarboxed. Areas of the element's playback area that do not contain the video represent nothing.
rproffitt 2,701 https://5calls.org Moderator

I think it's been hurting heads for many years now. https://www.google.com/#q=html5+video+stretch finds you may have to find other video players or just bite the bullet and make the video exactly what you want in the first place.

rproffitt 2,701 https://5calls.org Moderator

standard deviation 0-9 2.8722813232690143 was my answer. But I did add a line prior to line 1:

import java.lang.Math; // header stuff MUST go above the first class

Ran it at http://www.compilejava.net/

rproffitt 2,701 https://5calls.org Moderator

I've seen it change over the years. Most of what folk ask is in a prior discussion like
https://www.daniweb.com/community-center/daniweb-community-feedback/threads/500850/whats-wrong-with-the-website

rproffitt 2,701 https://5calls.org Moderator

My old solution was 2 timers not one. I fire the timer that will later start the second one. The first timer disables itself after it enabled the second timer.

rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator

My experience is to keep it simple (KIS.) My longest living project didn't use a simple third party tool or add ons. It's my Duracall Rabbit of apps.

overwraith commented: ty +3
rproffitt 2,701 https://5calls.org Moderator

Just one. In an app long ago I need to scale video data to get the most out of an embedded display. So I didn't want to destroy the raw data so a second array would hold my scaled data and the original was left as-is.

rproffitt 2,701 https://5calls.org Moderator

I would be guessing if this was about your Android app. Try to be a little clearer in the future.

That said your topic on google finds the priors.

rproffitt 2,701 https://5calls.org Moderator

Sorry about that. I was guessing you are on a win32/64 app. Let's hear a little more detail. The user32.dll should work but of course not on non-windows.

rproffitt 2,701 https://5calls.org Moderator

My thought on researching this one. I recall that's in User32.dll so this:
https://www.google.com/search?hl=en&as_q=GetCaretPos&as_epq=User32+dll

MSDN only had the C# call (which is what I code too much in.)
https://msdn.microsoft.com/en-us/library/windows/desktop/ms648402%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396

cambalinho commented: thanks anyway +3
rproffitt 2,701 https://5calls.org Moderator

The thing is, TimeSpan for 24 and over hour discussions are pretty well down. I used this link to find the priors.

rproffitt 2,701 https://5calls.org Moderator

Click Here
Inline Code Example Here

Quoted Text Here

Heading Here

It seems to be consistant behaviour for the editor so I'm going with by design.

rproffitt 2,701 https://5calls.org Moderator

Just a thought. I don't .show the form until I've hidden or shown the objects I want to hide or show. Line 26 would be after the .hide .show items in my rendition.

WIth that out of the way, what issues or errors are you having?

rproffitt 2,701 https://5calls.org Moderator

For me it's up to the client. But that's not telling me enough. For example, the problem I had with WinForms is what happens when you move from say an old 640x480 VGA screen to an portrait view on a 1080p display and all those screens inbetween. WPF tries to tackle that for us. I'm not writing it solved it but it was a start.

Beyond that we have mobile screens, tablets and now the 4K screens. WPF may be the way to those screens.

As to MSFT's future is anyone's guess but for decade plus apps my office makes sure we can pickle the dev system. That is we make sure that we have a dev system that can be installed as well as complete systems in storage. In the past this was pretty horrible with desktops but in the last decade these are now just a pair of laptops in the filing cabinent filed under whatever legacy project we agreed to keep in cold storage. There are some that are going to bristle at the idea we would take perfect hardware and store it for the day a client comes back and wants "a small change." But it's paid off over the years so we do this without much noise except for the newer members of the staff.

If you know your target, I don't see any issue with going with WinForms for say a decade long deployment.

rproffitt 2,701 https://5calls.org Moderator

Small world. I needed a way to make this and other diagrams that anybody on the team could view, edit, create and more. Here's what I ended up with -> UMLET.

You can find it and see examples at https://www.google.com/#q=umlet+class+diagram

rproffitt 2,701 https://5calls.org Moderator

Your app will work on your gear and the machines you test on. Three are long debates about the end of Flash or not which I won't repeat or enter. I shared why Ionic doesn't work for me but maybe it will work for you.

rproffitt 2,701 https://5calls.org Moderator

Flash is almost gone already. I can't imagine a new app today that would start where others have left it for dead. But hey, if you feel you can make a go of it, why not?

rproffitt 2,701 https://5calls.org Moderator

If your app needs are met with this tool, why not? I shared my view but what if your app doesn't need to handle things like screen rotation, and the specific thing I noted? Then you are good to go.

rproffitt 2,701 https://5calls.org Moderator

By quality I mean does it handle screen rotation like a good app does. Games and some other apps don't but I've seen a few too many of thise app builders that don't address screen rotation and screen size changes.

Specifically look at Figure 4 and Figure 5 of http://developer.android.com/guide/topics/ui/settings.html#PreferenceHeaders

While Ionic looks to be fast, it's also leaving much behind in regards to a quality app.

rproffitt 2,701 https://5calls.org Moderator

The answer to your question is yes. Folk have done such.

Can you ask a deeper question like "How does Ionic Creator handle my dozen different platforms and screen rotation?"

My look into this one found it lacking. Not bad for a quick thing but for a quality app, I'm back to Android Studio.

rproffitt 2,701 https://5calls.org Moderator

From what I did in C and C++, the data types are the same. Since you only get so many decimal digits in each floating point representations you choose which fits your needs.

If you feel you need formatted output, there's still printf() and other ideas at http://stackoverflow.com/questions/15106102/how-to-use-c-stdostream-with-printf-like-formatting

rproffitt 2,701 https://5calls.org Moderator

So, yes. There are only so many decimal digits in various floating point reprentations.
http://stackoverflow.com/questions/13931062/double-10-decimal-point-precision kicks it around a little so why not use the type that fits your needs?

rproffitt 2,701 https://5calls.org Moderator

Why does this look so much like http://stackoverflow.com/questions/7052219/php-to-delphi-and-back-encryption-decryption-using-rijndael
Is this a common homework assignment?

And skip down to the code "The PHP and Delphi functions now give me the same answer."

rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator

I haven't used this but Fancybox looks to let you put HTML code in that popup. Said HTML could have an image from the looks of things.

rproffitt 2,701 https://5calls.org Moderator

I am now wondering about the Form name. I read an article and this code snippet to get the current form.

https://msdn.microsoft.com/en-us/library/office/aa223199%28v=office.11%29.aspx?f=255&MSPPError=-2147217396

    Dim frmCurrentForm As Form
    Set frmCurrentForm = Screen.ActiveForm
    MsgBox "Current form is " & frmCurrentForm.Name

You know your code and form names, I don't but when I am tracing code I often have to drop snippets in like this to know for sure what form I'm on.

berserk commented: Excellent Advise, went straight for the issue! +3
rproffitt 2,701 https://5calls.org Moderator

I'm not an Access VBA expert but what if the field at the time was hidden. Maybe you can yield to the CPU with a DoEvents to let the form update prior to access to the item on the form. There's also a note about use of the ! versus the dot in the docs about Access. I'd try it with the dot for a test run.

rproffitt 2,701 https://5calls.org Moderator

Good question. I wonder if http://bytecodeviewer.com/ would let you see this. In the video I see a memory pane show up.

rproffitt 2,701 https://5calls.org Moderator

One more thing to check out. Is the file printui.dll in the usual Windows folders?
The old SFC /SCANNOW may or may not bring it back.

rproffitt 2,701 https://5calls.org Moderator

I've seen such written in C++, Java and others. Typically the language choice is more about the author's skill at the language rather than the age old debate of what language is best for the job.

I wonder if you are asking for what words to use on google? How about
https://www.google.com/#q=machine+vision+products+matching+patterns

rproffitt 2,701 https://5calls.org Moderator

Given that there are such systems today, the short answer is yes.

However if you were to write such, do you have the time to create it? If not, then you hunt for tools.

rproffitt 2,701 https://5calls.org Moderator

Cheat. Write them to a file.csv, bring it into Excel or LibreOffice then...
http://exceluser.com/formulas/countifs-frequency-distributions.htm

Remember that there many types of Random. Linear, Gaussian, Normal and a few more. I love random for this. Which one do you want?

rproffitt 2,701 https://5calls.org Moderator

Two ideas.

  1. Change the value in the first to "apple".
  2. Try no value. http://www.w3schools.com/tags/att_option_value.asp writes if you omit value what happens.
rproffitt 2,701 https://5calls.org Moderator

The thing is that your random sequence may be the same on each run. I don't see a setseed in there. See example and why at http://stackoverflow.com/questions/5533191/java-random-always-returns-the-same-number-when-i-set-the-seed

There are other errors but your question is muddy.

rproffitt 2,701 https://5calls.org Moderator

This looks to not handle the new line. This was discussed before at http://stackoverflow.com/questions/20108334/traverse-file-line-by-line-using-fscanf

rproffitt 2,701 https://5calls.org Moderator

Why not use what you know? Since browsers can use local files with .html you could use what you know today. As to the clicker, I'm going to share I own a Satechi ST-BTRM1 which you could use or something else then your code does the usual on event to cut to your menu for the next html file.

However, many just forget the clicker idea and get a big touchscreen.

rproffitt 2,701 https://5calls.org Moderator

Thanks jwenting. I get the feeling it's a form of spam for that tablet maker. SEO of some sort.

That said, I do have apps out there that take pen inputs on don't laugh, PalmOS and other OSes. The vagueness is killing this discussion.

rproffitt 2,701 https://5calls.org Moderator

Still want to hear more about the project. Web, PC, tablet app? Or did you want to use some tablet as a signature pad that communicates to your app? That communication is going to be what? WiFi, Bluetooth or other?

I'm unsure what asking for project details would be trolling.

rproffitt 2,701 https://5calls.org Moderator

I'd share more about your project. I dropped hints it could be a web app, some standalone PC or tablet app but your reply didn't reveal enough detail for me to add ideas. Tell more, get more.

rproffitt 2,701 https://5calls.org Moderator

I gave this post time to age. Think over your question as if you knew nothing of your project. I can't tell if this is on the tablet, or if you want to add a signature box to your web app or well, you get the idea.

I did check out ivista and they have a raft of tablets. Not sure why that matters. Next time, tell all, tell specifics.

rproffitt 2,701 https://5calls.org Moderator

How long do you have? Or how long have you been around?

The X system did that, what about 2 decades ago. Linux in many forms uses it and as to the second part of the question, you need to consider all Gigabit LAN to hit your speed marks.

That said, Ntrigue was snapped up by Citrix in 1998 so Citrix is next to look at. Not that you'll get your speed on a 100 megabit LAN though.

rproffitt 2,701 https://5calls.org Moderator

A long time ago, this happened to me. I'll share but make no claim this is it. What was it? The Windows machine had no default printer selected or printer driver installed. As such, the fonts were not showing up in our app.

rproffitt 2,701 https://5calls.org Moderator

An example.
http://h30434.www3.hp.com/t5/Notebook-Operating-Systems-and-Software/Creating-HP-Restore-Media/td-p/1298017

That's right from HP. For your restore media, look at the web page at HP for your model and somewhere there is an order page. If not, try the chat at hp.com.

rproffitt 2,701 https://5calls.org Moderator

PS. "restore media from HP" do something more extensine than that?

Why yes it does. It installs the factory set of drivers and apps that makes the laptop do all the tricks. I'm still running into techs that know "drivers" but blow up over the helper apps. It's something you ran into years ago so unless you install Windows a lot, you are better off using the restore media. I can't write a step by step for the thousands of models out there and after doing so for years have had to move to using restore media because it felt like a tar pit. Never ending details and restore media works best.

Unless there are hardware issues but then you know what to do about that.

rproffitt 2,701 https://5calls.org Moderator

It should screen cap fine. And if you want, sure but my bet is on hardware if using the laptop maker's issued OS from the maker's restore media fails.

-> One last thing. Be sure the resolution is at the LCD NATIVE RESOLUTION. I found a few folk that run it at less or not native and complaining.

rproffitt 2,701 https://5calls.org Moderator

Plugged in and not charging has happened to thousands. But again if narrow your search to only an "HP Elitebook 2540p i7 2.31GHz" then you may come to the conclusion it's rare.

I didn't find where you used restore media from HP. I understand. Folk seem to loathe doing that but it beats learning the ropes (or hanging by them.)

rproffitt 2,701 https://5calls.org Moderator

You may be looking for an exact symptom match. That may be too narrow a search. Here I know that laptop OS, driver and helper app install are wiping out folk that don't do OS installs a lot. Even I can't offer an exact step by step. I have a generic process that involves the OS install, then motherboard drivers, audio, video and such but then we're looking for the maker's HELPER APPS that turn on/off WiFi, battery features and such.

Those drivers and apps in your case should be on the web page for your laptop at hp.com. I've watched folk burn for months looking other than the maker's pages.

It's also why I usually install the OS from the maker via restore media. If it's mine I can do the clean install but for clients the time spent racks up a big bill.

rproffitt 2,701 https://5calls.org Moderator

Lethugs, I have to go with a banged up OS. It took a few replies to know which OS but I can't tell if you tried another user account or all the ideas so far.

I know you want to keep details private but without clues like "I'm getting popups all the time" or something more, maybe it's time to reload this workstation.