Hey gys just started up a wordpress website for a club i am doing at school that deals with crypto currency. we currently have a couple of miners that are mining litecoins and bitcoins. on the wordpress site im looking to display the miner information through API calls through a widget on the main the page for instance i want to pull this information https://www.wemineltc.com/api and display as a widget on the website. I was wondering if this even possible first off and how can it be accomplished i am currently pulling this information with c# programming. is there away to pull this through wordpress?

Thanks

Alright sweet Thank you had a very long weekend. Finally got it to work! here is my final code layout!

 public void NOdups()
  {
        for (int j = 0; j<nElems; j++)              
       {                                           
           for(int k = j + 1; k<nElems; k++)
           {
               if(a[j] == a[k])
                 delete(a[k]);
           }//end k loop
       }//end j loop
   } //end NOdups

ok so this is what i have done I have deleted j and now i need to update k, could you explain a bit more not sur is i understand? thank you for the help

What ive got now:

   public void NOdups()
  {
      for (int j = 0; j<nElems; j++)     
      {                             
           for(int k = j+1; k<nElems; k++)   
           {
               if(a[j] == a[k])                           
               {
                   delete (j);
                   nElems--;
               }
           }//end k loop
       }//end j loop
   } //end NOdups

Hey Guys Im working on an assignment dealing with arrays. I have to Delete the duplicates in the array and re-display the array with the duplicates deleted. I Have code that I written up that is able to step throgh the process and will display the duplicated elements in the array. I woas wondering if i was missing a step or i was missing another for loop or how would i go about doing this. Havent coded java in a few years, but any ways here is the no dups code:

public void NOdups()
  {
                                                    //Declare a constant long value as the "null" value
        for (int j = 0; j<nElems; j++)          //Declare outer and inner loop indices
       {                                            //For each element starting at the
                                                      beginning of the array and up to
                                                      the 2nd-last-of-element
           for(int k = j+1; k<nElems; k++)          //For each element starting at the
                                                      beginning of the array and 
                                                      up to the 2nd-last-of-element
           {
               if(j == k)                           //If the element at the outer index = the element at the innner index
               {
                   break;
               }
               else if (a[k] == a[j])               //The element at the inner index gets the "null" value
               {
                nElems--;
               }
           }//end k loop
       }//end j loop
   } //end NOdups

and then here is the is the class:

