Showing posts with label ios. Show all posts
Showing posts with label ios. Show all posts

23 May, 2018

Enable the Design and Split Buttons in Visual Studio

23-May-2018

The ActiveReports designer as it appears in Vi...
The ActiveReports designer as it appears in Visual Studio, with important areas labeled. (Photo credit: Wikipedia)
Enable the design and split buttons in Visual Studio. That was something that I needed to do about a month ago as I was tasked to create a small web application, a submodule of a bigger application. But only source view is enabled and is the default.

So how to enable it?

2 ways:

First Way:
Click on File >  New > File
Choose General on the left pane, then HTML Page at the middle pane.
At the bottom right area of the New File dialog, click on the down-pointing arrow beside Open.
Click on Open With.
Select HTML (Web Forms) Editor, then on the right side, click Set as Default.
Click on OK.

No, that may not show the Design | Split | Source buttons yet. You need to restart Visual Studio first.

Second Way:
Click on Tools > Options > Web Forms Designer
Make sure box on Enable Web Forms designer is ticked.
Start pages in Source View, Design View, Split View, you choose that.
Click on OK.

Again, that may not show the Design | Split | Source buttons yet. You need to restart Visual Studio first.

Hopefully, one of these methods would enable the design and split buttons in your Visual Studio.

Till then!

28 March, 2018

Make App Disappear From Taskbar On Minimize

Screenshot showing Windows 8's ability to pin ...
Screenshot showing Windows 8's ability to pin apps and show different wallpapers on different monitors, as well as displaying the new Explorer file browser interface, Task Manager, and multi-monitor taskbar (in "Duplicated on all taskbars" mode). (Photo credit: Wikipedia)
28-March-2018

I wanted to completely hide an application after it is minimized. Hide() is not enough. [ShowInTaskbar = false] did the trick.

Well, I could say that I struggled a bit finding out what would really make the application disappear from the taskbar.

I used Hide(). Didn't work. I also tried Visible = false. Also did not work. I combined both, but still, it did not work. I combined both Hide() and Visible = false, and even then, I still did not see the job done. App icon still shows in the taskbar when it was minimized.

I should mention that I already have the application creating an icon in the System Tray as I have previously created a NotifyIcon to handle that. And what I am adding now is to minimize the window via code, which also requires the app icon to be not shown in the Taskbar.

I couldn't find many articles that provided help. What came up usually just mentioned Hide() or Visible, and some of the old stuff about adding a NotifyIcon function. I found one that did mention about making use of the property ShowInTaskbar. So I grabbed that one-liner code, tried it, and it worked!

So now my program is complete! Now I can hide an application after it is minimized. Thanks to ShowInTaskbar, I could declare it a holiday!

Till then!

[Late posting; drafted on 04-October-2017]


28 July, 2017

Yahoo Bizmail SMTP Settings Configuration Problem

English: SMTP transfer model Blue arrows can b...
English: SMTP transfer model Blue arrows can be implemented by SMTP variations (Photo credit: Wikipedia)
28-July-2017


Lately, yahoo bizmail SMTP settings or configuration throws error. The password is not being accepted. Despite confirming it to be correct!

And if you try to search for solutions and resolutions, all that will be offered is the usual procedure for setting up a new account, POP e-mail, IMAP e-mail, keying in the user name, full e-mail and password, and the servers:

pop.bizmail.yahoo.com, port 995, SSL security
smtp.bizmail.yahoo.com, port 465, SSL security, if not, TLS and SSL security

and the usual More Settings.

But despite entering, checking and verifying at least 3 times that all the entries are correct, only incoming mail goes okay and Test passes and is marked ‘Completed’, but not for incoming mail, which uses SMTP: it will keep on asking for your password, then eventually, is marked ‘Failed’.

So what really is the problem?

It could be Yahoo SMTP Server problem, as it happened to so many users.

But one solution that I found is this: register inetcomm.dll.

I also needed to use my personal laptop, which has my personal e-mail, so that I cannot touch. But being more comfortable using my own, I just wanted to ‘add in’ my work e-mail using the same application: Microsoft Outlook.

So, I just proceed to add a new account, entered everything correctly, key in my password, and naturally, ran into the SMTP ‘enter password’ issue.

I tried everything that I can find on the web, but nothing. Nada. Zilch. Still the same problem on the SMTP outgoing mail, asking for a password, even though it is the correct password already.

Then I found one article that threw a few possible suggestions, but on top is to register inetcomm.dll:

Open up an elevated-privilege command prompt session
1. Press Windows key + R
2. In the box, type cmd
3. Press Ctrl + Shift + Enter

