64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for TotallyBroke

I have a DX scrolling banner running at the bottom of the desktop. The banner renders, as its backbround, anything beneath it. The problem is that if the background is renewed, I get a copy of the scrolling banner as its own background, even though I've made it invisible before …

Member Avatar for TotallyBroke
0
3K
Member Avatar for MaestroRage

sorry for the long title, but it pretty much sums it all up. I have a 2 test structures, and in one I have a 2d char array, which is essentially a 1d string list. However I can't seem to interact with it on the same level as I can …

Member Avatar for Tom Gunn
0
2K
Member Avatar for seakayaker

I am new to OOP. Before I did my best never to use global variables and it worked fine. But with OOP I find that I am starting to use global variables... very frustrating indeed. How do you prevent it? Let me give you an example. Assume you have a …

Member Avatar for seakayaker
0
166
Member Avatar for Acute

Hi, guys! I'm new in OOP, so i have some problems here... I'm doing a model of an elevator. There are three classes: building, elevator(which is located in a building), passenger. I have a class "building" which contains as a composition another class -"elevator". Class "elevator" has buttons(function-elements) inside, such …

Member Avatar for Acute
-2
126
Member Avatar for servis

hi friends, my code is as follow, [ICODE] ------sql query here------------ $result = mysql_query($sql): while ($row = mysql_fetch_array($res)) { $row[tableLegends]; $link[]=$row; } [/ICODE] when i use foreach loop in template, it give the inavlid argument "Invalid argument supplied for foreach() error" [ICODE] foreach($link AS %links){ --------code here------- } [/ICODE] i …

Member Avatar for servis
0
160
Member Avatar for revski

Hi. I have wrote a basic program in delphi to perform calculations. The system the program was wrote on had the region set to English(United Kingdom). Upon testing the software, it will only perform calculations when the system is set in either English(United Kingdom) Or English(United States). If i set …

Member Avatar for FlamingClaw
0
115
Member Avatar for AdventDeo

Hello, I've read on how to insert properly into two linked tables using mysql_insert_id() function from: [url]http://www.webproworld.com/web-programming-discussion-forum/87197-php-insert-different-records-into-multiple-mysql-tables-same-unique-id.html[/url] now how about if i want it to be from 4 linked tables? can I still use the function? and I want some to be a dropdown lists. My tables are: Client(clientID, Name, …

Member Avatar for AdventDeo
0
3K
Member Avatar for grihalo

I've just finished my homework program and I'm looking for any critiques. Whether they be about my methods, format of how the code is spaced and such, or anything of the sort. Also some ideas on decent commenting would be helpful. In summary I'm trying to learn some good programming …

Member Avatar for VernonDozier
1
170
Member Avatar for blackknight469

hey everybody! :D I am a major noob at programming and I am using VB '08 Express and want to use a text file to set variables on seperate forms of one program. What I would like to know is if i should use seperate files for each form and …

Member Avatar for blackknight469
0
85
Member Avatar for daneuchar

hi guys, this is danny and i need a little help frm u guys i have a piece of code which i need to explode [code] EXP=482900\_1SKILL=4294967295;4294967295;4294967295\_1PK=0\_1RTM=0\_1SINFO=655391\_1WEAR=17408;2145;4294967295;19666;3105;4294967295;19656;4129;4294967295;19661;5153;4294967295;19676;6177;4294967295;19671;7201;4294967295\_1INVEN=\_1 explode("\_1",$charstring); explode("SKILL=",$temp[0]); [/code] i just want to edit 4294967295;4294967295;4294967295 after skill can u guys pls guide me how do i implode after editing …

Member Avatar for daneuchar
0
133
Member Avatar for mahela007

I'm trying to learn the very basics of HTML parsing in python. Through these forums I learned what a parser is. [I] " Parsing often means "perform syntax analysis" on a program or a text. It means check if a text obeys given grammar rules and extract the corresponding information. …

