199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Him3

Hi, Everybody, I wrote the program to connect to the Microsoft Sql server 2000. I have also defined constrains and triggers on Tables of SQL. Now I want to catch the error message generated by the triggers or constraints in c prog and want to show it to user. Can …

Member Avatar for monu chauhan
0
475
Member Avatar for digiplaystudios

Hi There, My website is a search engine and on the home page it has the 'total number of searches performed: 123,456' - This is running simply by counting the total number of tags (it counts the entries in a MySQL table). Is there any way of it automatically updating …

Member Avatar for vibhaJ
0
98
Member Avatar for maxish

Hi, I have implemented a simple socket server in Java. Everything works great except the process just dies/times out after about an hour and I do not know why. I run am running the process through my web host's machine using SSH. My steps: 1. Add to '/etc/rc.local' two commands: …

Member Avatar for masijade
0
423
Member Avatar for pasido

Sorry I ask too many simple questions :D 1. [code=vb]Public Class Weapon Dim name As String Dim type As String Dim damage As Integer Dim speed As Double Dim durability As Integer Dim value As Integer Dim RustySword As Weapon 'What kind of declaration must I make? Its an error …

Member Avatar for vb5prgrmr
0
188
Member Avatar for iamchamith

Hi Friends, I am use asp.net with C#.net as code behind file... I put asp Dropdown list box to my aspx page.. when at run i select item from Dropdown list box and refresh or post back this aspx.the value of Dropdown become first...How i get previous value...I want dropdown …

Member Avatar for reach_yousuf
0
160
Member Avatar for keyroche

Hello! I am creating a database driven site that is a directory of businesses. I have a page that displays the categories and a table full of categories in the mysql database. I have a while statement get the categories that start with a certain letter and echo them on …

Member Avatar for rajarajan2017
0
99
Member Avatar for Chupakun

Hi there, I have a simple piece of software written up that I'm running off the terminal's command line interface. Very recently, it was asked of me to create a GUI for it. So I basically made one to reflect how I would use the software but I actually haven't …

Member Avatar for Chupakun
0
1K
Member Avatar for abu taher

I want to find some thing in ms word. this is the default option of ms word. but here I want to do in my own language (cause the default option only support English). I can make it. but I don't know how it connect with ms word. I mean …

Member Avatar for abu taher
0
115
Member Avatar for rameshreddy

hi, iwant data from [url]http://www.stubhub.com/new-york-yankees-tickets/yankees-vs-astros-6-11-2010-898499/[/url] in that right side div of all pages data, how can i get, plz help me.. thanks in advance

Member Avatar for chrishea
0
360
Member Avatar for Dazamondo

Hi Guys, I wonder if you will be able to help me with creating a password generator in VB using VS 2008. I have limited programming knowledge from my time at university and it wasn’t my strong point :). What I want to do is have a front end which …

Member Avatar for Luc001
0
228
Member Avatar for Arlamos

Hi all, first time posting here, I need some help with this, as my knowledge of c++ is shaky at best. I have points defined like this: [CODE]struct Point { double x, y, z; };[/CODE] I have a 2d vector filled with vectors of these points: [CODE] vector< vector<Point> > …

Member Avatar for NathanOliver
0
112
Member Avatar for AspiringCoder

I was wondering whether it was possible to use dynamic memory or something else to achieve something to the effect of entering numbers or a string using standard input without first having to specify how many instances you intend to enter. If this can be done through some other method …

Member Avatar for mrnutty
0
144
Member Avatar for Umar Ali

