199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for like_to_learn

hai, My requirement is given below. In my application one LOV is there to show Insured names.In that if we query for the name like ahemd's% then it is showing wrong(junk) data..................So,my question is how to add single quote to already existing single quote.........................I tried in many ways but I …

Member Avatar for pratik_garg
0
3K
Member Avatar for shruti1210

Create a trigger for insert/update/delete to the table shruti. if insert/update/delete happens then trigger needs be executed.

Member Avatar for pratik_garg
0
95
Member Avatar for maichy

hi all, can someone please help out.i am using php to insert data into an oracle 11g database.i have a table bus which has a foreign key franchisee name,i want when i am filling in the form,at the text box containing the franchisee name instead of inputting anything i have …

Member Avatar for pratik_garg
0
270
Member Avatar for JPramod

Hi, This is just a thought. So please don't get mad at me and please don't waste much time over this either. Just wanted to share something that occurred to me. Now I've done a bit of java and a bit of C. Now what I want to do is …

Member Avatar for JPramod
0
184
Member Avatar for jackmaverick1

Hi, I just started Java (But I do have 1.5 years in c++) and I found that string switchs aren't allowed, so I tried using a character array, now when I try to define the array, it says that [ICODE]char [10 for example]array;[/ICODE] is not allowed because of [10 for …

Member Avatar for JamesCherrill
0
95
Member Avatar for Dragazarth

If I have 9 buttons called button1, button2 etc up to button 9 how can I change their properties using a loop? Or can I group them together? I have something like this [CODE]for (int i = 1; i <= 9; i++) { button.Enabled = true; button(i).Text = "BLAH!"; }[/CODE] …

Member Avatar for Dragazarth
0
321
Member Avatar for turt2live

