199,114 Archived Topics
Remove Filter ![]() | |
Hi, I trying to pass the selected file contents to another form gridview, In the first form1 all the csv files will get load in the datagridview,if i click on checkbox column in gridview the selected file content get load into the next form grid view. As i am new … | |
hi can i ask if u can share your knowledge on how to create a button event that will automatically press ctrl+alt+shift+f12 when i press the button? Thanks | |
Hey guys, So I have this atm machine assignment. Everything is working great, except I don't know how to declare char. I want to be able to choose between a, b, c & d. I am still a beginner we only covered 1 chapter so far in class so I'm … | |
when compiling code from my main function ireceive the following error `error: conversion from 'rectangle*' to non0scalar type 'rectangle' requested` My code is quite simple; Here's my main function #include <iostream> #inclde "rectangle.h" using namespace std; int main() { rectangle rect = new rectangle(3,4); cout<<rect.area()<<endl; cout<<rect.perimeter()<<endl; return 0; } here's … | |
I am working on a quiz app image 1 shows the index.php page image 2 shows the first question image 3 shows the second question image 4 shows the third question image 5 shows the result after completing the quiz image 6 shows the database 'quizzer' and its tables image … | |
can anyone please tell me what is wrong with my program? Random n=new Random(); int card[][]=new int[5][5]; int bola[]=new int[75]; int sw=0,ctr,x=0,no,win=0,dr=0,dl=0,h1=0,h2=0,h3=0,h4=0,h5=0, m1=0,m2=0,m3=0,m4=0,m5=0; String diagonal, vertical, horizontal, fourCorners; //UNDER"B" ctr=0; while(ctr<5){ sw=0; no=n.nextInt(15)+1; for(x=0;x<ctr;x++){ if(card[x][0]==no) sw=1; } if(sw==0) { card [ctr] [0]=no; ++ctr; } } //UNDER"I" ctr=0; while(ctr<5){ sw=0; no=n.nextInt(15)+16; … | |
this is the question given by my lecturer :- Write a program to accept 5 students (names) and their respective test marks into an array or arrays. Sort them and print the lists in: a) alphabetical order b) mark ranks(from highest to lowest) and my input is enter name : … | |
Write a function ListSplit that will split a circular list containing an even number of nodes, say 2k, into two circular lists each of which contains k nodes. The function should have three parameters and should work so that the function call ListSplit(list,sub1,sub2); will create new lists pointed to by … | |
I came across this must-read article. I was a maintenance programmer for 29 years and I've come across many of the deadly sins that he discusses and maybe even one or two that he does not. [How to Write Unmaintainable Code by Roedy Green](https://www.thc.org/root/phun/unmaintain.html). | |
Hi, I'm trying to get the value from a javascript: `window.locaiton.href = "db/create_eoi.php?refNum=" + rNum;`. <?php if(isset($_GET["rNum"])){ $refNum = trim($_GET["rNum"]); } ?> the problem is that where ever I use `$refNum` I get an error saying Undefined Variable. To be more clear: what im doing is getting a value from … | |
Hi, I'm getting an url variable from this `test.php?ids=1,2,3` and need to transform it to Array ( [0] => 1 [1] => 8 [2] => 9 ) What I've tried is : `$ids = explode(', ', $_GET["ids"]);` but that gives me an array like this: Array ( [0] => 1,8,9 … | |
I'm new to java and I'm working on a small android project using eclipse. I created a table and I want to populate it with data from a file. I have done this using EditText control shown below. public void AddRowItemTable(View view) { EditText itemid_Text= (EditText) findViewById(R.id.itemid); EditText itemname_Text=(EditText) findViewById(R.id.itemname); … | |
I'm young and experimenting with coding trying to find what language is "my language" (which I guess means is that it's natural and I'm good at) So I started off with python and some MIT OCW to get introduced to the world of programming. Then I wanted to be able … | |
Hi I have a problem in which an HTML/JavaScript page, using the excellent AblePlayer Audio Player, which runs perfectly on my Home server (Latest version of Wamp), but will not run when it is uploaded to our 1and1 shared server space. The code for this page is shown below, and … | |
Im trying to convert mysql query to mysqli but it doesnt work...why? From: mysql_query("UPDATE views SET views=views+1 WHERE viewID='1'"); To: $q1=$mysqli->query("UPDATE views SET views=views+1 WHERE viewID='1'"); Errors: Notice: Undefined variable: mysqli in C:\wamp\www\SICS\home.php on line 5 Fatal error: Call to a member function query() on a non-object in C:\wamp\www\SICS\home.php on … | |
hi guys..i have a question...let me explain first..for my project i'm doing a checkbox for user to tick for several documents..after user click the checkbox..it will save in the database..based on that database..what i want is to display that checkbox..for example..if this checkbox have 10 ..then if the user tick … | |
hey guys quick one, im doing an income vs expenses form on VB, i have two mulitline textboxes, one for income and one for expenses. Everything works well but i dont know how to add up the numbers in the textboxes when i have say 5 incomes, in the income … | |
I want to get this picture [Click Here](http://i.imgur.com/hCeF8pl.jpg) to look like the picture on this website [Click Here](http://www.weblup.weebly.com). It looks cropped almost because it doesn't look scaled or anything, but I know it's not cropped because I got the image off of this website. So any ideas. I tried to … | |
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 … | |
**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 … | |
Hi All, I am developing a website in which i am selecting some values form database by a query When i am running query on PHPMyAdmin i am getting desired results but when i am using this query in actual PHP code, i am getting value of Last row. Can … | |
Hi! I'm trying to write a code for my arduino project. it's an SMS-based Led matrix display. I seem to have problems with SRAM memory because of the size of the code. can you help me optimize it? #include "cmap.h" #include <SIM900.h> #include <sms.h> #include <SoftwareSerial.h> #define INTEN 6500 //speed … | |
how to get the declared value from other java file and use it to another java file? like I want to show the user's real name using the textView when he/she successfuly login, from the main activity to the welcome page. example "Welcome User". I have tried this but it's … | |
please guys look at the code below #include <stdio.h> int main(void) { enum days {monday=1, tuesday, wednesday, thursday, friday, saturday, sunday}; enum days today=monday, tomorow=today+1; printf("\n today is the %d day of the week\n", today); printf("tomorow is the %d day of the week\n", tomorow); printf("\n today is %s and tomorow … | |
Let x be a node in SLL. Write a C++ function to delete the data in this node. Following this deletion, the number of nodes in the list is one less than before the deletion. Your function must run for O(1). | |
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, … | |
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 … | |
Hello guyz, i just want to enter the world of programming but i didn't know from what i'm starting i took a short look in C also C++ and Java, so any one know what is the best for learning as a start. | |
i don't know how to refresh a textarea. if i have a text file opened on this textarea and i entre some lines into this file, i want to refresh my textarea in ..second automaticaly ..to see the new lines.. <textarea id="chat" rows='38' cols='189'> <?php $file1 = "test.txt"; $file2 = … | |
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 … | |
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. | |
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 … | |
public void log (){ if(start==null) System.out.println("List is empty.."); else{ Node temp=start; System.out.print("->"); //get rid of each user with a similar method but with a random user removed.... while(temp.next!=start ) { int r = rand.nextInt(2) ; if(r==0) { deleteAt(counter); System.out.println("Is Logged Off "+temp.data); } else if(r==1) { System.out.println("Is Logged on "+temp.data); … | |
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??? … | |
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 … | |
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 … | |
//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 … | |
Hello! First time posting here so bare with me with my formating and other stuff. I've got a task were I'm going to create a caesar cipher. You should be able to write a sentance to the program and the shifting it should use. Then the letters should be shifted … | |
Hi All, I have a PHP code to display table data with a column of checkboxes used to click to mark the test case as Blocked. I am trying to save the state of checkbox after it is submitted, but I am unable to do so. Please help! echo "<form … | |
Hey guys, I'm trying to make an app where if I press a button an audio plays I use android studio The code compiles and all but, if I press the play button then the audio does not play..What am I doing wrong? Thanks! MyActivity.java File : package com.example.hayzam.bb; import … | |
This language is built with python to give me a dynamic backend to make this possible. The language is based off ASM opcodes but generalizes them into basic coding practices. More info here: http://tcll5850.proboards.com/thread/271/umcsl note: WIP the language is meant to make it possible to convert between ASM and other … | |
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 … | |
Good Afternoon, How do you insert a tab in a xml document. thank you | |
Hello, I'm having some problems with my jQuery script. It works correctly except it doesn't wait for the internal AJAX request to return before adding the variable data 'daa' to the HTML table variable. I debugged it a bit using 'alert' and I think it's adding the 'daa' data to … | |
Hi, I have a Blackboard object which is a singleton, what it does is store the message and the reciever. The challenge is that the blackboard will send an alert to the reciever and the reciever have to check the blackboard for the message. class Subscriber{ public: virtual ~Subscriber() {} … | |
I want to download a file from, [Click Here](Here is the link : http://www33.zippyshare.com/v/67074373/file.html) I got this code : Dim Str As String = Me.WebBrowser1.Document.GetElementById("downloadB").GetAttribute("href") If (Str.EndsWith("zip")) Then WebBrowser1.Navigate("http://www33.zippyshare.com" + Str) End If amd it works fine but my problem is that my application is automated and I want the … | |
I keep getting access violations even though I made sure to make all my methods and functions const! Driving me insane. When I add a player then try to display all players the program tries to read my privates then gets violated. (Still lots of bugs in it elsewhere, but … | |
by several reasons, i must create the static with it's paint message: case WM_PAINT: { PAINTSTRUCT ps; HDC hdc = BeginPaint(inst->hwnd, &ps); if(inst->Paint==NULL) { RECT f; GetClientRect(hwnd,&f); HBRUSH s=CreateSolidBrush(inst->clrBackColor); SelectObject(hdc,(HBRUSH)s); if (inst->clrBackColor==-1) { //hide, copy the parent control and show the control again ShowWindow(inst->hwnd,SW_HIDE); BitBlt(hdc,0,0,f.right-f.left,f.bottom-f.top,GetDC(GetParent(inst->hwnd)),inst->intLeft,inst->intTop,SRCCOPY); ShowWindow(inst->hwnd,SW_SHOW); } else FillRect(hdc,&f,s); SetBkMode(hdc,TRANSPARENT); … | |
Good Day, I really need your help with this program. Question: FIFA 2010 Group match During the world cup, 32 of the best teams fight it out for the coveted world cup trophy. The teams are placed in eight groups of four. In each group, the teams play each other … | |
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 … |
The End.