Hello I'm new to java and i'm facing some problem... First code refers to File_Chooser class which works perfectly fine for me... [CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package statguis; /** * * @author Umar Ali */ …

Member Avatar for Umar Ali
0
799
Member Avatar for sartana

i need help on this simple case dim xMenu as System.Windows.Forms.ToolstripItem dim xString as string = "FrmMain.MnuFile" [B]xMenu=xString[/B] xString.visible=False xString.test="MENU FILE" ... How could i do 'that bold area'?? note: xString actually was dynamic variable i got from Database with SQL syntax thanks before!

Member Avatar for sartana
0
880
Member Avatar for Neen14

how I can simplify fraction after do some process on it (add, sub...) this part of program (add fraction) [CODE]int i,j,k,m,a,b,c,d; char x; printf("Please Enter fraction number 1\n"); scanf( "%d%c%d",&a,&x,&b); printf("please Enter fraction number 2\n"); scanf("%d%c%d",&c,&x,&d); if (b == 0 || d == 0){ printf("undife number\n"); system ("pause"); } else …

Member Avatar for wildgoose
0
126
Member Avatar for tejasthacker

PLEASE HELP ME WITH THIS QUESTIONS, I AM NOT POSTING MY WHOLE HOMEWORK BUT ONLY THE QUESTIONS WHICH I AM NOT SURE ABOUT. 1)What command will set the permissions to 744 on the file /home/fred/.bash_logout Choose one answer. a. chmod a+r,g+r,o+r /home/fred/.bash_logout b. chmod u+rwx g+r o+r /home/fred/.bash_logout c. chmod …

Member Avatar for ryan858
0
118
Member Avatar for demodav

For all those people who were like me at one time doing the long process of $thing1 = $_GET['thing1']; $thing2 = $_GET['thing2']; ... $thing1 = $_REQUEST['thing1']; $thing2 = $_REQUEST['thing2']; ... $thing1 = $_POST['thing1']; $thing2 = $_POST['thing2']; ... $thing1 = $row['thing1']; $thing2 = $row['thing2']; ... etc. we probably all have done …

Member Avatar for scaiferw
0
278
Member Avatar for Martje

I have a custom .Ini file that looks like this : [QUOTE] [Main props] lives=3 name=danny [Mommy props] lives=2[/QUOTE] I want to know how to read from the "Main props" section and assign a new value to the "lives" key and also reading from the "name" key. I dont know …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for iwanttolearnc

[CODE]return((int)ADHR << 2);[/CODE] im trying to learn what a certain function does and then i stumble upon this part. i do get that << 2 means shift left by 2. what i do not know is the (int)ADHR part. can anyone help me out with this? thank you

Member Avatar for iwanttolearnc
0
101
Member Avatar for Alerwiali

i have a 2D matrix of characters or integer or whatever!How do i check if another matrix is a sub-matrix of The 2D one ...Please!! help with simple code that work for any size of the matrices Thanks in advance to all

Member Avatar for Alerwiali
0
67
Member Avatar for Software guy

Hi Everyone, Recently i have started a small J2ME project for my personal use. I have developed J2ME application based on calculations which doesnot require "DELAY". Currently i am facing a problem, where i have to implement a delay between two commands. The way I want this delay to work …

Member Avatar for Software guy
0
303
Member Avatar for kdmuk10

