199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Martje

I made a second form but whenever i try to put it in my project i get lots of errors. I am just puting : [CODE]#include "Picture_viewer.h[/CODE] but i am getting list of errors : [QUOTE]1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\objidl.h(5934) : error C2872: 'IDataObject' : ambiguous symbol 1> could be 'C:\Program Files\Microsoft …

Member Avatar for Martje
0
242
Member Avatar for dreamer_lek91

I have quite a long list on my listbox. And when I wanted to search for words like "Boy", I need to go through all the letters before 'o', for example, 'bacon', 'banned', 'because' and so on. I know that the listbox allow the user to search for the first …

0
125
Member Avatar for logicslab

Hi Friends, I am come with a new query in jQuery. I have a listing form in which the details showed , the View more Details is implemented using Ajax. When Click "+" sign there is a loading image show First then the Result show there ... It's all working …

Member Avatar for @developer
0
174
Member Avatar for sallubhai

Hi, I want to draw some rectangles with the same size and different colors by using an array but donĀ“t know exactly how to do it in the for-loop. Thanks for help! [CODE]class Figure { private: int **figur; int row,col; public: Figure() : row(5), col(20){ } void allocate_place(int r, int …

0
109
Member Avatar for kshaaban

Hey everyone! I have been working on some c++ code which point tracks a user and extrapolates their co-ordinates within 3D space. i have the co-ordinates in c++ stored as variables and would like to use these variables within the Blender game engine to position an object within the scene. …

Member Avatar for kshaaban
0
210
Member Avatar for CEVGames

This is pretty detailed, but here goes. I have a user registration/log in system in place. I have no issues at all registering users or logging them in. My database contains 5 tables. As follows usersystem [INDENT]Fields: username password email total qid[/INDENT] q1 [INDENT]Fields: username answer rank value[/INDENT] Tables q2 …

Member Avatar for CEVGames
0
156
Member Avatar for ipcmd0

Hello, hopefully someone would be able to help me with this project I am working on. I have two classes now RationalNumber and Term. The RationalNumber class works fine when I invoke it directly to create a fraction. The Term class was created to leverage the RationalNumber class to create …

Member Avatar for daviddoria
0
201
Member Avatar for Phil++

Hello, I'm trying to open a file from a folder called "Assginement" however, when the program get's released, it might not be in a folder called this. What could I do? I've tried everything. The other problem is that it creates a file a file, and places it within the …

Member Avatar for nick.crane
0
96
Member Avatar for Strangelle

We are going to make a system for computer using visual basic where the server pc can able to schedule what application you may want to run at a certain time, like photoshop, microsoft office, paint, autocadd, etc.. Then when the time is up, the client pc will automatically shutdown …

Member Avatar for AndreRet
0
518
Member Avatar for ppenno1981

hi guys i have a little problem. I need to access a database using vb.net to create a shortest path solver using vb.net. Say for example the shortest route for a product being sent from london to moscow. I can acess the database but dont know how to sort the …

Member Avatar for crapulency
0
461
Member Avatar for exception

do comments in code affect the Programs efficiency or it slows down the processing or reading of the code?? does it have disadvantages? In our program, we are not allowed to delete the past programmer's code when we have modification, we just have to comment it.

Member Avatar for Strangelle
0
90
Member Avatar for mawoodard@pilot
Member Avatar for davecoventry
0
189
Member Avatar for andimiami

Ok, so I have to write this program that reads #'s into an array, such as grades... The program must have: * Read and Print the Numeric Grades * Declare an array of characters to store the character grades associated w/ the numeric grades * Translate the numeric grades into …

Member Avatar for andimiami
0
152
Member Avatar for geasssos

I need to do a program about: ask the user keep typing word until the word "stop" has been typed. my teacher said we need to add a class called Input. and he give the code to me. I have no idea how to use this code..any one can help? …

Member Avatar for geasssos
0
103
Member Avatar for Ringlis1983

I have a question. I have a listbox. In it is a list of cars, and another listbox has a list of customers. On another form, I have combox boxes. How do I write the data from the list boxes into the combo boxes, so that whatever data is in …

Member Avatar for Mitja Bonca
0
128
Member Avatar for xtianenikkian

Good day to all, Im creating a computer laboratory admission system, and one of the functions of my program using a bar code reader, this how the system runs, assuming that mr. villa has the bar code and the code is 00123456789 then after you scanned it, it will look …

Member Avatar for AndreRet
0
263
Member Avatar for Riekus007

Hi i am using a data grid to view information now i want to select the current row that is displaying the data and just populate one text box or numericupdown with a value the datagrid displays 3 columns that is: Invoicenumber, amount and balance now i want to load …

Member Avatar for Mitja Bonca
0
102
Member Avatar for jkon

Hello all, This isn’t a strictly MySQL issue, it has to do also with PHP Apache and cPanel but I believe the core is MySQL so I decided to post it here. Recently I had a SQLSTATE[08004] [1040] Too many connections issue. I use PHP PDO for the connection and …

Member Avatar for Kraai
0
1K
Member Avatar for orcaraheel

I get the value in the database and click on the id field how i past(get ) this field to other location can anyone help me

Member Avatar for cossay
0
99
Member Avatar for trippinz

[code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Diagnostics; using System.Xml; namespace Shortcuts { public partial class Form1 : Form { public Form1() { InitializeComponent(); } public string FileLocationToRun; private void button1_Click(object sender, EventArgs e) { OpenFileDialog fdlg = new …

Member Avatar for crishjeny
0
169
Member Avatar for moni94

Hi. Let's say I need to encrypt/decrypt 5 different files in my program (using AESManaged). Do I have to generate a new IV for each file and do I need to save the IV every time? If I always use the same IV will that reasonably lower the security of …

Member Avatar for crishjeny
0
70
Member Avatar for DioRani

Hi guys, i want to call a data from a database.. here is my code [CODE] string selectuser = "Dior"; string dbconnection = Application.StartupPath + "\\Database1.mdf"; SqlConnection conn = new SqlConnection(dbconnection); conn.Open(); SqlCommand command = new SqlCommand("select username, nick from [user] where username=@user", conn); command.Parameters.AddWithValue("username", selectuser); SqlDataReader reader = command.ExecuteReader();[/CODE] …

Member Avatar for crishjeny
0
126
Member Avatar for TheDocterd

Hi there all I have to write a small interface where I can read text files from a location and edit them. My aim is to have a small GUI, in that GUI there will be a combo box where I select the text file. when selected the info in …

Member Avatar for crishjeny
0
117
Member Avatar for Venugopal Ravi

Hi I want to download a zip file (xml file in zip - size more than 50mb) which is in another website to my server using PHP scripting. That particular file is updating daily in that site, so i need it to download and use it daily basis. any help …

Member Avatar for nonshatter
0
215
Member Avatar for herbkanis

Can anyone explain why btnHandler would throw an error "Column 'Price' does not belong to table" and how to get the btnHandler class values into the Form? Thanks, [CODE]//This is the main form namespace TestProject { public partial class Test : Form { public DataGridView GridView1 = new DataGridView(); public …

Member Avatar for crishjeny
0
393
Member Avatar for Dean_Grobler

Hi there, This is just going to be a quick question. Also just note that I am i some "remote location" so I cant even show you my code. But what I want to know is this: Say you have a package called "myPackage" and inside that you have 2 …

Member Avatar for JamesCherrill
0
143
Member Avatar for samsons17

Hi all.. I want to disable 'centre click' of mouse for my website..How could i do this?? Thank You :)

Member Avatar for Borzoi
0
116
Member Avatar for tech9x

for example my array is test[10], and i want to clear 2 of the 10 memory, how to do that??

Member Avatar for tech9x
0
231
Member Avatar for muzikhera

I have table name Logs with a field name user , login, logout. Once the user log his/her name is being inserted to the db. My question is how i can update/insert the date to the logout field of the current user whose using my application? And can someone give …

Member Avatar for muzikhera
0
155
Member Avatar for laupkram

Hello, I would ask if there is a possible method that would return a String in JAVA that I can retrieve the SQL code of any table on my embedded JAVA DB in my application. It is like the function of the phpmyadmin where in you can import a certain …

Member Avatar for masijade
0
100
Member Avatar for spades0001

I'm supposed to create methods, but I don't know how to :(. All inputs and outputs should be done in the main method and calls to the methods should be done for computation. Can someone please show me how? Thanks. I have to do it on this program: (Actually there's …

Member Avatar for laupkram
0
113
Member Avatar for DallasFan3

Ok, I have been trying to write a program that will read in a list of positive integers (including zero) and display some statistics regarding the integers. This is what I have to do, [ICODE]After you have placed all of the integers into an array, your program should perform the …

Member Avatar for laupkram
0
181
Member Avatar for YairHa

Hi, I would like to FTP a file that only part of the filename is known. The name is something like ā€œClimateData2010042207XXXX.xlsā€ performing the following does not work: [CODE] FTPClient client = new FTPClient(); FileOutputStream fos = null; client.connect("ftp.domain.com"); client.login("admin", "secret"); String filename = ā€œClimateData2010042207*.xlsā€; fos = new FileOutputStream(filename); client.retrieveFile("/" …

Member Avatar for zenfaraad
0
568
Member Avatar for ankit.pandey3

[CODE]<?php if(isset($_POST['ActivityId'])) { require_once('database.php'); $Search=$_POST['Search']; $query="select * from registration where Flag='A' AND Activity like '%,$Search,%'"; $result=mysqli_query($dbc,$query) or die('Not Connected'); while($row=mysqli_fetch_array($result)) { echo "<table border='2'><tr><td> Name--".$row['Name']."</td> <td>Contact Number--".$row['ContactNumber']."</td> <td>Email--".$row['Email']."</td> <td>Address--".$row['Address']."</td></tr></table>"; } } elseif(isset($_POST['EventId'])){ require_once('database.php'); $Search=$_POST['Search']; $query="select * from participation where EventId ='$Search'"; $result=mysqli_query($dbc,$query) or die('Not Connected'); while($row=mysqli_fetch_array($result)){ $LoginId= $row['LoginId']; echo $LoginId;} …

Member Avatar for vibhaJ
0
127
Member Avatar for whatsgoin'on

could anyone describe to me how to implement a stack using two queues. just cant get my head round it.thanks to anyone who helps.

Member Avatar for krssanthosh
0
176
Member Avatar for soundboy5010

Hey all, I have an auto refresh script i use on my site which is below... [CODE] <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js"></script> <script type="text/javascript"> var auto_refresh = setInterval( function () { $('#load_tumblr').load('tumblr_blog.php').fadeIn("slow"); }, 5000); </script> <div id='load_tumblr'>Loading...</div>[/CODE] Im wondering if i would be able to have an option for users to turn …

Member Avatar for soundboy5010
0
126
Member Avatar for sciprog1

Hello Members, The wait() system call is illustrated to be used as follows: [CODE] int status, pid; /*fork a child process*/ /*parent is waiting for the child to terminate*/ pid = wait(*status) [/CODE] What exactly does the pointer to the "status" variable do when "status" has not even been assigned …

Member Avatar for sciprog1
0
252
Member Avatar for badllama

Otay, I was brushing up my coding skills by creating a basic, coding 101 list class. At this point it works fine with a generic value, either primitive type or class. If it's a class, all the relational operators need to be overloaded to match the class key. I suddenly …

Member Avatar for badllama
0
140
Member Avatar for Madawar

Hello i want to create a file crawler that lists all files in hard disk using directory functions in C i have been able to list files in one directory only and haven't been able to crawl through other directories and sub-directories this is what i have so far. [CODE] …

Member Avatar for Madawar
0
418
Member Avatar for soccer13

Is there any way to use a single switch statement more than once? In the program I'm writing currently, rainfall figures are read from a file, and I have two methods that are determining which month has the highest/lowest rainfall. I keep a count using these methods and return the …

Member Avatar for jon.kiparsky
0
364
Member Avatar for pandaEater

I'm making a heap class and I want one of my functions, [I]const Employee& Heap::top() const[/I], to return a reference to the top element or throw an error if the heap is empty. I've never used try, catch, or throw statements before so I'm having trouble getting it to work …

Member Avatar for pandaEater
0
135
Member Avatar for vivi288

Hello, a quick question. If you have a PHP dynamic dropdown menu (that autopopulates with info from a mysql table), then the menu automatically links to its values, i.e. "page.php?value1=value1", correct? If you have two dropdown menus, then it becomes "page.php?value1=value1&value2=value2". Is there any way to make the dropdowns link …

Member Avatar for vivi288
0
240
Member Avatar for "ICode"

hi all, ---put in mind that im doing an ASP.NET website.... i made a DB using VS2010 (installed SQL server 2008 with the VS 2010 installation). the DB is in the App_Data folder. in the default.aspx.cs file i wrote this [CODE] Sqlconnection con = new sqlconnection(); con.connection = "server=.\\SQLEXPRESS;AttachdbFile=|DataDirectory|\\Database.mdf;Database=Database;Trusted=true;" [/CODE] …

Member Avatar for Momerath
0
932
Member Avatar for newbee3

Hello, I need to write a password check function to validate the following: 1. Length of the string is at least 5 characters. 1. Cannot be all digits. 1. Cannot contain a space. Below is some of what I have so far but I'm not sure if it is correct. …

Member Avatar for Isaac Remuant
0
128
Member Avatar for chamnab

hi does everyone know how to delete ' ->' in visual c++ ? Ex. #include<iostream> -> int main() -> ->{std::cout<<"Hello"; -> ->. return 0; ->-> }

Member Avatar for Ancient Dragon
0
97
Member Avatar for vJeel

I have problem with the stopwatch i made. For some reason, when i press "start" it just lags out. Can someone please check the code and tell me whats wrong? THANK YOU SO MUCH! Executor [CODE] package stopwatchpackage; public class StopwatchMain { public static void main(String[]args) { new StopwatchMain(); } …

Member Avatar for mrnutty
0
186
Member Avatar for lauruskamj

I have to write a C++ program that inputs a file containing three arrays which need to be added together. The file needs to have its dimensions on the first line and then the three matrices following it. I can't seem to get off the ground with this. I know …

Member Avatar for Ancient Dragon
0
98
Member Avatar for jnewing

Hey all sorry I'm new to c++ and just trying to get my head around vectors of objects etc.. so here is what I'm playing with [CODE] #include <iostream> #include <string> #include <vector> using namespace std; class foo { public: std::string blah; std::string blah1; foo() { } foo(std::string b, std::string …

Member Avatar for Ancient Dragon
0
170
Member Avatar for balle

I'm making a page views script. I kinda need help with making the database making it +1 each view. This is my current code: [CODE] mysql_query("UPADTE posts SET views=+1 id='$start'"); [/CODE]

Member Avatar for mschroeder
0
84
Member Avatar for ritcherjd

I have a problem at hand. It is to generate a C code - i need to do the following, i will capture an image, then i have to this image into an array using C on which i can do some image processing. How do i go about it? …

Member Avatar for angelique28
0
1K

The End.