199,114 Archived Topics
Remove Filter ![]() | |
I have alot of tables in database in one of this contains owner_id and another one have relation many to many with that,and that table have dissent_type how i can select dissent_type where owner_id = "" | |
This may sound like a silly question but does when using aType is it just means any type ?? | |
I know this is a horrible way to do this, but I'm trying to test out several things that I've learned at once in this code. It's meant to ask you how many numbers you want to add using dynamic memory, then push them on to the stack, and add … | |
Hi Guys, I need some help in accessing elements from a list. I am using Visual Studio 2008 (c++). Here's my code: [CODE] using namespace System::Collections::Generic; public ref class Cord { public: int numCord; public: int x, y, z; }; public ref class Poly { public: Cord c1, c2, c3; … | |
Hi all I have written code there are two definition functions but the only way I can get the whole thing to work is to put some code outside the definitions. Does anyone know how to fix the code so that I can call it from another module. Please help … | |
[CODE] index no.student room 2 3 D/BARU 2 9 D/BARU 2 1 D/BARU 4 44 A005 4 1 A002 4 1 A002 4 19 A002 4 19 A002 4 35 A001 4 29 BSK 2/3 4 25 A106/107 4 10 A005 4 0 B202 4 10 B208/209 4 20 D/BARU … | |
Hi, I am filling a datagridview with multiple columns from my oracle database. It has become necessary that I add a column with a checkbox. I figured this out. [icode] Dim cbPart As New DataGridViewCheckBoxColumn DataGridView1.Columns.Insert(1, cbPart) With cbPart .HeaderText = "PART" .Name = "Part" .DisplayIndex = 0 .Frozen = … | |
When we make a post to our site it looks fine but when we view the post we see a bunch of \r\n. We are told that we should use something like [CODE]str_replace("\r\n","<br/>",$YOUR_VAR)[/CODE] in order to stop this. Here is my question is the above correct? If so how would … | |
I have alot of tables in database in one of this contains owner_id and another one have relation many to many with that,and that table have dissent_type how i can select dissent_type where owner_id = "" | |
Hi all, lets say for example I have the following code [CODE]char *fname = "John"; char *lname = "Doe"; char *query = "SELECT fname, lname FROM table_name;"[/CODE] The last statement won't work, so my question is how to pass the fname and lname variables to the query? | |
Is there a simple way to just be able to add milliseconds to my timestamp function? [code]char stamp[100]; time_t mytime; struct tm *mytm; mytime=time(NULL); mytm=localtime(&mytime); strftime(stamp,sizeof stamp,"%a, %d %b %Y %H:%M:%S %z",mytm); printf("%s\n" , stamp);[/code] | |
Ok now that I have the basics of table import done, I now am having trouble figuring out how to transfer the database from my local server to my remote server. I thought when you right click on the database and then select data transfer this would work. I must … | |
I'm trying to write a gui which will continually update values obtained from a data measurement device. Orginally this was accomplished using a TKinter .after loop with a specified refresh time of 500ms. This snippet of code is called from the mainloop and updates the values once when it is … | |
I am really confused by this problem. PLEASE HELP Write a program that reads a set of floating point data values from the input. When the user indicates the end of the input, print out the count if the values, the average, and the standard deviation. The average of a … | |
So, I've wrote a program awhile ago that prints barcode labels. The old version needed the font to be installed in the fonts folder, but that made it a pain for people using the program for the first time, as the program would print the barcode label with a default … | |
Hi, We were asked to make a Binary Search Tree program in C. It should be able to traverse the numbers (preorder, inorder, postorder) then display it. And locate the number and display it. I have no probleming traversing and locating it. My problem is if the number isn't there … | |
Hi, We were asked to make a Binary Search Tree program in C. It should be able to traverse the numbers (preorder, inorder, postorder) then display it. And locate the number and display it. I have no probleming traversing and locating it. My problem is if the number isn't there … | |
Hi All, I have been pulling my hair out over this one. What we are trying to do is pull sum values for the same item out of three different tables in the same DB (MSSQL '05) – Should be quite straight forward however... The result should look a bit … | |
Hi, [LIST] [*]In my site I have a form which anyone can submit details via e-mail. [/LIST] [LIST] [*]Since I want to get more details, I leave a space to upload a document.then visitor can browse & upload the details. [/LIST] Please can anyone tell me how can I [B]receive … ![]() | |
how to design a database for an enquiry form with following attributes: 1.name 2.address 3.telephone no 4.email 5.educational qualification 6.college 7.language: java vb.net vc#.net asp.net C++ php assembly embedded C vC++ (a student can opt for more then 1 language) 8.expectation on programming week: 24 16 12 8 6 4 … ![]() | |
Hey, I'm writing a program that takes files and renames them to include a timestamp of the current time on them in c++. I'm pretty new to c++ (and programming in general) and any help or advice would be greatly appreciated. So far I have this: When I compile it … | |
Hi Guys! Is it possible to change the color of a button when you move your mouse onto the button? Like say before it was red and it can be changed to yellow? Anyone can help me with the code? Thank you! | |
hi this is abhinav i am a newbie to this world ... i very urgently need a project on library management in vb...... is there any one who can help me in this ....... thanks | |
so i have a little issue here. i have a program that creates a list of random numbers, for sake of example here it is: [CODE] public class RandomSeq { public static void main(String[] args) { int n = Integer.parseInt(args[0]); for (int i = 0; i < n; i++) System.out.println(Math.random()); … | |
Hi guys I am a new IT guy.my task is to manipulate time and date.I use two separate classes for time and date. Now i need to integarate them, so which one is best Inheritance or containment | |
Hi All, I hope you all would be fine i want to print 1. Only text 2. No controls should be appear in the print like textboxes etc. Thanks in advance. | |
Hey, I was wondering if any one could help me with several problems I am having. 1st problem: Can anyone tell me how to combine two int's and put a ':' in between. Bascially I want the user to enter the hour and minutes separately, then combine them both together … | |
well i use bootime function to get and store time in my bios but i want to enter time in my system . what should i use for time and what to do for date well i am using time.h header files for that also i need to know about … | |
Hi, I am relatively new in ASM, so I need some help. I found this code on the internet and made some modifications. [code] ;************************************************** ; Hello World OS Boot loader ; Designed by Arnav ; http://pendorasoft.byethost15.com/ ;************************************************** [BITS 16] [ORG 0x0000] ; code located at 0000:7C00, adjust segment registers … | |
Hi, I am having an small application which is running in a thread and it is waiting for an event initially. As soon as if i clicked the START button, event will be enabled. From then onwards my entire application is running in WHILE (TRUE) loop. That means that i … | |
Hi, I am pretty new to php, but I am loving it! Finding out what's wrong, and finding the solution. But this time I can't find it! You can see down there a copy screen of the website I'm doing. There is a menu to the left "Clothing, Bathtime..." When … | |
Hello, I have a custom script. I want to add cart function in my script but I can't find any tutorial. Please help me, any step by step tutorial? | |
Hi All, I cannot export big numbers to excel. I am using POI jar files for jsp to excel export. Here i am pasting my source code. [CODE]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Export to Excel</title> </head> <body> <table cellpadding="3" cellspacing="3" border="1"> <tr> <th>9 Digits</th> <th>18 Digits</th> <th>27 Digits</th> </tr> … | |
how to calculate the date of birth by giving the date, month, year in the registration page | |
HOW DO I COMPARA CHAR INTO A INTGER STRING? ----------------------------------------------------- #include<string.h> #include<conio.h> #include<iostream.h> #include<stdio.h> #include<ctype.h> #define g gotoxy //*design void design() { int ctr; for (ctr=0;ctr<9;ctr++) { textcolor(LIGHTBLUE); cprintf("--"); } } //------------------------------------------------- void maine() { clrscr(); g(8,3);design(); g(8,5);design(); g(27,4);cout<<"DATA STRUCT COMPANY INVENTORY SYSTEM"; int total=0,totalprice=0; int count,ctr=9; struct { char … | |
Just a small query..!! how can i stop user to enter future date.. or user can enter or user can enter future 10 days..! Thnx | |
Hi!, i have 48 errors with following code.Plzzzzzzz.......can anyone tell me the mistake that i had done. thanks in advance. this is my code [CODE] import java.lang.String; import java.lang.Integer; import java.lang.Float; import java.util.Hashtable; import java.util.Enumeration; import java.sql.*; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class testM{ public static void main(String[] … | |
Hello, I want suggestion as to how to do the following: 1) In my current scenario,when a particular user fills a form which contains one field as manager and saves the details that manager receives an email stating that u have a request. This email also contais an URL which … | |
The startup of my application is the main form then it has login.showdialog for login. I already finish this but I want to have a form appear when the user successfully logged in. I tried putting this in my log in form form = new form(); form.Showdialog(); this.Close(); yes, the … | |
Assuming that I have text in JTextArea where the characters are presented in different Font and colors since the class has a method :setFont(Font f), setForeground(Color fg). I wonder if there is a way to save it on MS Word. | |
Hello. I'm still fairly new with C++. I started on a code with a friend, but I'm still very unsure about setting up loops and such. Some help on where to go next with this problem would be much appreciated! This program requires you to input information about vehicles in … | |
Hi All! I'm creating a program using Python and compiling it with py2exe. I've the same problem of this topic, but I can't solve it because GUI2exe is not supported by Python26. [url]http://www.daniweb.com/forums/thread224403.html[/url] How could I solve this problem? | |
Okay, I'm creating a webcam capture program that will take pictures and record video. The picture part works perfectly but I can't get the video part to work. No matter what I try it won't save the AVI file Heres my code [CODE] OOption Explicit On Imports System.Runtime.InteropServices Public Class … | |
The following project is considered appropriate for a graduation dissertation in Computer Science Graduation project if the supervising professor is good in Java An English Word Statistics in Java The function may include: 1. To ask client to select a text file to open (FileDialog would be good to start … | |
Hi there Expert Designers, I am building a Web form for a medical institution, can you give me an advise in how to make this form look cool??[code]<%@ Master Language="C#" CodeFile="MasterPage.master.cs" Inherits="MasterPage" EnableViewState="false" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script type="text/javascript"> function OnClick1() { if (divCalendar.style.display == … | |
i have a code that reads lowest and the highest number with inputs that are all Integer but, once i have an input (ex. apple 200)...it wont read anymore, need help in what to input code that ignores letters [CODE]//reads numbers only ex. 100 200 300 int main() { ifstream … | |
Hi All I have two tab-delimited files. I want to compare first column of testfile1 to first column of testfile2 to find if items in file2 are in file1 and write it to the new file. I have a following code but not working!! :(. [CODE]f1 = open('testfile1.txt') #f2 = … | |
Hi please look this code , when i run it on nokia N97 it`s run very slow but i test it on samsung corby it`s run true , i think if i use game canvas problem be sloved . what should i do to solve this problem . [CODE]/* * … | |
1. Define a structure called cricket that will describe the following information Player name Team name Batting average Using cricket, declare an array player with 10 elements and write a program to read the information about all the 10 players and print a team wise list containing names of players … | |
Hello! I am trying to write a function that looks for a desired string pattern within a table (Countries). Look at the code. [CODE]def selectCountry(): print 'Enter country:' country = raw_input('> ') sql = '''select idCountries,CountryEn from Countries where CountryEn REGEXP '%s'''' cursor.execute(sql,(country)) result = cursor.fetchall() rowHead = 'Country ID','Country … |
The End.