64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Pinchanzee

I'm looking to create a 3D environment for an escape-the-room game that I'm making with Flash. I'm hoping I'll be able to do it with the 3D features of Adobe Illustrator but am unsure. I need to be able to move the view-point angle in the pictures to take the …

Member Avatar for Pinchanzee
0
332
Member Avatar for bjeffries

Im not even sure if these are called variables. But I am trying to call information from the database a different way than I usually do. This is what is not working: [CODE]$id = mysql_real_escape_string($_GET['id'], $con); /* once the file is imported, the variables set above will become available to …

Member Avatar for diafol
0
110
Member Avatar for dennishall

Hi All: I have 2 php files feeding one MySql record. I have an INSERT query in file1.php working fine, it then sends me to a highly animated form file2.php that calls a processor.php file. The processor.php file needs to update the mySql record. I have [U]tested[/U] the processor file …

Member Avatar for dennishall
0
321
Member Avatar for night_guard

[code] class x(object): def __init__(self): self.x=1 class y(x): def __init__(self): super(y, self).__init__() [/code] what is it doing "super" function in here?

Member Avatar for Gribouillis
0
183
Member Avatar for simonfoley

Hi there I'm studying Visual Basic (using Visual Studio 2008) as part of an all-round IT foundation degree...I must confess that programming is becoming my weak spot! Unlike the C++ I was taught last year, I'm not finding VB too easy...probably becasue I've never programmed this way before and I've …

Member Avatar for simonfoley
0
309
Member Avatar for Sudo Bash

I have two questions relating to classes. I have run into a problem in using classes in multi-file programs. Here are three example files which illustrate the problem I am having and the errors I am getting. [B]file1.cpp[/B] [CODE=c++] //file1.cpp #include<iostream> #include"file3.h" using std::cout; using std::cin; namespace baz { extern …

Member Avatar for programmersbook
0
3K
Member Avatar for Feabionsu

Hi there, I am trying to have a PHP variable in my link, so that my final link would look like: example.com/eformat/[B]variable-goes-here[/B].rtf I've managed to get example.com/variable-goes-here but no more than that. I really don't know PHP very well, so help would be greatly appreciated. Please excuse my beginner level. …

Member Avatar for Feabionsu
0
168
Member Avatar for like_bilal02

Dear Freinds Is it possible in vb.net that when my mouse focus in button it size increase the button or change like when we click on google images it comes in front

Member Avatar for ShahanDev
0
215
Member Avatar for Cool&Awesome

Hi guys, Alright, I think it takes a guru to solve this, visited every single tutorial and htaccess generator out there... I'm trying to use mod_rewrite to get pretty urls. As long as I pass just 1 variable, it's cool, but when I try to pass 2 variables,like this [url]www.example.com/firstone/second[/url] …

Member Avatar for pritaeas
0
93
Member Avatar for kkcaddy

hi all i am using the visual basic portable, and the about form, splash screen, and the other additional forms refuse to appear. i would like help, if it is to use a different vb. thanx all

Member Avatar for kkcaddy
0
96
Member Avatar for arshi9464

i am unable to understand WHAT MAKES THE BYTECODE IN JAVA, MACHINE INDEPENDENT. I mean how does the bytecode built after compilation becomes machine independent, or what are the properties that make the bytecode machine independent? EXAMPLE:- If i compiled a program on a x86-64 machine and after sometime i …

Member Avatar for ~s.o.s~
0
170
Member Avatar for emrahteam

Hi, I want to get all character starting zero to end from tetbox to an array. How can I do that? Thanx

Member Avatar for kvprajapati
0
76
Member Avatar for vanalex

Hello everybody! I wrote the following classes: OilStation: [CODE] class OilStation : public Date{ protected: int code; char *Address; float Amount[K]; public: ... }; [/CODE] and Price: [CODE] class Price : public OilStation { public: Price(){} void changeAmount(); ... }; [/CODE] In changeAmount function i try to change the elements …

Member Avatar for vanalex
0
82
Member Avatar for RC331133

Hello Daniweb. I've been working on a small POS termal printer, and now i've run into a problem. The problem is somewere deep down in the mystical depths of ESC commands. However, to the point... I've printed a barcode (EAN13), The barcode comes out but there is a small problem …

Member Avatar for RC331133
0
115
Member Avatar for natchattack

Another one that i cant seem to get my head around. I i need to populate a secondary dropdown box based on what the user selected in the first one. say for instance the first dropdown box contained: Dog, Cat & Rabbit. If the user selects, Dog, i wish for …

Member Avatar for natchattack
0
311
Member Avatar for blueciel

VB6.0:Calculator Hi im new here.. anyone can help me with my program... please.. i have a project calculator using VB6 with the combination of operation like this 100 + 50 - 20 * 2 = 260 please help me.. thank you..

Member Avatar for AndreRet
0
159
Member Avatar for TomaCukor

hey guys , its my first but hopefully not last post , i have this wordcounter(actually recepie reader) project it looks for the word "csoki" given in input and then if it finds it it asks perfcentage of "csoki"(short for chocholate in my lang) and stores the value in array …

Member Avatar for WaltP
0
265
Member Avatar for marktyers

Hi I am new to assembler programming and am trying to get a simple program up and running on a PIC12F675 using a PICKIT2 I have wired up the circuit using pins 1-5 on the PICKIT2 programmer according to this diagram: PIN1 MCLR to PIC PIN4 PIN2 VDD to PIC …

Member Avatar for marktyers
0
189
Member Avatar for Sorcher

Hello peeps, got a fast question here! How can i echo out some text if the current user logged in with the username Sorcher ? Hard to explain for me, but im guessing this could be done in a few lines.

Member Avatar for Sorcher
0
77
Member Avatar for malashukla

hello to all i am here to clear my one confusion as i am stuck in somewhere logic part. i have four tables in database : state region district circle on page load i have to show the states from the database in the form of checkboxes. and when user …

Member Avatar for malashukla
0
90
Member Avatar for vinayakgarg

Hello I am developing my first game in Allegro. Till now i found it easy to use. But now i read that for running a game allegro.dll is required on computer. Tell me if it is correct. Also many people say that SFML is better than Allegro, since the latter …

Member Avatar for vinayakgarg
0
282
Member Avatar for imti321

see this code [CODE]<?php $username = $_POST['username']; $password = $_POST['password']; if (isset($username,$password)) { $connect = mysql_connect ("localhost","root",""); mysql_select_db("phplogin"); $query = mysql_query("SELECT * FROM `users` WHERE username ='$username' and password='$password'"); $numrows=mysql_num_rows($query); if ($numrows!=0) { while($row = mysql_fetch_assoc($query)) { $dbusername = $row ['username']; $dbpassword = $row ['password']; } if ($dbusername=='username'&&$dbpassword=='password') { echo …

Member Avatar for Zagga
0
155
Member Avatar for iwanttolearnc

im reading a text file that contains data in a fashion similar to this $1.2.3.4.5.6$ %7.8.9.10.11.12% *a.b.c.d.e* what i want to do is read only data enclosed by '$' and skip to the next line if the data contained are not. written below is my code. im kind of stuck …

Member Avatar for iwanttolearnc
0
139
Member Avatar for aligajani

I want to sort the getSal values in the myList. It should be a sorting algorithm implementation so that adding or removing objects does not affect the performance. [CODE]import java.util.*; public class payment { public String name; public int salary; void setName(String _name) { name = _name; } String getName() …

Member Avatar for aligajani
0
176
Member Avatar for EngSara

Hello.... I am running a C++ program that takes an N array and reads a from a file. One requirement of this project is that it returns an elapsed time of each function so the function efficiency can be calculated based upon an input. I am attempting to implement the …

Member Avatar for menauman
0
6K
Member Avatar for daviddoria

Please excuse my newness. Currently I know how to execute a php script by simply naming the script [filename].php and browsing to that file on my webserver. I have also learned how to parse and display an xml file using php. What I want to do is have a .xml …

Member Avatar for P0lT10n
0
1K
Member Avatar for novice20

can anyone suggest a simple method to define an enum in python. as some examples floating on net, i used class Animal: DOG=1 CAT=2 print Animal.DOG but it doesn't seem to be working...

Member Avatar for novice20
0
126
Member Avatar for raden1

I am making a simple python game. I would like to be able to restart the game based on user input. You have a certain amount of guesses to guess which way to coin falls. If you lose you would get the option of restarting, instead of just breaking the …

Member Avatar for ultimatebuster
0
139
Member Avatar for dennishall

Hi: I'm having an issue posting to MySQL using the animated_form.html below. My objective is to have 4 db entries posted to MySQL when the user clicks on the <a href="javascript: submitform()"><input alt="Show Results" id="btn_results" src="a_data/form_btn_show_results.png" type="image"></a> image. The form uses jquery and it produces 0 results in MySQL. Using …

Member Avatar for dennishall
0
206
Member Avatar for khurram.1987

Hi, i am trying to connect to MySQL database [ICODE]mysql[/ICODE] using JAVA .. using code given below, [CODE]import java.sql.*; public class dbExample{ public static void main(String[] args) { System.out.println("Listing all table name in Database!"); Connection con = null; String url = "jdbc:mysql://localhost:3306/"; String db = "mydb"; String driver = "com.mysql.jdbc.Driver"; …

Member Avatar for khurram.1987
0
161
Member Avatar for Wouldbecomp

Please help me to open at html file from the server ,edit and save it, using php. The code below returns a blank page i.e. no syntax errors but no output. home.htm is the exact name of the file on the server and it has 776 permisions. $openedfile =fopen(home.htm,'r+'); //open …

Member Avatar for diafol
0
136
Member Avatar for michd77

Having a problem that I cannot seem to get over. Simply trying to do a post of an xml string to a web site. Seems to work fine, until I hit a certain size of the string, then it fails. I have searched for other methods, but am coming up …

Member Avatar for michd77
0
185
Member Avatar for rtk1865

I have a unit conversion program that needs to take in a float and 2 strings from standard input. My previous solution was: [CODE] float orig_quant; char *orig_name = (char*) malloc(MAX_CHARS); char *new_name = (char*) malloc(MAX_CHARS); fscanf(stdin, "%f %s %s", &orig_quant, orig_name, new_name); [/CODE] However, this only works if the …

Member Avatar for Narue
0
23K
Member Avatar for BleepyE

Is it possible to have a feature where the application checkes for updates every 7 days or each launch? If so, please could someone point me in the correct direct to adding this to one of my applications. Thanks

Member Avatar for BleepyE
0
258
Member Avatar for BleepyE

My code has all of a sudden gone strange. Example 1: When I click my save button nothing happens, when I double click the button in the designer, it creates a new sub called "save_click_1" Example 2: My linklabel is no longer working. Double-clicking it in the designer ccreates a …

Member Avatar for BleepyE
0
74
Member Avatar for hao90

i[CODE]mport javax.swing.*; public class ReverseArray { public static void reverse(int b[]){ int left = 0; int right = b.length -1; while(left<right){ //exchange the left and right elements int temp = b[left]; b[left] = b[right]; b[right] = temp; left++; right--; } } public static void main(String a[]){ } } [/CODE] how …

Member Avatar for hao90
0
114
Member Avatar for vbx_wx

[code] lis.py class mylist: def __init__(self,l): self.data = l; def __add__(self,l): self.data = self.data + l def __repr__(self): return self.data main.py from lis import* x = mylist([1,2,3]) x = x + [4,5] print x [/code] Why is it printing None? What do I did wrong,Thanks.

Member Avatar for vbx_wx
0
96
Member Avatar for totalwar235

i am just trying basic C++ GUI and i ran this code from a tutorial site. [CODE] #include <windows.h> int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR pszCmdLine, int iCmdShow) { MessageBox(NULL, "Hello World", "Testing", 0); return 0; } [/CODE] when i run it, it executes and makes a animation of …

Member Avatar for totalwar235
0
116
Member Avatar for discovery-power

Hi All, I have created a form called new users, I have added my data source, draged over the objects I want from the dataset onto the form and all is well appart from the fact that I cant delete records. To add them I simply click the add button, …

Member Avatar for discovery-power
0
112
Member Avatar for WDrago

Greetings everyone, This is my first post, so I hope I don't break any rules by mistake... I am an experienced programmer trying to learn VB.NET. The problem I'm having is that it seems like strings have to be initialized differently than other types and I don't know what I'm …

Member Avatar for WDrago
0
178
Member Avatar for seanbp

I'm assuming there's no easier way to do this. Is thread locking really automatic? Am I misreading the documentation? [CODE]from threading import Thread make_thread = lambda fn, *args: Thread(None, fn, None, args).start() def my_fn(*args): for arg in args: print (arg) make_thread(my_fn, "toaster", "ovens") [/CODE]

Member Avatar for griswolf
0
95
Member Avatar for daudiam

Consider the following codes : File : C3.java [CODE]package G; public class C3 { protected int a=5; }[/CODE] File : R3.java [CODE]import G.C3; class R2 extends C3 { void doit() { a=7; } } class R1 extends R2 { void doit(R2 b) { a=8; b.a=1; // (1) } }[/CODE] It …

Member Avatar for daudiam
0
209
Member Avatar for HelenLF

Can anyone tell me how I would remove a substring from the end of a string. The string in question could have any one of three substrings at the end of it that need removed, so I wouldn't know in advance what the length was.

Member Avatar for HelenLF
0
93
Member Avatar for rtk1865

[CODE]typedef struct{ char *name; bool exists_in_sys; convert_table *data; } unit; float orig_quant; unit *orig_unit = (unit*) malloc(sizeof(unit)); unit *new_unit = (unit*) malloc(sizeof(unit)); printf("Enter original quantity, original units, new units\n"); fscanf(stdin, "%f %s %s", &orig_quant, orig_unit->name, new_unit->name); printf("Original unit: %s\n", orig_unit->name); printf("New unit: %s\n",2) new_unit->name);[/CODE] OK, so I would like to …

Member Avatar for rtk1865
0
205
Member Avatar for atticusr5

Ok so I have been working on a little php (with my VERY brief background). The goal of the script is to take a students username and password, and then show them there grades. However when I test the script, it just falls through and redirects to the final else …

Member Avatar for atticusr5
0
139
Member Avatar for afaque01

Iam trying to Calculate The values From 2 Comoboboxes.....But sometimes its calculating and sometimes its Showing BOOLEAN conversion problem... Plz SEE the code . [CODE] If C1.Text = "Agra Fort" Andalso C3.Text = "Delhi" Then l8.Text = 800 ElseIf C1.Text = "agra fort" Andalso C3.Text = "bangalore" Then l8.Text = …

Member Avatar for afaque01
0
172
Member Avatar for mydreamgirl

Here is the code from client side: [code]public class TempMail { private String url = "http://localhost:9081/Servlet_Test/Servlet_Test"; public StringBuffer invokeServletForLogin(String unm, int key1, int key2, byte[] pwd, byte[] newPwd, String flag) throws IOException { HttpConnection c = null; InputStream is = null; OutputStream os = null; StringBuffer b = new StringBuffer(); …

Member Avatar for dumparun
0
161
Member Avatar for tendaimare

i have a checked list box as one of my controls in my code what happens is when i click on the checked list box the item clicked in the checked list box is supposed to be added to a text box, and my code is now doing that however …

Member Avatar for tendaimare
0
148
Member Avatar for davieJohnson

I am working on a C# Windows Form project and I need to access the controls on a form from a separate class within the project. can anyone help me with this?

Member Avatar for Mitja Bonca
0
159
Member Avatar for nmakkena

Hi I want to display tables data(having only one column) into a combobox as items. pls provide me some solution for this.

Member Avatar for pvtam2a
0
184

The End.