64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Jack_9

Is C++ worth learning for webapps? I know python and it works well, so would it even be worth it to learn c++?

Member Avatar for Jack_9
0
161
Member Avatar for PerplexedB

I have this control on my (wpf)form Status <TextBlock x:Name="Status" HorizontalAlignment="Left" Margin="138,0,0,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top" Grid.ColumnSpan="3" Height="67" Width="577" Grid.Row="1" IsHyphenationEnabled="True" UseLayoutRounding="False"/> It seems that just setting Status.Text=someValue from within a click event does not refresh until the event is completed. How can this be done (in C#) if one wants …

Member Avatar for ddanbe
0
148
Member Avatar for raminshahab

Array ( [data] => Array ( [0] => Array ( [ucsfeduworkingdepartmentname] => Array ( [0] => ITS ) [telephonenumber] => Array ( [0] => +1 415 502-7575 ) [ucsfeduprofilenodeid] => Array ( [0] => 39487740 ) [displayname] => Array ( [0] => Kevin Dale ) [postaladdress] => Array ( [0] …

Member Avatar for raminshahab
0
241
Member Avatar for lionaneesh

**Introduction** Hi guyz today I am going to writing a tutorial on dictionaries in Python....As per as getting comments from my readers I'll try to make this tutorial short.... **Layout** 1.What are dictionaries? 2.Why dictionaries? 3.How to declare/make dictionaries in Python? 4.What all you can do with a dictionary? 5.Interesting …

Member Avatar for vegaseat
0
668
Member Avatar for rjusman90

want to hide insert and edit form while show all date and if we do edit/insert hide date which are showing this is my code i am the beginer so i want your help <?php include 'header.php';//caling header if(empty($_SESSION['UserName'])){ header("Location: login.php"); exit;} $start=0; $limit=10; $page=''; $tbl_name="users"; $targetpage = "users.php"; //your …

Member Avatar for iamthwee
0
259
Member Avatar for RikTelner

Is there possibility to select every table-cell, image and text within ID? I plan to make them all smaller using `.animate();` problem with it, I need to select all these elements first without manually doing it (it has to automatized) process.

Member Avatar for JorgeM
0
119
Member Avatar for ih8bugz

I am starting a nonprofit for disabled veterans. The idea is to provide computers, training, and social interaction for disabled veterans who have limited resources for social interaction due to disability. I will be setting up a website for the business and want to have the following features; Individual user …

Member Avatar for JorgeM
0
101
Member Avatar for dimi231080

hello,i have one application in vb net where i have 2 datetimepickers and one button and one datagrid. When i press the button a sub is called(below) and it is supposed to take the datetimepicker1.text and datetimepicker2.text and display the existinf records between these dates .The column that stores the …

Member Avatar for dimi231080
0
5K
Member Avatar for davy_yg

Hello, I wonder why the date comparison does not work: SELECT * FROM class_list INNER JOIN student ON class_list.student_id = student.student_id INNER JOIN teacher ON class_list.teach_id = teacher.teach_id INNER JOIN class ON class_list.class_id = class.class_id WHERE datetime > date('Y-m-d H:i:s') ORDER BY class_list_id date('Y-m-d H:i:s') --> 2014-08-11 08:32:08 datetime --> …

Member Avatar for davy_yg
0
121
Member Avatar for cgull

Hello, I've just started learning codeigniter and struggling with ajax calls. Found a few tutorials but can't understand how to do what I want. I have a home_view with links, and when I click on a link I want it to fetch data from the database with the given id. …

Member Avatar for cereal
0
2K
Member Avatar for xuexue

Hi! These are the basic things I know about iDB2Commands to be used in Visual Studio 2010. Could you please help me how could I extract data from DB2? I know `INSERT`, `DELETE` and Record Count. But `SELECT` or Extract Data and `UPDATE` I don't know. Imports IBM.Data.DB2 Imports IBM.Data.DB2.iSeries …

Member Avatar for xuexue
0
1K
Member Avatar for berserk

i dont underdstand whats wrong with this mainly cause it worked yesterday and now its decided not to work, i changed all that i could think of back to see what caused the issue but nothing, maybe there is a small logic error somewhere and im just not seeing it, …

Member Avatar for MusiqQueen
0
252
Member Avatar for Jack_9

Personally I think Python is better then ruby because it runs on the Django framwork and it can do more. But I wanted some debate from ruby devs so bring it on!!

Member Avatar for OrionBlastar
-2
530
Member Avatar for frnds2vivek

Hi, I just completed a project in VB6. It was running smoothly when I tested it on my console, i.e. development PC. Then, I created a setup file of it using the InstallShield Wizard and tried to run it on a fresh test PC. The setup completed successfully but when …

Member Avatar for OrionBlastar
0
8K
Member Avatar for aseel_1

Hi all ; please help me what is the expected problem in this code ??! function SearchGrid($query,$updateOk=FALSE,$DeleteOk=FALSE) { $tbl.="<script> var prev=1; function HighLightRow(rowno){ if (rowno%2==0) tblsearch.rows[prev].bgcolor='#66FF99'; else tblsearch.rows[prev].bgcolor='#CCCC99'; tblsearch.rows[rowno].bgcolor='white'; prev=rowno; } </script> "; $result=mysql_query($query); $tbl.="<table id=tblsearch align =center border=0 > <tr bgcolor=gray>"; $RowNum =mysql_num_fields($result); //name of field :) .... for($col=0;$col<$RowNum;$col++) …

Member Avatar for iamthwee
0
202
Member Avatar for ultmt.punisher

I am trying to check only selected domain extensions using check-box but it check all domain extensions existing in array. here is what I am trying. $name_domain = trim($_POST['domain_name']).$_POST['suffix']; $domains = array( ($name_domain) ? trim($_POST['domain_name']).$_POST['suffix'] : '', (isset($_POST['_org'])) ? trim($_POST['domain_name']).'.org' : trim($_POST['domain_name']).$_POST['_org'], (isset($_POST['_net'])) ? trim($_POST['domain_name']).'.net' : trim($_POST['domain_name']).$_POST['_net'], (isset($_POST['_biz'])) ? trim($_POST['domain_name']).'.biz' …

Member Avatar for cereal
0
494
Member Avatar for berserk

I cannot get the login to work right, everytime i change anything little thing it stops working all together which is unacceptable. So far i have the login reading from the admin table i created, this is good but the issue is my passwords are not being read as case …

Member Avatar for berserk
0
288
Member Avatar for gbhs

I have created a workbook using VB.net and I need to Hide all columns to the right of Column K in all worksheets. To hide column K alone I can do Worksheet.Range("K:K", missing).EntireColumn.Hidden = true How can I hide column K and ALL the columns to the right of column …

Member Avatar for gbhs
0
4K
Member Avatar for accra

Is there another function for creating php sockets apart from this socket_create(AF_INET, SOCK_STREAM, SOL_TCP); ? Really need to know, thanks.

Member Avatar for accra
0
123
Member Avatar for Kris_3

So I just started using the Goto command and I have some trouble with it. I will post my code and explain the problem. cout<<"So here we are at your first choice."<<endl; cout<<"-Do you 'stand' there and TRY to get me out of your head..."<<endl; cout<<"Or do you 'follow' the …

Member Avatar for mike_2000_17
0
204
Member Avatar for RikTelner

http://stackoverflow.com/questions/5846/add-1-to-a-field Didn't really work. My script looks as follows: <?php if (isset($_GET["id"]) && isset($_GET["char"])) { $id = $_GET["id"]; $char = $_GET["char"]; $result = mysql_query("SELECT * FROM battles WHERE id='$id'"); if ($char == "1") { $bool = "first_char_votecount"; while($row = mysql_fetch_array($result)) { $mincemeat = 1 + $row["first_char_votecount"]; } } elseif ($char …

Member Avatar for RikTelner
0
292
Member Avatar for Jack_9

Why learn Pascal or delphi? They are both old and not used much. So why learn them instead of a more popular language like Java?

Member Avatar for Jack_10
0
222
Member Avatar for sokborey.chea

Hi, why use with table error? if not use witn table are normal... can u help ??? <form method="post" action="page.php"> <table> <tr> <td>Select</td> <td> <select name="people" id="people"> <?php if($_POST['submitted'] == true){ ?> <option value="<?php echo $_POST['people']; ?>" selected="selected"><?php echo $_POST['people']; ?></option> <?php }else{ ?> <option value=""> -- select -- </option> …

Member Avatar for sokborey.chea
0
228
Member Avatar for silent lover

i try to get comment count from a blog post use blog feed. i want to get number inside <slash:comments>0</slash:comments> i use this syntax but did not work: <?php $feed = file_get_contents("http://www.trenologi.com/feed/"); $xml = new SimpleXmlElement($feed); foreach($xml->channel->item as $entry) { $comment = mysql_real_escape_string("$entry->slash:comments"); echo "$comment"; } ?> i think the …

Member Avatar for matrixdevuk
0
437
Member Avatar for gua543

I have no errors when public static void main(String[] args) is not in the program, but when I put it in everything becomes a mess. package classexample; public class ClassExample { public static void main(String[] args) { int Power = 0; int Speed = 0; int TraveledDistance = 0; void …

Member Avatar for gua543
0
439
Member Avatar for nathan.pavlovsky

Is it poor convention to create a c++ file only to store various functions, and then include it into the main.cpp? This would be done so that the functions could be used in different programs as well.

Member Avatar for nathan.pavlovsky
0
473
Member Avatar for Kris_3

Hi guys so I am still learning and there might be an easier way to do thing than how i do them but still i need some help. So I was thinking of making a program in which it asks you a question , lets say Yes/No question and you …

Member Avatar for Kris_3
0
134
Member Avatar for mc3330418

This i sdriving me nuts and I know there should be an easy answer. Here is the php $sql4 = 'select tranamt, tracct from bd.bdptran where bd.bdptran.trnum = 105 '; $result4 = db2_exec($conn, $sql4); while($row4 = db2_fetch_array($result4)) { echo $row4[0] ."<br />"; echo $row4[1] ."<br />"; } I get the …

Member Avatar for mc3330418
0
171
Member Avatar for aluhnev

class Animal { string _name; string _type; string _sound; // private constructor prevents construction of base class Animal(){}; protected: // protected constructor for use by derived classes Animal(const string & n, const string & t, const string & s) : _name(n), _type(t), _sound(s) {} public: void speak() const; const string …

Member Avatar for NathanOliver
0
225
Member Avatar for Jsplinter

I do not understand what the following code does: enum testEnum: unsigned char { FOO_ENUM, BAR_ENUM }; unsigned char sideFilter1 = 1 << FOO_ENUM; unsigned char sideFilter2 = (1 << FOO_ENUM) | (1 << BAR_ENUM);

Member Avatar for NathanOliver
0
184
Member Avatar for amithunter

Actually i am confused with concept of database conectivity in c++ with any traditional Dbase server is it possible if yes then how....pls help Thanks for the help in advance

Member Avatar for rubberman
0
208
Member Avatar for amithunter

Please help me to create a automaticcaly executable file in c .when cpu boot up it should automatically execute once. Thanks for the help

Member Avatar for amithunter
0
167
Member Avatar for mexabet

I have some data in a MySQL table, and I want to use them to populate form fields, so the site's admin can edit them. This is what I have so far in modify.php, but it's not working: <?php // configuration require("../../includes/config.php"); // query users table to retrieve admin homepage's …

Member Avatar for mexabet
0
6K
Member Avatar for Nebil

Hi, I've got a little issue with a progress bar.I have a label and the progress bar on a form.I've some calculation to be performed and then stored to the database.I wanted to show the progress of this process to the user.The calculation process is on another form.when the process …

Member Avatar for Nebil
0
364
Member Avatar for malatamil

after login if i click logout (logout.php) its nor redirecting to login page. its stuck in logout.php page. logout.php <?php session_start(); session_destroy(); if(!$_SESSION['username']){ header("Location: login.php"); } ?> index.php <?php include("config.php"); session_start(); $usern = $_SESSION['username']; //if(!isset($_SESSION['sess_user_id']) || (trim($_SESSION['sess_user_id']) == '')) { if(!$_SESSION['username']){ header("location:login.php"); } ?> <div class="cssmenu"> <ul> <?php if($usern){ ?> …

Member Avatar for malatamil
0
229
Member Avatar for Web_2

I have two radio button that are value 0 and 1 stored in mysql database after that i want to enable(when value is =1) or disable(when value is =0) button. i new to php please give me code for that some thing like that... <input type="submit" ... <?php&nbs p;if (/* …

Member Avatar for Web_2
0
6K
Member Avatar for berserk

I need help adding new users to a table i have made for an admin that can add or delete users from said table freely. What i have so far is an entry that can add date and time but for some reason it doesnt add the username and password. …

Member Avatar for berserk
0
663
Member Avatar for xuexue

Hi! I have no problem when trying to execute and `insert` or a `delete` SQL Command. However, this `update` command does not seems to work well and I am having a hard time to figure it out. Kindly help me please. I am using an i Series or AS/400 database. …

Member Avatar for cgeier
0
509
Member Avatar for gaurav12
Member Avatar for cereal
0
95
Member Avatar for Kris_3

Hey guys. So I have made a little project but I want to give it to a friend to test it out. I am using Code::Blocks and I want to save the file so that when you click it it comes out like the window I get when I run …

Member Avatar for Kris_3
0
128
Member Avatar for Pravinrasal

Following is my program i need to add scroll to jframe and I have paint method in it package other; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Container; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.ScrollPane; import java.awt.Stroke; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.geom.Line2D; import javax.swing.*; public class MainDrawCycle extends JPanel implements ActionListener { …

Member Avatar for Pramodkumar_1
0
7K
Member Avatar for Kris_3

Hi guys , so I just started learning C++ so I am trying to do something but id does not turn out quite how I want it to be. So my idea is to create a text game and I'm at the very beggining and I have a lot of …

Member Avatar for Kris_3
0
223
Member Avatar for Slavi

In the past couple of days, I've been practicing with JavaFX and I made myself an app, which I am planning to use in the future. It is supposed to keep track of web pages and the passwords I use for them, usernames as well of course. The program itself …

Member Avatar for Slavi
0
246
Member Avatar for Slavi

Please before you answer NOTE , I am not trying to implement a keylogger, this is just a QUESTION. So, It just randomly happened that I started thinking about this and I figured that in java if you want to have a keyEventListener the key should be entered in a …

Member Avatar for Slavi
0
295
Member Avatar for Agouri

Hello gentelemen, I'm sure many of you are experiencing what I am experiencing right now. I'm halfway into Christmas break, back at my parents', with the paperbacks I brought along depleted, the roguelike I downloaded unable to start after an OS upgrade and literally nothing else to do for the …

Member Avatar for BeautyBeast
0
784
Member Avatar for Priti_P

Hello, I have created text fields <fieldset class="step"> <p> <label for="Certifications">Certifications:</label><br> <label style="margin-left: -125px !important;"> <div id='test_certify' style="display:table;"> <table id="mytable" width="5%"> <tbody> <tr> <td align='middle'>Certification Name</td> <td>Pass Out Year</td> </tr> <? $tr_id=1; ?> <tr id=<?echo $tr_id; ?> > <td> <? echo CHtml::activeTextField(EmpCertificates::model(),'Name',array('id'=>'C_name-'.$tr_id,)); ?> <td> <td> <input for date> </td> </tr> …

Member Avatar for Airshow
0
153
Member Avatar for sGirl123

I want to split sentence that has + I code this: String[]s; String a; s=a.split("+"); but it throw this exeption: Exception in thread "main" java.util.regex.PatternSyntaxException: Dangling meta character '+' near index 0 what should I do?? thanks

Member Avatar for sGirl123
0
142
Member Avatar for RonKevinT.Manuela

SO i WAS TESTING my code..and it doesnt seem to work...here it is <?php require_once('../includes/config.php'); if ($_Session['roleID']=1) { echo "admin"; } elseif ($_Session['roleID']=2) { echo "faculty"; } ?>

Member Avatar for RonKevinT.Manuela
0
812
Member Avatar for dhani09

I''m trying to process a form without page reload using jQuery post as shown below: <script type="text/javascript"> $('#settingsForm').submit( function(){ $('input[type=submit]', this).attr('disabled', 'disabled ');}); function scheck(){ var oldanswer = $("#oldanswer"); var newquestion = $("#newquestion"); var newanswer = $("#newanswer"); var url = "settingsupdate.php"; //This part of the code works fine. Errors are …

Member Avatar for dhani09
0
274
Member Avatar for RonKevinT.Manuela

hello masters, I have a problem regarding limiting the pages a certain user can access..in my case, i have added a roleID to my members table... here is the original code first <h1>Welcome SICS Admin!</h1> <ul id='adminmenu'> <li><a href='index.php'>Modify News Archive</a></li> <li><a href='categories.php'>Categories</a></li> <li><a href='users.php'>Faculty</a></li> <li><a href="../" target="_blank">Department Website</a></li> <li><a …

Member Avatar for ehpratah
0
233

The End.