Member Avatar for mahela007
0
125
Member Avatar for msr

Hello, Im trying to open a new windows form by clicking in a menustrip item. Its not the first time I make that but now it doesn't work and I dont know why. Here it is the code I have: [CODE] private void aboutToolStripMenuItem_Click(object sender, EventArgs e) { AboutBox about …

Member Avatar for msr
0
164
Member Avatar for freon73

[COLOR=#555555]I am a newbie to Python and need to transfer files across an internal network. Are there any coding tips or code snippets that would be helpful? Any assistance provided would be appreciated.[/COLOR]

Member Avatar for Tech B
0
196
Member Avatar for Merovingian

Title probably makes no sense :) I have a single picturebox button that I will be using to open new forms. Is there a way to set a variable and then have the button open the form name included in the variable I really dont know where to start as …

Member Avatar for EvolutionFallen
0
185
Member Avatar for stockton

I am having a problem restoring my clients MSSQL database onto my desktop using Enterprise Manager. Apparently the database itself contains information about where the original database was backed up from & irrespective of what alterations I make in Enterprise Manager the restore fails. Is there some other program I …

Member Avatar for sknake
0
149
Member Avatar for NinjaLink
Member Avatar for akkkk

Hello, I have my main program.cs with static void main and i want to call a method I have created in my misc_methods.cs. The method is string_split(string inputString) misc_methods.cs is in the same folder and looks like this: [CODE]namespace my_project { class string_split { public string_split(string inputString) { ...code for …

Member Avatar for akkkk
0
5K
Member Avatar for Rete

Hi again, I just had a really quick question. Is there any kind of goto command in Python like there is in Java?

Member Avatar for scru
0
770
Member Avatar for gginnj

[code] #!/usr/local/bin/perl use IO::Socket; my $url = 'localhost'; my $port = 6464; my $error = 1; my $sock ; while ($error) { my $sock = new IO::Socket::INET ( LocalHost => $url, LocalPort => $port, Proto => 'tcp', Listen => 1, Reuse => 1 ); $error = 0 ; $error =1 …

Member Avatar for gginnj
-1
203
Member Avatar for agrarian

I am trying to use a Dojo (ajax) table on my page that has detail rows in which I want to draw detail tables. The tables have a format event which calls formatDetail. In this event I would like to build a simple table using JSON data. My problem is …

Member Avatar for agrarian
0
2K
Member Avatar for invisi

[CODE]#include <iostream> #include <cstdlib> #include <ctime> #include <string> using namespace std; void RandomArrayFill(int* array, int size) { //int* array = new int[size]; cout << "Creating and filling the array with integers..." << endl; for(int i = 0; i< size; ++i) { array[i] = rand() % 101; } cout << "Array …

Member Avatar for invisi
0
141
Member Avatar for icarium

Hi, I have a project in asp.net which includes mssql database. when i tried to back it up simply by copying the folder, I then tried to open the project through visual studio, but it did not open. So how can i back up my project ? also my operting …

Member Avatar for anuj_sharma
0
256
Member Avatar for pilipino93

Hi there. I was wondering how I can store a file I have on my computer into my WFA project. I want to store a file in there so that when the user clicks on the button, it will distribute the file inside the program to the user's computer, in …

Member Avatar for pilipino93
0
362
Member Avatar for broberts_az

First Off. Total newbie here and first thread so go easy on me. I used the tut from the Starting wxPython (GUI code) thread. I have converted it to a text editor and added some annoying features to mess with my boss. I am able to open a file, edit …

Member Avatar for broberts_az
0
199
Member Avatar for marcinkuptel

Hi, Is there a way to split the string: 'Autocolli\^sion:No^Pack\^age:10DB15' on '^' character, but not if it follows a backslash? I have tried a regular expression like '[^\\]\^' but it removes also the 'o' in 'No'. Marcin

Member Avatar for marcinkuptel
0
98
Member Avatar for Ancient Dragon

I just finished installing Fedora 11 on my 64-bit Vista computer (dual boot) and see that it does not include gcc or g++. I looked on gnu.org, found something that described the gcc compiler package (briefly) but no links to where to download the binaries. Anyone have links to it?

Member Avatar for Nick Evan
0
259
Member Avatar for akkkk

Hello, i am new to using C# and I was wondering how if i set some variable in a from how i can transfer them back to the main method? for example if i have: [CODE]public partial class MyInputForm : Form { String name; Int ref_no; public ..... FORM IMPLEMENTATION[/CODE] …

Member Avatar for akkkk
0
101
Member Avatar for Neo7

Hi everybody, What should I do in order to add an [COLOR="red"]onkeyup="foo();"[/COLOR] to an input box but without writing the [COLOR="red"]onkeyup="foo();"[/COLOR] inside the input field declaration? Usually you do: [CODE]<input type="text" name="hello" value="" class="input-tags" onkeyup="foo();"/>[/CODE] But I want to do something like this: [CODE]<script type="text/javascript"> document.getElementsByName("hello").item(0).addEventListener('keyup',foo(),true); </script>[/CODE] and leave the …

Member Avatar for Neo7
0
939
Member Avatar for laura_ci

Hey guys, I know there is LOTS on the web with regards to learning resources and tutorials on javascript but I was wondering if you nice people could point me in the direction of a few websites that teach you the 'right' way of doing things? I'm a total noob …

Member Avatar for laura_ci
0
146
Member Avatar for erietha88

I have these code below for the button : [CODE] import java.awt.*; import java.applet.*; import java.awt.event.*; public class Coba extends Applet { Button button1; public void init() { Font font = new Font("TimesRoman",Font.BOLD,16); setFont(font); button1 = new Button("Level Easy"); resize(250,250); LevelEasy lvleasy = new LevelEasy(); button1.addActionListener(lvleasy); //button1.addActionListener(this); add("Left",button1); } private …

Member Avatar for erietha88
0
929
Member Avatar for goody11

Hey, I was wondering how (if it's even possible) to create my own compiler directives. Any help?

Member Avatar for Salem
0
141
Member Avatar for tmc01

[B]I have a combo box to select different types of data in the database, the listview will be filled with data according to its category based on the combo box. The problem is, when i click on that first index of the combo box, it fills the listview with the …

Member Avatar for tmc01
0
614
Member Avatar for murid

i'm try to send many picture using socket programming in VB 2005 from client to server. but, after i run the program, only the first picture that reach destination server. and there is an error saying that my socket are no longer connected after the first picture are sent. client …

Member Avatar for murid
0
352
Member Avatar for tha_ratl

Hi all, I need help regarding following problem. I'm getting HTTP get responses from a program(Kannel) periodically. The HTTP is in the following format. "http://localhost/sms.php?A=10&B=abc" I want to know whether is it possible to get the values of A & B using a Java program (not JSP) as soon as …

Member Avatar for tha_ratl
0
156
Member Avatar for kinger29

I am trying to setup a tomcat server in eclipse galileo java ee to test a servlet. I have web tools installed also. I created a server but when I go to my web browser and go to [url]http://localhost:8080[/url] I get an http status 404 error. My server is started …

Member Avatar for Capra
0
224
Member Avatar for serkan sendur

i created a custom installer as a custom action for my setup project in order to install some cab files to pocket pc using active sync. the custom installer class library project gives an error but i dont know how to debug it. do you have any ideas?

Member Avatar for serkan sendur
0
224
Member Avatar for Aussie_Here

How to make a constraint to check if the entered time is in valid form?

Member Avatar for sknake
0
103
Member Avatar for akkkk

This is probably quite obvious but i am new to .net if i create a form and then have a sumbit button that is something like [CODE] public void SubmitButton_Click(object sender, EventArgs e) { String name; Int ref_no; ref_no = this.REF.Text; name = "this.NAME.Text; return name, ref_no; }[/CODE] Then that …

Member Avatar for sknake
0
122
Member Avatar for AbhishekGoenka

My web application developed on O.S. ====Windows XP Professional IIS ------- IIS 5.1 Dot.net framwork 2.0 AjaxControlToolkit----ASPAJAXExtSetup.msi Database – Access2003 But when I access that application and do some of task on web page like add,modify or delete, below given error occured. Please do the needful if you have any …

Member Avatar for sknake
0
374
Member Avatar for Nathan Campos

Hello, I'm learning Ruby, and i want to know how to compress files using Ruby. Thanks, Nathan Paulino Campos

Member Avatar for Nathan Campos
0
136
Member Avatar for PetuniaRose

I am trying again(!) to learn enough Python to be able to process a bunch of files, and have run into something I don't understand right at the beginning. I am using Python 2.5 IDLE on a WindowsXP machine, and going through examples given in a Python tutorial. My understanding …

Member Avatar for PetuniaRose
0
2K
Member Avatar for Jennifer84

I am doing a fuction where I want to check that a String contains only Letters between: "A-Z" and Numbers between: "0-9" and "_" Instead of checking all one by one. Is there any approach to check against all at the same time ? [code] String ThisString= TextBox1.Text.Trim().ToLower(); for (int …

Member Avatar for Dave Sinkula
0
3K
Member Avatar for rizza_f

Hello everyone.. My question is how to display data from my database. So when I open my index.jsp file, the data already display on it, it doesnt have any form. Is servlet can do it, or just do it in index.jsp file. I prefer with servlet, but I don't know …

Member Avatar for rizza_f
0
193
Member Avatar for NargalaX

Hey, I would like to call a few functions from a static method, but it seems I can't. More specifically, I would like to start or stop a timer from a static hook, called when you click your left mouse button. Here is the code [code] //When you click... public …

Member Avatar for NargalaX
0
128
Member Avatar for jorge12745

Hey, Im having a problem with this programm. It is supoused to have a vetor (pila) that would store all the elements on the try block. When it gets to the "666" element (at the end of the try b lock) it is suppouset to throw an exception (pilallenaexception) but …

Member Avatar for jorge12745
0
64
Member Avatar for Lingson

hi, is there anyway to display a .jpg (or other type) images in Tkinter with Python 3.1? From what I read here in the forum, for Python 2.6 I could use the PIL package. But the PIL packages doesnt support Pyton 3.1 yet (from what I read on the PIL …

Member Avatar for vegaseat
0
1K
Member Avatar for RehabReda

hi all:) i got confused in this point:( i have questions that i don't understand it well knowing that i have searched a lot but i don't know i didn't understand it yet 1-when it is really impossible to work in a program without a delegate (please give a simple …

Member Avatar for serkan sendur
0
143
Member Avatar for valonesal

Ive been fighting with this for a few hours now and cant seem to grab an answer. I hope one of you guys can help. I would like to add a delay on the mouseout so when they move away it has a pause before it disappears. Here is the …

Member Avatar for serkan sendur
0
100
Member Avatar for chathu12

Hello every one?I have a program use to copy the contents of an array to a File.But it does not work. when it runs Visual Studio starts to debug. But nothing happening.File contents does not change.Please help me tho solve this problem.Thank you very much. Here is the program. [CODE]#include<stdio.h> …

Member Avatar for chathu12
0
142
Member Avatar for tarun02kumar

hello everyone, I am new to python so I need help about [B].pyd[/B] file I have a[B] xxx.pyd[/B] file which is basically a merge of many [B].h5[/B] data files. I have to use this [B]xxx.pyd files[/B](merge of simulations files) and compare it with one experiment data file which is also …

Member Avatar for tarun02kumar
0
435

The End.