132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for JohnPhilipps

Hello, I have two data comboboxes on a VB6 form "DataComboMasterPolicy" and "DataComboPurchasingGroup" after selecting the first appropriate choice with "DataComboMasterPolicy" I would like for the 2nd datacombox "DataComboPurchasingGroup" to only display the data associated with the user's selection. The data is in an Access 2003 db. My code for …

Member Avatar for jireh
0
123
Member Avatar for foxmulder

Hi! I have this simple movie-list that I wont work, I get compile errors on this simple program. Could someone please help me to get this to work, should be very simple for you guys =) Thanks in advance! Here's the code: [CODE]#include <iostream> #include <cstdlib> #include <fstream> using namespace …

Software Development c++
Member Avatar for foxmulder
0
187
Member Avatar for Israelsimba

is it possible for me to retrieve data from different tables then display them on a single data report. i am using a data environment for connection. if its possible how can i do it

Software Development visual-basic
Member Avatar for Israelsimba
0
96
Member Avatar for P00dle

I made a program that edits the contents of a XML file. It works fine, but when there are newline characters between the nodes, the program doesn't handle them correctly. It looks like it's handling the newline as if it's a node as well. The problem is that put all …

Software Development java xml
0
66
Member Avatar for george_82

Hi, Can somebody tell how to write, read and format a MicrSD memory card using C sharp....I have checked Windows Embedded CE Developer Center but things are not getting clear....Please suggest me with an example..

Software Development
Member Avatar for george_82
0
163
Member Avatar for sirdanman10

Does anybody know a good tutorial on programming applications with multiple entry points in C++? I am designing an application in MSVC 2008 Express that will interface with an AS/400 system and process scripts to either feed data, extract data by reading the screen, or do custom tasks. I was …

0
120
Member Avatar for P00dle

The code I'm using to change XML content isn't working... Does anyone have any idea what I'm doig wrong: [CODE]package domtest; /* public class Main { public static void main(String args[]) throws Exception { DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); DOMBuilder domBuilder = new DOMBuilder(); Document jdomDoc = domBuilder.build(builder.parse(new File("src/home/projects/misc/Test.xml"))); Iterator iter …

Software Development java xml
Member Avatar for P00dle
0
190
Member Avatar for Godflesh

How can you check the length of a file / list and then use the value in an "if-loop" in python? I want to create a "if-sats" that must check the amount of elements(numbers) in a textfile, if the amount is less then 5 do this... else do that..

Software Development python
Member Avatar for Godflesh
0
101
Member Avatar for mchi6aa2

I need a visual basic code for the followings: Suppose a restaurent menu. unlimited user can access that. items will be listed there with the price. they will pick up some of them and then including tax (15%) the total will be shown. thats it. then the program ask for …

Software Development visual-basic
Member Avatar for jireh
0
206
Member Avatar for Gaiety

why we have an int type when we already have short and long ints because int means either short or long.

Software Development c
Member Avatar for Salem
0
154
Member Avatar for mir_sheely

Enviorment is TC. using grapphics.h . I am developing the board game LUDO as project in C++ Using OOP methodology. Right now I am drawing the Board. Now I want to draw various cells, of 30 pixels X 30 pixels at various places on the screen. I am drawing a …

Software Development c++ oop
Member Avatar for SHAHEER BANO
0
815
Member Avatar for caroll

hi, please please give me exact explanation for the tilt symbol in c.... here i have paste the code and i m getting the output of 1... how it comes 1..?please explain me soon...[code]#include<stdio.h> main() { int m=1; ~~~m; printf("%x\n",m); }[/code]

Software Development c
Member Avatar for caroll
0
143
Member Avatar for java..

how do avoid illegal state monitor execption

Software Development java
Member Avatar for musthafa.aj
0
75
Member Avatar for matimba2j

i asking for your help.i need a code on how to detect network in the dashboard.

Software Development vb.net
Member Avatar for anoop4real
0
106
Member Avatar for maliknouman

Hi i want to save a picture of employee in SQL server Database in my college project payroll system, Please Help me in this matter and give me one example of this.

