199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Papa_Don

Group, I have a form that opens with a panel and multiple textboxes displayed that I created via the GUI. Once the user enters the desired information within this panel, a button is click and a new panel appears with the same textboxes displayed as the original. This panel and …

Member Avatar for Papa_Don
0
173
Member Avatar for yup790

I am trying to read a random line from a file and if that line is null it will create a random string. It works with files with upto and including 5 lines. To test it I made a 2 line file: > 1-hello > 2-but However, when run it …

Member Avatar for stultuske
0
155
Member Avatar for goha1414

Write a program in object code that will convert a 3-bit binary number to a decimal number,For example, if input is 101, output should be 5; if input is 011, output should be 3. that is what I have to do,this is what I have so far but its not …

Member Avatar for prvnkmr449
0
307
Member Avatar for somjit{}

in an assingment, i have to implement a deque ( double ended queue ). the underlying datastructure is allowed to be arrays or linkedlist. only that im not allowed to use any prebuilt java api that does the above. (like the java.util.LinkedList api) implementing the above using doubly linked list …

Member Avatar for somjit{}
0
194
Member Avatar for patk570

Hey guys, below is my code, I am working on trying to PASS Variables to a popup window. I have it to where it show the embed window(which is blank) link, the title(which is blank) and instuctions(which is blank), but I cannot get it to pass the variables of what …

Member Avatar for LastMitch
0
3K
Member Avatar for dwmarketing

Hey guys I'm new to this I bought this script yesterday and on my site I keep getting this Warning need help!!! Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in D:\Hosting\6967501\html\config.php on line 13 [CODE]<?php // Provide Values for Database $dbhost="MYHOST"; $dbname="DB_NAME"; $dbuser="DB_USER"; $dbpass="DB_PASSWORD"; //Don't change …

Member Avatar for anurag2013
0
235
Member Avatar for stevanity

I have been developing a rails app for a week now. I use jquery-rails gem to use jQuery and everything was working fine. But today, when I started the development server, jQuery just wasn't loading. The console gave the error `jQuery not defined` and `$ not defined` and so forth. …

Member Avatar for LastMitch
0
395
Member Avatar for Unused Mass

Loop trough a HashMap <String, Integer> and if the value is something, for example, 5, then put the key in an array. I'm not sure where to start, I'm having trouble on the "Loop trough a **hashmap**" part. Thank you.

Member Avatar for tux4life
0
155
Member Avatar for rje7

I'm trying to expand on the Tab Swipe Application template. I've created a class, say x, which extends AsyncTask which reads from network and update ListView. x.execute(param1) is invoked from the static class DummyFragment. The problem is i'm confused as to how to pass the context to the following code. …

Member Avatar for rje7
0
3K
Member Avatar for HctiMitcH

I am working an a simple project that required a vb.net login form. I added a login form that was preinstalled in visual studio, ex. Menu>Add existing item>login form. I am using visual studio desktop 2012 and I made the project for .NET 4.5. I then realized that my target …

Member Avatar for HctiMitcH
0
439
Member Avatar for pamela.barabutirei

failing to install codeblocks on my machine , running windows 8. its saying the program cannot be verified.....anything to help please!

Member Avatar for CodeWeaver
0
207
Member Avatar for Counterpartz

