132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for joshmo

can anyone help me with my code. i am trying to make the exec read input from the keyboard but i have no idea how to start. the code works if the path and the file names are already there..here is what i have done so far with the child …

Software Development c unix
Member Avatar for joshmo
0
108
Member Avatar for mahibha

hello to everyone i am working with vb6 & mapobjects2.4 and also i wrote code for "To select features based on an SQL expression" and i got an error as "Object Variable or With block Variable not set" .i want solution for this this problem code: Dim recset As New …

Software Development visual-basic
Member Avatar for debasisdas
0
213
Member Avatar for gabs

[COLOR=#555555]Hi all![/COLOR] [COLOR=#555555]Can anyone tell me where can I find a source that will help me learn visual c++ win32, without com and mfc, just pure basic, visual c++?[/COLOR] [COLOR=#555555]I already programmed different programs, but I am having trouble, when I try to add more windows to my program, I …

Software Development c++ visual-basic
Member Avatar for reddy_rajesh100
0
77
Member Avatar for locsin

It is possible to print 2 form in one paper page. Or Anybody know how to extend the form size. My problem is when i reached the maximum size of the form especially the vertical size or the height. I cannot add 3 or more line which is necessary to …

Software Development visual-basic
Member Avatar for debasisdas
0
120
Member Avatar for mank

I have two questions regarding c #1 if I have value(initialize a variable with a value) inside a block, like { } then how is it different than the value outside that block, but within the same function why does the value inside the block doesnt retain the old value …

Software Development c
Member Avatar for mank
0
83
Member Avatar for olaitanmails

How can I link visual basic with sybase, cos I use sybse as my datasource.

Software Development visual-basic
Member Avatar for debasisdas
0
80
Member Avatar for rucci

Hello , I would like to know the difference ADODB and ODBC when connecting VB6 to an Access database . Is one prefered over the other and in what circumstances. Thanks , rucci .

Software Development visual-basic
Member Avatar for debasisdas
0
93
Member Avatar for Sroxx

actualli im creatin a database on the driving licnese issuing authority im a new vb user my problem is that i want the new validity date to be automatically displayed wen this text box is clicked the code im using is dim text1 as date dim text2 as date text1.text= …

Software Development visual-basic
Member Avatar for Jx_Man
0
69
Member Avatar for Olsi009

Hi again, this is a simple programme that I can't make work :S in turbo pascal. [COLOR="Green"]Write a program to create a new list and then display it through a Recursive Procedure ( and use 'p' as a local variable).[/COLOR] This is what I could do but considering I hate …

Software Development display linked-list pascal
Member Avatar for brijkiran
0
206
Member Avatar for Sawamura

I want to access cd drive but i don't know how to do this... there are a way to do this? i think it will use api function? what api function i have to use? thanks in regards... any help will be appreciated.

Software Development api visual-basic
Member Avatar for Jx_Man
0
126
Member Avatar for tones1986

Hey folks. I am working on a project that adds additional information to previous projects. Basically, for ezch project i have added another header file with cpp file. For example, originally we just had an Employee.h and Employee.cpp file which contained a class for employees containing name, department, and SSN. …

Software Development c++
Member Avatar for tones1986
0
159
Member Avatar for kylcrow

Hello, I have to write a shopping cart class in c++ and I am getting a core dump, and I have no idea why. I know where it is core dumping. Its dumping at 2 places-> Shopping_Cart::Print(Shopping_Cart* head) and Shopping_Cart::TotalPrice(Shopping_Cart* head) Here are my 3 files... shopping.h [CODE=C++] #ifndef SHOPPING_CART_H …

Software Development c++
Member Avatar for Ancient Dragon
0
317
Member Avatar for wonder_laptop

i have to write a c code that it divides a number by a power of 2 by shifting the number to the right the requisite number of bits. im not asking for ANY CODE. im just asking for an explanation for the given. how do we divide by shifting …

Software Development c
Member Avatar for wonder_laptop
0
90
Member Avatar for prushik

What is the easiest way to get a user input string (char array) from within an OpenGL program? It doesn't have to look good, this is just for debugging purposes. Thanks.

Software Development c++ opengl
Member Avatar for prushik
0
86
Member Avatar for Jboy05

Consider the following function prototypes and variable declarations: void Func1 (double, char &); bool Func2 (double, double); double Func3 (bool); double d1, d2; char c; Without additional function or variable, how do I write ONE C++ statement to call ALL THREE functions: Func1, Func2, and Func3?

Software Development c++
Member Avatar for vijayan121
0
118
Member Avatar for Nemoticchigga

Can you cast an array of char to a char*? Thanks. Nemo

Software Development c++
Member Avatar for Nemoticchigga
0
121
Member Avatar for Barbarrosa

Hello, I've been trying to figure out this problem for a while now and cant figure it out. What im trying to do is assign a value to a location in an array. SIMPLE! isnt it. well heres my problem. int main(){ int array[1][1]; . . . array[0][1]=-1; array[1][0]=-2; cout<<array[0][1]<<" …

Software Development c++
Member Avatar for Ancient Dragon
0
111
Member Avatar for Impact4ever

Hi guys, I have a friend at school and she's taken Unix 2. She gave me a copy of her work assignment so that I could improve my scripting skills (Still a begginner at python and programming). This is the assignment: Write a script that will prompt the user to …

Software Development python unix
Member Avatar for Impact4ever
0
76
Member Avatar for behnaz

Hi , I Want To Khow About How I Can Start The Turbo C++, I Want To Develope This Program: Develope A Graphical Analog Clock . You Should Be Able To Set The Clock Alarm And Your Clock Should Ring At The Time Set. Please Help Me About This Program.

Software Development c++
Member Avatar for Duoas
0
160
Member Avatar for CoolGamer48

Hey, So, my understanding of header files so far are that they're basically code that can be used by multiple .cpp files. But if you have a prototype in a file.h that's declared in a file.cpp that includes file.h, and then FILE.cpp includes file.h, does FILE.cpp have access to the …

Software Development c++
Member Avatar for Ancient Dragon
0
179
Member Avatar for cosmos22

I'm trying to open a file, using the ifstream function. I'm using a .jpg image as an example, but it doesn't work, any ideas? Thank you. [code=c++] int main(int argc, char *argv[]) { char file[20]; strcpy(file,"C:\\Fraps\\1.1.jpg"); ifstream outfile; outfile.open(file); return 0; } [/code]

Software Development c++
Member Avatar for Ancient Dragon
0
213
Member Avatar for sura17

well i have set two tasks firstly create the seven segement display and do some sort of timer with the 7 segment display, i have done the seven segment display and here it is:- [CODE] Program SevenSegmentDisplayConverter; Uses Wincrt; var Line1 : string; Line2 : string; Line3 : string; x …

Software Development pascal
Member Avatar for sura17
0
139
Member Avatar for sony112

Can somebody help me make a 7 segment display please i need help i tried it but failed can some1 help me please send it me or just tell me a site where i can get it from

Software Development pascal
Member Avatar for sura17
0
92
Member Avatar for Demond

Hi, I feel kinda dumb asking this question but I just don't know what to do. I have made a program for myself and I put it (the exe in the Visual Studio 2005\Programs\Program1\Program1\bin\debug) on my other harddrive. When I try to run it I get an error (I don't …

Software Development publishing visual-studio
Member Avatar for Demond
0
122
Member Avatar for behnaz

when we use this file: #include<graphics.h> #include<stdio.h> #include<conio.h>

Software Development c++ file-system
Member Avatar for Ancient Dragon
0
106
Member Avatar for rwagnes

I am using MFC and C++... I have a dialog of type CDialog containing several objects including a CPropertySheet called m_dlgPropSheet (which does not have it's own class beyond CPropertySheet). This property sheet contains three identical pages (with different data) of type CPatchSummaryPage which inherits from CPropertyPage. I am trying …

Software Development c++
Member Avatar for mitrmkar
0
1K
Member Avatar for fgn89

How do I make it show text? I'm completely new to this, my dad's wanting me to make this customer display screen show text, which on paper should be easy.. It's a WD-202 model, pretty common customer display pole, I've called a friend for help and he told me to …

Software Development delphi display pascal
Member Avatar for Duoas
0
607
Member Avatar for Shveetis

Hello... I have implementd a user interface and I need to update the user interface every 5secs widout requiring to draw the entire JFrame again.. is dre anything that can help me change my textfield values every 5secs without affecting the other issues on my interface??

Software Development java user-interface
Member Avatar for Shveetis
0
130
Member Avatar for sibitech

i m looking for a J2EE project title..... can anybody help to start with??????????

Software Development java
Member Avatar for jwenting
0
75
Member Avatar for starxxx

I need help n writing a simulated annealing algorithm that is able to maximize f(x)=sin(0.15*x)+cos(x) defined on the interval 0<= x <= 40 using the cooling schedule. Please help me im supposed to generate random numbers between 0 and 40 and Substitute in f(x)=sin(0.15*x)+cos(x) then what should i do next....... …

Software Development algorithm java
Member Avatar for starxxx
0
111
Member Avatar for gedcraw555

i have tried every thing to get image on my button, i have looked all over the internet but i can't get a image to display, if any one can please help me. [CODE]import static javax.swing.JOptionPane.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.text.DecimalFormat; //Don's carpark2.java was used in making …

Software Development java java-swing
Member Avatar for gedcraw555
0
133
Member Avatar for maydhyam

Hi, I created an executable jar file for my Java application, and I was wondering if I should leave it like that or should I change it to a .bat file for execution via a webpage. May

Software Development java
Member Avatar for maydhyam
0
135
Member Avatar for brightline

[COLOR="Green"]How to store files(.doc files,.zip files) in a database and how to retrieve them.[/COLOR] [COLOR="Red"]Thanks in advance.[/COLOR]

Software Development
Member Avatar for JerryShaw
0
125
Member Avatar for sunne

Hi, I am new to this community. I have a problem described below. I need to write a java code which would archive a set of files in "newc" format and then compress it using gzip. There are apis to compress in gzip format but couldnt find an api that …

Software Development api java windows-api
Member Avatar for jwenting
0
140
Member Avatar for plgriffith

I have a linked list of structs, with each struct having a char* and an int. When I try to print the list I get a seg fault. If I just print the int however it works. What am I doing wrong so the char* won't print? printf("%s %d\n", p->name, …

Software Development c linked-list
Member Avatar for plgriffith
0
2K
Member Avatar for rohoni

what is operator overloading ? how many types i have? can any one help me with some example.

Software Development c++
Member Avatar for farag
0
150
Member Avatar for gallantmon1

Here's my code: [code]import java.awt.FlowLayout; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.Icon; import javax.swing.ImageIcon; import javax.swing.JOptionPane; public class DisplayGUI extends JFrame { public static void main(String args[]) throws Exception { ButtonFrame buttonFrame = new ButtonFrame(); buttonFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); buttonFrame.setSize(275, 75); buttonFrame.setVisible(true); } private JButton Fibonacci; private JButton Factorial; public …

Software Development java java-swing
Member Avatar for gallantmon1
0
147
Member Avatar for Shveetis

[ICODE] abstract class Trial implements ClassLoadingMXBean, ThreadMXBean { public static void tri() { ClassLoadingMXBean classmxbean = ManagementFactory.getClassLoadingMXBean(); ThreadMXBean threadmxbean = ManagementFactory.getThreadMXBean(); MemoryMXBean memorymxbean = ManagementFactory.getMemoryMXBean(); OperatingSystemMXBean osmxbean = ManagementFactory.getOperatingSystemMXBean(); List<GarbageCollectorMXBean> gcmxbean = ManagementFactory.getGarbageCollectorMXBeans(); int load_class_cnt = classmxbean.getLoadedClassCount(); long unloaded_class_cnt = classmxbean.getUnloadedClassCount(); long total_load_class_cnt = classmxbean.getTotalLoadedClassCount(); // System.out.println("The number of classes …

Software Development java
Member Avatar for Shveetis
0
141
Member Avatar for aminit

Hello All: Please is there anyway to writing the value of (radio,checkbox ...etc) of any item in the form to text file .... Thanks for advance

Software Development
Member Avatar for aminit
0
207
Member Avatar for chaitanya_D24

Hi I have created an application of a textbox, in which a user enters some text in the textbox and on clicking a 'Print' button the text is directly stored into the memory and a print out is created.

Software Development printer
Member Avatar for chaitanya_D24
0
67
Member Avatar for Shveetis

I have created a Jframe and included 10labels and 10 textfields in it when i try to run the program, it does not show all the labels and textfields.. sometimes all are visible if i run again then few disappear.. at times they r visible for a few secs and …

Software Development java
Member Avatar for javaAddict
0
84
Member Avatar for tonyaim83

Hi My current editor is Dev-Cpp 4.9.2.2 .My test program which runs fine looks like dll.h [code=c++] #include <windows.h> #include <stdio.h> #include <stdlib.h> #ifdef __cplusplus extern "C" { #endif __declspec(dllexport) void HelloWorld(); #ifdef __cplusplus } #endif [/code] And dll.cpp [code=c++] #include"dll.h" void HelloWorld () { MessageBox (0, "This is a …

Software Development c++
Member Avatar for Ancient Dragon
0
128
Member Avatar for invincible_king

hey guys, i would really appreciate if you can give me links to some good C tutorials online or some good books , esp with regard to pointers and other advaced C topics...........i wish to learn C properly and then move on to C++, although i have started C++ already.....

Software Development c++
Member Avatar for Ancient Dragon
0
112
Member Avatar for Shveetis

Is it possible to set the value of a JTextfield in a class in which the textfield is not declared or created..?? How can one do that??

Software Development java
Member Avatar for Shveetis
0
145
Member Avatar for the b

Could someone please look over this code and make sure there are no errors in it? I've looked through it again and again and I can't see what's wrong. However when I run the program (a Rock Paper scissors game) it seems that the second constructor isn't called correctly or …

Software Development display gui java java-swing
Member Avatar for stultuske
0
233
Member Avatar for rohoni

Give program for this output abcdeedcba abcdxxdcba abcxxxxcba abxxxxxxba axxxxxxxxa

Software Development c
Member Avatar for WaltP
0
129
Member Avatar for chocl8drop

I am working on a program that will read a list of words from a file. For each word, I have to build a key which is basically the word with all of its letters sorted (i.e. dorw is the key for word). I need to build an array of …

Software Development c++
Member Avatar for dougy83
0
127
Member Avatar for sgw

Sometimes when I use a lab PC for visual C++, even when a program is very simple and absolutely correct, and sometimes passes the compiler, but when i try to run it, it shows "Fatal error... can't find path...." what's the reason?

Software Development c++
Member Avatar for mitrmkar
0
113
Member Avatar for prushik

ok, here is my problem. I am using sprintf to write a formatted string. That works fine. it looks like this:[CODE=C++] sprintf(buffer, "%f,%f,%i,%f,%f", user.x, user.y, user.dir, user.xspeed, user.yspeed);[/CODE] where user is a struct x is a float y is a float dir is a short int xspeed is a float …

Software Development c++
Member Avatar for mitrmkar
0
157
Member Avatar for Iqbal_h_a

Hi All, I have built an application on C++. It is a multi threaded application. My application spawns 8 threads when it come up. Each thread opens one file and maps it using mmap. It is a client-server application. Each thread picks up a message from the queue and processes …

Software Development c++ client-server queue
Member Avatar for Nick Evan
0
119

The End.