199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for blueman:-0

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 = ""

Member Avatar for tesuji
0
105
Member Avatar for elsiekins

This may sound like a silly question but does when using aType is it just means any type ??

Member Avatar for mrnutty
0
98
Member Avatar for livestrong2431

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 …

Member Avatar for livestrong2431
0
136
Member Avatar for nu2cpp

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; …

Member Avatar for mike_2000_17
0
223
Member Avatar for pendo19

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 …

Member Avatar for pendo19
0
235
Member Avatar for shahreza

[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 …

Member Avatar for shahreza
0
123
Member Avatar for starlight849

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 = …

Member Avatar for starlight849
0
191
Member Avatar for valonesal

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 …

Member Avatar for valonesal
0
116
Member Avatar for blueman:-0

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 = ""

Member Avatar for JamesCherrill
0
115
Member Avatar for gmunk

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?

Member Avatar for aryan79
0
1K
Member Avatar for wesduncan

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]

Member Avatar for wesduncan
0
801
Member Avatar for teedoff

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 …

Member Avatar for teedoff
0
117
Member Avatar for Tightmopedman9

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 …

Member Avatar for Tightmopedman9
0
700
Member Avatar for kulrik

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 …

Member Avatar for tong1
0
237
Member Avatar for freemanirl

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 …

Member Avatar for Oxiegen
0
360
Member Avatar for ellenski

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 …

Member Avatar for ellenski
0
111
Member Avatar for ellenski

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 …

Member Avatar for ellenski
0
124
Member Avatar for lukefuller

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 …

Member Avatar for tesuji
0
159
Member Avatar for hansan

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 …

Member Avatar for rajarajan2017
0
95
Member Avatar for heena sharma

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 …

Member Avatar for rajarajan2017
0
144
Member Avatar for jbronen

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 …

Member Avatar for jbronen
0
848
Member Avatar for TrueVb.NetNoob

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!

Member Avatar for vik2321
0
137
Member Avatar for abhinav_blue87

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

Member Avatar for AndreRet
0
170
Member Avatar for pumpkin_pub

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()); …

Member Avatar for ashok2004_urs
0
330
Member Avatar for ganesh_IT

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

Member Avatar for Fbody
0
95
Member Avatar for Naveed_786

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.

Member Avatar for Oxiegen
0
152
Member Avatar for Drakarus

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 …

Member Avatar for Drakarus
0
164
Member Avatar for abhijeet kamble

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 …

Member Avatar for mike_2000_17
0
120
Member Avatar for imperator

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 …

Member Avatar for waphon
0
549
Member Avatar for chsarp_vijay

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 …

Member Avatar for kataraja5
0
203
Member Avatar for bouhbob

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 …

Member Avatar for EverWebby
0
1K
Member Avatar for kunnu

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?

Member Avatar for EverWebby
0
119
Member Avatar for vinithktp

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> …

Member Avatar for vinithktp
0
1K
Member Avatar for azarudeen

how to calculate the date of birth by giving the date, month, year in the registration page

Member Avatar for proDharm
0
169
Member Avatar for tamayoclarisa

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 …

Member Avatar for Ancient Dragon
0
141
Member Avatar for nish123

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

Member Avatar for fxm
0
2K
Member Avatar for coroll

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[] …

Member Avatar for coroll
0
340
Member Avatar for laghaterohan

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 …

Member Avatar for dnanetwork
0
159
Member Avatar for AngelicOne

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 …

Member Avatar for Geekitygeek
0
408
Member Avatar for tong1

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.

Member Avatar for tong1
0
86
Member Avatar for thedoodler

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 …

Member Avatar for Kanoisa
0
1K
Member Avatar for manzati93

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?

Member Avatar for manzati93
0
146
Member Avatar for danielair

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 …

Member Avatar for Oxiegen
0
761
Member Avatar for tong1

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 …

Member Avatar for peter_budo
0
589
Member Avatar for RickyG

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 == …

Member Avatar for pritaeas
0
156
Member Avatar for Anyzen

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 …

Member Avatar for Kanoisa
0
149
Member Avatar for pythonbegin

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 = …

Member Avatar for TrustyTony
0
775
Member Avatar for mahdi68

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]/* * …

Member Avatar for peter_budo
0
96
Member Avatar for bunty_kkp

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 …

Member Avatar for Nick Evan
0
243
Member Avatar for acrocephalus

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 …

Member Avatar for acrocephalus
0
362

The End.