The following (see the full code below) successfully adds a page in a section in Onenote. What I don't seem to be able to do is to get the lastly created page on top of the section. Here's the code that is puzzling me. onenoteApp.GetHierarchy(sectionId, OneNote.HierarchyScope.hsPages, out string xmlPages); var docPages = XDocument.Parse(xmlPages); var lastNode = docPages.LastNode; lastNode.Remove(); docPages.AddFirst(lastNode); GetHIerachy() just loads xml into xmlPages. The problem is stricly XML, I don't think OneNote is a problem (at this stage), as docPage.document (the xml string) is in the same state at the end as when docPages was Parsed. using System; …

Member Avatar
Member Avatar
+0 forum 4

I was just thinking about all of the unsolved threads, the ones that actually are solved, and I was thinking, maybe @Dani could add a 'Please Mark as Solved' button that users could click to notify the owner of the thread that they should mark it as solved. Obviously, this could be abused, but if we put specific limitations on it, lets say, only let the user click it once, or limit its use to Moderators only, then maybe we could all help clean up the "unsolved" threads. Just an idea.

Member Avatar
Member Avatar
+4 forum 3

I just begin studying Java programming language and I want to solve cubic equation, but I do not know how to solve it and count the cubic root in java. Could you help and guide for me, please?? Thank you so much!

Member Avatar
Member Avatar
+0 forum 3

Hello all. I made a forum post and the helpful community solved the problem I was having. DaniWeb states "Please remember to mark the post solved if your question is answered Thank You" at the bottom of the post. How do I mark the post as solved? Thank you for your help.

Member Avatar
Member Avatar
+0 forum 3

# "toNumbers(strList) is a list of things,each of which represents a number.Modifies each entry in the list by converting it to a number." # Here is my code and it won't work,please help,thank you! import string def toNumbers(strList): nums = [] for i in strList: nums = nums.append(int(i)) return nums def main(): m = ["1","2"] print toNumbers(m) main()

Member Avatar
Member Avatar
+0 forum 4

Hi, i have a problem in displaying the added value of two numbers. I know how to convert the input number into decimal. So after converting it, i added those value and got it stored in a register. My problem is how can I display if the sum is like 10, 11 , 12 ,13 ...onwards. It will display like ?,@,A,B. Can someone help me on how to display the right number?

Member Avatar
Member Avatar
+0 forum 10

Wanted to share this with the group (though it may not be news for you all); this morning I ran into an issue I didn't even consider possible until now. We found that a particular .jpg image would render in FF, Chrome, etc, but NOT in IE. As it turns out, the problem was due to the images being saved with a CMYK color space, and not RGB. IE of course doesn't know what to do with CMYK, so it shows a broken image. Changing the color space on the image to RGB did the trick. The part that was …

Member Avatar
+1 forum 0

Ok, so I have to write a program for school that will read data from a text file, split the data (comma delimited) into the correct type, pass that information on to a class, store the class object into an array. This is what I have so far: [CODE]import java.io.*; public class BankTest{ public static void main(String [] args)throws IOException{ /* ******************************************************** * * This was the first exercise to send data to the * BankAccount class. * BankAccount ba1 = new BankAccount(); BankAccount ba2 = new BankAccount(135687, "chris servin", 100.0,false); System.out.println(ba1.getOwner()); System.out.println(ba1.getExperiation()); System.out.println(ba2.getOwner()); System.out.println(ba2.getExperiation()); System.out.println(ba2.getBalance()); ba2.deposit(200.0); System.out.println (ba2.getStatus()); System.out.println(ba2.getBalance()); …

Member Avatar
Member Avatar
+0 forum 8

Hello, What has happened the solved note besides posts? Its a bit annoying reading through a multipage discussion to find out it's already solved. Just me or are other people experiencing the same?

Member Avatar
Member Avatar
+0 forum 3

I'm an extreme beginner with Python (this game is the first time I have ever seen it) so please bear with me. Creating a simple dice game. Place a bet. Three dice are rolled, if any are the same value you lose. If you win, you get double your bet. I've gotten the majority of the game programmed but I cannot figure out how to input the bet data from my xhtml form into the final results. [CODE]import cgi form = cgi.FieldStorage() nombre = form.getvalue("nombre") bet = form.getvalue("bet") # print HTTP/HTML headers print """Content-type: text/html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML …

Member Avatar
Member Avatar
+0 forum 11

The End.