199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ujjwale

I want to learn a programming(software developing) language which is easy!!! * I want to know which one is the **easiest** and where do i learn it from? I will be thankfull if you guys can help me out!!!

Member Avatar for bCubed
0
318
Member Avatar for furalise

Hello I am having some trouble with something. As I read the contents of a file into an ifstream object I occassionally want to dump all its contents into a stringstream to analyse it. Example below. The problem I am having is that if I use ifstream.rdbuf() to dumpt the …

Member Avatar for furalise
0
5K
Member Avatar for Xecantur

Having a hard time trying to wrap my head around why my grid system fails, I'm assuming my train of thought is stuck at the moment(akin to writers block). My understanding of grids is while the current cell isn't the last one in the column/row(w/e is horizontal) /*do stuff*/ then …

Member Avatar for Xecantur
0
329
Member Avatar for Siberian

The following code, use to work, now it's not ? $("<selector>").animate({bottom:'-1200'}), -1300, 'easeOutBounce'); });

Member Avatar for Siberian
0
260
Member Avatar for nhrnjic6

Is it possible to stop the lets say for loop with a function : for(int i = 0;i<15;i++){ cin >> input; obj.add(input); } // and then have some add or some other function that checks if (x == max_size) check(){ if(counter == max_size) stop the foor loop and continue.. }

Member Avatar for Xecantur
0
145
Member Avatar for berserk

I cant seem to get this login form to work right I have the login form come up and i can use it to get to the form.php page that i try to access but my problem is that its not verifying any login information, it just goes on through …

Member Avatar for berserk
0
506
Member Avatar for Jjajangmyeon

This is driving me nuts. I'm writing a password program that reads from .txt file into an array of char arrays, and then allows the user to write a new password and then appends it to the end of the list. Everything SEEMS to be working except everytime I run …

Member Avatar for Jjajangmyeon
0
203
Member Avatar for cambalinho

i'm build a completed new code for properties: #include <iostream> #include <functional> using namespace std; template <typename T> class property { private: T PropertyValue; //i think these is ok, but something seems not std::function<T(void)> getf; std::function<void(T)> setf; public: property() { getf=NULL; setf=NULL; }; property(T value) { PropertyValue=value; }; property(std::function<void(void)> GetFunction=NULL,std::function<T(void)> …

Member Avatar for cambalinho
0
402
Member Avatar for nutandevjoshi

am using XML RPC for webservices on localhost using simple example, but i got above error . //Client.php <html> <head> <title>XML-RPC PHP Demo</title> </head> <body> <h1>XML-RPC PHP Demo</h1> <?php include 'xmlrpc.inc'; // Make an object to represent our server. $server = new xmlrpc_client('http://localhost:81/xmlrpcDemo/sample.php'); // Send a message to the server. …

Member Avatar for nutandevjoshi
0
4K
Member Avatar for dsimonovski1

Hey. So I have a flowlayoutpanel populated with custom user controls. Now, after each fifth control I want to have a separation label, pushing the following controls in a new row. That works fine, except the distance between the label and the controls in the new row is way longer …

Member Avatar for dsimonovski1
0
257
Member Avatar for Raik.48

Is making font size bigger or smaller possible in C programs? If yes, what should I do? I am a beginner in C and have been using Turbo-C++ for programming. Thanks.

Member Avatar for Abinaya_3
0
575
Member Avatar for missy_mi

Hi, i am having problem with my vb project to clear all item in my form. Below is the code that i am using : Dim ctrl, obj as control For Each ctrl in Me.controls If typeof ctrl is GroupBox then For Each obj In ctrl.Controls If typeof obj is …

Member Avatar for kb.net
0
208
Member Avatar for thekilon

I have this code. Its not the entire code because its a Blender addon with many lines that are unrelated to sockets so I give here only the part that deals with the sockets which I kept isolated from the rest of the program. def create_thread(): global threadSocket,listening threadSocket = …

Member Avatar for thekilon
0
2K
Member Avatar for Prateek_2

I am building a url shortner application in php and mysql and i am using the follwing logic to create short urls, pls tell me how is it First i fetch the last id from the database using select max(id) from urls then suppose if it returns 100 then i …