Software Development vb.net
Member Avatar for tqmd1
0
136
Member Avatar for axn

need this to change to random colors every .8 secs. compiles ok, but not getting wanted results. cant figure out where i am wrong? i get the applet viewer window with a black square but no color change. Here is the .html file <applet code = ColorChange .class width = …

Software Development java
Member Avatar for cbarton.a
0
158
Member Avatar for metalclunch

Hello. I'm trying to develop a very simple user-based information system. For example, read a folder for .ini files and get the pInfo stuff for each different player. It's for a network game I'm developing. So here's a BASIC example. [code=c++] if( PlayerInfo[playerOne][pLeader] == 1 ) { cout << "Player …

Software Development c++ visual-basic visual-studio
Member Avatar for metalclunch
0
1K
Member Avatar for Amol Ranjere

i am writting program for digital calculator.and i have brought calculator image using graphics on outputscreenand i want to give dual interface of keyboard and mouse.how can i do that in graphics? thank you in advance.

Software Development c++
Member Avatar for SideTruth
0
123
Member Avatar for azjherben

I had a program that ran fine with Winsock. But that only works on Windows. So I decided to switch to SDL_net. I thought I did okay, no syntax errors or anything when I compiled. But on run the program froze up. So I read about various SDL functions. When …

Software Development c++ client-server
Member Avatar for nezachem
0
153
Member Avatar for thisismyuname

Hallo, I must develop a Client application using (Qt) C++. The server application was developed by somebody. I need to register with the Server application to get data from it. I have problems here. Can anybody please let me know how to proceed. In order to register with the server, …

Software Development c++ client-server qt
Member Avatar for nezachem
0
565
Member Avatar for TheWhite

I want to parse a string into something like an array: [url]ftp://user:pass@host:portpath[/url] [url]ftp://anon:1234@111.222.333.444:9999/path1/path2/[/url] I read the java docs about using Pattern and Matcher but I keep getting an "IllegalStateException: No match found" error. [CODE=java] import java.util.regex.Matcher; import java.util.regex.Pattern; public class test { public static void main(String[] args) { String s …

Software Development java regex
Member Avatar for TheWhite
0
437
Member Avatar for clutchkiller

From people who know what wxWidgets is, I always here a lot of grief about how it is to simplistic, but compated to VB what do you guys think? Ive only ever worked with wxWidgets for a short period of timebut thougt it was very good. What do you guys …

Software Development c++
Member Avatar for clutchkiller
0
90
Member Avatar for HolstebroTS

Hello :) We are a group of 3 who has been given a task which we must develop our own little keylogger to monitor people such as employees in a company. Unfortunately, we encountered a small problem: We would like to hide the console, so you can not close it …

Software Development c++
Member Avatar for HolstebroTS
0
77
Member Avatar for dp20

Hi im creating a cash register program. The user enter's the total price and the money given from customer and the customer's change is shown. It will tell the user what notes/coins to give to the customer. I could do this But the next part i have to do is …

Software Development c++
Member Avatar for WaltP
0
567
Member Avatar for komyg

Hi I've developed a C# program that takes a directory list as its arguments. What I want to do is execute a batch script that would run a command like dir /b and send its ouput to my C# program. I believe that if I were using Linux, my script …

Software Development shell-scripting
Member Avatar for Salem
0
150
Member Avatar for Dranix

In VS 2008, for example I have sql command like SELECT * FROM STUDENTS WHERE STUDENTID = @STUDENTID Then I append value into it, for example 15 How to I catch this sql command SELECT * FROM STUDENTS WHERE STUDENTID = 15 Thx in advance

Software Development sql
Member Avatar for ZidaneXero
0
167
Member Avatar for zourha

Hi, I would need some help to resolve a problem. I need to create a programm that contain 10 basic math questions. After 3 fails in a row, the programm must stop. After each question the good answer should show if the student entered the wrong answer, and the result …

Software Development delphi pascal
Member Avatar for FlamingClaw
0
166
Member Avatar for fuston05