Go to C:\Windows\System32
1. Type C: if you are not in C: drive
2. Type cd\ and press Enter
3. Type cd windows\system32 and press Enter (Windows\System32 also can)
4. Then finally, type regsvr32 inetcomm.dll and press Enter
5. An error will be reported, but just ignore that and close the opened box.

That’s it!

This is all that fixed the problem on the outgoing mails for Yahoo's smtp.bizmail.yahoo.com, using port 465. And I have confirmed it on my own account, as on other users. I am setting up a few laptops running Windows 10 64 bit and using Microsoft Outlook 2010. Mine is Windows 10 64 bit and Microsoft Outlook 2007.

Try it!

16 July, 2017

Remote data not accessible: Excel 2016

English: Illustration of subroutine in Microso...
English: Illustration of subroutine in Microsoft Excel that reads the x-column, squares it, and writes the squares into the y-column. All proprietary Microsoft art work has been cropped to leave a generic spreadsheet (Photo credit: Wikipedia)
English: Use of user-defined function in Micro...
English: Use of user-defined function in Microsoft Excel. All proprietary Microsoft art work has been cropped to leave a generic spreadsheet (Photo credit: Wikipedia)
16 July 2017, 10:20 PM


Remote data not accessible:
To access this data Excel needs to start another application. Some legitimate applications on your computer could be used maliciously to spread viruses or damage your computer. Only click Yes if you trust the source of theis workbook and you want to let the workbook start the application. Start application 'SV.EXE'?  YES NO

I am working on PcVue data extraction using Excel 2016. That was the response thrown by Excel after I typed "=SV|DB!DATE" and pressed [Enter].

Of course, I clicked on YES, but then again, this is the result:

“Cannot run ‘SV.EXE’.  The program or one of its components is damaged or missing.”

Beats me!

This is another one of those DDE nightmares, where the support for a legacy system is required even when already using Windows 10 64 bit and Excel 2016.

I searched for more articles using the string "remote data not accessible" and well, I got some from Technet, and some from Microsft forums, and some scattered Q&A here and there, even in StackOverflow. And I think the solution was derived from one of the Microsoft forums Q&A.

The advice is to make Excel run as Admin. So I did that. I modified the shortcut of Excel 2016 to make it execute, 'Run as administrator'.

And yes, it worked! I was able to extract data from PcVue iNexus 10/11.2 into Excel using DDE!

Then the C# program wouldn't still work, though.

But getting the idea from what I did to Excel, I looked for the compiled program, set it also to execute and 'Run as administrator', well, what do you know?

It also worked!

So while I cannot make use of DDE through Visual Studio's Ctrl+F5. I just do a build, set the compiled exe file's property to 'Run ad administrator', and voila! It would be working like a charm!

I hope this helps somebody working on the same legacy system, DDE, and still make it work.

Till then!



How to remove Launchpage.org from Chrome, Firefox, IE and Edge

English: Browser usage share on Wikimedia Foun...
English: Browser usage share on Wikimedia Foundation projects on June 2011. (Photo credit: Wikipedia)
16 July 2017


Launchpage.org is another version of browser hijacker that seems to easily slip in without detection. And it took over my Maxthon browser's homepage. Fortunately, I have some other security settings turned on that checks for certificates. And this prevented my home pages from being replaced by launchpage.org.

Now I am not sure if there are installed programs that come with launchpage.org, but all I know is that the start icon is all that gets modified, specifying launchpage.org as the home page. So fixing that is all I will be discussing here.

Check that the Start page of your browser is not Launchpage.org. For Chrome, Firefox, Maxthon, that will be via Settings. For IE and Edge, that will be via Options.

Check also the shortcut of each and every browser. Right click on it, then on Properties, then change on Target. There should be nothing after the call to the program itself, for example, this is for Chrome:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"

I have seen "launchpage.org..." something, something after "...\chrome.exe", so I removed that.

Do the same for the shortcuts of Firefox, Maxthon, IE and Edge, and whatever other browsers you use. On many occasions, checking on the browser's start page and the shortcut properties will already solve the problem and you would have already eliminated launchpage.org.

If not, then you do a check on installed programs via Control Panel, or by typing 'uninstall a program" or "programs and features" in the Windows Pearl 'Search Windows' box. Anything that doesn't seem to belong to a legit company, or anything that has a fishy name, or the company name is blank, you exercise your own judgment, and clean up and remove any of these programs.

Resetting the browser setting will reset everything, so to me, that is the last recourse that I will suggest.

Well, I hope that in this short article, you will be able to remove Launchpage.org from your browser, and you get your browser back.

Till then!