Hi, I'm having a little trouble with an assignment for my C# class. (The professor doesn't explain specifics, just the basics, and he isn't any help, he's extremely shy and awkward) using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Assignment_2_ITM_225 { class Program { static void Main(string[] …

Member Avatar for tinstaafl
0
242
Member Avatar for PriteshP23

Hello All, Objective is to manage **radio button Dynamically**. One should be able to *add/delete radio button by ADD and DELETE button* in form. To make CLEAR the question, please look at the image "BUTTON". In addition, it should be displayed with updated values (*Need to manage from database side …

Member Avatar for PriteshP23
0
2K
Member Avatar for PriteshP23

It is not working AFTER refresh anymore: // php <div style="padding-left:280px;"> <!-- Add --> <input type="button" class="btnAjouterConfigure" id="add" value="Ajouter" style="text-decoration:none; width:100px; height:41px; line-height:34px; font-weight:bold;" onclick="addnature()"/> &nbsp; <!-- Delete --> <input type="button" class="btnSupprimerConfigure" id="delete" value="Supprimer" style="text-decoration:none; width:100px; height:41px; line-height:34px; font-weight:bold;" onSubmit="return deleteRadioButton();"> <div id="fooBar"></div> </div> <br /> <div style="height:auto; padding-left:280px;" id="mainRadio"> …

Member Avatar for PriteshP23
0
320
Member Avatar for Fredszky

Server code part: void spawn (char* program, char** arg_list) // Executing the clients command { printf("\n\nprogram = %s\narg_list = %s\n\str1=%s!!!\nstr2=%s\n\n",program,arg_list,str1,str2); dup2(s2, STDOUT_FILENO); //Redericting information to socket dup2(s2, STDERR_FILENO); execvp (program, arg_list);abort (); // Executing the clients command - After this, program gets stuck, why? /* if (send(s2, "This works multiple …

0
215
Member Avatar for DaveyMoyes

Hi everyone... I am just geting to grips with htaccess RewriteRules I have the following rule that redirects users to website.com/folder RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([a-z0-9]+)\/?$ /webstores/$1/ [L] But the url is missing the trailing forward slash / when I try and open php files …

Member Avatar for pixelsoul
0
194
Member Avatar for clapton

Hello everybody, This is parking program .I defined 4 task (keyboard,enter vehicle,exit vehicle,display) The program is compile but when I run it and press keys (E,S,F), it does not work. This program is written for linux. Can you help me? #include <stdio.h> #include <unistd.h> #include <sys/types.h> #include <stdlib.h> #include <pthread.h> …

Member Avatar for plenty.groover
0
110
Member Avatar for craig.durnin.1

Literally, I have been asked this question ""The Fibonacci sequence is 0, 1, 1, 2, 3, 5, 8, 13, … ; the first two terms are 0 and 1, and each term thereafter is the sum of the two preceding terms – i.e., Fib[n] = Fib[n – 1] + Fib[n …

Member Avatar for plenty.groover
0
2K
Member Avatar for milkman93

Hey Guys, I'm want to output a calculation to a JLabel. Example: double num1 = 14; double num2 = 3; double ans; ans = num1/num2; JLabel jl = new JLabel(); add(jl); jl.setText("The Answer is: " + ans); Currently the answer for this will be 4.666666667. Now if this was a …

Member Avatar for milkman93
0
5K
Member Avatar for aj.jaswanth
Member Avatar for robert.mcguire.3990

I am having trouble with my login and receive this warning 'noOfRows = da.Fill(ds, "tblCustomers");' No value given for one or more required parameters. I want My Login to search my database for the correct pin and account number but my program doesnt seem to work. My code for form1 …

Member Avatar for deceptikon
0
179
Member Avatar for jovstudios

Dim Dbl1 As Double Dim Dbl2 As Double Dim Aux1 As String Dim qtyadd As String Dim subtotaladd As String Dim itm As MSComctlLib.ListItem Dim i As Integer Set itm = ListView1.FindItem(txtCode.Text) If itm Is Nothing Then ListView1.ListItems.Add , , txtCode.Text ListView1.ListItems.Item(ListView1.ListItems.Count).ListSubItems.Add , , txtproductname.Text ListView1.ListItems.Item(ListView1.ListItems.Count).ListSubItems.Add , , txtqty.Text ListView1.ListItems.Item(ListView1.ListItems.Count).ListSubItems.Add …

Member Avatar for AndreRet
0
163
Member Avatar for anestistsoukalis

I think that the main problem on my code is that iam trying to pass a struct through another struct . Is there a problem if i use "->" instead of (*). ? Because it keeps showing me an error that say's : invalid type of argument '->' Iam trying …

Member Avatar for anestistsoukalis
0
213
Member Avatar for samirkhzem

just want to know the correct synthax for creating a table in access database using vb myqry = "CREATE TABLE HoldInvoide'" & k & "'(Barcode varchar(20) not null Primary Key, ItemName varchar(40) not null, Quantity int , Price double, Total double)" k is a variable i want to create a …

Member Avatar for Reverend Jim
0
337
Member Avatar for blackrainbowhu

Hello! I'm new here, and I need some help. :) I am working on a program that has to write and read a binary file. I have to add lectures to it, they look like: **COURSECODE;COURSENAME;MAXAPPLICANTS;ACTUALAPPLICANTS;** I could write that in a file without any problems using `char*`. My question …

Member Avatar for Banfa
0
437
Member Avatar for 2mhzbrain

experts please help on querying and counting the frequency of data, i want to count the number of data appearance then put it on like this: Name----Lastname----Relationship----Freq Egie----Tayag-------Brother---------2 i will place the result on a report counting the number of a person's visit on the theme park. TIA ^_^ SELECT …

Member Avatar for 2mhzbrain
0
156
Member Avatar for ebc3142

Hi, I'm using this SQL statement to retrieve Value and Date which will then be plotted on a graph: SELECT DISTINCT assets.SEDOL,assets.Quantity,stock_names.value,stock_names.Fileid,date_header.dateid FROM assets,stock_names,date_header WHERE assets.Client_ref = '$clientref' AND stock_names.SEDOL = assets.SEDOL AND date_header.fileid = stock_names.fileid I'm also selecting Quantity. Instead of having to multiply out the arrays, how can …

Member Avatar for AleMonteiro
0
240
Member Avatar for verbalurbs

Hello I am trying to display an ID which is a primary key in my table by selecting the corresponding name in my table. the names have been saved in a combo box and depending on the name selected the textbox will display that Id. the code I have so …

Member Avatar for martinhosking
0
409
Member Avatar for t1suka

In brief, I am puzzled as to why `~^[0-9]*?\|[0-9]*?\|.*?\|.*?\..*?\|2\|[0-9]\|.*?$~m` matches `1362526368|5|Corinne E. Fischer|fischer.jpg|3|3|FischerC@smh.ca|416-864-5320|1|2|3|4|5` Note the |3| after fischer.jpg when the pattern clearly has a \|2\| in that location. Now I understand that it must be the numbers at the end that are messing with the match but I don't really …

Member Avatar for IIM
0
163
Member Avatar for hdng76

Hello All, Would someone please help explain If not IsPostBack to me and give me some examples as to when to use it and where in the code I have to use it? When do I need to set AutoPostBack to True? Any info on this is greatly appreciated! Thanks …

Member Avatar for JorgeM
0
111
Member Avatar for an00p

I am working on a PHP project in which a mysql table needs to be updated with lots of rows in a single update. A set of parameters will be assigned for a product. Please find my present steps below: 1. **Delete** all rows with the product_id in the table …

Member Avatar for an00p
0
273
Member Avatar for gtam

Hello I'm writing a script to get content of web pages on different machines and compare them using their md5 hash hear is my code #!/bin/bash # Cluster 1 CLUSTER1_SERVERS="srv01:7051 srv02:7052 srv03:7053 srv04:7054" CLUSTER1_APPLIS="test/version.html test2/version.html test3/version.jsp test4/version.html test5/version.jsp" # Cluster 2 CLUSTER2_SERVERS="srv01:7055 srv02:7056 srv03:7057 srv04:7058" CLUSTER2_APPLIS="test/version.html test2/version.html test3/version.jsp test4/version.html" # …

Member Avatar for Watael
0
234
Member Avatar for evilguyme

Hey guys i was just wondering if any of you have good links to sources that i can learn assembly from all i want to know is what the CMP PUSH EAX... means. basically i just want a reference to help me understand assembly language like in OllyDBG. Thanks.

Member Avatar for evilguyme
0
110
Member Avatar for Minko

Hello, I have a Textbox and on the textchanged event it takes the users input and searches through a database and takes the items which are like the users input and puts them in a listbox which a user can select from. The problem with this method is that it …

Member Avatar for deceptikon
0
163
Member Avatar for slygoth

Hello I am trying to insert some data into a sql server i have but it seems like I'm formating the information wrong. This is what i have so far. product id = int; type = string; watt = float; volts = float; String query = "INSERT INTO GoodCustomer(Product ID, …

Member Avatar for bguild
0
157
Member Avatar for 3e0jUn

So I have a code that prints out the `sys.argv` when the program is ran. How can I parse $ python ./arch.py install * to show `["./arch.py","install","*"]` Instead of `["./arch.py","install",#other files in directory]`?

Member Avatar for deceptikon
0
201
Member Avatar for terabyte

what is the difference of passing an array to a function like this function(int x[]){ } or like this(int x*){ } what is the difference both ways seem to work

Member Avatar for deceptikon
0
166
Member Avatar for tony75

Hi How can Iremove all object that Im created in oracle database. I have 8 tables and I would like to remove all which commans should I use?

Member Avatar for tony75
0
1K
Member Avatar for chordian12

hii, i am trying to create an image in which i am drawing a chess board with multiple colors and Drawing a string on it. but the string is not always drawn. sometimes it is drawing half charecter. I hv tried AddString it also doesnt work. plz help it is …

Member Avatar for ddanbe
0
111
Member Avatar for danimischiu
Member Avatar for shibu2all

Hello, I have a Mysql table, where i want that after i execute the update query in the JSP form, an automated mail is send to the email id in the record.Can anyone tell me how to do this?

Member Avatar for stultuske
0
154
Member Avatar for JeanPhilippe

Hi, I would like to know how can make my javascript works after an ajax request. This is my page : <script src='includes/dragResize.js'></script> <script src='includes/domdrag.js'></script> <div id='events-loop'> *IT KEEPS RELOADING HERE*/ </div> <script src='includes/ajax_events_loop.js'></script> And my Ajax file : $query=mysql_query("QUERY"); while($result=mysql_fetch_array($query)) { <div id='events'>The events</div> <script type='text/javascript'> var resize-1 = …

Member Avatar for AleMonteiro
0
8K
Member Avatar for DEBASCOGUY

Please am new to java and i need an assistant on loading hexadecimal from a textfile and converting it into binary(Loader class) then the binary will be kept in another class(memory class). then the binary will be forwarded to another output file.

Member Avatar for JamesCherrill
0
272
Member Avatar for Elixir42

Everything was running fine, then I made a simple change. Like adding a class or two and bang!!! C2995. Can you spot where I have obviously gone blind and cannot see the error. I have header gaurds throughout the solution, so I dont understand why this is happening. Here are …

Member Avatar for Elixir42
0
451
Member Avatar for murnesty

I recently learn about the polymorphism and I don't know what is the purpose to use this feature. From http://www.cplusplus.com/doc/tutorial/polymorphism/ , it uses the child class rather than the parent class. I thought most of the time we inherit and we only use the parent class to access the child. …

Member Avatar for murnesty
0
159
Member Avatar for kimangel

Hi Experts, my sql query below returns 0 value, though I have entries in my data base. Please help me check my codes below; Private Sub cmdSearch_Click() Dim sTrID As String sTrID = txtSearch.Text Dim Total As Integer Set rs = New ADODB.Recordset rs.Open "Select Count(DateIn) as Total from Time_In …

Member Avatar for kimangel
0
304
Member Avatar for anestistsoukalis

My friends are keep telling me "Use debugg idiot !" I found out that for a code over 200 lines is very important. But i want to debug only a specific piece of code. And to review the results of a variable while the code is "executing" . Is this …

Member Avatar for anestistsoukalis
0
252
Member Avatar for dinhunzvi

i have php and apache running in windows. my problem is i get an error when sending emails using the php mail function. how do i get rid of the error

Member Avatar for dinhunzvi
0
312
Member Avatar for OmK@r

Hi Friends, I had a issue with telnet conncection in python. Can you send me a working module to connect to telnet windows from a linux machine using python scripting.. Thanks in Adwance, Omkar

Member Avatar for OmK@r
0
4K
Member Avatar for baby666

please help me to explain the two dimentionalsales about sales person: 1. while 2. do- while 3. if 4. if-else 5. for

Member Avatar for stultuske
0
110

The End.