Member Avatar for Yorkiebar14
0
241
Member Avatar for cambalinho

i put an image on form with WM_PAINT message. but the image is, only, showed after resize(for example) the form. why is that? did i forget any style\extended style?

Member Avatar for cambalinho
0
298
Member Avatar for davy_yg

Hello, I am trying to create a form like this: registration1.php <form name="registration1" action="registration2.php<?php //$_SERVER['PHP_SELF'] ?>" method="POST"> <tr> <td>First Name</td> <td><input style="width: 500px;" type="text" name="fname" size="80px"><br><br></td> </tr> <tr> <td>Last Name</td> <td><input style="width: 500px;" type="text" name="lname" size="80px"><br><br></td> </tr> <tr> <td>Email Address</td> <td><input style="width: 500px;" type="text" name="email" size="80px"><br><br></td> </tr> <tr> <td>Phone No</td> …

Member Avatar for cereal
0
175
Member Avatar for dumicom

Hi Guys, I'm using Python 2.7.3, How can I ask the user to enter "from datetime" & "to datetime" then plot the graph For eg. when user from datetime: 21/7/2014 0:00 to datetime: 22/7/2014 23:57 from datetime import datetime import matplotlib.pyplot as plt import matplotlib.dates as mdates x = [] …

Member Avatar for Gribouillis
0
1K
Member Avatar for weeraa

