64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for BleepyE

Hi, im wondering how I could contact my Call of Duty: Black Ops game server's console, through RCon, through an application I have created in VB.net All I want to beable to do is have the ingame console in a textbox or something, it doesnt even have to be live, …

Member Avatar for chris.weisskeiner
0
1K
Member Avatar for psichoman5

I dont know how to convert a matrix of 10x10 into 4 matrices of 5x5, for example: [[10, 11, 12, 13, 14, 15, 16, 17, 18, 19], # matrix 10x10 [20, 21, 22, 23, 24, 25, 26, 27, 28, 29], [30, 31, 32, 33, 34, 35, 36, 37, 38, 39], …

Member Avatar for vegaseat
0
259
Member Avatar for afaaro

Hello I have 5000 data how can i update one time dbquery("UPDATE ".CATEGORY_TABLE." SET name='".cleanString($data['title'])."'");

Member Avatar for afaaro
0
176
Member Avatar for Simon180

Am trying to build xinetd on my solaris system am using sun workshop c++/c to compile the code but I keep getting the following errors error: `sys_nerr` underclared (first use in this function) error: (each undeclared identifier is reported only once error: for each function is appears in.) error: `sys_errlist …

Member Avatar for NathanOliver
0
1K
Member Avatar for jonsan32

Let's say I have a banner on my site that randomly rotates between images that depict the month of January. Is it possible to have 10 images randomly rotate the entire month, then to have a new 10 images rotate randomly for the following month? I also need each image …

Member Avatar for mattster
0
506
Member Avatar for lithium112

I'm needing some LINQ expert advice. I am having to convert a SQL stored proceedure over to LINQ. The SQL statement is structured like below: SELECT SUM((Amt) FROM Table1 INNER JOIN Table2 ON Table1.ID = Table2.ID WHERE Table1.Date < endDate GROUP BY Table2.Name How would I group all of the …

Member Avatar for AleMonteiro
0
154
Member Avatar for crodriguez08

Hey there, I'm having trouble getting my program to read every instruction to then execute it, as well as displaying everything correctly. Right now my program displays mainly garbage and for now I simply want it to be able to successfully run a simple addition program, so any advice or …

Member Avatar for CPTSNGR
1
2K
Member Avatar for xbat

I am getting $.ajax is not defined with firebug - maybe missing bracets? any ideas? <script language="javascript" type="text/javascript"> function get_place(jack) { $.ajax({ type: "POST", url: "fruit.php", beforeSend: function () { $("#city").html("<option>Loading ...</option>"); }, data: "cartowner="+cartowner, success: function(msg){ $("#city").html(msg); } }); } </script>

Member Avatar for qwqdqw
0
5K
Member Avatar for 2384443

Hi everyone, i need your help.. I want to draw a circle,square and rectangle on Jframe on a click of a button.. This program was asked in my test paper, i couldn't get it right though bt i wanna know what my mistake is.. Plz help me.. import javax.swing.*; import …

Member Avatar for JamesCherrill
0
346
Member Avatar for kayleigh0411

I need to make this program GradeCalculator.java, and I can't figure out what is wrong with it. I'm really struggling, could someone please help! Thanks!! In the GradeCalculator.java program the user clicks the Enter button. The first input is a JOptionPane that asks the user, “Number of score to be …

Member Avatar for stultuske
0
187
Member Avatar for PinoyDev

Good day! I have a long list of menus created under menu editor. I need to loop all of its value list and put it in a combo box. I do not know a way on how to do this..? Thank you!

0
130
Member Avatar for chubbyy.putto

Here is problem: I ask user for how many dogs do you have user enter 5 i go via for loop and add the name into arraylist and now i want to display like 1. Java 2. is 3. fun and so more.... not just 3 after I want to …

Member Avatar for Santanu.Das
0
94
Member Avatar for Freddy Kreuger

So I have a couple of problems with this assignment and I need a bit of help. The first is Went ever I input the name of a college or university that I know is on the list, it causes an infinite loop and repeats the menu forever. This will …

Member Avatar for NathanOliver
0
269
Member Avatar for kidkardel

OK, hi again and thank you for your continous answering, I cant repay you but I am truly grateful... anyway, I have a datagridview where i manually add 4 columns (A,B,C,D) respectively and has 4 textbox outside (ta,tb,tc,td) respectively. now i have a button where when i push it strings …

Member Avatar for kidkardel
0
123
Member Avatar for Daniel_30

I am a student in Computer Science, and am writing a small guide for my fellow students. It will contain a large list of the most commonly used and studied functions in C++ (e.g. Bubble Sort, linear search, file writing, etc.) and the code used to perform each function. I …

Member Avatar for oboumat
0
131
Member Avatar for Glaven

I need to find the smallest number in my 10x8 array grid fileld with random numbers I know im doing it wrong but I do not know what to do. Please Help! Heres my Code: //ArrayGrid #include <iostream> using namespace std; int main() { int total,average,smallest; int row=0; int col=0; …

Member Avatar for Glaven
0
622
Member Avatar for Zyxl

I'm about to begin developing an application that requires some basic 3D rendering, so I'm looking into C++, as this seems to be the usual language for this type of thing and I have a book to help me with this project that includes some snippets of C++ code (not …

Member Avatar for Zyxl
0
748
Member Avatar for Violet_82

Hello all, I'm trying to change the innerHtml of a div in the code behind and noticed an interesting thing. If I have this situation: aspx file: <div id="displayPanel" runat="server"> </div> C# while(reader.Read()){ ... displayPanel.InnerHtml += "<span>"+ name + " has donated £ " + donation + "</span>"; } everything …

Member Avatar for mtyide
0
3K
Member Avatar for batoolhussain

hi everyone .I have this code to convert color image to grayscale image but the problem is that the image after converting does not display on the picturebox2 . I am using visualbasic.net 2010 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim pic As Bitmap …

Member Avatar for batoolhussain
0
4K
Member Avatar for rjusman90

want to minus the quantity when click delete if cart qty is more then 1 //remove item from shopping cart if(isset($_GET["removep"]) && isset($_GET["return_url"]) && isset($_SESSION["products"])){ $product_code = $_GET["removep"]; //get the product code to remove $product_s = $_GET["removes"]; //get the product size to remove $return_url = base64_decode($_GET["return_url"]); //get return url foreach …

Member Avatar for minitauros
0
176
Member Avatar for Violet_82

Hello guys, I wonder if anybody could clarify this for me. I've created a new website (File > New > Web site) and as we all know I now have a aspx file (Default.aspx) and a aspx.cs file (Default.aspx.cs). The aspx file contains a form and when submitted, it sends …

Member Avatar for Violet_82
0
2K
Member Avatar for teekay309

A certain company wants to improve the rate at which their login system is accessed and you have been tasked to carry out this project. In this project, you will consider the problem of organizing a collection of computer user-ids and passwords. Each time a user logs in to the …

Member Avatar for JamesCherrill
-1
214
Member Avatar for filipgothic

Hello, I need help real fast for my exam matric 3x5 which will multiply with Pi Thanks in advance

Member Avatar for filipgothic
0
113
Member Avatar for numus175

hello im newbie i have a string example " i want to buy a new car " and i want to show only 3 words("i want to") from string can you help me please ? Does an example project exist for something like this? thank you

Member Avatar for diafol
0
715
Member Avatar for Mya:)

I have a huge project to do for my Gr11 PAT(Practical Assessment task) We have to create a project based on Geocaching [Click Here](http://www.geocaching.com) and I need ideas to start planning my Fase 1 - wich constructs of a basic descrption of at my program wil do. I need at …

Member Avatar for Deonas666
0
747
Member Avatar for missy_mi

I am trying to make a registration form and when submit it will save in my phpmyadmin database. this is for my register.html : <!doctype html> <html> <head> <meta charset="utf-8"> <title>Register</title> </head> <body> <form name="register" action="register_p.php" method="post"> <center><table width="900" border="0" cellspacing="0" cellpadding="0"> <center></br></br> <tr><td width="61%"><p>Full Name: <input name="Fullname" type="text" id="Fullname" …

Member Avatar for missy_mi
0
319
Member Avatar for mxwarning

Hello, I am having trouble with how my program displays the items with a $ sign. I do not want a dollar sign and I ma not sure how it got there as I did not put one in. Is there a way to get rid of the $ sign …

Member Avatar for mxwarning
0
123
Member Avatar for phfilly

Hi guys, Can anyone please help me with this simple error. Jquery is not my strongest suite but I feel like this is something small that I'm missing. With the code below I get the error 'undefined'. html: `<a href='#' ><img src= "./images/1.jpg" width= '200px' id="2" rel="arm1" onclick = 'test()' …

Member Avatar for phfilly
0
2K
Member Avatar for rayhaneh

this is my program and every time shows me this error:18 26 :: [Error] statement cannot resolve address of overloaded function:: #include <iostream> using namespace std; int pow(int a,int b); int mabna(int n, int k){ int a,b,s=0 ; for(int i=0;i!=0;i++){ s=(a%b)*pow(10,b); s+=(a/b)*b; return s;} } int main (){ int a1,a2, …

Member Avatar for Moschops
0
129
Member Avatar for razar63

Here is the code <?php session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="description" content="PHP Shopping Cart Using Sessions" /> <meta name="keywords" content="shopping cart tutorial, shopping cart, php, sessions" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" media="all" href="/style/style.css" type="text/css" /> <title>Cart</title> <?php include("header_1.php"); …

Member Avatar for matrixdevuk
0
397
Member Avatar for Jack_9

Hello. I'm running injection tests on an SQL database and I found a good script to do so....But it takes command line parameters which I can't execute properly because the command would normally look somthing like this...... python sqlmap.py -u "url.com" --batch. But I can't seem to do that because …

Member Avatar for HiHe
0
3K
Member Avatar for Pyler

Suppose I have the following class in a header file //tray.h #include <vector> #include "Eggs.h" #ifndef TRAY_H #define TRAY_H class Tray{ std::vector<Eggs> dozen; public: Tray(); ~Tray(); std::vector<Eggs> getTray() const; }; #endif And the following class file //tray.cpp #include "Tray.h" #include <string> Tray::Tray(){ } Tray::~Tray(){ } How do I initialize the …

Member Avatar for rubberman
0
259
Member Avatar for come_again

Hello, So i am trying to get a log in page to work but have run into this error: Warning: Cannot modify header information - headers already sent by (output started at .../views/header.php:15) in .../classes/login.php on line 77 I searched online and found others had this problem although I can't …

Member Avatar for come_again
0
145
Member Avatar for shahera.arafat

#include<cstdio> #include<string> #include "inventory.h" #include "node.h" #include<iostream> using namespace std ; int main (){ inventory*obj1=new inventory(); int size; int id,i; char A[100]; char S_string; cout<<"plz enter the size of the list "<<endl; cin>>size; for(i=0;i<100;i++){ cin>>S_string; A[i]=S_string; } int a=strcmp(A[i],"new"); if(a==0){ for(int j=0;j<size;j++){ cout<<"enter the id"<<endl; cin>>id; obj1->new_id(id); } } getchar(); …

Member Avatar for sepp2k
0
119
Member Avatar for terryds

First, i'd like to show you my directories --themes -- images -img1.jpg -index.php -index.php My index.php (root) : <?php require_once '/themes/index.php'; ?> And, the index.php in the template : <!DOCTYPE html> <html> <head> <title>Test</title> </head> <body> <img src="images/img1.jpg"> </body> </html> I think it will load themes>>images>>img1.jpg But, it loads images>>img1.jpg …

Member Avatar for gabrielcastillo
0
215
Member Avatar for chubbyy.putto

I trying to understand the ArrayList let say the user input in 1st Person Name : Alex Sex : M Dog Name: Java 2 Person Name: Joe Sex: M Dog Name: Is 3 Person Name: Anna Sex : F Dog Name: Fun in Arraylist how can you separate out from …

Member Avatar for zolymo
0
211
Member Avatar for come_again

hello everyone, I am having some difficulty setting up a connection to my database. I created one on godaddy but am unable to get past this one hump: Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)' in /home/badinvestor/public_html/config/connection.php:9 Stack trace: #0 …

