132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Shania_01

Hello, I have a button which on clicks display a frame, where i have 2 radio buttons. When i choose one of the radio button it draws an image on the panel, however when i click on the button again, the image drawn is disappeared and i am not able …

Software Development image java java-swing
Member Avatar for Shania_01
0
175
Member Avatar for bantex07

here is may code the error is .ExecuteNonQuery() thx for helping Imports System.Data.OleDb Public Class registration Private Sub registration_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim connectionstring As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|datadirectory|\db1.accdb; persist security info = false" conn.ConnectionString = connectionstring If conn.State = ConnectionState.Closed Then MsgBox("open") Else …

Software Development open-source vb.net
Member Avatar for Reverend Jim
0
253
Member Avatar for Xorlium

Hello, I'm having some problems with inheritance. The following code compiles and runs as expected: It prints out Hey: 1, since SomeFunction returns true. #include <iostream> class Base { public: virtual bool SomeFunction(const int& A) const = 0; }; class Derived : public Base { public: void hey() const; //bool …

Software Development c++
Member Avatar for mike_2000_17
0
211
Member Avatar for GeneClaude

I can't seem to find the error in this code. I don't know if I constructed the codes correctly, assuming that the error is corrected, I could get the correct value? /* Function for Right Triangle */ #include<stdio.h> #include<conio.h> #include<math.h> #define p printf #define s scanf double rightTriangle(double x, double …

Software Development c++
Member Avatar for Nutster
0
441
Member Avatar for tayyabatiq

I'm making a class for boolean expressions, a simpler version of bool. I need three operators, one for AND, one for OR and one for NOT. I can easily make **+** for OR, by overloading, but how can i declare **.** for AND and **'** for NOT? Can i even …

Software Development c++ oop
Member Avatar for Nutster
0
265
Member Avatar for hwoarang69

ok so i kind of know how to restart but the problem is that when ever i restart my animation get faster and faster. so i have main.java and alot of other objects. so one class for player one for player one for background etc... public class main exteds JApplet …

Software Development java
Member Avatar for hwoarang69
0
558
Member Avatar for robgeek

Hi guys, I am facing some issues trying to deploy my application developed in c# in visual studio. I created a setup/.exe using InstallShield for visual studio 2012 with all the required files for the project included. The target machine where I want to deploy this application is running windows …

Software Development c# visual-studio
Member Avatar for robgeek
0
257
Member Avatar for Taras20

Hi everyone. I'm new in Visual Basic(i work in Visual basic 2010) and i have a problem and hope u will help me. I want to load image to pictureBox depending on randomly generated number. For example if random number is 14 then i want to load image with the …

Software Development vb.net visual-basic
Member Avatar for Taras20
0
2K
Member Avatar for cthornton71

pleae help how to start coding to concantenate strings that contains numbers and string

Software Development python
Member Avatar for IIM
0
86
Member Avatar for akhil.mittra

Hi, I am trying to create a c++ program for counting the number of occurrences in an array using 2 1-D arrays such that the first array contains the elements and the second array gives the count of the number of occurrences of each element in the first array. Unfortunately, …

Software Development c c# c++
Member Avatar for emcela
0
705
Member Avatar for hwoarang69

i have two animation going on screen. one animation is a rect going to right. i dont want this animation to stop 2nd animation is message coming on screen for 1 sec and removeing it. right now 1st animation works fine but doesnt diplay. its be iam seting message="". but …

Software Development display java
Member Avatar for hwoarang69
0
304
Member Avatar for hg_fs2002

I am getting input from terminal using "char *argv[]" parameter in main function. Now, I want to check whether all the inputs are not character (they are not necessarily int, they can be double) but I don't know how to do it here because inputs are pointers and it's not …

Software Development c
Member Avatar for Ancient Dragon
0
134
Member Avatar for analys

Hello, I'm currently doing my project in VB and connect with access that have three tables in database. I have three buttons to show three different table in my database. I'm using datagrid and when I click on radio button 1st table, it will show the data in my 1st …

Software Development vb.net
0
92
Member Avatar for Melly3

Hi so I have to create a group of postings into a linked list with arrays not strings.I'm just not sure how to go about getting/converting this information into a linked list? class Posting { public: Posting(); //Constructor ~Posting(); //Destructor void user_input(char * input,char* &response); void create_posting(); void display_posting();//displays the …

