132,726 Archived Topics
Remove Filter ![]() | |
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 … | |
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 | |
[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 | |
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 | |
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 | |
How can I link visual basic with sybase, cos I use sybse as my datasource. Software Development visual-basic | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
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 | |
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. | |
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++ | |
Can you cast an array of char to a char*? Thanks. Nemo Software Development c++ | |
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++ | |
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 … | |
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++ | |
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++ | |
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 | |
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 | |
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 | |
when we use this file: #include<graphics.h> #include<stdio.h> #include<conio.h> Software Development c++ file-system | |
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++ | |
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 … | |
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 | |
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....... … | |
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 | |
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 | |
[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 | |
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 | |
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 | |
what is operator overloading ? how many types i have? can any one help me with some example. Software Development c++ | |
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 | |
[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 | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
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 | |
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 | |
Give program for this output abcdeedcba abcdxxdcba abcxxxxcba abxxxxxxba axxxxxxxxa Software Development c | |
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++ | |
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++ | |
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 |
The End.