199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for newbie14

Dear All, I have a table tblEventAlert as below. So what happens when the data gets insert into this table the problem is that the eventAlertID is autoincrement. Then below it I have another table. My problem is that I want the eventAlertID to be stored into the tblSCvData. I …

Member Avatar for urtrivedi
0
143
Member Avatar for aldeene

what's wrong with my code? i'm new to java, can someone help me? the data is not showing. [CODE] public class GUI { private static JTextField fname = null; private static JTextField lname = null; private static JTextField search = null; private JPanel panel = null; private JPanel tablePanel = …

Member Avatar for mKorbel
0
168
Member Avatar for dwiniers

Hello there i need your help and expertise. Anybody can help me how to make a code or how to make a word running like marquee in a text box. Thanks in advance! br

Member Avatar for dwiniers
0
217
Member Avatar for neeraj goswami

[B]i have written one programm in c using structure to enter name and account number of the emplpyee.the programm shows an error which is filename.c:11 error:expected identifier or "("before"["token..i am not able to get the error...please clearify it.[/B][CODE] #include<stdio.h> #include<conio.h> #include<stdlib.h> main() { struct wipro { char name[20]; char accnum[10]; …

Member Avatar for neeraj goswami
0
284
Member Avatar for zzou

hi The question to which am using the for loop is as follows: Write a C interactive program that will encode a word or sentence entered by a user. The encryption will be done as follows: For any word or sentence (note: blank spaces, special characters are ignored here, i.e …

Member Avatar for kings_mitra
0
140
Member Avatar for RM@Bowdoin

I implore you to ignore the poor formatting, ignore the overall functionality even; my problem lies with trying to call the Scanner scan within flow method from readBoolean and readBoolean2D methods. It says it cannot find variable scan. How can I access this variable? [CODE] import java.util.*; import java.io.*; public …

Member Avatar for ~s.o.s~
0
339
Member Avatar for Dewey1040

I'm creating a fibonacci program in mic1, which is a little more readable than other assembly languages so even if you don't know the language it shouldn't be hard to figure out what the code is trying to do if you are good with stacks and recursion. This is the …

0
392
Member Avatar for jigarsangoi
Member Avatar for jigarsangoi
0
119
Member Avatar for ynwa

import java.awt.*; import java.awt.image.*; import java.awt.geom.*; import java.lang.Exception.*; import java.io.*; import javax.imageio.*; import javax.imageio.ImageIO; import java.net.*; import java.net.MalformedURLException; class Blur1 { public static void main ( String [] args) { float[] matrix = {0.111f, 0.111f, 0.111f, 0.111f, 0.111f, 0.111f, 0.111f, 0.111f, 0.111f, }; BufferedImage sourceImage = null; try { URL …

Member Avatar for stultuske
0
609
Member Avatar for anand01
Member Avatar for anand01
0
3K
Member Avatar for theCompiler

im creating a cartesian plane i will plot the points but how am i supposed to determine if the points create a single straight line ? tnx

Member Avatar for kings_mitra
0
323
Member Avatar for YaelGD

Hi, I need to draw a right triangle, based on the height and the base of it. An Isosceles one is easy to draw, but a randomly chosen relation between the height and the base (which gives me a right triangle other than 90, 45, 45) needs to be based …

Member Avatar for sungaw
0
2K
Member Avatar for vidit_X

I need to write a program, which prints out all the prime numbers between two numbers. The first input specifies the number of test cases, followed by the limits. Here is an example.. [QUOTE] Input: 2 1 10 3 5 Output: 2 3 5 7 3 5 [/QUOTE] I wrote …

Member Avatar for Rashakil Fol
0
158
Member Avatar for cig_buttz

I wanted to create this program which lets the user choose from the 4 number systems, binary,decimal,hexadecimal, and octal. inputs a number for the chosen number system, then converts it to the other three number systems. Help anyone?

Member Avatar for josephbeluan
0
127
Member Avatar for paraclete

I'll preface this by saying that I'm fairly new to Python (after having 2-3 years of C++ under my belt), but for some reason I can't figure out the reasoning behind global variables and when/how I should be using them. For instance, there is a project for school that we've …

Member Avatar for paraclete
0
227
Member Avatar for anonimous

[CODE]If ListView1.SelectedItems.Count = 0 Then MsgBox("Plese Select a Product") Else Dim price As Double Dim quantity As Integer Dim total As Double price = ListView1.FocusedItem.SubItems(3).Text quantity = ListView1.FocusedItem.SubItems(2).Text If txtProductName.Text = "Happy" Then If txtQuantity2.Text > 20 Then total = price * Val(txtQuantity2.Text) * 0.95 total = Format(total, "0.00") execute("insert …

Member Avatar for Capritarius21
0
113
Member Avatar for jefroxnergal

First of all I want to thank "codeorder" for sharing me this code.. [CODE]Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click With Form2 .TabControl1.SelectedTab = .TabPage2 .ShowDialog() End With End Sub[/CODE] This code actually works in normal windows form but when I try to implement this code to …

Member Avatar for jefroxnergal
0
242
Member Avatar for pythonhelp11

I need to create a code that will extract the dob from a array of string, like this [iCODE]finddob(["name:bob grade:a dob:1980","dob:1976 name:kate grade:c"])[/iCODE] [CODE]def finddob(listofstrings): recordnum = 0 while(recordnum < len(listofstrings)): yearstart = listofstrings[recordnum].find("dob:") + 4 yearend = listofstrings[recordnum].find(yearend) year = int(listofstrings[yearstart, yearend]) if(year > 1990): print("Is over 21") else: …

Member Avatar for woooee
0
427
Member Avatar for d3fined

Hi, I have just recently started using python and I couldn't figure out two problems regarding finding the first three occurrences of spaces using while loops. I have trouble understanding the concept of while loops. How would i write a program that reports the first three occurrences of a space, …

Member Avatar for TrustyTony
0
182
Member Avatar for Ruchi224

Hello.. I am using MS Access 2003 and vb.net to develop a windows application of inventory management. I have used datagridview in the form and using FillBytoolstrip option, can filter data using type. But i have no idea as to how can i update the database to reflect the latest …

Member Avatar for Phasma
0
611
Member Avatar for vanpersie

Hi Generaly what skills that I should know in PHP to be a candidate to work in a company In other words I have studied the basics of PHP what you advise me to know more. thank you.

Member Avatar for chrishea
0
113
Member Avatar for evlmangesh

Hi guys, This code has been on my back since a few days now and I kinda need help on it ASAP. Basically what I wanna do is use PipedInputStream and PipedOutputStream to accurately time thread create operations. So I have to calculate System.nanoTime() in the run() method of the …

0
100
Member Avatar for Blink383

I cannot get past this error. I had taken out the dataSort method which allowed it to compile, however I need the data to sort for my assignment. When it compiled the data was not passing through my constructors, I got no data output. Any assistance is greatly appreciated . …

Member Avatar for Taywin
0
372
Member Avatar for Stang51

Hi, I'm new here I searched for any possible way to fix my issues, but I have not found anything that I can understand, so I figured I would post my code here. In my C++ class I was asked to take a craps program and modify it to take …

Member Avatar for Stang51
0
1K
Member Avatar for FreePuppy

What is up!? I am completely stuck and trying to do something I'm not to certain I can do. After reading on web I have seen 2 options... non i cant get work... Before I get ahead of myself let me explain what is going on. I have a JS …

Member Avatar for Taywin
0
191
Member Avatar for bsewell

Hi all, I have some content which I would like to limit to 9 per page in a table. I haven't done the table code yet, and rather concentrate on trying to get the filter working. When I try to enter the URL of index.php, where page=2 or without a …

Member Avatar for Mark_k
0
898
Member Avatar for khevz09

MY problem is ..... Given an input 'n' came from the user and display a pattern. but my code is very long .... my code is only for 1-10 numbers i need to display any numbers that input of the users can u give me some short code or advice …

Member Avatar for cejay2b20
0
1K
Member Avatar for justincuppen

Hello I need help figuring out how to write a loop program that behaves a certain way, I have been beating my head off of walls trying to figure this out and it is probaby so easy.. This is the expected behaviour: $ ./a.out Enter some text on 1 or …

Member Avatar for justincuppen
0
127
Member Avatar for justincuppen

Hello I am attempting to write a program that will convert temperature from c to f and vise versa. However I need this program to stop when choice == 'q' and i am having a horrible time with it. here is the code that i have been working with. any …

Member Avatar for vidit_X
0
148
Member Avatar for bobytch

Good Day Everyone here is my code so far [CODE] #include <graphics.h> #include <stdlib.h> #include <stdio.h> #include <conio.h> void vp(int x,int tc,int bk,char *text); void square(int x,int y,int size); void main() {//=========================================================== int gdriver = DETECT, gmode, errorcode; initgraph(&gdriver, &gmode, "C:\\TC\\BGI"); //------------------monitor-------------------- setbkcolor(0); setcolor(15); square(300,160,150); square(300,160,148); square(300,160,130); square(300,160,131); setaspectratio(2,5); int …

Member Avatar for vidit_X
0
285
Member Avatar for GSLENK

Program runs fine with me, the cout's work. IDK what this means every cout from line 17 to 71, and the system ("pause") on line 72 are all warning marked as ambigious. It started happenning when i put the "while (occupiedRooms > rooms)" in. I think thats when the errors …

Member Avatar for vidit_X
0
345
Member Avatar for malcomm

Hi I have a web form with a label on it. The content of that label is updated in response to some javascript on the client webpage. Upon completion of some data entry, a button is clicked which adds that labels data (and others) to a gridview. Basically this all …

Member Avatar for malcomm
0
281
Member Avatar for toneatles

Hello all, I have a assignment for school that I am having trouble with. I have to write a program that will list all primes numbers of an inputted number. I have the code and it compiles with no errors, but when I run it after i input the number, …

Member Avatar for vidit_X
0
186
Member Avatar for linux

This is for a CS course I am taking. I'm stuck. I need to write a program that takes a number and tallies up how many cycles it takes of multiplying the digits until it is a single digit number. ie: 715 = 7 * 1 * 5 = 35 …

Member Avatar for linux
0
124
Member Avatar for Shwetha Dali

Here is my code to draw a star..But i have a problem..its printing only half star. using System; using System.Collections.Generic; using System.Text; using System.Collections; namespace triangle { class Program { int k = int.Parse(Console.ReadLine()); static void Main(string[] args) { Console.WriteLine("Enter The Value:"); int k = int.Parse(Console.ReadLine()); int m = k; …

Member Avatar for JuhaW
0
744
Member Avatar for juniorsilver

I designed an application with vb2010 and i would like it to run on a Windows XP platform without the trouble of installing the .NET framework 4.0 and the VBPowerpacks module. I tried copying the DLL files of what i needed and placing them in the application folder, but it …

Member Avatar for juniorsilver
0
207
Member Avatar for johnbo100

Hi all, So I have 2 files where one is an ajax script that calls another file that does some mysql database query. What is the best way to echo out multiple recordset rows to ajax?. Please see the source code below: ajax code: [CODE] <form name="form1" method="post"> Please enter …

Member Avatar for johnbo100
0
2K
Member Avatar for Skrell

After MANY hours searching online documentation, i still cannot find some simple examples of using the subprocess module to execute commands in the windows console and read back in the output from said command(everything is for unix). So for example, if i wanted to do something like use 7z.exe to …

Member Avatar for Skrell
0
108
Member Avatar for bckc

Hi guys, I started learning C a few days ago, watching as many youtube tutorials as possible but there aren't many tuts on youtube :/ Can anyone recomend me a good book or list of tutorials? I started to read "The C Programming Language" by dennis ritchie but It's a …

Member Avatar for cse.avinash
0
178
Member Avatar for prem2

Dear team, Please explain, which one will be faster in Mysql for the following query? SELECT * FROM `userstatus` where BINARY Name = 'Raja' [OR] SELECT * FROM `userstatus` where Name = 'raja' Db entry for Name field is 'Raja' there is no key for the field. I have 1000000 …

Member Avatar for iw2011
0
172
Member Avatar for sandadps

I want a ready made database of the countries all over the world, the major cities of those countries and their time difference (in hours) from GMT. Please tell me where to get it. I need it soon.

Member Avatar for iw2011
0
131
Member Avatar for SI THU

hi! anybody help me please, i write shutdown code,it ok but when i convert exe file shutdown code is not work. my shutdown code is [CODE] shell "shutdown -s -t 30"[/CODE] please help me thanks

Member Avatar for KingGold171
0
142
Member Avatar for temmyb

So I cant get the division to work on my c++ homework. This is a diceroll game and im trying to get sum1=num1/diceRoll to get the percentage of # of times divided by the amount of time the dice is being rolled. It keeps giving me 0 because I assigned …

Member Avatar for temmyb
0
211
Member Avatar for gedas

hey, i have no experience with pearl programming what so ever, but at work i have to use the code below to change csv to xls files. could someone tell me in the code below which line specifies the .csv file name that i need to change in order to …

Member Avatar for JeoSaurus
0
369
Member Avatar for Vidgie65

These are the errors the compiler is giving me on these lines od code - any help understanding or fixing this issue ???? \extpersontype.h(35) : error C3646: 'extPersonType' : unknown override specifier \extpersontype.h(37) : error C2091: function returns function \extpersontype.h(44) : fatal error C1903: unable to recover from previous error(s); …

Member Avatar for Moschops
0
265
Member Avatar for computerchip

[B]Hello, I am a new CSC 111 student. I have this problem where I am supposed to create "interactive forms", but I'm having trouble figuring out how to do the height, the "time" portion of the form, and it doesn't seem to cooperate interactively. I have the problem and my …

Member Avatar for TrustyTony
0
189
Member Avatar for syaminismail

1) Write a full program for the bubble sort algorithm. User is required to enter specific input numbers and the program will be able to sort the given numbers in ascending order. Write down in a table the time (according to your system clock) that it takes for the program …

Member Avatar for Narue
0
224
Member Avatar for ARaza110

[CODE]public class cation { public static void main(String[] args) { new cation().run(); } public void run(){ harada hara=new harada(); insert(hara); insert(hara); } public void insert(harada hara){ if(hara.left==null){ hara.left=new harada(); } else{ insert(hara.left); } } class harada{ harada left; public harada(){} } } [/CODE] Can someone please explain, recursion in objects …

Member Avatar for ARaza110
0
172
Member Avatar for davy_yg

tampil_produk.php [CODE] <?php include "includes/koneksi.php"; echo "<table>"; $sql=mysql_query("select * from produk order by id_produk desc"); while ($r=mysql_fetch_array($sql)){ $harga = number_format($r[harga],0,",","."); $deskripsi = nl2br($r[deskripsi]); // membuat paragraf $isi = substr($deskripsi,0,220); // ambil sebanyak 220 karakter $isi = substr($deskripsi,0,strrpos($isi," ")); // potong per spasi kalimat echo "<tr><td><img src='foto_produk/small_$r[gambar]' align=left hspace=20 border=0></td><td><b>$r[nama_produk]</b> <br …

Member Avatar for pzuurveen
0
162
Member Avatar for Master Mascus

[CODE]// Including the libraries to be used #include <stdio.h> #include <stdlib.h> #include <string.h> // Defining the End of line #define EOL '\n' //Declaring Global variables (for the sentence and the output sentence- final) char sentence[100]; char final[100]; int i,j,ans; int start() // Defining the start function { printf ("\n"); printf …

Member Avatar for Narue
0
126

The End.