class HighArrayApp
   {
   public static void main(String[] args)
      {
      int maxSize = 100;            // array size
      HighArray arr;                // reference to array
      arr = new HighArray(maxSize); // create the array

      arr.insert(17);               // insert 10 items
      arr.insert(99);
      arr.insert(44);
      arr.insert(55);
      arr.insert(17);
      arr.insert(17); ...

Hey guys, I havent coded visual basic in a long time I am using access 2003 and doing some code under a form. I have a button that is named system Setup and when you click on it it opens up and another form that has three comboboxes and a Save and a Cancel button.

Ive been trying most of the day on trying to get the save button working. When the SystemSetup form pops up (with the three comboboxes ) the user can select items out of the combo buttons and be able to save those settings for the rest of the form. when i close out of the form the save button should save what the user picked for settings. But i cant get it to do this. If i could get some help on this it would be much appreciated

thermalnuke

might be a licence issue?

BTW Un-checking the refreance and packageing it back up did solve the missing DLL box that came up, it just goes directly to crashing just wanted to clarify, but when i run the app on a computer with microsoft office access it runs perfectly in runtime

Hey guys Im doing some testing on a few database conversions from MDB format to accdb. I packged up my files so when the exe was ran it would install MS runtime as well as the databases needed for the app. I was trying to get it so that I wouldnt have to install MS office access on the client machine. I just wanted to run runtime so the client machine can still access the database/ forms. After installing my package i ran the desktop app and it booted up to an error saying a missing DLL was the conflict then it would just crash all together....so i went back to the original database and look of the refrences under VB and saw the DLL, i decided to un-check the DLL and and re run the database and it work, so I re packaged everthing and re-installed and it just instantly crashes now.

so in conclusion. Im wondering if it would just be easier to just install MS office access. Im starting to think that you DO need MS office to even use runtime correctly. if this is the case then i will install office, but i was trying to run the forms to the database so i wouldnt have to get keys or even purchase multiple copies of MS office. any thoughts on this would be excellent or if im doing something wrong with the testing or a step im missing please let me know.

but my conclusion is ...

thats what i thought thanks!

HEy guys, I got possible a stupied question but i was wondering... if you are useing microsoft runtime on all of your clients computer in a office of like 150 clients. If i put a package together with MS runtime and current databases will runtime be able to to automaticlly updated with updates like for instance when 2013 runtime comes out will it give the option to upgrade to the latest version. or will somebody have to go around and install it on every client machine. or is there a way to do this to all the clients at once.

regards,

Thermalnuke

ya my bad i figured it out. I ment Access not excel sorry bout but that. Having refrence issues now because i have 2003, 2010, 2013. suppose to be converting access 2003 to to 2013 for a database upgrade. since i opened the file up in 2010 to try and convert the VB.net and coding behind the file isnt running and getting a code error at the start up. ive got limited access or admin rights to my work computer. Thanks though will figure it out

Hey guys, im looking to take my existing excel 2003 spreadsheets (.xlsx) and i need to convert them to (.accde) file format. ive been looking and looking and cant seem to find out how to do it. If i could possible get the steps or how to go around doing this. It will be much appreciated

-thermalnuke

Hey guys Im doing some Research on the artical title. Im wondering if it is possible to have an Access database set upfor a company, but instead of installing microsoft office on every client machine, can you create an .EXE excutable file that will access the database that will be a slimmed down version of microsoft access, but you can still edit, add, delete and maintain the database from the .EXE file or application.Im not sure if this is possible but if there are links to read up on this or ideas on how to possible do this would be very appreciated.

-Thermalnuke

ya see i Havent tried uploading it to a server. I didnt know if that was the problem or what Ill give it a shot in a couple days. Thanks for the response

Hey guys working on a Webpage for class and I wanted to add a companies facebook feed to the site. I generate the code under the devolpers site and insert the Iframe code into my website. When I open the Webpage, and with in the Likebox the webpage that tells you that "you have no internet connection shows up" is this just a bug because its not a live website at the moment or what im not sure.

any help or ideas why would appriciated.

Thermalnuke

I can expand the picture, but I need the border only to expand.

<!doctype html>
<!-- mystery3.html  -->
<!-- This page changes an image border on button clicks. -->
<!-- =================================================== -->
<html>
<head>
<title>Mystery Image</title>
<style type="text/css">
.border-style1 {
    border-style: solid;
    border-width: 4px;
}
</style>
</head>
<body>
<div style="text-align:center">
<img id="testImg" height=85 width=85
src="http://www.tburg.k12.ny.us/mcdonald/Noaa-walrus22.jpg"class="border-style1">
<p>
<input type="button" value="Expand Border"
onclick="document.getElementById('testImg').height=
  2*document.getElementById('testImg').height;
document.getElementById('testImg').width=
  2*document.getElementById('testImg').width;">

<input type="button" value="Reduce Border"
onclick="document.getElementById('testImg').height=
  0.5*document.getElementById('testImg').height;
document.getElementById('testImg').width=
  0.5*document.getElementById('testImg').width;">

</p>
</div>
</body>
</html>

Trying to have 2 buttons, one to add a border, one to remove the border when they're clicked. This is what I have so far, not sure where to go from here, would appreciate help.

<!doctype html>
<!-- mystery3.html  -->
<!-- This page changes an image source on button clicks. -->
<!-- =================================================== -->
<html>
<head>
<title>Mystery Image</title>
<style type="text/css">
.border-style1 {
    border-style: solid;
    border-width: 4px;
}
</style>
</head>
<body>

<img id="mysteryImg" src="http://upload.wikimedia.org/wikipedia/commons/f/f9/Giraffe_Portrait,_Woburn_Safari_Park.jpg" width="20%" height="20%"class="border-style1">
<p>
<input type="button" value="Show Border" 
onclick="document.getElementById('mysteryImg').border=1; 
'http://upload.wikimedia.org/wikipedia/commons/f/f9/Giraffe_Portrait,_Woburn_Safari_Park.jpg"'
'border=1'
<p>
<input type="button" value="Hide" Border 
onclick="document.getElementById('mysteryImg').border=0;
'http://upload.wikimedia.org/wikipedia/commons/f/f9/Giraffe_Portrait,_Woburn_Safari_Park.jpg"';">

</p>
</div>
</body>
</html>

aaaa I got it thanks man

would i add this:

AccountsListBox.Items(ID) = AccountIDTextBox.Text
AccountsListBox.Items(AName) = AccountNameTextBox.Text
AccountsListBox.Items(ABalance) = BalanceTextBox.Text

Hey guys Just learning about List Boxes, I have a quick Question Im Creating the Program where I have 3 text boxes and when I hit the add button it adds them to the list box off to the right if they already Exist in the list box then it will bring up a message box saying that it already exists.

I have another button labled Replace button and its suppose to update or replace the string or line if changes are needed to be updated or replaced. How can I creat it to Replace or update the Data in the String or Line?

Here is my Code:

Public Class Form1

    Dim ID As Integer
    Dim AName As String
    Dim ABalance As Double

    Private Sub AddButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AddButton.Click

        ID = AccountIDTextBox.Text
        AName = AccountNameTextBox.Text
        ABalance = BalanceTextBox.Text

        If AccountsListBox.Items.Contains(ID & ", " & AName & ", $" & ABalance) = True Then  
        'Checks to see if the line or String Exists

            MessageBox.Show("That Account already Exists!") 
            'If it does Exist or is already created

        Else

            AccountsListBox.Items.Add(ID & ", " & AName & ", $" & ABalance) 
            'If it it dosent exist it inserts or adds the line to the listbox

        End If

    End Sub

    Private Sub ReplaceButton_Click(sender As System.Object, e As System.EventArgs) Handles ReplaceButton.Click

        If AccountsListBox.Items.Contains(ID & ", " & AName & ", $" & ABalance) = True Then 
        'If the Line Does Exist replace or update the String or line

        Else

            MessageBox.Show("You cant ...

i got it just add window.open(" and whatever .com")

hey guys trying something new using script here is what i got i have a button and i want it to do is go to another html page i have created. here is what i got. i have set up in script.

<html>
<body>
<script type="text/javascript">
    function getSite()
    [

    ]
</script>

<button type="button"onclick="getSite()">Register</button>

am i close? what so i put in the function to do this?

i got it had a few things in there that wasent needed thx

tried it didnt work

Bring Line 6 above TD?

hey gues just practicing some HTML im haveing a problem with my code and it wont center. its the

code i have 2 images on either side of the text(text is in between the jpg images) how can i move it over here is my code for it:
<html>
<body>
<TR>
<table width="1425";border="1" color="#0000FF";>
<TD colspan="0" style="background-color:#000000";>
<table width="1425";border="1" color="#0000FF";"text-align:center";>
<font size="85"; face="bobcat"; color="#0000FF";>
<h1><b><img src ="funny1.jpg"/>my<font color="#8E35EF">funny<font color="#0000FF"></b></TD>images<font color="#8E35EF"></b></TD>.COM<img src = "Funny2.jpg"/></b></h1>
</td></tr>

i got it just needed to add to it:

if(ae.getSource() == Lowercase)
            {
                wordInput.getText().toLowerCase();
                result.setText((new String(wordInput.getText())).toLowerCase());  
            }
            else if (ae.getSource()==Uppercase)
            {
                wordInput.getText().toUpperCase();
                result.setText((new String(wordInput.getText())).toUpperCase());
            }

Thanks Guys!

Alright! thanks I got just forgot that that the c in Uppercase and Lowercase was not capital. ok now the program can run but I am not getting the result in the result label?

thank you!

cannot find symbol
symbol  : method toUppercase()
location: class java.lang.String
                wordInput.getText().toUppercase();

cannot find symbol
symbol  : method toLowercase()
location: class java.lang.String
                wordInput.getText().toLowercase();

its in a private class?