64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Dudestreet

Hi Team, So I am working on this project where I have 5 comboboxes that loads data from an .accdb file and Displays the result as per selection in a Text Box. I need to add Timers(as many as Required) to capture the Text-Box Data **"10 seconds After"** the fifth …

Member Avatar for Reverend Jim
0
222
Member Avatar for ryannnnn

**Read title.** username = base64.b64encode(username)+'\n' This is what I thought would have worked, but it comes up with an error, "TypeError: can't concat bytes to str", meaning that I cannot add +'\n' to the end of the code. If there is anyway anyone knows how to write the byte of …

Member Avatar for vegaseat
0
310
Member Avatar for J.C. SolvoTerra

Hi WebDev Guys, Ok, I have a very general question as the title suggests. I am very much a back-end developer and have only dabbled in web development. I would consider myself a total ammature when it comes to Web Development though am confident after playing with PHP, JavaScript, JQuery, …

Member Avatar for J.C. SolvoTerra
0
208
Member Avatar for castajiz_2

I would like my app to go to another page when i slide it horizontaly. I don't know the appropriate name of such an action and therefore am not able to find any refference on google. Can anyone point out the keyword that I missing and give some links for …

Member Avatar for castajiz_2
0
239
Member Avatar for ajdauda

I want to show a specific color based on the value i get from the Json response. i.e. if the temp = any number between 1 and 15 it will show a blue box below and... if the temp = any number between 16 and 25 it will show a …

Member Avatar for LesF
0
694
Member Avatar for Waldis_1

I am adding data to a table in MS Access (2010 Version) from VB 2010 (using INSERT INTO statement) but when I exit the database and enter again the records are lost. Is there any known condition that causes that loss?. Thans in advance.

Member Avatar for Santanu.Das
0
371
Member Avatar for Waldis_1

When one is out of practice easy becomes difficult. In this function I want to count the records with icliente status "pendiente" as criteria so we know if customer has a pending loan, but the function returns 0. What's wrong in the function? Public Function prestamospendientes() MsgBox(Me.txtid.Text) Me.Refresh() Dim prestamopendiente …

Member Avatar for Waldis_1
0
137
Member Avatar for Jack_9

Hello. I'm preety new to php and web development and I've written a large scale development using php and I want to be able to work on it on my windows machine. But does anyone know of an istallation so I can just straight up run php scripts on windows??? …

Member Avatar for Jack_9
0
193
Member Avatar for aluhnev

int Cabin (int n); int _tmain(int argc, _TCHAR* argv[]) { cout << Cabin(8) << endl; return 0; } int Cabin (int n) { if (n == 1) return 0; else return Cabin(n/2) + 1; } Hi ,can someone explain why is the answer 3 here:if to folow the formula the …

Member Avatar for aluhnev
0
265
Member Avatar for tgreiner

I have written some code that contains a system to report error messages to error log file. I use a class structure to do this. However, some parts of the code contain functions that I think might be useful in a more generic context. So, I am trying to use …

Member Avatar for tgreiner
0
172
Member Avatar for aluhnev

//Hi Lads.This is my first attempt to create template functions. //Here is the main ,which needed to create Locate.h file/header and //in that Locate.h create templates to support the main. //If the value does not exist in the array, -1 is returned. // Templates.cpp : Defines the entry point for …

Member Avatar for aluhnev
0
195
Member Avatar for al2henry

http://www.conservancyonmayne.com Each main page of this site (other than "index.html") has had its main dropdown menus display via a php include statement - example www.conservancyonmayne.com/talks&walks.php - I have recently added a jslider sequence that appears below this main menu. The problem: when the full dropdown "content" is on the page …

Member Avatar for al2henry
0
198
Member Avatar for krishna bharath

give a grammar and example of if statement for each of the following languages: a)perl, b)python

Member Avatar for HiHe
-2
350
Member Avatar for Slavi

