199,113 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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, … | |
How do I search a linked list for a string ? findXX(string) , for instance. | |
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 = … | |
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 … | |
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 … | |
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 … | |
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 … | |
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; … | |
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 … | |
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> … | |
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 … | |
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 … | |
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 … | |
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 … | |
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; } | |
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) … | |
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 … | |
[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.. | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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, … | |
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 … | |
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 … | |
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; } | |
#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; } | |
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> … ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.