199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Stein102

I've been off of programming for about a year now and am thinking about starting up again. I used to be really into it and was considering it for a career choice. Now I'm in my final year of highschool and realized that I have no plans for university and …

Member Avatar for Stein102
0
105
Member Avatar for AmrMohammed

Greetings, As the title said I have a datagridview with combo box(s) I want to populate each combobox in each row alone for example in the first row in the first combobox I select a something based on the selection the second combobox in the same row populated with specific …

Member Avatar for AmrMohammed
0
152
Member Avatar for britto

# Simulating mouse click # #include <windows.h> using namespace std; // Forward declaration of the LeftClick function void LeftClick ( ); // Forward declaration of the MouseMove function void MouseMove ( int x, int y ); int main() { MouseMove(100, 100); LeftClick(); return 0; } // LeftClick function void LeftClick …

Member Avatar for triumphost
0
3K
Member Avatar for garyjohnson

This is my upload form for html to upload only one pic, <html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file"><br> <input type="submit" name="submit" value="Submit"> </form> </body> </html> I want to be able to upload multiple pictures at once. This is my php code for uploading. <?php …

Member Avatar for garyjohnson
0
783
Member Avatar for ritesh0104

I am currently working on a membership registration web form, wherein we have to take details of the member being registered online. i need to know his Country, State/Region and City. i am looking for a database/list so that we can provide the same in a combobox in the registration …

Member Avatar for Wailintun
0
274
Member Avatar for yawbiney

Hi people, I am a beginner C learner and I'm having a bit of trouble checking a structure to see if its empty or not. I am writing a program for a phonebook/contact book and I have everything working actually but I want my program to check all arrays in …

Member Avatar for ahmedhamdy
0
2K
Member Avatar for KyleMorgan49

I'm having trouble with a query. Here's my code. ---------------------------------------------- `"SELECT *` `FROM listings` `WHERE MATCH(title)` `AGAINST('ipod' IN BOOLEAN MODE)` `ORDER` `BY relevance DESC"` ---------------------------------------------- And I get this error: > Unknown column 'relevance' in 'order clause'

Member Avatar for KyleMorgan49
0
164
Member Avatar for patra.pritam

**Program using the *StringBuilder* class that will accept string from user and will count the numbers of vowels in it.** Drag and Drop: 1. A Button 2. A Textbox 3. A Label Public Class Stringbuilder Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim mystring As …

Member Avatar for Reverend Jim
0
790
Member Avatar for robinotje

Hello everyone, I'm new to C ++, and I want to know how to delete a whole folder. I've tried to do this, but it doesn't work. Can anyone help me? [CODE]#include <iostream> #include <stdio.h> using namespace std; int main() { remove ("c:\\users\\asus\\new"); return 0; }[/CODE] I'm running Vista, and …

Member Avatar for Ancient Dragon
0
15K
Member Avatar for guilherme.carvalho.9250

Hello to everyone, im having some trouble in setting a position on a table in php. I learn how to display a table in php on school and with some research through the internet, but not how to customize it. Is it possible to display a mysql table from a …

Member Avatar for guilherme.carvalho.9250
0
1K
Member Avatar for vipin.luhach

***How To UpDate JTable on Delete Command and if given id don't match with database then a message show "id is not available " My Codes as follows:-*** private void Sf_Reg_delete_ButtonActionPerformed(java.awt.event.ActionEvent evt) { String str2 = JOptionPane.showInputDialog(null, "Please Note that this Reg No is not generated again : ","Enter Reg …

Member Avatar for tux4life
0
193
Member Avatar for zlloyd1

