Unable to call public function in a form
I have got two forms in my program: 1.frm_itemlist 2.frm_supplier I have declared a public function named Clear in frm_itemlist.This function works fine when I call it in frm_itemlist.The problem...
View ArticleVisual Studio 2010 Express - Settings
I was curious: I've been using Visual Studio 2010 Express for a few days now, and noticed that all of the programs that I run automatically close the console window right when it opens - I cant even...
View Articlec# programatically commit all transaction or rollback sql server
Hi to all, i have the following sql transaction which i need to catch if an error occurs (as it has more than 1 insert)!? how can i do that - something like begin trans - do all db work - otherwise...
View ArticleGUI Practice, now a problem.
Howdy, I am working on my GUI skills, seeming how they are lacking and decided to make a project to get them better. The objective of my code is to allow the user to select from 1 of four patterns, and...
View Articlekeylistener won't work, keys do not respond
I am making a small game and want to use key listeners. I have used it before but don't have to code and i just can't figure it out again. something about my code is wrong. any help will be greatly...
View Article[SOLVED] RegEx help - should be simple...
Hey, D.I.C. I'm having a little more trouble with my RegEx, although I can't figure out what I'm doing wrong, regardless of much research. Here's what's meant to happen: My script is given a string...
View Articlehow can I add human face to my app?
I have an app that has the ability to talk in natural voice, now I want to get a visual face on my app so everytime app talks the face talks too (in animation). I searched internet and so far found...
View Article.LNK files, need information on the ItemID list structure
I am still working on this project due to the lack of information provided by MSDN. I am working on parsing a .lnk (windows shortcut/shell link) file. With about three days of googling and staring at a...
View Articlemultiplayer server/client basic structure?
Im wondering what the best way to set up my UDP server/client program is. Here is what I am currently trying to do. -client sends key input to server -Server receives key input. Checks for collisions...
View ArticleKeyboard Locked
I noticed that when you press several keys at once the computer beeps and the keyboard is locked. Also, our game FPS slows down. Is there a way to make any of this better?
View ArticlePrinting any document straight from vb.net
hi guys.. i've been googling for samples or codes that might help me figure out how i can modify/specify the pages and number of copies straight from vb.net. here is the scenario why i really need this...
View ArticleHow To Actually Go About Making A Game?
So I know a little bit about C++ and I have been working with SDL, basically going through the tutorials on the Lazy Foo website. I can understand how certain things are working and such, but I don't...
View Articlepassing a value with cards for blackjack game
Hi, I used an Adamspeight2008 tutorial dealing with playing cards on a forum tutorial located here to generate cards, a deck, and hands. I modified the code to deal 2 cards with 2 hands to make a...
View ArticleJavaFX and Java Applets
More questions So I was wondering if I could take a Java Applet, from Java.applet, and use that applet in a JavaFX pane, from javafx.scene.layout? Thanks in advance
View ArticleOld prolog book - still useful?
I bought a cheap used book from Amazon thinking it was a 1998 version, but it turned out to be from 1987. How much has Prolog changed since then? Can I still learn from this book?
View ArticleWrite for Binary file gives error -858993460 for output
This program is supposed to read a binary file called "Read.dat" sort the data and calculate average. After it finishes it should write the new information into a new file called "Write.dat. The...
View ArticleDisplaying a bitmap with SDL
Hello, I am new to C++ and have recently been following stayscrisp's Beginning SDL tutorials and tried a couple of others. I have spent hours trying to figure out why the images that I am trying to...
View ArticleVertexPositionNormalTexture Overlapping when drawn?
I have a FPS I am making, and the walls are stored as boundyboxes. They work correctly, but they are drawn with a list of VertexPositionNormalTexture I have, a total of 12 triangles per wall, and I am...
View ArticleStacks C++
I need help with my stacks problem in microsoft visual studio 2010. The question is In a container of candies there are 3 colors randomly placed: red, yellow and blue. Assume that the container holds a...
View ArticleSimple Sudoku Question
Hello. As for practice for exams coming up, I have decided to take a lab out of the book and try it. It basically is creating a simple Sudoku game. So far I have it so it sets up the interface with a...
View Article