Member Avatar for come_again
0
668
Member Avatar for osama.11
Member Avatar for osama.11
0
81
Member Avatar for zapman2003

Ok, so I have been trying to google the heck out of this thing to absolutely no avail and I'm really and truly stuck! The assignment, as posed to the class by my operating systems concepts teacher, was to start work on creating a file system. To begin with, he …

Member Avatar for sharawy
0
916
Member Avatar for zolymo

Hello. Im making an webapp using Eclipse Keppler. REQUIREMENTS: - Eclipse for Java EE (or JBoss Developer Studio 7 o 8) - JBossTools installed on eclipse - JBoss Aplication Server 7.1.1 (not eap) - MySQL connector J 5.33 Structure of project: i use this package structure - persistence and ejbdao …

0
89
Member Avatar for kidkardel

hi can u guys help me find what is my error in my line. cmd.CommandText = "SELECT * FROM TblLogin where Username='"+ usr_lgn.Text +"'and Password = '" + pswr_lgn.Text + "'where STAFFSTATUS="+"ACTIVE"+""; im having an error saying incorrect syntax near the word where. thank u

Member Avatar for vijay.soni
0
124
Member Avatar for samuel1991

Hi all, actually I have a requirement to remove all non letter character. (Numbers, Punctuation, symbols, non printing characters etc.) string.punctuation does a good job, but it does NOT remove any non English punctuation (Like '。' which is a full stop in Chinese) So I come accross such code: import …

