199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gigglygeckoq

I am new to programming, I am trying to learn how to program in Java through some old programs I found online, and yet I seem to be struggling. This is the program I wrote to fill a linked list with 10 numbers using a loop and then just printing …

Member Avatar for JamesCherrill
0
112
Member Avatar for woodenduck

Hey all, I want to write an application that I can run from the console where it loads settings from a config file. I also want to be able to double click on the executable and obtain a GUI where I can specify settings that will be stored in the …

Member Avatar for NormR1
0
191
Member Avatar for valorien

Hi Everyone, I have a list of numbers I'm trying to write to a file, which I want to be a binary file. Here's my code: nums = [0x1234, 0x5678, 0xabcd, 63, 44] with open('filename', 'wb') as bin_file: for number in nums: bin_file.write(number) The problem is that I keep getting …

Member Avatar for valorien
0
547
Member Avatar for mig_kapa

Hi, i have started learning how to build wordpress themes and have a problem with the code below Please can you help me to find where the problem is? Thank You! <?php get_header(); ?> <section class="container layout"> <section class="page_title"> <div class="title">Blog style 1</div> <div class="slogan">Curabitur ultrices ultricies justo</div> </section> <div …

Member Avatar for mig_kapa
0
189
Member Avatar for drico7041

Hello, I go to Georgia State University with a Computer Science major. I was wondering what what be a good gpa to graduate with in order to put me ahead of the competition. Mind you Georgia State is my of the top 5 school in Georgia. Thank you

Member Avatar for Rashakil Fol
0
251
Member Avatar for Pamilerin

I have a problem trying to link my my datagrid view to my sql server stored procedure. The way it should work is that when I select an item in a list from my combo box it returns a set of rows on the datagrid view specific only to that …

Member Avatar for Pamilerin
0
1K
Member Avatar for el33t

Hi, I created a C program which basically calculates bunch of variable values.... Although the desired output for the final version program is just a few lines, however, for debugging purpose, I've printed the variable values everytime a change is being made in-code. As a result, the output consist of …

Member Avatar for el33t
0
243
Member Avatar for sidyusuf

hi friends, i have two datetimepickers in a window form application.One datetimepicker is used to select date and second one is for time. Now i want to combine date from DTP1 and time from DTP2 and update the database with the selected combined datetime value using vb.net. Thankyou

Member Avatar for poojavb
0
1K
Member Avatar for phorce

Hello, I'm going to be working on Lexical Analysis, but, both in Words / Characters as well as Integer values. The application will also allow input from both Text files, as well as passing the data through arrays, or variables. The Numeric analysis will be different from the Lexical Analysis …

Member Avatar for phorce
0
103
Member Avatar for dualzNZ

Hi all I have been developing a Dynamic signature generator on my server and i have selected options that can be dragged and dropped onto a uploaded image using jQuery, I would like my dynamic generator to take a screenshot or somewhow save the designed layout of the sig to …

Member Avatar for pritaeas
0
119
Member Avatar for cali_dotcom

hi, i am currently building an application that depends on a third party application written in .net using a mssql server database. i am more of a lamp guy and prefer mysql. to extend the application i would need to add some tables to the database. i am currently thinking …

Member Avatar for pritaeas
0
190
Member Avatar for kutchbhi

Say i have a list of items on a page . Now this list can be filtered by price ( in a simple POST form ) OR by discount (in another form element) OR by category links in the sidebar. Now if the user first filters by price and then …

Member Avatar for vibhaJ
0
140
Member Avatar for rambo12

Hi Please let me give code. I want to know how a admin can generate activation key code. so that admin can send an email with key code to download songs after receiving payment from customer through bank transfer. That key code need to expire after 2 days. How it …

Member Avatar for vibhaJ
0
177
Member Avatar for jimdj

I need a really good tutorial on how to alter MySQL databases, and to know how far you can alter a database without loosing or changing the information in the database. Thanx in advance for any help

Member Avatar for seslie
0
159
Member Avatar for i-teq

Confusing piece of code... Xcode compiler complains 'No matching function for call to 'init_population' yet another portion of similar code for another function works fine??? Any ideas please. void init_population(int**,ga_vector &,ga_vector &); void init_population(int** donut_population, ga_vector &population, ga_vector &buffer ) { int tsize = GA_TARGET.size(); int double_digit = 0; CRobot …

Member Avatar for i-teq
0
383
Member Avatar for rhfh

Hi Guys, I've been asssigned to do a pharmaceutical supplies database using Microsoft Access in 1 week time. I only think of 3 tables, that is Clinic, Supplier and Items. Can I put supplies as a table too? If yes, what will be the content of the table? If no, …

Member Avatar for seslie
0
151
Member Avatar for Torf
Member Avatar for JamesCherrill
0
128
Member Avatar for frivolous

Hi, I am making a music player in python 2.6 with Tkinter. Here's my code : from Tkinter import * import mp3play import tkFileDialog import Tkinter def open_file(): #Opens a dialog box to open .mp3 file global music #then sends filename to file_name_label. global mp3 global play_list filename.set (tkFileDialog.askopenfilename(defaultextension = …