Software Development c++ linked-list
Member Avatar for Lerner
0
187
Member Avatar for UKnod

I have a problem with vb.net tabcontrol in so far as I cannot change the individual tab widths. I can chang ethe sizecontrol to fixed and alter all of the tabs but not individually. Ordinarily it would not be a problem with the tabs autosizing by the text size, but …

Software Development vb.net
Member Avatar for QVeen72
0
2K
Member Avatar for joshl_1995

Hello Community, I need help with the program "[InnoSetup](http://www.jrsoftware.org/isinfo.php)" what i need is a way to uninstall the previous version of my program insted of just overwriting it. So when the user runs the setup if the program is already installed on there computer they will be asked to unstall …

Software Development
Member Avatar for joshl_1995
0
2K
Member Avatar for saat.kerkuklu

Hello guys i have a question i have these codes Imports System.Data Imports System.Data.SqlClient Module Connect Public Conn As SqlConnection Public Function GetConnect() Conn = New SqlConnection("Server = SQL Server;" & "initial Catalog = BloodBank;" & " Trusted_Connection=yes") Return Conn End Function End Module Public Class BloodDonor Private Sub TextBox5_TextChanged(ByVal …

Software Development sql vb.net visual-basic
Member Avatar for saat.kerkuklu
0
971
Member Avatar for munchlaxxx

After I enter 'y' and the loop repeats, I get "Would you like to search by item or expiration date? Would you like to search again?" It seems like it's ignoring the getline and if/else statements...why?? And how can I fix this? Thanks in advance, everyone. #include <iostream> #include <cstddef> …

Software Development c++
Member Avatar for NathanOliver
0
113
Member Avatar for tudor.laze

Hello. I have a question. I have a polynomial with Double coefficients and one with Integer ones, and to perform the integration I have to convert from object Integer to Double,but I found that it is not possible so I've tried to convert it into a String than into Double,but …

Software Development gui java
Member Avatar for JamesCherrill
0
5K
Member Avatar for maildummyabc

HI, This is pankaj vishwakarma a vb.net developer, I am currently working on the printing project. Here I am creating a custom paper on the printer via code and then tring to print the text on a specified location . It does not print After tring many time i found …

Software Development printer vb.net
Member Avatar for jcleb
0
265
Member Avatar for pearl.kumar1

Hi, IF I run my application was created in vb.net, it Shows an error like "Incorrect syntax near '3/15/2013 12:00:00 AM'." I neeed to Display the data in Gridview Based on date.. The code is Private Sub File_Request_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Form1.Visible = False …

Software Development dataset vb.net
Member Avatar for Reverend Jim
0
624
Member Avatar for doraemon

I am making a desktop application using vb.net and oracle and crystal repot. How can I upload the application on the web? For creating web page: upload css and HTML files to the web server using FTP(if the contents are incompleted, but still can see on the web) For the …

Software Development html-css oracle vb.net web-server
Member Avatar for doraemon
0
1K
Member Avatar for next_tech

Hi Guys, I am working on a binary search tree and I've been stuck on some code for the last couple of days. There are 2 issues that I can't seem to figure out how to fix. 1) I have a file that has a list of names and ID's …

Member Avatar for bguild
0
414
Member Avatar for Siberian

There is a forum for AHK (Auto Hot key) anyone fimilar and knowledgable with it ? Someone with a lack of programming experience can't make any progress with a script, I'm resorting to elsewhere.

Software Development
Member Avatar for Siberian
0
151
Member Avatar for triumphost

How can I install gcc 4.7.2 for codeblocks that supports both 32 and 64 compilation? If I install the x32 bit compiler: x32-4.7.2-release-win32-sjlj-rev10 it will compile with -m32 compiler switch but give a bunch of linker errors for -m64 If I install the x64 bit compiler: x64-4.7.2-release-win32-sjlj-rev10 it will compile …

Software Development c++
Member Avatar for triumphost
0
383
Member Avatar for spawn2004

Hi everyone, I am having a difficulty with some code and I hope here somebody who is more expreinced from me can help me. I am having a program that reads a file store the data as objects in a vector. For example in the file i have : Once …