making for practice a temp converter. i got the basic program to convert C to F. heres that part: C = input("what temperature (celius) do you need converted? ") print "%s degrees celsius is equal to %s degrees Farenheit" % (C, 32+(212-32) / 100.0 * C now im trying to …

Software Development python
Member Avatar for fuston05
0
172
Member Avatar for RTHANGAVEL

I wrote this code to load the image on mouse click...but it is not displaying as soon as i click the mouse...i need to resize the jframe to make that visible what is the problem with this.......please anybody ans for this....thank u in advance...

Software Development java
Member Avatar for cbarton.a
0
110
Member Avatar for CppBuilder2006

in Windows Task Manager --> Processes there is a list of running exe files. I am going to write a program that lists these running exe files. How can I obtain the list? I use Windows XP :$ & Windows API!:)

Software Development api c++ windows-api
Member Avatar for marco93
0
316
Member Avatar for surfer2009

i have just started c language and i have only study "while" and "for" "if else" please help me in this question using loops(without usuing arrays) write a program that prodeuce the following output: 0 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0 …

Software Development c
Member Avatar for gerard4143
0
107
Member Avatar for ireimaima

Hi..can anyone help me..debugging my codes.. when i compile and run it.. i dont get the accurate result..of sum and avg..can anyone help me telling where is the error?? thanks so much.... Here are the codes: #include <iostream> void getNum(int& num,int& sum); void doProcess(int num, int& sum, float& avg); void …

Software Development c c# c++
Member Avatar for ireimaima
0
2K
Member Avatar for ipage

Hi, All: Previously, i made a program using d5. It works well in xp. But when i recently build it again in d7, many problems appear. Below is one of them. When executing in d7, this chop file function prompts I/O 123 error? why ? Please help. Thank you in …

Software Development pascal
Member Avatar for FlamingClaw
0
1K
Member Avatar for techevo

Hi all, I am having a problem printing out the elements of an array, using a for loop. when i try to print out each individual element, it prints out the last element repeatedly. ie will print the last element of the array, over and over again. if you could …

Software Development c
Member Avatar for Narue
0
85
Member Avatar for ahmedshayan

I have created this program, and it works fine for random values . But when I ever enter same Arrival time it gives error output ! .i.e arrivaltime bursttime p1 0 10 p2 0 6 now the problem is that instead of p2 running first p1 starts... plz help. Process.h …

Software Development c++
Member Avatar for kashifhameed88
0
161
Member Avatar for sam1

hi, I am trying to validate a textbox that has a value of 1 and up so i am saying : [CODE]if (mytextbox.Text > 0) { }[/CODE] but it is not working any suggestions please bare in mind that the text has 0 as default value so i cannot say …

Software Development c++
Member Avatar for sam1
0
80
Member Avatar for lucky_43

Hi guys:) I have an assignment about making an operand stack using c++ which receives a mathematical expression like ((3+2)*(5+6-2)) and the program gives the solve of that exp. the problem I have faced is how to change a character to an integer ? and how I can start?

Software Development c++
Member Avatar for shreyajain33
0
104
Member Avatar for punter999

import wx class McaMenu(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id, title, size=(640, 432)) menubar = wx.MenuBar() file = wx.Menu() new = wx.MenuItem(file, 1, '&New\tCtrl+N', 'Creates a new document') file.AppendItem(new) file.AppendSeparator() open = wx.MenuItem(file, 2, '&Open\tCtrl+O', 'Open New document') file.AppendItem(open) save = wx.MenuItem(file, 3, '&Save\tCtrl+S', 'Save') file.AppendItem(save) save = …

Software Development python
Member Avatar for Namibnat
0
113
Member Avatar for capsown

Hi I need help with some C++ code. It's pretty basic, but my teacher will not help me. He keeps saying "Just one second, I'm helping someone else." And then forgets about me. It just gets frusturating. The code is very undeveloped though, I'm just trying to get all the …

Software Development c c# c++
Member Avatar for Salem
0
207
Member Avatar for bhavnam66

program using nested loops in c programming language to generate following pattern zyxwvwxyz zyxwxyz zyxyz zyz z

Software Development c
Member Avatar for Salem
0
100
Member Avatar for pankaj.garg

