System Programming

40K

Solutions

19K

Contributors

Kernel and system programming is the process of creating the software necessary for a computer or device to function and operate other programs. Some operating systems (such as Microsoft Windows) are proprietary, but others, such as the various Linux distributions, are open source.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi,
Here are TWO App stores
Huawei App Store
http://appstore.huawei.com/

Xiaomi App Store
http://app.mi.com/

but I do not know how I can upload App into these stores. Is there any good support forum for such App stores?
0
Hi,
Is there a way to detect/capture logon name (to the machine) of current user, from one Web page, once the user has located to that Web page?
0
Hi, I am using the program "Go Anywhere MFT" and in order to process an email, I need to open a saved pdf, remove the password protection (We have the password) and re-save the document (overwrite) as a version without the password protection.

GoAnywhere MFT does not have this functionality, but, it can execute programs. So, what I need is a command line executable that will do what we need here, preferably without needing to use third party programs as this needs to be used on a work server.
0
I have a large control system (I/O toggling valves, reading instruments, executing control logic, etc.) with a proposed verification approach of:

1. "Black box" testing, meaning looking at the system from a high level, without getting into the details of what's happening at each step

and

2. Code verification, where code (ladder logic) will be reviewed against a specification.

Could this approach be sufficient to adequately test the system?

I know this question lacks detail, just looking for general thoughts.

Thank you!
0
Hi,
I get this

11j.png
when upload one .apk file having size of 21,461 KB, into this App store

http://pcappstore.baidu.com/en/form3.php

Is there a clear procedure to decrease size of .apk file?
0
Hi,
Relevant message is not being shown by this line below. Why?
Page.ClientScript.RegisterStartupScript(this.GetType(), "InfoB", "javascript:alert('Password has been successfully changed.');", true);

Open in new window

0
what is the best way of handing the stocks in the retail based company . we do not have the capacity to check the stocks more often . we have expiry items and the  20 plus outlets . our main store is using one ERP and outlets are using another POS system . we have recently marge the two applications and syn. the data without major issue  . Problem is  system user's are not do the right system parties and pointing to the IT department  . How we can reduce the   user  best practices to minimized the such a excess stocks and the other issues
0
How to type an x-bar and y-bar in Google Sheets?

Thanks!
PS: I know how to do it in Google Docs so that's not the question.
0
Hi,
Excel file is not created by these codes
                        string Path0="c:\\dp2\\Ex0.xlsx";
                        CreateSpreadsheetWorkbook3(Path0);

        public static void CreateSpreadsheetWorkbook3(string filepath)
        {
            SpreadsheetDocument spreadsheetDocument = SpreadsheetDocument.
                Create(filepath, SpreadsheetDocumentType.Workbook);

            WorkbookPart workbookpart = spreadsheetDocument.AddWorkbookPart();
            workbookpart.Workbook = new DocumentFormat.OpenXml.Spreadsheet.Workbook();

            WorksheetPart worksheetPart = workbookpart.AddNewPart<WorksheetPart>();
            worksheetPart.Worksheet = new DocumentFormat.OpenXml.Spreadsheet.Worksheet(new SheetData());

            DocumentFormat.OpenXml.Spreadsheet.Sheets sheets = spreadsheetDocument.WorkbookPart.Workbook.
                AppendChild<DocumentFormat.OpenXml.Spreadsheet.Sheets>(new DocumentFormat.OpenXml.Spreadsheet.Sheets());

            Sheet sheet = new Sheet()
            {
                Id = spreadsheetDocument.WorkbookPart.
                    GetIdOfPart(worksheetPart),
                SheetId = 1,
                Name = "mySheet"
            };
            sheets.Append(sheet);

            workbookpart.Workbook.Save();

            spreadsheetDocument.Close();
        }

Open in new window

Why?
0
We have Navision 2.6B legacy software that we need to run for about 6 months.  However, the software requires XP OS or lower operating system to install and run.

I really don't want to install XP since security patches are no longer being released.  I was curious if anyone has run into a solution or has an idea how the software can be installed on Windows 7 or higher without using virtual PC or XP of any kind.

I am assuming that the software needs something from XP that is not available in 7 or higher.

Thanks in advance for your help!
0
1. What is the easiest way to synchronize data from LAN-based system to mobile app and vice versa? Using PHP/MySQL and Java/SQLite
2. Is multiple database table synchronization possible?
3. I'm having a hard time understanding Java's syntax. Can someone explain it to me?
0
I have a windows inspection program and I need to take a picture with the built in camera and save to access database.  Are there dll functions that already do that.  Can someone get me started in the right direction.   Would like to do something like have a form button "Take Picture"  which accesses the built in camera, and takes a picture to be saved in a access database and viewed in a picture viewer control on the form.

thanks in advance.
0
I have the below section of an HTML (figure 1).