Member Avatar for TrustyTony
0
526
Member Avatar for rotten69

Hey everyone, I'm working in a team on an IOS App and web app and the app relies on facebook pages to retrieve cafe names to let users check in the cafe they are at. But, the problem is that not all cafes have a facebook page.We would like to …

Member Avatar for rotten69
0
242
Member Avatar for Zemorg

Hey guys, i'm Working On A Project That Gets All Employees And Their Data From the User Then Saves Them in A Txt File ( Fstream ) Anyway, i figured out how to Do That But What im at stuck at now is how to search through the txt file …

Member Avatar for Clinton Portis
0
1K
Member Avatar for Bamahonky

I am trying to teach myself Python. I have started out creating several small programs. This one area has me stumpped. I have created a simple password saver program. I thought using a dictionary would be the best option. The only problem I have ran into is I cannot get …

Member Avatar for Bamahonky
0
210
Member Avatar for jonnyboy12

Hello all . I used to problems with my program shaking when i mioved it off screen. I found code thats supposed to fix it . It came from some program i was tinkering with. Its had many complex textures and all added to its form and the form didnt …

Member Avatar for jonnyboy12
0
300
Member Avatar for triumphost

What is the difference between these two and why does one compile fine compared to the other :S //MyFile.h #include<iostream> using namespace std; inline std::ostream& operator << (std::ostream& Str, const RGB &Rgb) { Str<<"R: "<<(int)Rgb.R<<" G: "<<(int)Rgb.G<<" B: "<<(int)Rgb.B; return Str; } //Main.cpp #include <iostream> #include "MyFile.h" using namespace std; …

Member Avatar for Ancient Dragon
0
209
Member Avatar for reaper1395

I'm sure that there is an article on here already about this, but I didn't see it. I'm trying to make my java application executable so I can share it with friends but whenever I use eclipse to make it a jar or executable jar file and send it to …

Member Avatar for reaper1395
0
144
Member Avatar for cpat258

I made a box in css and what i want that box to do is basically spin. However, I need the slider to control the speed of the box. I dont know why it doesnt work. Can someone help me please? This is my html code <!DOCTYPE html> <html> <head> …

Member Avatar for fobos
0
220
Member Avatar for #include <lou>

Hi, I am trying to access private level members with a Derived class but keep getting: Error1 cannot access private member declared in class 'TimeType'. Here is my code for the Base Header file: . . . class TimeType { private: int hours; int minutes; int seconds; public: virtual void …

Member Avatar for JasonHippy
0
170
Member Avatar for Sahil89

HI, I am creating a client server application in VB.NET 3.5 with WPF. I have searched a lot for a week but I didnt find any helpful source to study. After searching everywhere I am not able to move ahead. Can anybody please provide me small example, any link? I …

Member Avatar for Sahil89
0
238
Member Avatar for Sahil89

Hi, I am using MS-Access 2003, VB.NET 2008, I am able to select and delete recordes. But how can I move between records? Imports System.Data.OleDb Class Window1 Dim cn As OleDbConnection Dim cmd As OleDbCommand Dim dr As OleDbDataReader Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles …

Member Avatar for Sahil89
0
105
Member Avatar for hwoarang69

i need help with if statement. for some reason its not working right and i dont know why. i never goesinside 2nd if statement. i i want to go inside this if statement - if left_var value is "2x" //for loop iam start with x. b = 'x' and b-1 …

Member Avatar for scudzilla
0
124
Member Avatar for zemzela

When I compile this code, It show me this kind of error type or namespace name profilecommon could not be found. Could someone help me how to solve this? case "Profile": ProfileCommon pc = Profile.GetProfile(user.UserName); DropDownList3.Items.Clear(); foreach (SettingsProperty p in ProfileCommon.Properties) { DropDownList3.Items.Add(p.Name); } MultiView1.ActiveViewIndex = 4; break; }

Member Avatar for hericles
0
175
Member Avatar for mikekhd