Hi, i m trying to make a program (VB6) in which i need to do some tasks as soon as the date changes (like creating new database etc.), but dont know how to keep track of date change...searching on this gave me following - 1. Using a timer with 1 …

Software Development visual-basic
Member Avatar for pankaj.garg
0
157
Member Avatar for iamcreasy

This code is supposed to print all the numbers from a text file...but for some unknown reason, it is only printing the last pair. [CODE]#include<stdio.h> int main() { freopen("in.txt", "r", stdin); int result=0, column=0, row =0; while(scanf("%d %d", &row, &column) != EOF); { printf("%d %d", row, column); } return 0; …

Software Development c
Member Avatar for iamcreasy
0
205
Member Avatar for P00dle

I had a couple of posts on getting this thing to work. I finally got a small test program working, but now this, the actuall program, doesn't. I don't understand the error either(Will include it at the end of this post). Here is my code, with the line throwing an …

Software Development apache gui java java-swing regex xml
Member Avatar for parry_kulk
0
194
Member Avatar for Godflesh

Hello! I have some probs with this code, somehow it dont loop 10 times as it should, just one? How do i make python use a testfil.txt that already exist? I dont want to remove the old data in the file just add new data to it? In this code, …

Software Development python
Member Avatar for Godflesh
0
85
Member Avatar for Cornholio

Hi, I have jest started learning Python. I would like to get some help on writing a script that would delete a set number of lines from a text file which looks like this : 1846440556 1846440521 1846440491 1846440505 1846441137 1846441102 1846441080 1846441331 1846441323 1846441315 ... ... Thanks in advance …

Software Development python
Member Avatar for Godflesh
0
26K
Member Avatar for pankaj.garg

Hi, i have couple of doubts.. 1) How do i use MSComm Component in a module...i could gather that i might have to use 'class module' for that..but not able to make that work. 2) if i use a class module..how to pass parameters to a class...as i would like …

Software Development visual-basic
Member Avatar for pankaj.garg
0
288
Member Avatar for dilake

Is there any way to convert [B]System.Windows.Shapes.Rectangle[/B] to [B]System.Windows.Drawing.Rectangle[/B] in WPF ?

Software Development
Member Avatar for dilake
0
61
Member Avatar for sbutt

Hi All, I have a following xml: [code] <?xml version="1.0" encoding="UTF-8"?> <ForwardRequestResponse xmlns:m="http://webservices.kuoni.ch"> <ForwardRequestResult><![CDATA[<?xml version="1.0" encoding="windows-1252"?><Response Version="2.5" From="KUONEKA0" To="CETS" TermId="XXXXXX" Date="18062009" Time="163523" Type="ERROR" Confirm="X" Agent="XXXXXX" Lang="EN" UserCode="X" UserType="X" UserName="X" UserFirstName="X" Mode="X"><Err><ErrorNr>9999</ErrorNr><ErrorText>Fehlerhafter Request</ErrorText><ErrorText>element &lt;Request&gt; attribute: TermId is too long</ErrorText></Err></Response>]]></ForwardRequestResult> </ForwardRequestResponse> [/code] And I want to extract a CDATA out of it …

Software Development xml
Member Avatar for vivek4075
0
137
Member Avatar for dilake

We are required to Display Live View from a Camera in a WPF Application. A TV-Tuner is being used to capture the video. We had already achieved this in WinForm (VS2005) using DShow. To implement this in WPF we are using the same code (code used in WinForm) except that …

Software Development video
Member Avatar for dilake
0
603
Member Avatar for johnyjj2

Hello! I try to follow steps mentioned here ([url]http://www.speechforge.org/projects/cairo/install.html[/url]). The first thing is about JMF. I downloaded jmr-2_1_1e-linux-i586.bin (the other thing is that I've got 64 bit computer). I found [url]http://www.luniks.net/luniksnet/html/java/jtvd/doc/jmf.html[/url] . I executed bin file in /usr/lib as it is written in this mini-howto. Then I edited /home/mainaccount/.bash_profile file …

Software Development java
Member Avatar for johnyjj2
0
220

The End.