Hey guys, I am facing a problem with one of my homeworks, it states: The various analyses implemented in the program analysis module will make use of a number of general data structures and algorithms and in this exercise we shall focus on those. The parser provides a representation of …

Member Avatar for Slavi
0
204
Member Avatar for Jake.20

Greetings pros :D. I am having problem with creating a directory on my linux server. When i download a file it display that error. (I migrated my php project from windows to linux using WinSCP.)

Member Avatar for Jake.20
0
1K
Member Avatar for koneill

All, I'm trying to pass a hidden value into my php mail script - the img1 isn't displaying - in the e-mail it's coming across with just http://www.mysite.com/custom_clock/sills/ and not the img1 value The html form is here: <form name="customemail" action="mail.php" onsubmit="return SubMail_Validator(this)" method="POST"> <b>E-mail</b><br/> <input type="text" name="from" size="25"><br> <input …

Member Avatar for koneill
0
347
Member Avatar for HuePig

Hi, to my understanding, `isset()` checks is the variable exist and have a value. But when I try the code below, _randNum() keeps on getting new values when it should already have a value because it already exist and have a value. <?php session_start(); if(!isset($_randNum)){ //Check if the variable dont …

Member Avatar for hericles
0
479
Member Avatar for StephenopolousINC

Hello I am trying to learn the differences from Java and JavaScript so I am trying to take a working simple program in Java and make it work in JavaScript. I keep getting undefined. Here is the JavaScript I am trying: <script type="text/javascript"> function _(x) { return document.getElementById(x); } function …

Member Avatar for StephenopolousINC
0
343
Member Avatar for Shofahi

Hello! I want to make an array[4][4] board and print two random characters("*" and "-" ) on it. Can you please help me? Thanks in advance.

Member Avatar for Shofahi
0
80
Member Avatar for somjit{}

The below post is just something i thought of contributing here for young( or old ) members starting out in C. In (effectively) 3 lines of code , i hope to give an intro about pointer arithmetic and how endian-ness in windows affects the output. #include<stdio.h> int main(void){ int a …

Member Avatar for somjit{}
0
429
Member Avatar for kidkardel

hi its me again, i have this scenario where i need to search my datagridview using the textbox i have, i have tried copying other sites but what it gives me is errors, new columns and more errors, my codes goes like this for loading my datas from the database …

Member Avatar for ddanbe
0
366
Member Avatar for dannie.duxug.5
Member Avatar for nicole.c.quintana.3
0
83
Member Avatar for gajen007

Gentlemen, I have a problem in entering a "DATE" in to MySQL table via a Java SWING interface. I used 'jdatepicker' to select a date & I use XAMPP server for MySQL database. Earlier I converted the selected date in to String values & feed as VARCHAR in mysql table. …

0
107
Member Avatar for RonKevinT.Manuela

So basically, I want to require the user to select from the checkbox Here is addpost.php <form action='' method='post'> <p><label>Title</label><br /> <input class= "form-control" type='text' name='postTitle' value='<?php if(isset($error)){ echo $_POST['postTitle'];}?>'></p> <p><label>Description</label><br /> <textarea name='postDesc' cols='60' rows='10'><?php if(isset($error)){ echo $_POST['postDesc'];}?></textarea></p> <p><label>Content</label><br /> <textarea name='postCont' cols='60' rows='10'><?php if(isset($error)){ echo $_POST['postCont'];}?></textarea></p> <!--For textarea's …

0
104
Member Avatar for surya55

Hi all, consider below code: public class Bertha { static String s = ""; public static void main(String[] args) { int x=4; Boolean y = true; short[] sa = {1,2,3}; doStuff(x,y); doStuff(x); doStuff(sa,sa); System.out.println(s); } static void doStuff(Object o){ s += "1"; } static void doStuff(Object... o){ s += "2"; …

Member Avatar for JamesCherrill
0
283
Member Avatar for kidkardel

Hello again, I am creating a Datagridview with 3 columns, product_id, product_name and quantity. but in my database i have 4 columns namely prod_id, prod_name, quantity and item_status. What i want to do is , if my item_status is texted "PHASE OUT" or "INACTIVE", i will skip that row while …

Member Avatar for Santanu.Das
0
273
Member Avatar for Maredi

Using strictly pointer data type, write a modular C++ program that makes use of a single function called convert() to sort two integer numbers passed to it as arguments, exchanging them if the first is smaller than the second (Descending order). Example: if the function is called in main() as …

Member Avatar for mobashir20
-1
142
Member Avatar for chubbyy.putto

Hello, Everything in code when well there is a small problem on display output: when I run the file this is the output i got 69 6E 74 20 6D 61 69 6E 20 28 29 20 7B 7D 0A my teacher have 0000 : 69 6E 74 20 6D …

Member Avatar for chubbyy.putto
0
337
Member Avatar for jjones0150

I need a form that accepts scores from the user, displays the total, count, and average of the scores, and displays a dialog box that lists the scores. Operation The user enters a score. If the user clicks the Add button or presses the Enter key the application calculates and …

Member Avatar for jjones0150
0
810
Member Avatar for RikTelner

Hey, is there a magical way to shorten variables in Visual C# as in PHP? For example in place of `$user_nickname`, `$user_email`, `$user_rank`. They could use `$user["nickname"]`, `$user["email"];`, `$user["rank"]`. Now if you ask me, I think the second row looks much more organized. Is such thing possible in C#? I …

Member Avatar for ddanbe
0
231
Member Avatar for lilita

setDirty(); SaveFileDialog saveFileDialog1 = new SaveFileDialog(); saveFileDialog1.Title = ""; saveFileDialog1.OverwritePrompt = true; var dialogResult = saveFileDialog1.ShowDialog(); if (dialogResult == DialogResult.OK) { StringBuilder sb = new StringBuilder(); sb.AppendFormat("CheckLoggin = {0}", chkLoggin.Checked).AppendLine(); sb.AppendFormat("LogFilePath = {0}", txtFilePath.Text).AppendLine(); sb.AppendFormat("NumberOfThreads = {0}", txtNumOfThreads.Text).AppendLine(); File.WriteAllText(saveFileDialog1.FileName, sb.ToString()); saveFileDialog1.Close(); } }

Member Avatar for ChrisHunter
0
163
Member Avatar for jayesh somi
Member Avatar for Dani

How can I catch and log PHP fatal errors in CodeIgniter? if (defined('ENVIRONMENT')) { switch (ENVIRONMENT) { case 'development': error_reporting(E_ALL); ini_set('display_errors', '1'); break; case 'testing': case 'production': error_reporting(0); break; default: exit('The application environment is not set correctly.'); } } When environment is set to production and there's a fatal error, …

Member Avatar for Dani
0
264
Member Avatar for nadiam

hello. i got this error and i have no idea why or what is going on. could someone explain in layman's term please and help me out. > Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'event_id' cannot be null' in /home/dhsbnet/public_html/ems/add_guest.php:36 Stack trace: #0 …

Member Avatar for nadiam
0
1K
Member Avatar for codephp

Here is the code. I am trying to hi-lite rows that are generated that have a value of "Y" for column AA_letter_recd in yellow, the rows . The ones that have a value of "N" are not to be high-lited in yellow. Thanks. <?php /*Main Store Index */ // Script …

Member Avatar for codephp
0
289
Member Avatar for jjones0150

Create a form that accepts scores from the user, displays the total, count, and average of the scores, and displays a dialog box that lists the scores.This application should check the number entered by the user to make sure it is a valid integer from 0 to 100. If a …

Member Avatar for jjones0150
0
3K
Member Avatar for kidkardel

Good day/night to all; As the title says, its really troublesome. Lets say i have form1 and form2 i want form1 to hide while form2 shows, what i do is get a button and use this code: Form2 trials = new Form2(); trials.Show(); this.Hide(); this will hide form1 and show …

Member Avatar for kidkardel
0
156
Member Avatar for shaziya

cut_list We have to use a cut_list by writing a function called cutlist that "cuts" a list. Whwew a list and an index is given, and returns a copy of the list, but the items before and after the index is swapped, but what i dont get is it should …

Member Avatar for vegaseat
0
163
Member Avatar for VasquezPL

I have a problem My program has 2 form 1: form1 - main form 2: form3 - history browser - to load ariables from "database" (simple csv file) into form1 (Main) controls.. form3 should load and pass variables to form1 controls.text I have only problem with ckheckedListBox in form3 - …

Member Avatar for VasquezPL
0
243
Member Avatar for Santanu.Das

I am new in MySQL. I do not about model and how can I store data in the tables created in amodel.

Member Avatar for Santanu.Das
0
125
Member Avatar for Ashveen96

Hey! I'm trying to connect my backend (Ms Access) to the front end (VB.NET 2010). I'm trying to retrieve data and I get these errors. I have two problems: 1. For i = 0 To dt.Rows.Count - 1 when typed the above code in the load form I get the …

Member Avatar for Ashveen96
0
347
Member Avatar for Ghost0s

IF we send a huge different type of data(image,videos and music) for example through a network it will physically represented as bits 10101010 the question is how the device that will receive the data will know the bits that represent each type or lets say how it will decrypt that

Member Avatar for taichichuan
-1
182
Member Avatar for sbaw

I am using Python 2.7.8. I installed the following: py2exe-0.6.9.win32-py2.7.exe and pywinusb-0.3.3 I have a script that I am trying to run. When I do I get the following error: C:\Python27\MyScripts\VMS\Python_Firmware_Upgrader-4_00_02\Python_Firmware_Upgrader\python-msp430-tools\win32>python ./setup-combined-tools py2exe.py changed directory to C:\Python27\MyScripts\VMS\Python_Firmware_Upgrader-4_00_02\Python_Firmware_Upgrader\python-msp430-tools running py2exe *** searching for required modules *** Traceback (most recent call last): …

Member Avatar for sbaw
0
1K
Member Avatar for NightOwl19

Heya guys, i'm a newbie at java gui and trying to make a calculator using swing. Although i have made the calculator previously but this time i'm trying to add a menu bar also. The problem with the code is whenever i try to add menu bar without making the …

Member Avatar for NightOwl19
0
150
Member Avatar for jarleking

hi there people i got a prob with my code in my problem i got a matrix and i need to find the even number or numbers on that matrix (12x30) (by the way is the even minimun or minimums), so here is my function "tempeven" part., the actual issue …

Member Avatar for jarleking
0
110
Member Avatar for tapiwa.matombo

in response to an inclass exercise where the following question was possed: write a program using structures, which will capture a list of 10 movies, the data members should be title and year. the problem is the program is not capturing all the details and is printing unintelligible information. what …

Member Avatar for Banfa
0
154
Member Avatar for tarmer

I am not looking for anybody to do the work for me - I have a questions I am trying to get answered as I go thru trying to learn - I am ahead of myself but am looking to the future I am looking to create a soccer simultor …

Member Avatar for vegaseat
0
195
Member Avatar for Santanu.Das
Member Avatar for cereal
0
121
Member Avatar for Szabi Zsoldos

Hi guys, Trying to develop a custom facet like search in Mysql. I have 3 tables for this: 1.Attribute class 2.Attribute class Name 3.Attribute class Value - attributeClassName Id - productId 4.Products Each product has one attribute class Each attribute class has many values Each value is contained in a …

Member Avatar for Szabi Zsoldos
0
207
Member Avatar for OnEaglesWingsjf

What's wrong with: def project_to_distance(point_x, point_y, distance): dist_to_origin = math.square_root(point_x ** 2 + point_y ** 2) scale = distance / dist_to_origin temp1= point_x * scale temp2= point_y * scale print temp1, temp2 print project_to_distance(2, 7, 4)

Member Avatar for HiHe
0
127

The End.