I am new to java. when i try some code, i get the 'Caught ArrayIndexOutOfBoundsException: 0' message. i need help how to address the problem. the code was as follows. I am leaving out the class name (first line) [CODE]public static void main(String[] args){ try { double hours = Double.valueOf(args[0]).doubleValue(); …

Member Avatar for Ezzaral
0
68
Member Avatar for scaiferw

This code does a nice job reading the members from my database and setting up a form with checkboxes for each member in one long single-column list. What I need to do is to write some sort of loop that sets out 3 or 4 columns and splits the names …

Member Avatar for scaiferw
0
222
Member Avatar for rizza_f

Hello, I got problem to write code excerpt in my article. [quote] CREATE TABLE IF NOT EXISTS 'articles' ( 'id' int(11) NOT NULL AUTO_INCREMENT, 'title' varchar(250) NOT NULL, 'body' text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM; [/quote] [quote] INSERT INTO 'articles' ('id', 'title', 'body') VALUES (1, 'Lorem', 'Lorem Ipsum …

Member Avatar for pritaeas
0
89
Member Avatar for Beeko

I want to know how to make a Bot, regardless game bot or not, I want to know how to move the cursor and how to pinpoint it's destination, how to differentiate between right click and left click. I want to know all about Bot making. Any 1 could help …

Member Avatar for Beeko
0
186
Member Avatar for maxish

Hi, I have C# .net application which reads data from the serial port and launches a new thread to process the data when all data has been read (end of data is determined by timing constraints). I create a new object where the thread will run, copy the data that …

Member Avatar for PierlucSS
0
173
Member Avatar for benhowdle89

I've setup a javascript window.open bit of script to print one div. Is it possible to style the div with css that gets printed, no matter what styling i put around the div, they disappear when i press the print button and it opens this new window with the div …

Member Avatar for fxm
0
2K
Member Avatar for sasTReSS

Hello everyone, i'm new in c++ and i found a problem when created a code. I want to create a code which read from file .txt and then count the number of each value of the attribute, as the text file below: the attribute is'bembi' and the value is '1,2,3'. …

Member Avatar for sasTReSS
0
356
Member Avatar for parkermc

Hi , I am very very new to VB and don't know how to proceed with coding this. I have a file in excel in the format below [U]Name[/U]....................[U]UID[/U]...................[U]Password[/U] Marie Lily...............myoune.................9eW2n+st Rita Jain..................rjain....................yE#eCA2a Peter Craig.............pcraig.....................Qutru4r? and I need to convert this data/excel sheet into the format below: dn: cn=myoune,cn=Users,ou=MyDomain,dc=com objectClass: …

Member Avatar for mltytskr
0
2K
Member Avatar for Pinchanzee

Hey guys, new here. Decided to start learning Python and this community looks like a perfect place to learn with the help of others. A bit of a forum-related problem at the moment though, when the browser is loading "ad.amgdgt.com" it takes about 4 minutes to load each time I …

Member Avatar for Pinchanzee
0
96
Member Avatar for benji_k

Hi When I run this program instead of getting the values I initialized with the constructor, I get -858993460. I guess it's wrapping around in some way. Anybody have an idea? Thanks for your help #include <iostream> using namespace std; class Employee { public: Employee(int Age, int Years, int Salary); …

Member Avatar for benji_k
0
106
Member Avatar for freiheit

Hello all :) Me and a friend of mine we are working in a project at the moment. We populate our database each one with his own data but now we need to merge our tables. The database has the same name in both machines, and also table name. I …

Member Avatar for freiheit
0
88
Member Avatar for The 1

Hi all, im having a problem getting my head around "drawing" a Binary Search Tree and AVL Tree. Im studying computer science, and have an exam in 4 days so need help quite quick lol. Im looking over past exam papers and having trouble with this question: [QUOTE]Start with an …

Member Avatar for The 1
0
337
Member Avatar for G_S

Hi people, the title says it all: The user manual of my program is an HTML document, and I want the OS's default browser to open it directly once the user clics on help. The function that the help menu entry invokes is this: [CODE=python]os.popen("/usr/local/firefox/firefox ./html/index.html")[/CODE] Now this only works …

Member Avatar for G_S
0
4K
Member Avatar for Ferny84

I'm supposed to ask the user to enter a number of marks, and to decide what each mark is. Then my program is supposed to find the min and max in the array, so far this is what my code looks like: [CODE]#include <stdio.h> void findMinAndMax(int arrayMarks[], int numOfMarks) { …

Member Avatar for Ferny84
0
135
Member Avatar for pankaj.garg

Hello, I have multiple problems in an application plotting online data. Below are my problems - 1. MSCharts flickers if my updation time is fast (around 1 sec), I have played around with Repaint, LockWindowUpdate and Visible methods, but no positive results. Is there a better method to stop flicker? …

Member Avatar for pankaj.garg
0
235
Member Avatar for G_S

Hello, I've been looking for this here but haven't been able to find an answer that fits my case: I have a tkinter GUI consisting in a button and a Text (a textbox). You write the whole text in the textbox, then press the button and it uses the get() …

Member Avatar for G_S
0
107
Member Avatar for athlon32

I have a function in a Lua script, that will take a file and and will work on it. Part of the work it does is to empty the file completely before working with it. The easiest way I know of doing this is to open the file with [icode]io.open[/icode], …

Member Avatar for gusano79
0
2K
Member Avatar for niths

Hi all, I am having a page where there is a drop down box for projects.Below that i had a list of users with check boxes. so wen i select a project in the drop down and assign some users to that project by checking on checkbox. so here is …

Member Avatar for scaiferw
0
113
Member Avatar for dwhvw

Hi, I'm using Borland C++Builder V5.0. I simply want to pass a variable between two C++ TThreads. I searched a lot on the Internet but can't find anything like that. Simply copying by calling another threads function or property is no option. The compiler thinks it's okay but when executing …

Member Avatar for Rajesh R Subram
0
2K
Member Avatar for albertkao

I want to optimize the following small integer program in speed. My g++ compiler version is 4.3.4 on 32 bit linux. Please suggest or comment the following ideas. Some ideas are: 1. use compile flag such as -O3 2. rewrite the bigger function with function object [CODE]#include <algorithm> #include <cstdlib> …

Member Avatar for Rajesh R Subram
0
110
Member Avatar for yossi321

Hi How can I protect/lock a drive from deleting files and format it ? Is there a way to hook a drive?

Member Avatar for yossi321
0
74
Member Avatar for eng hassan

HIII!!! i need to know how to make a random movement for a character?? [CODE]#include <iostream> #include <conio.h> #include <windows.h> using namespace std; char board[20][20]; void setBoard () { for (int j=0; j<20; j++) { board[0][j] = 219; board[19][j] = 219; } for (int i=0; i<20; i++) { board[i][0] = …

Member Avatar for eng hassan
0
583
Member Avatar for danieldot

Hi I am trying to connect and get a WebResponse of a CONNECTED user. For that, I should first connect to the webSite, but I can figure out how. I already read like 20 pages about cookies and stuff and still cant understand this stuff. The site im trying to …

Member Avatar for sknake
0
333
Member Avatar for dansnyderECE

I'm having an annoying issue with this code. I get a segmentation fault because of the loop wrapped in comments. Any ideas? This is the goal of this program: First I wrote a simple c++ program and compiled a binary file for it. I then use readelf to dump the …

Member Avatar for dansnyderECE
0
185
Member Avatar for newcoder777

Hi everyone, can somebody guide me to produce very small delays for controlling a servo motor using PWM. I need to generate 3 different pulse widths of 1.2ms , 1.5ms and 1.8ms. I am using Keil compiler, and 8051 microcontroller. I am a good C coder, but dont understand much …

Member Avatar for newcoder777
0
287
Member Avatar for 4ukh

dear experts, please, how to use SQL query in excel 2007 and store the result of that query in the cell. let say I have a sheet with different information abut sales and I want to get the sum of the sales as per city let say where city is …

Member Avatar for 4ukh
0
112
Member Avatar for ndeniche

Hello Recently I've been started to get curious about mobile development, specially Geolocation applications, how do they work and stuff... Can anyone point me in the right direction? What should I study, any references and things like that... Specially the following: 1.- How to implement the imagery (like, can i …

Member Avatar for peter_budo
0
231
Member Avatar for gokul.raja

Hello, I'm having a requirement to develop a GUI based JFrame which should have capabilities to add Multiple JPanel on an event occurrence[Ex. button click] and the JFrame should be scrollable. I tried a lot, but I failed. I also tried to add multiple Jpanel in JScrollpane that also failed. …

Member Avatar for gokul.raja
0
2K
Member Avatar for sdhawan

Hi Guys, What i am trying to do is , if suppose i have a word'horse' in a rich text box, i want to aplly image by cutting characters.To explai it little more, i want to be able to cut the word 'horse' in two parts 'hor' and 'se' and …

Member Avatar for finito
0
136

The End.