When the submit button  is pressed , jquery in figure 2 is invoked

The result of field data is show in figure 3.

Question: How can I get rid of the "filler fields" in  item_name. I would like to get item_name as "can  - tuna for cats"

FIGURE 1
========
<div class="agile_top_brand_left_grid1">
	<figure>
		<div class="snipcart-item block">
			<div class="snipcart-thumb">
				<a href="single.html"><img src="images/57.png" alt=" " class="img-responsive" /></a>
				<p>can - tuna for cats (400 gm)</p>
				<h4>$8.00 <span>$10.00</span></h4>
			</div>
			<div class="snipcart-details">
				<form action="#" method="post">
					<fieldset>
						<input type="hidden" name="cmd" value="_cart"  value="1" min="1" />
						<input type="number" name="add" id="add" value="1" min="1"/>
						<input type="hidden" name="item_no" value="a15" />
						<input type="hidden" name="item_name" value="can  - tuna for cats" />
						<input type="hidden" name="amount" value="8.00" />
						<input type="hidden" name="discount_amount" value="1.00" />
						<input type="hidden" name="currency_code" value="USD" />
						<input type="hidden" name="return" value=" " />
						<input type="hidden" name="cancel_return" value=" " />
						<input type="submit" name="submit" value="Add to cart" class="button" />
					</fieldset>
				</form>
			</div>
		</div>
	</figure>
</div>

Open in new window



FIGURE 2
========
var data = $(this).serialize();

FIGURE 3
========
cmd=_cart&add=1&item_no=a15&item_name=can++-+tuna+for+cats&amount=8.00&discount_amount=1.00&currency_code=USD&return=+&cancel_return=+
0
Our firm has developed a number of spreadsheet applications we wish to sell. Is there a simple front-end menu system (I realize that may be a contradiction in terms) which builds a user profile and client(s) profile that would then automatically execute and external (in this case an Excel runtime module) program?
0
Hi everyone,

I'm trying to make an alias of a .exe file and have completed the following steps:

  1. Clicked on start and typed in “regedit”
  2. Clicked on HKEY_LOCAL_MACHINE
  3. Expanded “Software” then expanded “Microsoft”, then expanded “Windows”,  then expanded “Current Version”, then expanded “APP Paths”.
  4. Right-clicked on “App Paths” and chose “New Key"
  5. Named the key “merge-csv.exe” and then went to the right side of the screen where it says “Default” and double clicked on it, then gave it the following path.

C:\Program Files\Merge csv files\dist\merge_csv.exe

When I went to search for the alias using the input field under "Start", no results came up.

I wondered if anyone could tell me what I might be doing wrong or is there another way to create an alias of a .exe file?