This is my program so far: package allin1; import javax.swing.*; import java.awt.event.*; import java.awt.*; public class Allin1 { JFrame frame = new JFrame(); JPanel panel = new JPanel(); JButton b1 = new JButton("Exit"); public static void main(String[] args) { panel.add(b1); //THIS IS THE PROBLEM?? } } The error I am …

Member Avatar for tux4life
0
333
Member Avatar for vince8290

Hello ! I'm the ultimate beginner in programming. I have some experience in php and vba, doing my own scripts as I need them, especially in excel. Recently, for a project at works, I need to be able to scan **AUTOMATICALLY** (say every 2 minutes) from **multiple scanners** (say 2 …

Member Avatar for vince8290
0
984
Member Avatar for pratik65

i have a table Marks_Entry into my database and i want to enter all students subject marks at a time and i am doing it through a datagrid view . i have made a list of rollno of student and one subject row so i want that user may able …

Member Avatar for lolafuertes
0
270
Member Avatar for raphael1

I followed a tutorial online on how to create a obj file parser, so far my parser reads a obj file and stores all the vertices into a struct named coordinate. Am not quite sure, how to use the coordinates in my struct in my main graphic pipeline My parser: …

Member Avatar for happyHacker
0
457
Member Avatar for Landoro

Hey guys,I'm new,but I study C programming language and I have this awfull problem. I have make a matrix A[n][n],in which n is an odd positive number(of course),and the matrix must "unwrap" itself with the number 1 in the middle then 2 to the top,then clockwise 3,4,5,..etc,until it wraps the …

Member Avatar for Adak
0
200
Member Avatar for happyHacker

I'm in the middle of reading "Windows Internals 6th edition", and after mentioning 32 bit threads running on 64 bit Windows have 3 stacks, one user-mode 32-bit, a 64-bit user-mode, and a kernel-mode stack (along with a 32 bit CONTEXT and a 64 bit CONTEXT "block")--when it proceeds to explain …

Member Avatar for happyHacker
0
462
Member Avatar for Lalit Verma

using System.Collections.Generic; using System.Windows.Forms; namespace LandTransfer { static class Program { /// <summary> /// The main entry point for the application. /// </summary> public static int code = 0; //C:/LandTransfer/Database/ public static string database = "//192.168.1.24/LandTransfer/Database/LTMS.mdb"; public static string source = "Provider = Microsoft.Jet.OLEDB.4.0;Data Source=" + database + ""; [STAThread] …

Member Avatar for lolafuertes
0
84
Member Avatar for Cravver

While I know some Python language I just can seem to make thi work: So I have this script that when you post a command: -ytb [search terms], it would look up the video in an atom feed from yuotube, could you tell me what I have wroong here? Because …

Member Avatar for Cravver
0
280
Member Avatar for 03hasnam

I am unable to execute the editProfile() method in MainMenu class. The purpose of the method is to be able to extract the bean values and display them on the empty textfield. I am not sure if i did it correctly. any recommendations for any changes to editProfile() method. public …

Member Avatar for 03hasnam
0
510
Member Avatar for Gribouillis

This small python script invokes the [Treeline](http://treeline.bellz.org/index.html) tree visualizer to display xml files in a pleasant way. ![viewxml](/attachments/large/1/viewxml.png "viewxml")

0
2K
Member Avatar for hwoarang69

how to get part of col name in query. for ex: les say i have these rows in table: id name last address 1 dave da new york 2 rand ra ohio 3 random a new now i want to get rows where address has a word new in it. …

Member Avatar for tiggsy
0
121
Member Avatar for Osaid9

i'm trying to show date in a text field this is what I did java.util.Date date=new java.util.Date(); this.DateObject.setText(date); and its wrong... please help & thank you.

Member Avatar for JamesCherrill
0
171
Member Avatar for Rachna0309

I have datagridview which is populated with 3 columns partno,locality,houseno. Initially my row colour would be say light blue. Now what i want is whenever houseno changes in row,its row colour should be changed to say grey. That means whenever houseno changes,these two colours should be alternately applied to rows …

Member Avatar for Rachna0309
0
280
Member Avatar for HibaPro

when i need to install the vb6 project to network pcs this error is show : The program cant start because ActiveX Tools.dll is missing from your computer. Try to install the program to fix this problem. i search on internet for the dll required but i am not find …

Member Avatar for abelingaw
0
112
Member Avatar for silversurf

Hello everyone. I am making a form to backup my Ms-Access database in vb 6.0. I have a textbox (txtdestination) a progress bar (progstat) a command button (cmdbackup) and a few labels to show different info. I have the following code in my backup form : Dim mintCount As Integer, …

Member Avatar for abelingaw
0
2K
Member Avatar for davecoventry

I have an int64_t value which I'm trying to write to a file. `fwrite(&page->id,sizeof(page->id),1,tid); if the value of page->id == 00 00 00 00 00 00 00 03, then the variable is written correctly as 03 00 00 00 00 00 00 00. However, if the value is 00 00 …

Member Avatar for davecoventry
0
303
Member Avatar for blenkhn

I don't quite understand how to make a Procedure as most of my processing takes place in my scripts. I have a set of 3 Queries that are almost identical that I would like to combine them to return a result set. The queries are: SELECT Date, Location, Sum(SubTotal) FROM …

Member Avatar for adam_k
0
289
Member Avatar for ms061210

I need some help here. I keep getting the same error over and over again. And I can't understand why I am getting this error while in fact I am using the correct username and password with write capitalization. I am encountering this problem in attaching dataset in my datagridview …

Member Avatar for poojavb
0
312
Member Avatar for raphael1

I got win32 application, that runs a infinite for loop, which increment a value inside the loop. the problem am having is that my application become unresponsive and uses alot of CPU when compiled. case IDM_ROTATION: for(int i = 0; i < 4; i++) { i = 0; rotation += …

Member Avatar for tinstaafl
0
243
Member Avatar for prasadssaitwal

<?php function getlink($x) { $y=$x.'.php'; return($y); } $a=array('0','1','2','3','4'); for($i=0;$i<5;$i++) { echo '<li><a href='.getlink($a[$i]).'>'.$a[$i].'</li>'; } echo '<iframe src="">'; ?> when i click on the links instead of new tab it should be open in iframe

Member Avatar for veedeoo
0
394
Member Avatar for supanovabay.kebede

Can mobile phones run c++ compilers such as borland and turbo? If yes pls do tell where i can download them thanks

Member Avatar for PrimePackster
0
144
Member Avatar for marco.lanza.507

Hi Everyone, I have been trying to post a code by I am not able to do it; I might the wrong but I am following all the rules; I don't know what else to do; please help. I will try to copy as follows (it might works) :) #include …

Member Avatar for marco.lanza.507
0
343
Member Avatar for furlanut

I have added 3 radio buttons to a form (no errors prior to this) for option to sort fetch_array result by field. I assume this is best done from the array but am making no progress - the results of $name,print_r($array) and tables are correct but no sorting. This Notice …

Member Avatar for diafol
0
155
Member Avatar for tensity

My objective is to read in a line from a text file, then search that line for a particular set of characters/numbers, and finally, if the line contains the particulars, write the line to another file. I am fine with all of the coding, except the part of searching the …

Member Avatar for Ancient Dragon
0
104
Member Avatar for bnitishpai

In my database table, 16 rows are inserted with null values for all columns. How can I delete these rows using SQL statement?

Member Avatar for darkagn
0
154
Member Avatar for PhilEaton

I am new to python web frameworks. I am using web.py because I like how raw it is. I am wondering though, how one can produce pages and scripts efficiently when being restricted to sending output through the return keyword? It seems like for any python module you can only …

Member Avatar for Gribouillis
0
244
Member Avatar for saurabhcodes

word = textBox1.Text; Process myprocess = new Process(); myprocess.StartInfo.FileName = @"C:\Users\Public\Desktop\Cambridge Advanced Learner's Dictionary - 3rd Edition.lnk"; myprocess.Start(); I'm trying to automate a 3rd party app using c# code. I know how to invoke the main window of the app through code using something like this.. but I dont know …

Member Avatar for caKus
0
176
Member Avatar for mehnihma

I need to update values form one table to another and create values if they are not there How can I do this for all values or form values from one ID to another This is the query but I need to run it for every ID and that is …

Member Avatar for mehnihma
0
257
Member Avatar for GraficRegret

I have adjusted a lot of the code that I posted earlier but nothing seems to work, I put in the code to show all errors and I am not getting any errors returened after I fixed the single minor misstype of adding an extra "(" into the code, i …

Member Avatar for GraficRegret
0
166
Member Avatar for utkarshsahu

My aim is to fill a 3x3 grid of Jtextfield in java swing with values and position of entry in that grid sourced from a text file.I made a file named aa.txt. Its contents are:- a1-3 b3-9 c2-4 a1,b3,c2,... are names of textfields in grid and numbers separated by hyphen …

Member Avatar for JamesCherrill
0
377
Member Avatar for utkarshsahu

I am attempting to make a TicTacToe in java using Swing. Instead of using buttons for mark(x and o) placing on 3x3 grid, i used textfield(variable name- pos) to specify position of mark entering and another textfield(var name- val) to take value to insert it into the position which i …

Member Avatar for tux4life
0
207
Member Avatar for bornie21

Hie guys. I want to create a LAN web based application that allows a user to login and change their current Windows Active Directory password or login name. Much like the Powershell scripts but I was looking to implement using PHP over the LAN. Any ideas?

Member Avatar for diafol
0
157
Member Avatar for nickerst

So I have been working on this project for quite some time and I can't figure out why I keep getting an "Illegal Start of Expression" error. I tried moving the variables above the main method and that only returned the same error but instead of the error occuring at …

Member Avatar for nickerst
0
324
Member Avatar for firdousahmad
Member Avatar for vikuseth

#include <iostream> class Hello { public: void Test() { std::cout << "Testing" << std::endl; } }; class Hi { public: Hi() :hello(new Hello()) {} ~Hi() { delete hello; } void Testing() const { hello->Test(); } private: Hello * hello; }; int main(int argc, char ** argv) { Hi hi; ; …

Member Avatar for vikuseth
0
289
Member Avatar for IcyFire

I have this paint program and i'm having a very silly problem. I'm trying to set the paint area to west position using border layout but when i do that it doesn't show up when i run the program. if i set it in the center it shows up. everything …

Member Avatar for IcyFire
0
698
Member Avatar for fatzky_04

Hello. I'm developing a computer software, an Intranet Supply Management System. I know what the main system's function will be. But i'm having a really hard time figuring out how will be the flow of the program. So basicslly, i'm asking y'all guys with your guidance, instructions, or even your …

Member Avatar for Taywin
0
154
Member Avatar for rishif2

there is a picture file ( 40*100 ) and i wanna show this image in the background and so , this picture file should be repeated both horizontally and vertically as we do in Html and css

Member Avatar for tinstaafl
0
128
Member Avatar for nytman

Dear list, i am new to python as well as new to programming with no previous programming experience, i have to design GUI in python and implement multithreading in it, and also perform multithreading at servers in query handling. I checked so many web pages and tried to learn basics …

Member Avatar for vegaseat
0
254

The End.