WPF Picture and Text for each entry
hi, Is it possible to add picture and the text in to WPF list box like we do on traditional List box for each entry. here I attached my Xmal file and the screen shot of the window. <Window...
View ArticleLatching my form to the top right of an external process
Hi, i'm trying to make an overlay for a game that will go on the top right of the game's window. ive been researching possible ways to do this, and it seems the only way to get an external windows...
View ArticleLatching my form to the top right of an external process
Hi, i'm trying to make an overlay for a game that will go on the top right of the game's window. ive been researching possible ways to do this, and it seems the only way to get an external windows...
View ArticleCreate new line when writing to a txt file
How would I add a new line to the textfile, instead of erasing everything I currently have here is my current code Dim inputData As String inputData = InputBox("Enter what to save") Dim FILE_NAME As...
View Articlefraction math
I am writing the code that will add, subtract, multiply, and divide fractions. I am having trouble getting my methods correct. The user enter the numbers for the fractions num1 and num2 den1 and den2...
View ArticleI need to delete a row from my database
here its my code private void buttonDelete_Click(object sender, EventArgs e) { SqlConnection thisConnection = new SqlConnection(@"server=(local);Integrated security=true;" + "database=NLHdatabase"); //...
View ArticleUsing dll's as addon's
I was just wondering if it was possible to make a application that can load all dll's located within the application folder and use them to add controls then use the dll's code for the control. For...
View ArticleKeep getting out of bounds error and not randomizing correctly
Game of war!! text version keep getting out of bounds error and it doesn't really shuffle the cards very well. please give advise new to programming.....Game of war!! text version against computer. I...
View ArticleError finding regex matches
Hi, so i have some code that gets the source of a webpage, but i have an issue. I want to get the last link on the page that has an href of: Quote/profile.php?puid=<RandomCharactersHere> So i...
View ArticleInitialize ArrayList to empty list
HI everyone! So for my program, I need to create and ArrayList and then in a method initialize it to an empty list. I will post my program here so you guys know what I'm talking about. I need to...
View ArticleTrouble with operator overloading for a bottle class
I have this homework assignment that requires the creation of two instances of a bottle class in C++. We are to have a copy constructor, any necesarry get/set functions, and overload these operations:...
View Articleconnecting to nokia lumia from c#
I want to build a desktop application that connects to any Nokia lumia phone when it's connected to the computer I searched developers.nokia.com but it's all about developing apps for the phone.
View ArticleWhy am I getting int 'x' : redefinition failure?
Lol, this is driving me bonkers! Ok, I made my own header: #include <stdio.h> int totalSeconds(int a, int b, int c) { int Seconds, Seconds = (a * 60 * 60) + (b * 60) + c; return Seconds; } and my...
View Articlecollision detection
I am getting an "expression must have a class type" error with the pBox1 and pBox2 commands. Here is the code I am using. struct AABB { float xyz1; float xyz2; }; bool CheckCollision(const AABB *pBox1,...
View Article[Link] Purely Functional Data Structures in Clojure: Leftist Heap
This was an interesting read. Does anyone else have any data structure creations in functional languages they've designed and want to share? QuoteLast year I started reading a book called Purely...
View Article[Link] Apple Ticks Off Mac Users With Silent Shutdown of Java 7
QuoteIf you're a Mac user who suddenly can't access websites or run applications that rely on Java, you're not alone. For the second time in a month, Apple has silently blocked the latest version of...
View ArticleProblem with For Loop?
Just looking for some insight here. When I first run the program, it outputs everything correctly. Then when I the user repeat the calculation, it just repeats the previous answer instead of doing the...
View ArticleHow to format a double output
Hey guys, So I want to format a number 54.366586669985, but I want the users to decide how many places they want they want to go to. So I asked them how many places they want to go to in a variable...
View ArticlePython vs. C For Game Programming
Hello there, I'm Brett. I started coding this past July, and have learned HTML and CSS. I am looking to move on, and have looked into Javascript, which I dislike, Python, which is fairly easy and seems...
View Articleshared memory, problem with pointer
I've already finished my program and there is problem with pointer in this place: int shmid; int *buf shmid = shmget(45281, sizeof(int), IPC_CREAT|0600); 27 if (shmid == -1){ perror("Utworzenie...
View Article