Software Development c++
Member Avatar for spawn2004
0
130
Member Avatar for primzon

Hi there! Maybe anyone know how to solve this problem? First of all, here is a code: static void Main(string[] args) { int[] array = { 25, 47, 47, 55, 59, 69, 72, 89, 93, 117 }; int element = 47; int index = findWithBisection(element, array); Console.WriteLine("Element " + element …

Software Development
Member Avatar for primzon
0
202
Member Avatar for filxy

i was making a lexical analyzer but i am stuck here can anybody please help with this where am i going wrong :S Console.WriteLine("ENTER STRING:"); // string ch = string.Intern(System.Console.ReadLine()); string str = Console.ReadLine(); Console.ReadLine(); string[] kw = new string[2]{ "for","while"}; string[] punc = new string[2]{ ";","."}; //if(kw.Contains(str)) switch (str) …

Software Development
Member Avatar for Ketsuekiame
0
154
Member Avatar for undeadelite

add the functions to overload the increment and decrement operators to increase the date by a day and decrease the date by a day, respectively; relational operators to compare two dates; and stream operators for easy input and output. (Assume that the date is input and output in the form …

Software Development c++ file-stream
Member Avatar for undeadelite
0
4K
Member Avatar for xHellghostx

So I am writing a program that checks for an employee pay, the user enters a fullname (firstname, lastname) and then a number of pieces that needs to be processed, how would you validate that the full name is acceptable? for example we enter in the name texbox the name …

Software Development vb.net
Member Avatar for Reverend Jim
0
4K
Member Avatar for Kangol

Create the logic for a program that prompts a user for three numbers and stores them in an array. Pass the array to a method that reverses the order of the numbers. Display the reversed numbers in the main program

Software Development c++
Member Avatar for asifalizaman
0
214
Member Avatar for firebird102085

Hello Everyone, Off the bat I want to say that I am just learning programming so if my code is missing basics I apologize. I was hoping that you might be able to give me an example of how you would solve this problem. I've spent the better part of …

Software Development c c# c++
Member Avatar for firebird102085
0
805
Member Avatar for SHWOO

Can anyone point out why I am getting these errors two errors. [CODE] #include <string> #include <iostream> #include <fstream> #include <iomanip> using namespace std; #include "playerType.h" playerType::playerType(string first, string last, int num, string pos) : personType(first, last) { playerNum = num; playerPos = pos; } // end function playerType void …

Software Development c
Member Avatar for saba.gul.1048554
0
262
Member Avatar for normanallen

I am running Visual C++ 2010 Express on Windows 7 Ultimate SP1 32-bit. I have written a small program aimed at reading the contents of a given directory. However, while the program compiles correctly, it will not run as it says that opendir, readdir and closedir are unsatisfied externals. What …

Software Development c++ file-system
Member Avatar for normanallen
0
258
Member Avatar for jemartalaban_1

hi, i create a program with adodc and data, i created an exe file and installer of if, then i install it to other pc, but an error msg appear, there is a problem on my path of adodc to the database, but i was installed it to exact location …

Software Development visual-basic
Member Avatar for jovstudios
0
160
Member Avatar for bobit

I do not know if I am on the right track or not, but I have hit a dead end. I have read and reread my books chapters about super classes and inheritance and am still completely lost. in this assignment I have to: **Write a super class encapsulating a …

Software Development java microsoft-access oop
Member Avatar for stultuske
0
575
Member Avatar for mayuri.koul

**have used the following code for displaying names of my sql db tables in combobox...now i want dat when i click on any of these table names from combo box..my dgv populates with that table's contents...i have gor three tables in my db..lol,datejoin and tble ** private void Form1_Load(object sender, …

Software Development asp.net sql vb.net
Member Avatar for TnTinMN
0
1K
Member Avatar for HankReardon

Hello, What is the best way to count the number of swaps required to sort an array that is sorted using the Quicksort algorithm? I put a counter in what I believe is in the correct position and the tests that I have run seem to be correct however Quicksort …

Software Development algorithm java programming-construct
Member Avatar for JamesCherrill
0
4K
Member Avatar for gronkite

I have a homework task where I need to determine which sorting algorithms are implemented in a .jar file provided by my teacher. Obviously I need to design my own tests to do this, so I was doing a bit of research on best/worst case scenarios but what I found …

Software Development java
Member Avatar for somjit{}
0
805
Member Avatar for jerryvdk

Hi Iam using visual Studio 2008 professional edition in which iam working with visual c++ projects. I want to generate class diagram for the project. Class diagrams are working fine with c# and VB projects but its not working for c++ projects. I created fresh projects and tried to generate …

Software Development c++ visual-studio
Member Avatar for Ancient Dragon
0
522
Member Avatar for straylight

What I am trying to find out is how to securely send a username and password to an API. Basically I am accessing a restful API using a URL like "https://myapi.com/api/username=test&password=test123". If the username and password are correct the API will return a JSON page. How would I go about …

Software Development ide ios objective-c
Member Avatar for joefazee
0
293
Member Avatar for nytman

first of all my apoligies if i asked something irrelevant, i am new to programming ad also new in python, my question is: i have to write a simple program in which i have to ask for the number of employee in the company and then i have to create …

Software Development python
Member Avatar for nytman
0
1K
Member Avatar for bobit

I have to: **write a class encapsulating a sports game, which inherits from Game. Where the game has the following additional attributes: whether the game is a team or individual game, and whether the game can end in a tie. ** I am not familiar with inheritance and am wondering …

Software Development java oop
Member Avatar for JamesCherrill
0
2K
Member Avatar for timetraveller1992

I'm trying to make a small app with the following look ![2d3a438a99c57975b0cd40c49d67c502](/attachments/large/3/2d3a438a99c57975b0cd40c49d67c502.jpg "2d3a438a99c57975b0cd40c49d67c502") Thats an edited image of what exactly im trying to achieve. But here's what I got... ![b7f011c0afa0031328e917e8553abc2d](/attachments/large/3/b7f011c0afa0031328e917e8553abc2d.png "b7f011c0afa0031328e917e8553abc2d") Could you tell me where I went wrong. And if it isn't much effort could you advise on how …

Software Development image java
Member Avatar for JamesCherrill
0
156
Member Avatar for Frensi

I'm following a tutorial for making tiled maps in pygame and on the very first piece of code I'm getting an error. (http://qq.readthedocs.org/en/latest/tiles.html) On this line "for tile_x in range(0, image_width/width):" it's raising this error: "'float' object cannot be interpreted as an integer". The image dimensions I'm loading are 96x64. …

Software Development python
Member Avatar for sepp2k
0
11K
Member Avatar for ytq_

Hi, there's a list with tuples. lst = [('Meat', 'Milk'), ('Cake - Cookie',), ('Apple', 'Orange')] For each tuple of `len == 1` I want to split it at ` - ` so it results with: lst = [('Meat', 'Milk'), ('Cake', 'Cookie'), ('Apple', 'Orange')] I tried [tuple(x.split(' - ') for x …

Software Development apple python
Member Avatar for Lucaci Andrew
0
9K
Member Avatar for awuja

Hey guys.. need some help with this; I'm pulling my hair out.. i've trawled these boards but can't find anything that answers my question. I, like many others before me (so it seems!) am trying to create a program to check for a palindrome.. this is what I have so …

Software Development assembly
Member Avatar for robertospartan
0
685
Member Avatar for bobit

Hey, I have an assignment to :write a program that reads a file and writes a copy of the file to another file with line numbers inserted. I am not sure what to do at the end of the code at the "for(int i =0; i < lines.length; i++)" part. …

Software Development java
Member Avatar for bguild
0
147
Member Avatar for CHOCHOCHO

I need help creating my operator+ function.The first thing i did was send the binary numbers to the reverselist funtion, but i ended up getting some errors. Binary.cpp: In function `binary operator+(const binary&, const binary&)': Binary.cpp:164: error: invalid initialization of reference of type 'nodeType*&' from expression of type 'nodeType* const' …

Software Development c++ linked-list
Member Avatar for Labdabeta
0
681
Member Avatar for jovstudios

Hello Guys, I need Your Help,, im just Worried for declaring the Month of January, Because whenI search Month of January , The Month of October, November, And december, Would Appear. I want to search is The Month of January Only. This is My Code. January = 1 February = …

Software Development visual-basic
Member Avatar for jovstudios
0
149

The End.