Would really appreciate any help.
0
Hi,
As I want to copy details from one given Excel file into New0.xlsx by these
                string Path0 = Folder0 + "\\New0.xlsx";
                string Col0 = "", Row0 = "";

                using (FileStream fs = new FileStream(openFileDialog1.FileName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
                {
                    using (SpreadsheetDocument doc = SpreadsheetDocument.Open(fs, false))
                    {
                        using (FileStream fs1 = new FileStream(Path0, FileMode.Open, FileAccess.ReadWrite, FileShare.ReadWrite))
                        {
                            using (SpreadsheetDocument doc1 = SpreadsheetDocument.Open(fs1, true))
                            {
                                WorkbookPart workbookPart = doc.WorkbookPart;

                                /*Sheet theSheet = workbookPart.Workbook.Descendants<Sheet>().
                                    Where(s => s.Name == "Sheet Overall").FirstOrDefault();*/
                                Sheet theSheet;

                                int sheetIndex = 0;
                                DocumentFormat.OpenXml.Spreadsheet.Sheets sheets = workbookPart.Workbook.Sheets;
                                //foreach (WorksheetPart wsPart in workbookPart.WorksheetParts)
                                foreach (Sheet sheet in sheets)
                                {
                                    Boolean b = CreateSpreadsheetWorkbook(Path0, 

Open in new window

0
Not needed
0
I have a simple powershell script. I like to make this as a batch file so that a user just double clicks and run. It has a prompt to enter user id.

$userid= Read-Host "Enter A Username To Reset Settings"
$src="c:\temp\ugl\"+$userid
$dest="c:\temp\ugl2\"+$userid
robocopy $src $dest /MIR

Open in new window


When I run a batch file with follow, it just blinks cmd window and close.

powershell.exe  -noexit -executionpolicy ByPass -File "C:\scripts\file-replace.ps1"

Open in new window

0
My System Drive in Defrag shows 100 % fragmented. I have seen posts stating I don't need to worry about this.  My system is a little slow.
0
windows os
this is only a small exmaple about how to split this:

aida.akbari789@gmail.com:176.58.104.12:aida1380.1393
baran_booran1@yahoo.com:2.184.85.16:BARAN_3490217012b
erfanmansorirad@yahoo.com:87.107.202.187:110110110110er1382
kdvm910@gmail.com:79.130.174.6:evr2010$

Open in new window


Output:

176.58.104.12:aida1380.1393
2.184.85.16:BARAN_3490217012b
87.107.202.187:110110110110er1382
79.130.174.6:evr2010$
0
hi,

I am trying unix .sh scripts on my windows laptop
https://www.tutorialspoint.com/unix/unix-loop-control.htm
#!/bin/sh

a=0

while [ $a -lt 10 ]
do
   echo $a
   if [ $a -eq 5 ]
   then
      break
   fi
   a=`expr $a + 1`
done

Open in new window

from below link
https://www.tutorialspoint.com/unix/unix-loop-control.htm

i am not sure how to execute in baboon software

Babun
http://babun.github.io/


cygwin i am not able to install as it gives error not able to find download sites as attached.

any good graphical user interface tool to run these unix shell scripts
what is best site to know about these scripts
baboonErr.png
cygwinErr.png
0
First of all, I'm sorry I am not SQL expert, but I have to do this tomorrow, so I need a quick starting code to do what I want.
There are 2000 tables I need to update statistics, but last time, it fails in the middle of updating statistics and I had to start from the begining. I like to break down the 2000 tables to small  pieces like 200 tables and want to get a notification email if it failed or no. Then, I can fix and continue from the point where it stopped.

When I generated codes for the Maintenance Plan for updating statistics, it gives like this;
UPDATE STATISTICS [dbo].[tbZones_CRC] 
WITH FULLSCAN,COLUMNS
GO
UPDATE STATISTICS [dbo].[TNIRErrorMessages] 
WITH FULLSCAN,COLUMNS
GO
UPDATE STATISTICS [dbo].[TNIRInBox] 
WITH FULLSCAN,COLUMNS
GO
UPDATE STATISTICS [dbo].[TNIROutBox] 
WITH FULLSCAN,COLUMNS
GO
UPDATE STATISTICS [dbo].[TNIRPricingResults] 
WITH FULLSCAN,COLUMNS
GO
UPDATE STATISTICS [dbo].[TRC04030601] 
WITH FULLSCAN,COLUMNS
GO

Open in new window


Quesitons:
1.As far as I understand this seems it does in sequential orders which is good for my purpose.  
I have 6000 lines of this code, like to use for or while loop to read the table name and do update statistics, then when it fails and finished successfully, I like to receive an email. Can someone give me a basic code to do this?

The Database email is set up on the server.

2.Can you give me codes to show what tables failed for updating statistics so that I can run manually in the next morning?
0
Only one iPhone is having this issue.
We manage access to our email and internal site via SSL certificates.
These are installed through Airwatch MDM profiles.

Usually, if I remove an iPhone from Airwatch, it will delete all certificates and profiles on that device.
However, for this phone, it appears that all certificates are removed (Settings -> General -> Profiles does not exist) but the phone can still access the internal site.

If I clear out Safari's history and website data and I then try to access the site, it will prompt for the certificate by name (user@domain.com) and selecting it opens the site.

List of what I've tried to remove this certificate:
Go to Settings -> General -> Profiles (this option does not exist)
Clear out History and Website Data for Safari
Reset Network Settings
Reset All Settings

An annoyance caused by this, is that when I install the Email profile which contains the certificate from Airwatch, the device now has two of the same certificate. So whenever the user attempts accessing the site, he is prompted to select which of the two he wants.
This prompt also appears if the site has been unused for about 5 - 10 minutes.

Any ideas on how I could either:
1. Remove the duplicate certificate stored on the device or
2. Force Safari to use one of the certificates without prompting the user
0
I am starting to think about deploying Windows 10.  Are there any good docs out there that show the minimum install (Required services, apps and such) for a thin windows 10 workstation?  I welcome your opinion as well on what can be shut off and what the effect may be.
0
we have squid proxy server.

we recently ran a scan and it returned a new vulnerability with regards to SSL/TLS, which is known as the “Sweet32” Birthday Attack.  The conclusion is that DES and 3DES are weak ciphers and should be disabled on HTTPS servers.  This does not affect the SSL Certificates – they do not need to be re-issued.

We have 8 systems that are affected by this.  can we have  determined if DES and 3DES can be disabled on those systems or any other plan of action.

https://blog.digicert.com/sweet32-birthday-attack-what-you-need-to-know/

https://sweet32.info
0

System Programming

40K

Solutions

19K

Contributors

Kernel and system programming is the process of creating the software necessary for a computer or device to function and operate other programs. Some operating systems (such as Microsoft Windows) are proprietary, but others, such as the various Linux distributions, are open source.

Top Experts In
System Programming
<
Monthly
>