mport java.awt.Color; import java.awt.Graphics; import javax.swing.JOptionPane; why this is not working need help public class NewClass { static String myBinary; public static void main(String[] args) { String code = JOptionPane.showInputDialog("Please enter zipCode: "); BarCode myBar = new BarCode(code); myBinary = myBar.getCode(); int length= code.length(); if (length != 5 && length!=9) …

Member Avatar for NormR1
0
270
Member Avatar for grr

Here's my current code: /[\w\s]+/ I'm trying to make the following characters match: [CODE] Q W E R T Y U I O P A S D F G H J K L Z X C V B N M q w e r t y u i o p …

Member Avatar for YoussefUSF
0
200
Member Avatar for ohgosh

[CODE]ADODB.Field error '80020009' Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record. /test.asp, line 0 [/CODE] what does the error actually means when it refers me to [I]line 0[/I]? whereby i cant figure out where the main problem lies..

Member Avatar for ostryjak
0
584
Member Avatar for ravenous

At work we have a large number of unit tests that try to alert us that we have made changes that have broken our code. Many of these tests work by evaluating functions under known conditions and comparing the result with the known result. The known result is acquired by …

Member Avatar for santakdalai90
0
308
Member Avatar for j-e

Hi, Just started picking up on PHP (from asp)... Going well. Like php a lot... except for........ My code is below... if someone can please help me get ALL the data from the $POST["catlist"] I would appreciate it. Firstly: To ensure all the contents of "catlist" are selected, chuck this …

Member Avatar for codeintel
0
11K
Member Avatar for sigvewinter

Currently I build a website, and the idea is that the index (front page) will show entries from all users as well as a main picture. I have considered the possibility that you can let users choose a primary picture when creating a topic, but I want this to happen …

Member Avatar for diafol
0
110
Member Avatar for asif49

What if you have two classes and there are more than one type of lines that can be drawn between them, for instance there might be an association relationship as well as an aggregation between the two classes. Can I show multiple of these relationships between two classes that I've …

Member Avatar for asif49
0
172
Member Avatar for breakforce

How can i put in the code below following, i pagination which should make an input box and write some numbers demek page to go there not to be shown in select her to choose me, but in the field to write :) function pagination($query, $per_page = 10,$page = 1, …

Member Avatar for veedeoo
0
136
Member Avatar for Suzie999

I'm having trouble with getpixel function. Sometimes it returns the correct pixel ref and others it returns "4294967295" which I think is "CLR_INVALID" COLORREF color; HDC hdc_ = GetDC(NULL); //get dc of whole screen color = GetPixel(hdc_, 10, 10); std::cout << color << endl; That is the simple code, any …

Member Avatar for Suzie999
0
2K
Member Avatar for vindom

Hi! Im a noob to PHP but had to use it instead of ASP because I couldn't retrieve images from database using ASP + MS Access... Anyways.. I have couple questions: Number 1: How to retrieve and displaymultiple(!) images(jpg) from mysql DB? NUmber 2: I have a main page that …

Member Avatar for vindom
0
486
Member Avatar for shean1488

Hi everybody, I'm just wondering what is the more eficient and compact way to write statements like this if(site.next(1) == null) { return false; } if(site.next(2) == null) { return false; } if(site.next(3) == null) { return false; }

Member Avatar for shean1488
0
93
Member Avatar for basom

#include<iostream> #include<cstdlib> #include<ctime> using namespace std; int main() { int N,A[8]; cout<<"Enter the number:"; cin>>N; srand(time(0)); for(int i=1;i<=8;i++) { A[i]=rand()%40+10; for(int j=0;j<1;j++) { cout<<A[i]; } cout<<" "; } return 0; }

Member Avatar for nullptr
0
350
Member Avatar for cpat258

I made a box in css and what i want that box to do is basically spin. However, I need the slider to control the speed of the box. I dont know why it doesnt work. Can someone help me please? This is my html code <!DOCTYPE html> <html> <head> …

Member Avatar for kamyarn
0
899
Member Avatar for devloper

there are 4-tier in my project (1)WPF-UI(Presentation) (refrence of Service client) (2) Service Client Class Library (Service Refrence of WCF Service) (3) WCF Service (Refrence of Data Access) (4) Class Library (Data Access) All Details Are Inserted,Updated and deleted through Class Library in XML File query in Linq But Problem …

Member Avatar for remyavinod
0
978
Member Avatar for jjoensuu

Hi, a question about stand-alone Java applications that do not have a background DB. In our Uni class we were asked to build a very small application using JOptionPane methods such as "showInputDialog". The application asks for users name and birthdate and at the end displays a summary of these …

Member Avatar for JamesCherrill
0
443
Member Avatar for zachattack05

I need to retrieve the major and minor version of the application, and instead of instantiating a new Version class with `new Version(Application.ProductVersion);` is there a static copy of the Version class that already exists? If so, I can't find it, can someone point me in that direction, or is …

Member Avatar for zachattack05
0
130
Member Avatar for NiTeHaWk4787

Hi everyone. I did a super simple calculator with ASP.net with five buttons: add, subtract, multiply, divide, clear. There are five separate functions for each button's click event. For example: Sub addfunction(ByVal s As Object, ByVal e As EventArgs) If Not IsNumeric(input1.Text) Or Not IsNumeric(input2.Text) Then resultLabel.Text = "You entered …

Member Avatar for Gé48
0
120
Member Avatar for TarkiB

Hi there, As the title says, I'm having an issue passing an array of structures to a function.The structure reads and tokenises information from a text file. I then need to do things with that data using several different functions. Here's my code: #include <stdio.h> #include <stdlib.h> #include <string.h> typedef …

Member Avatar for TarkiB
0
3K
Member Avatar for c#_fem

Hi, I'm developing a XNA Windows Game 4.0, and I keep getting this error: The type or namespace name 'Color' does not exist in the namespace 'Microsoft.Xna.Framework.Graphics' (are you missing an assembly reference?) I can't seem to find the answer for this, can anyone help? Thanks EDIT: Solved it color …

0
236
Member Avatar for anil_bhavani199

hello.... i create setup using vb.net 2008 with mssql database...... it is run on my machine without any error but when i install it on client-machin i got this error See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception …

Member Avatar for uncompletable
0
544

The End.