Quantcast
Channel: Programming Forums
Browsing all 51036 articles
Browse latest View live
↧

MySql UPDATE error with VB2010... HELP

this is the code i am using when the try catch is executed the error is produced.. the MySqlCommand is skipped.. PLEASE help if you can Dim myConnString = ";" & _ "Database = inventory;" & _...

View Article


Don't understand Pig Java game.... I can't use "scanner

Directions: 1. the player rolls the die 2. if the die shows one, the player gets no points for that turn and player's turn ends. 3. if the die shows 2 - 6: the number on the die is added to the...

View Article


updating a .cfg file

Hi all Just wondering how I would update a config file in order to change some of its values. This is just a sample config to show you want I mean // graphics Screen_Width=1024 Screen_Height=768 BPP=32...

View Article

Binary Search Tree and Recursion Not Displaying Properly

Hi Everyone, As I mentioned in a previously posted of mine, I am working/studying subjects for a class I will have to take soon. It's an Advanced Data Structure and Algorithm class. Presently, I am...

View Article

Image may be NSFW.
Clik here to view.

incrementing and decrementing in JAVA

Hey everyone, will i was just reviewing java from the beginning and i came across something that i never understood. Ok so when you increment something, you use int x=7 x=x++; and the output is 8. then...

View Article


login vbscript textfile edit

Im trying to create a vbs file that runs when a user logs in to our domain pc. What I have now is it adds the current pc ip to a new line of this text file(top line). The reason I want this is because...

View Article

starting with C# what software to start creating first game

hi all, so i have been reading and watching a load of youtube lectures presentations etc and most of them talk about when starting to learn a good language C C++ etc i have gone with C# as i was...

View Article

C++ and VB Interfacing

I have been programming in c++ exclusively at my university. This upcoming semester I am learning Visual Basic. Right now I am looking for a way to use my c++ code in Visual Basic, I have read that it...

View Article


what to check if this error is encountered?

I can't make php_dblib.dll work maybe because of this error, "<b>Warning</b>: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.13/ext/php_dblib.dll' - The specified...

View Article


class List not adding variables properly

When I add an item to my inventory in my game, if it already exists it is supposed to add on to the quantity but instead, it adds once and then doesn't change it afterwards. Where am I going wrong?...

View Article

New Project coded in Netbean

I writed a Java simple code by Notepad++. Now, I want to use Netbean to format the code. But I can't import it to Netbean ( As a existed Java code ). How to import my code to Netbean ?

View Article

Multiple Integers in a JTextField

How do I add multiple integers into the JTextField, like if I already pushed one button and I push another, how do I make it so that the second number adds on to the first. import java.awt.*; import...

View Article

While loop not working correctly?

Hello peeps. I have a problem with some code I'm working on. Every thing is working pretty well except for this while loop I'm doing. What the while loop is testing is whether the the two elements in...

View Article


string cmparison

I have to search a specific string in a file.Here i am using 'strcmp' function but its not working properly.when am compiling it in linux using gcc it does not shows any error.i couldn't catch the...

View Article

4 byte pointer, 36 bits ram

I was playing around with pointers and decided to see how big a pointer was. It seemed the pointer was 4 bytes in size, 32 bits. However, I have 8GB Ram, which comes to 2^36 bits. So wouldn't the...

View Article


How to print datagrid content in vb.net 2005

Dear Sir I am very new for vb.net 2005, I am developing payroll application for school. In my application I have 1 database with many tables. There is table namely 'desig' it contains the information...

View Article

how to check Bit version of DevCpp

as i was playing with datatypes, and getting different results on Turbo C & DevCpp But i knew that my Turbo C is of 16 bit & so im comfortable with ranges of datatypes.. But the problem is, how...

View Article


Read data from sql to .net

hi I have a query which reads data from MS SQL TABLE and shows it on aspx page. There is a field in table which data type is DATE, but when it got displayed on aspx page ,it showed up as DATETIME. here...

View Article

Should I try to work around having to use header files?

Hi; as I understand it, I require a .cpp and a .h file whenever I intend to #include it, with the .h file being like this: class classType{ int data; public: int getData(); void setData(); classType();...

View Article

char cannot be dereferenced

Hello all, I was trying to write a program which will print the even indexes of the given sentence.The program supposed to make them upper case if they are lower case and vice-versa. But I got the...

View Article
Browsing all 51036 articles
Browse latest View live