I use this code for call JS function from codebehind. This is button click event. ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "myfunction", "testFunc();", true); This is the code of JS. function testFunc() { //alert("msg"); document.getElementById("Text1").value = "value change"; //Text1 is html a text box } It's not change the value of the text box. …

Member Avatar for arun1123
0
179
Member Avatar for Priti_P

Hello i have array as Array ( [1] => Fedora [6] => Array ( [0] => Android [1] => Selenium ) [200] => Array ( [0] => hi there [1] => New ) ) how to print this in php using for loop because using normal forloop it says no …

Member Avatar for Priti_P
0
176
Member Avatar for bananacat

I'm a little bit stuck at this moment. As of now, this is the code that I have: private void btnChangeImage_Click(object sender, EventArgs e) { using (OpenFileDialog openFileDialogForImgUser = new OpenFileDialog()) { string location = null; string fileName = null; openFileDialogForImgUser.Filter = "Image Files (*.jpg, *.png, *.gif, *.bmp)|*.jpg; *.png; *.gif; …

Member Avatar for cgeier
0
4K
Member Avatar for hg_fs2002

I want to convert this piece of code using this memory layout transformation : https://software.intel.com/en-us/articles/memory-layout-transformations (Array of Structures to Structure of Arrays) Here are the codes before and after applying the transformation and I want to know whether I'm doing it right or not? Before: typedef struct { double x; …

Member Avatar for Hiroshe
0
270
Member Avatar for moinwaseer

i want that when i click on detail button a small widnow open and data show from database with out refraesing the page in the same page i just want to show data i have already shown data on page but that is not in good way i just want …

Member Avatar for gabrielcastillo
0
224
Member Avatar for weeraa

I'm tring to move html element on run time. (1) Call function from code behind. (Button1_Click1 event) ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "myfunction", "testFunc(100,200);", true); (2) It redirect to JS function. (This function is used to change the location of html attribute) function testFunc(x,y) { document.getElementById('draggable').style.top = x; document.getElementById('draggable').style.left = y; } in …

Member Avatar for AleMonteiro
0
288
Member Avatar for munchlaxxx

This is what I was trying to do: The user enters an address, which is autocompleted by Google. Then when they press the submit button, an alert box pops up, telling them whether the address entered is within 5 miles of (42.352487, -71.079290). Then a confirm box pops up asking …

Member Avatar for AleMonteiro
0
1K
Member Avatar for UK-1991

Hello guys I really need your help to save my job. i started to create and attendance system but I stucked up with time in button. I have created a time out button and working fine and great but the problem is that I am unsuccessfull for creating a time …

Member Avatar for UK-1991
0
2K
Member Avatar for nathan.pavlovsky

Hello programmers! I am working on a custom tree class [with the code example being copied from Dietl's C++ How to Program, 9th edition]. It is in my fashion to copy all the code examples in the book when reading it (for muscle memory), but the authors created a custom …

Member Avatar for nathan.pavlovsky
0
379
Member Avatar for abaddon2031

Im working on a code that loops through a folder break up the file names in it into specific parts and then reads off sertain parts of the broken name and writes it to a csv sile. The files ser formated as follows test_PAQT_B2H.csv, test_PAQT_B4.csv, and test_PINI_B1H.csv. when it jsut …

Member Avatar for abaddon2031
0
362
Member Avatar for mcdczzz

hi is there someone that can give me some hints on how to create excel file using data from my ms access database..because i haven't seen one in the net maybe someone might help me here..i would appreciate some hints or tutorials..:D thanks a lot...

Member Avatar for Stuugie
0
436
Member Avatar for lodhasanket4
Member Avatar for rubberman
0
76
Member Avatar for deva89

I am developing a project on PHP and MySQL. My problem is "I am unable to show a uniqueID in a textbox like 'GHY00001, GHY00002, etc' auto-incremented everytime i load the page and insert it into the database". I already tried some php tutorials but didn't find usuable to my …

Member Avatar for AndrisP
0
483
Member Avatar for Iikeloa

Hi I have a problem with inserting into the database. This is my code : $insert = $db_con->query("INSERT INTO users (username,password,email,com-name,com-logo,com-phone,com-mobile) VALUES('".$username."','".$enc_pass."','".$email."','".$com_name."','".$profile_path."','".$com_phone."','".$com_mobile."')");

Member Avatar for Iikeloa
0
280
Member Avatar for Prasadd

Hi ppl, I am new to this grp and looking some friends. anyways, I am facing problems while usign UserControls in C#. the error says that the references might be missing etc. But, Ive used the same previously and it worked without any problems. I'll be thankful to anyone offering …

Member Avatar for ChrisHunter
0
194
Member Avatar for Muhammad Saqib

Anybody Plz tell me how I can update a Gridview Record.Kidly tell what is code in C# I am waiting for reponce for my this thred

Member Avatar for pritaeas
0
281
Member Avatar for mark103

Hi all, I need your help, I'm working on my python script to get the list of channels and programs when I pulled the data from sqlite3 database. I'm using the variable of channel_per_page to get the range from 0 to 7 for channels that I want to pull the …

Member Avatar for slate
0
149
Member Avatar for Praise92

Hi guys i need your help, i am trying to read an xmlfile which is on the listbox, after reading it i want to bind the data to GridView, i can read directly from the location where i have saved the XMLfiles but now i want to select it from …

Member Avatar for tinstaafl
0
262
Member Avatar for nadiam

database : mysql tool: phpmyadmin today my supervisor set up the web on the companies server. when its all settled, we try out the login page(`index.php`) but we get fatal error and the line its pointing at refers to the `connection.php` page which connects to the database. > Fatal error: …

Member Avatar for pritaeas
0
213
Member Avatar for jnneson

Hello, Please I want to be a good Programmer atleast be able to do something on my own, I will like to know where to start learning from, Which lang. to learn first, what step should I take? Also I will be glad if I can know someone that can …

Member Avatar for AleMonteiro
0
160
Member Avatar for sandy4a0

Hi i am facing error in below code not able to add rows could anyone help please <html> <head> <title>Row Added</title> </head> <script> function sample(){ var table='<table width="100" id="+sample+">'; table=table.concat("<tr>"); table=table.concat("<td>Add rows</td>"); table=table.concat("<td><input type="button" name="Add" value="Add"</td>"); table=table.concat("<td><input type="button" name="Delete" value="Delete"</td>"); table=table.concat("</tr>"); table=table.concat("</table>"); document.getElementById("sample").innerHTML+=table; } </script> <body> <table> <tr> <td>Enter the …

Member Avatar for AleMonteiro
0
293
Member Avatar for Needhelp2

Hi all, I have a large txt file (3 Million lines). Ouside excel capacity. Thanks for your support... input file format: =================================================== .. ... ... 2014 Jul 23 08:15:16.675 ... .. Name = x Lastname = y . . Age = 5 height = 1 .. .. ... ... 2014 …

Member Avatar for e.pol
0
246
Member Avatar for Doogledude123

I am getting a NPE on `a`. I have no idea why the array would be null, but heres the relevent code for it. public void setAbility(Ability[] abilities) { for(Ability a : abilities) { sb.append(a.getName()); } pAbility.setText(sb.toString()); } Method called here: Pokemon sPokemon = Pokemon.getPokemon(sender.getValue()); ... pController.setAbility(sPokemon.getAbility()); Passed getAbility(): public …

Member Avatar for Doogledude123
0
298
Member Avatar for atakarim

hello sir i am beginner of this course. now i am doing a project where i want to print a page/part of the page from web browser without print window. may i do this? if yes then how i could do so? please help me to find out the solution …

Member Avatar for atakarim
0
235
Member Avatar for Gurleen_Kaur

In my Windows application, I want to create an automation software using C#.NET which works in two steps: 1. Select particular data and copy it from a page of a website. I have done it using web browser control for SelectAll. The data is not HTML data but databound data. …

Member Avatar for du_1
0
321
Member Avatar for nibiruisaplanet

It's a code to calculate age from today's current date. I know I'll have to use #include <ctime> But I have no idea what I would use for the rest. Here's my code: package practicing; import java.util.Calendar; import java.util.Date; import java.util.Scanner; public class FindRelativeAge { private static Calendar calendar = …

Member Avatar for vijayan121
0
362
Member Avatar for screenedcreamy

I have acode review checklist which I would like to automate, Could anyone suggest me how i could get started with this. I would like to create a tool which takes in java extensions and reviews based on custom review check. Would this be time consuming?? any insights on how …

Member Avatar for stultuske
0
256
Member Avatar for liltrig3

Hi Everyone. I Really Need Urgent Help To Create A Paint Application In Java Using Applets Or The Swing. Its Really Urgent. I Have Been Trying To Code This For Like Week Now And I Am Just Left With Five Days To Submit It. Thsi Application Should Be Able To …

Member Avatar for stultuske
0
4K
Member Avatar for mcdczzz

If cboSearchType.Text = "Accredited Month" Then If rs.State = 1 Then rs.Close SQL = "SELECT * FROM BusinessInfo WHERE " & " AccreditationDate " & " like '" & cboMonths.Text & "%'" rs.Open SQL, con While rs.EOF = False With grdSearchResults .Redraw = False .Rows = .Rows +1 .Row = …

Member Avatar for e.pol
0
146
Member Avatar for nayzin.phyo

'====================================================================================================== '====================================================================================================== Option Explicit 'For Log ID Public RUNNINGID As String Private Sub butBrand_Click() On Error GoTo ErrorHandler Dim colData As New Collection frmSearch.SQL_Statement = "SELECT ROW_NUMBER () OVER (ORDER BY brand_type_code) AS [NO.] , " & _ "[brand_type_code] AS [Brand Type] , " & _ "[brand_type_name] AS [Brand Name] …

Member Avatar for e.pol
0
182
Member Avatar for dumicom

hi guys below is my attempted code, how can i plot date and time(x-axis) versus a value (y-axis) import matplotlib.pyplot as plt from datetime import time, datetime x = [] y = [] t = [] fig = plt.figure() rect = fig.patch rect.set_facecolor('#31312e') readFile = open('data.txt', 'r') sepFile = readFile.read().split('\n') …

Member Avatar for dumicom
0
5K
Member Avatar for brittney_2

I need help with my constructor that should call for all the user inputs, for example their first name, and the information gets checked to make sure it's valid. For example the name is all letters, and the identifier is actually 9 digits, etc. I can set the default constructor, …

Member Avatar for brittney_2
0
239
Member Avatar for PM312

i am trying to import data from excel to datagrid view. why instead of actuel data "System.__ComObject" is displayed in datagrid cell. Dim xl As New excel.Application Dim xlsheet As excel.Worksheet Dim xlwbook As excel.Workbook xlwbook = xl.Workbooks.Open("d:\PayableInput\InvoiceUpload.xlsx") xlsheet = xlwbook.Sheets.Item(1) Dim Rowst As Integer = 0 Dim RN As …

Member Avatar for PM312
0
286

The End.