Member Avatar for Gribouillis
0
324
Member Avatar for BibhutiAlmighty

Hi, I want to make a simple application which adds textBoxes when a button is pressed. My friend suggested me to make a List of text Boxes and add a textBox each time the button is pressed but i didn't get it. please help. Thanks in advance.

Member Avatar for Santanu.Das
0
96
Member Avatar for shahera.arafat

hii everyone :)) I want to write a prog. that the user can enter e.g (new 1112236) in the black screen ,, then the prog. should go to the (new)func. and create a new node with that ID ..soo how can I split the strings ?and how can I define …

Member Avatar for tinstaafl
0
142
Member Avatar for Papa_Don

Group, I'm trying to write some code that will read the clocktime. When it hits a predetermined time, I want it to run a routine. I know how to do this in VB.net. It would be done like this: Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs) Handles Timer1.Tick If …

Member Avatar for Santanu.Das
0
3K
Member Avatar for BibhutiAlmighty

Hello, I'm trying to make an application with multiple forms. When a button is pressed 1st form hides and 2nd form opens. I have a combo Box on the first form. I want to get the text of that combo Box and show it in 2nd form. I tried it …

Member Avatar for Santanu.Das
0
234
Member Avatar for sammry

This is a SMS DLR application from http://www.smsgatewaycenter.com which is sent by them to my client's url and I need to configure for my client the same from my client's url to his reseller's url. This script uses every 1 hour to post data to my client's reseller/customer. So, it …

Member Avatar for Isaac_4
0
2K
Member Avatar for berserk

I was using this code before and it worked but then i updated my code base to php 5.3 and now it doesnt work anymore. I have looked over the logic time and time again and it should work fine, what am i doing wrong, or am i using deprecated …

Member Avatar for berserk
0
348
Member Avatar for grakovski

Link for API: [Click Here](http://api.uptimerobot.com/getMonitors?apiKey=u118216-ae6b502f1b3f6d272d0f9437&logs=1&alertContacts=1&responseTimes=1&responseTimesAverage=180&format=json) I want to get datetime and type parameters i try to but i get: Notice: Trying to get property of non-object Here is my try t $api_key = "apikey here"; $server = "http://api.uptimerobot.com/getMonitors?apiKey=$api_key&logs=1&alertContacts=1&responseTimes=1&responseTimesAverage=180&format=json"; $server2 = file_get_contents($server); $obj = @json_decode($server2); $cc = $alert->datetime; echo $cc; its …

Member Avatar for Isaac_4
0
388
Member Avatar for bustamorg

I have been working on this program for a few days and have most of it working, the only issue that I am having is when a word has multiple iterations pf the same letter. I need the program to print out all the letters that are the same when …

Member Avatar for bustamorg
0
235

The End.