199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
Does anyone know of a component to allow programmatically reading a PDF? | |
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 … | |
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? … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
[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 … | |
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 … | |
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] … | |
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 … | |
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 … | |
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 … | |
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 … | |
Hi all.. I want to disable 'centre click' of mouse for my website..How could i do this?? Thank You :) | |
for example my array is test[10], and i want to clear 2 of the 10 memory, how to do that?? | |
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 … | |
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 … | |
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 … | |
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 … | |
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("/" … | |
[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;} … | |
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. | |
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 … | |
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 … | |
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 … | |
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] … | |
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 … | |
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 … | |
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 … | |
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] … | |
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. … | |
hi does everyone know how to delete ' ->' in visual c++ ? Ex. #include<iostream> -> int main() -> ->{std::cout<<"Hello"; -> ->. return 0; ->-> } | |
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(); } … | |
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 … | |
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 … | |
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] | |
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? … |
The End.