Hello, For some reason when I use the particualr block of code below it will work the first time, but when called again with RemComps as true, it will work almost the way I want it to, but instead of the one set of buttons it has 2 (or the …

Member Avatar for turt2live
0
209
Member Avatar for shyla

I am struggling with this assignment to long i need someone to tell me what am i doing wrong Write a program with three functions: upper, lower, and reverse. The upper function should accept a pointer to a c-string as an argument. It should step through each character in the …

Member Avatar for Arbus
0
1K
Member Avatar for Theanonymous

I need to write a program that calculates the squares of all numbers that are contained in a file of floating point numbers. The obtained new numbers form a new file. Like this : if the file contains the numbers 1, 2.5, 0.1, the numbers 1, 6.25 and 0.01 form …

Member Avatar for finchh
0
295
Member Avatar for flizbert

Hi, I'm new to these forums and have been working with xslt for about a month. So far I've been able to do just about everything I need with it, but my most recent task has me confused. I have a relatively flat xml structure that I'm using XSLT to …

Member Avatar for xml_looser
0
672
Member Avatar for TheWhite

I tried everything could possibly think of to do this and have spent hours trying to figure it out.. I'm trying to take this timestamp: 2011-03-23 00:43:07 which is in GMT zimezone and convert it to a Date that is in my timezone which is 4 hours later. 1. It …

Member Avatar for JamesCherrill
0
5K
Member Avatar for elbib84

hi, am trying to parse a multiple pairwise format into table for example: Query= m100529_140129_SMRT1_c0000010190006406181231110_s0_p0/32965/0_332_clipped_50:0 (282 letters) Query: 8 TTTTTGAACAGCCCCAACAACTCTTCCGCTGCCGGTTGCTGCA-TTCCAGTTGTTCCACA 66 ||||||||||||||||||||||||||||||||||||||||||| |||||||||||| ||| Sbjct: 4045830 TTTTTGAACAGCCCCAACAACTCTTCCGCTGCCGGTTGCTGCACTTCCAGTTGTTC-ACA 4045772 Query: 67 GTCCAGCTCCAGTTCAACGTCGGTTTAAATCGTCG--AGCT-GTATGAGAGATAAGCATA 123 | ||||||||||||||||||||||| |||||||| |||| |||||||||||||||| | Sbjct: 4045771 GGTCAGCTCCAGTTCAACGTCGGTTTTAATCGTCGCCAGCTGGTATGAGAGATAAGCA-A 4045713 Query= m100529_140129_SMRT1_c0000010190006406181231110_s0_p0/56521/6_684_clipped_527:0 (151 letters) Query: 1 CTTCAAAGAGGGAGAATTACGTCGATATTACCGAAGGCTGGGAGAAGGGTGAAAATACAA 60 …

Member Avatar for griswolf
0
151
Member Avatar for Kunal Aggarwal

I made the Huffman code algorithm... and made the tree as it should be made.. The problem comes how do I print the code from the tree.. Theoretically I know the code generation.. But how to implement in C++.. Using TC. The following tree is constructed for this data [CODE]Alphabet …

Member Avatar for Kunal Aggarwal
0
152
Member Avatar for Jaseem Ahmed

i want to delete selected record from listview and database, but when i press delete button, it deltes onlye first record of listview not selected record... here is code...[CODE] Private Delte_Click() Call Mydatacon Dim rs As adodb.Recordset Set rs = New adodb.Recordset rs.Open "SELECT * FROM AAAAA_DEMO", con, adOpenStatic, adLockOptimistic …

Member Avatar for Jx_Man
0
1K
Member Avatar for dospy

i've seen in some sources that some classes have Getters and Setters even for public data members [CODE] class Example { private: int m_ID; public: string m_Name; int m_Age; Example( ); ~Example( ); void SetName( string nName ) { m_Name = nName; } void SetId( int nID ) { m_ID …

Member Avatar for dospy
0
195
Member Avatar for Khoanyneosr

[CODE]/* Beginning Game Programming, Third Edition Chapter 4 Load Bitmap program */ #include <windows.h> #include <d3d9.h> #include <d3dx9.h> #include <time.h> #include <iostream> using namespace std; //program values const string APPTITLE = "Load Bitmap Program"; const int SCREENW = 1024; const int SCREENH = 768; //key macro #define KEY_DOWN(vk_code) ((GetAsyncKeyState(vk_code) & …

Member Avatar for LevyDee
0
140
Member Avatar for asif49

I've been making a program which reads several strings from a Notepad file which's location is set through user input. Then they enter a string which is in the file, a positive message is shown if it's not then a negative one is shown. However I can only scan the …

Member Avatar for javaAddict
0
88
Member Avatar for pseudorandom21

What would be a common strategy for using DLLs coded in native C++ in C#? I'm not really finding much good information about it, other than writing the DLL in C.

Member Avatar for mike_2000_17
0
778
Member Avatar for naseerhaider

I'm brand new to C++ ,I've written following code for finding a number's factorial,Can you please let me know how to write it more elegantly ? [CODE]#include <iostream> using namespace std ; main () { int num = 0 ; // declaring variables double result = 1 ; long int …

Member Avatar for naseerhaider
0
176
Member Avatar for penguino138

Hi. Im making a flash cards program and need help with making graphics, making a menu, making it so that they can go back in and access the decks, and making it so i can give it o other people, and a few other things. Here's my code: [CODE] import …

Member Avatar for penguino138
0
129
Member Avatar for ddcc

Hi, i am trying to write a program which calculates the sum of the prime numbers below a specific limit using an algorithm called the Sieve of Eratosthenes(Wikipedia it). I am getting an error though when i run my program. It says debug assertion fail and something how the iterator …

Member Avatar for ddcc
0
170
Member Avatar for shyla

i am getting this error and i dont know how to get rid of it its in GUI BTW Error 1 'ArrayManagementGUI.Form1.displayArray(double[])': not all code paths return a value F:\CSIS115c\ArrayManagementGUI\ArrayManagementGUI\Form1.cs 47 24 ArrayManagementGUI [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; namespace …

Member Avatar for ddanbe
0
89
Member Avatar for sumprit

Hello everyone...! this is my first post here. I have a problem regarding finding the average from an arraylist containing database values. From the database using getString() method i have stored the results of 3 fields in 3 separate arrylist. now what i needed is to find the average from …

Member Avatar for sumprit
0
143
Member Avatar for RoyalElite96

Hello everyone. I am working on this forum/post/script type thing. What I want to do is convert this example to HTML. [div] [p]Some text[/] [div] Some more text [/] [/] ---> <div> <p>Some text</p> <div> Some more text </div> </div> I don't want to use [/div] or [/p] to keep …

Member Avatar for kekkaishi
0
110
Member Avatar for MaddTechwf

I want to load a Menu based on an XML document. I'm including an example from BartPE that does the same thing. I'm hoping that someone will have some experience with this before. [CODE] <?xml version="1.0"?> <NU2MENU> <MENU ID="Startmenu"> <!--==--> <MITEM TYPE="POPUP" DISABLED="@SetMenuPos( 'L','B' )0" MENUID="Programs">Programs</MITEM> <MITEM TYPE="SEPARATOR"></MITEM> <MITEM TYPE="POPUP" …

0
107
Member Avatar for draven07

..Im preparing my way on studying C# this summer for my C#programming class.. .. well of course, I need a compiler so I could try it myself.. ..I just want to ask what could be the "BEST" compiler I can use for my purpose.. ..

Member Avatar for lxXTaCoXxl
0
111
Member Avatar for Jennifer84

Hello I have this code below where I use the method ->ReadToEnd() to read in the whole file into the String test. The thing is that I have to use the method ->ReadToEnd() in this case because I use another class that only have this functionality. I cant read line …

Member Avatar for jonsca
0
360
Member Avatar for monolithcode

Hi guys, I am relatively new to java language of which I'm studying at the moment. I Have spent considerable time looking through examples and java class libraries but have not been successful in finding a solution for: 1) naming an Array within a method 2) adding data to the …

Member Avatar for DarkLightning7
0
118
Member Avatar for YodaMerlin

I have a pointer object consisting of different arrays of variable length. I want to get one of the arrays from the pointer array and store is in a different array. How would I go about doing it? When I try the method, it gives an error: [B]initialization with '{...}' …

Member Avatar for YodaMerlin
0
240
Member Avatar for YodaMerlin

I have a variable [B]x[/B] declared as [B]int *x = y[/B], where [B]y[/B] is also a pointer variable. Is there any way to store the variable in [B]y[/B] to [B]x[/B] without making [B]x[/B] a pointer such that it would look like: [CODE] int x = y; //y declaration => int …

Member Avatar for YodaMerlin
0
161
Member Avatar for shyla

Hello again, again i just want to verify that i did my homework right [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Movie { class Program { static void Main(string[] args) { MovieData(); } public static void MovieData(string movie = "The Social Network", int minute = 90) { Console.Write("The …

Member Avatar for shyla
0
99
Member Avatar for bmason

This is my first foray into the world of programming. I'm doing a practice project for the consulting firm I work for, and my current objective is to make my submission page textboxes insert the user input into specific tables in my database. Later I'll need to retrieve the data, …

Member Avatar for ArtistScope
0
203
Member Avatar for techturtle

Here's the scenario: I am coding a program that will display data from a database in a variety of fields. Some of the fields need to be read-only. Should have been simple just to set all those controls to read-only, except some of them are checkboxes, radio buttons and date …

Member Avatar for techturtle
0
407
Member Avatar for ChaseRLewis

As my projects grow larger I'm beginning to appreciate more robust code with higher re-usability. Also easy to use error handling can make coding for errors much less repetitive. Is there a good online set of articles anyone could recommend?

Member Avatar for mike_2000_17
0
156
Member Avatar for CJdamaster

Hi there, I'm calling a function which reads XML and holds results in this kind of format: Item 1: Name="", Category="", InstallerURI="" Item 2: Name="", Category="", InstallerURI="" etc. I need some kind of return variable which will be able to hold this data. So far, I have tried: [CODE]// Create …

Member Avatar for CJdamaster
0
103
Member Avatar for josephP

[ATTACH]20240[/ATTACH] There is something wrong with my code... even i put a valid license the display showing is the line 30-33 supposed to be line 28. how to display the not character in line 30 instead of counting how many. [CODE] Console.WriteLine("{0, 40}", "ICA17 - License Plate Checker"); string sLicence; …

Member Avatar for Momerath
0
118
Member Avatar for eskimo456

Hi there I have been building a program separately and testing the code in sections. Which is fine as it works individually. However two of the classes are designed to share variables. The idea is the first class generates a partcile and then scans through a list of gridCells. It …

Member Avatar for mike_2000_17
0
122
Member Avatar for bwbyron

Obviously, here is the initial code for this blackjack game. and in order for me to feel confident in this game I need to have an error check to make sure that there are at least 7 cards per player. And I have to do this in the second part …

Member Avatar for woooee
0
320
Member Avatar for ahsan1

I have used if($_FILES['file']['type']) but it does not upload it. Can anyone help me. I'll be thankful t you.

Member Avatar for RoyalElite96
0
73
Member Avatar for gedas

hey, i have got a class that extends JPanel called viewPanel and in there, there is paint method. in the paint method there is a oval point drawn on it. the coordinates x and y for the point are generated by using math.random so when the program executes the point …

Member Avatar for gedas
0
105
Member Avatar for mrbungle

I have an app that writes to XML. If a text box is filled, then I write that value to the XML doc. [CODE] writer.WriteStartElement("VEHICLE_LICENSE_NUMBER") '10-28 writer.WriteString(frmCitation.txtPlate.Text.ToString) writer.WriteEndElement()[/CODE] If TEST123 is the value in the text box, this is the result. [CODE]<VEHICLE_LICENSE_NUMBER>TEST123</VEHICLE_LICENSE_NUMBER>[/CODE] Question is, if that value in the textbox …

Member Avatar for mrbungle
0
141
Member Avatar for vforchova

Hello everyone, I need help with my javascript code. I'm trying to create a dynamic table with onclick event like this but onclick event seems to do nothing: [CODE] var srcTable = this.iContext.getElementById("tbody"); var tmpRow = null; var tmpCell = null; var i; for(i=0; i<5; i++) { tmpRow = srcTable.insertRow(); …

Member Avatar for R0bb0b
0
223
Member Avatar for shyla

Create a console-based application whose Main() method declares an array of eight integers. Call a method to interactivelyfill the array with any number of values up to eight. Call a second method that accepts out parameters for the arithmetic average and the sum of the values in the array. Display …

Member Avatar for shyla
0
88
Member Avatar for orim0109

Does anyone can tell me where and how exactly to specify path input in following code for pattern(keyword) which is in a file C:\\"pattern.txt" and text (to be searched through) which is in a file C:\\"text.txt" to make it work. I tried couple of things but application will always return: …

Member Avatar for orim0109
0
70
Member Avatar for greeshmapc
Member Avatar for diafol
0
64
Member Avatar for Zababa

Hello guys! :) I just wanted to ask something so that I can clear up things in my mind. What is the difference among Carriage Return ('\r'), New Line ('\n') and Line Feed? Is it correct to say that \n = \r + LF ? Thank you in advance! :)

Member Avatar for Zababa
0
188
Member Avatar for fab2

[ICODE] Hi, here you will find a program which taking some inputs calculates the sales of 5 items on daily and weekly basis. Prevously I wrote it with no function, and it was quite a very long program, 9 A4 sheets, but this is written by using a function. As …

Member Avatar for rubberman
0
210
Member Avatar for gruffy321

[CODE]#include <stdio.h> #include <stdlib.h> #include <conio.h> int main() { char _name[30]; int _age; printf("Hello Quester\n"); printf("What is your name ?\n"); scanf(_name); printf("...and what is your age, may i enquire esquire of peril and danger ahead\n"); scanf (_age); printf ("\nYour name is ",_name, (" \nand your age is "), _age ); …

Member Avatar for gruffy321
0
211
Member Avatar for TailsTheFox

Hello, I've been looking arround the internet, and I found the command [ICODE]wait(15);[/ICODE] to wait for 15 secons. I used the header [ICODE]#include <time.h>[/ICODE] and I got an error. Can someone please help me and tell me what I've been doing wrong?

Member Avatar for VernonDozier
0
5K
Member Avatar for alokdhari

My tutor suggested me to use deep copy for copying tuples for pawn-chess game... can anyone help me out with how actually deep copy works ?? coz if i know it i can work it out in a more smoother way... n yea... m new to python !!

Member Avatar for alokdhari
0
211

The End.