43,549 Solved Topics
Remove Filter ![]() | |
Hello Members, Would anyone please take a look at my attached excel files which is a commodity exchange's end of the day data file. This is a free copy which anyone can download from their websites. Those are ([url]www.mcxindia.com[/url]) & ([url]www.ncdex.com[/url]). Now my query is in those two files there … Software Development microsoft-office visual-basic | |
I have been doing java for almost 3 years now, am just starting to learn Objective-C as of this past June. Been writing a few programs on my own and writing programs for the exercises in 2 very cool Cocoa/objective-c books. My question is how do I, coming from Java, … Software Development java objective-c | |
Hi all, Im new to java, and im working with j lists importing data from sql server. Thing is that i can import the data from the sql tables, but for some reason it does not refresh properly. Thing is that when the frame is opened the list is filled … Software Development java java-netbeans java-swing | |
Hey guys, I've drawn a grid, and I have a label contatining a picture. Whenever I change the location of this label, the grid dissapears until I resize/move the frame. Any suggestions on best method to buffer these grid lines? They aren't going to be moving graphics or anything like … | |
Need help getting my add, save, search, modify, delete buttons to work I can get them to show up in the GUI but pressing them does nothing. I need the save button to save file to index.dat in folder c:\\data\ folder and create that folder if it doesn't exist [CODE]import … Software Development gui java java-swing | |
Hi all, The project I am currently working on is an Address Book which works off a csv (specification takes the mick as a database would be so much easier), the method to write the lines of information into the CSV is in the class DataLayer and takes a String: … Software Development file-system | |
Hello guys, I'm trying to make it so that the user can opt to change student's course code or credit points (they can choose to change neither, either or both) in case 5 of my main switch statement. The problem is, the loop doesn't end after you choose to do … Software Development c++ ios programming-construct | |
Hi, I'm stucked with a problem, hope somebody can help me. The problem is that i have a string with webpage source and i need to retrieve all the text instances between <pre> and </pre> tags, i already know how to retrive the first ocurrence using: [CODE] dim start as … | |
Hi Guys, How's your day? I would like to ask, since I'm a beginner in vb .net, I can't figure this out. Here's the scenario: I have a folder with lots of folders inside and inside those folders are .tif files. I want to create a program that will rename … Software Development vb.net | |
Ok pretty simple: How to make internal speaker beep on Linux. For personal use does not need to be portable. I know I have an internal speaker... BIOS loves that thing... Software Development c++ | |
Hey forum, our professor assigned us a program we have to write in assembly language and I would love to have help on it. [QUOTE]Write an upper-to-lower case and lower-to-upper case conversion program. When the user inputs a letter, your program should convert it to upper case if it is … | |
I figured this would be easy but ultimately I can't seem to get past the " " in a char array. i.e. [CODE] const int ARRAY_SIZE = 80; char charArray[ARRAY_SIZE]; cout << "input a sentence"; cin >> charArray; [/CODE] "This is a test string" returns only "This" as the space … Software Development c++ | |
Hi, I am using WinSock library for sending data over network, and I have a problem. I know how to send data in one struct and receive it on the other side, because there is constant size of structure. But what if I have more structures, each one with different … Software Development c++ data-structure | |
Hey guys, I'm drawing a grid using the nested for loop with draw line method. Any tips on getting this in the center of my screen? I am currently using the getWidth and getHeight methods of my center panel but it is still drawing in the top left corner. It's … Software Development java | |
[CODE]public static void main(String [] args){ ArrayList<String> list1 = new ArrayList<String>(); list1.add("ABC"); list1.add("123"); ArrayList<String> list2 = method(list1); list2.add("ABC"); list1.add("123"); System.out.println(list1); System.out.println(list2); } private static ArrayList<String> method(ArrayList<String> list) { ArrayList<String> result = list; result.remove("123"); return result; }[/CODE] Could anyone explain this code to me? why it gives me the same result … Software Development java | |
I have a bunch of floats and I need to convert them to string to use Send command to send to a Receiver. However, I been trying to code like below where long1deg is a float. [ICODE] char long1degC = long1deg; [/ICODE] Or [ICODE] char* long1degC = new char[30]; float … Software Development c++ | |
hi. I'm trying to make a simple c# program using sqlserver. when i try to save something into database, it gives this error. here's the code. that 15(age value) is the default value on my numericupdown [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; … Software Development open-source | |
Hey guys! I've been working on two projects, one needs to have multiple forms, but when I open one form, it needs to close the sender. But, when I try it, the program exits! I don't want it, I just want to close the form, not the app. I tried … Software Development vb.net | |
I dont know wats wrong with my code but what am trying to do is for salary its an addition of DA and HRA. Here is my code.[CODE]#include <iostream.h> class teacher{ private: char name[20]; char subject[10]; float DA , HRA ; float salary; public: void getdata(); void display(); int payrol(); … Software Development c++ | |
The standard deviation of a list of numbers is a measure of how much the numbers deviate from the average. If the standard deviation is small, the numbers are clustered close to the average. If the standard deviation is large, the numbers are scattered far from the average. The standard … Software Development java | |
Hello, I'm working on a small web app in C#, I have made the database and created a gridview to display and edit the data. I just want to know how can I turn a textbox field (in the update view) to textarea so I can see the whole text … Software Development | |
Hi All! I've got a weird problem here...It doesn't want to add my int values to a char array even though I static_cast the value to char. If you could just look at my code please! [CODE]void AltBoolean::print(){ perma = new char[arraySize]; int temp; int counter = 1; for(int i … Software Development c++ | |
I have a server to which clients are connected using TCP connection. All the clients broadcast to each other using UDP braodcasting.I want to disconnect one of the client from the UDP connections from server. what can be the possible ways to do this? please suggest. Software Development client-server java tcp-udp | |
What is the equivalent of the "setw" stream manipulator for C++ in Java? I've been messing with the java.util.formatter class, but haven't figured this out yet? [url]http://www.cplusplus.com/reference/iostream/manipulators/setw/[/url] Software Development java | |
I actually want to ask two things, first, how do I set Textbox1 to get focus so that the user will not have to click the textbox if he wants to write something, the .focus() method does not work also, how do I highlight texts inside a textbox programmatically. I … Software Development vb.net | |
Hi, I am suppose to create a code that takes the values between 1-1000 and produces the hailstone sequence for them, then it prints out the initial value that produced the longest sequence along with the sequence's length. I have tried to use an array but it didn't seem to … Software Development java | |
I need some help setting the maximum size on a picture box. I thought the syntax for setting size was picturebox.MaximumSize = (Width,Height) but doesnt seem to work. Did syntax change from VB6? Thanks in advance Software Development vb.net | |
Guys can anyone tell me how to change fontsize of my listbox programmatically? This code does not work listbox1.font.size = 10 or listbox1.font.size = new size 10 What is the right code? Software Development vb.net | |
I need to write censor program that 1-reads in the text from a file 2-creates a new file where all the four-letter words have been replaced by “****”. can you help? this what I have so far [CODE]import string def main(): filename = raw_input("File: ") text = open(filename,'r').read() text = … Software Development file-system python | |
I'm a beginner at python programming and now I want to try to write a function consisting of my already written programs. The goal is to get all probabilities when I'm calling on the function in the main program. My already separately written programs looks something likes this and the … Software Development python | |
how to get 10 th record from record set using SQL server? there are a lot of code in the internet that can get first 10 results using "TOP" keyword in sql. but i want to get 10th row valus. I'm using VB 2008. please help me.... Regards Pra$ad. | |
hi all!! i wanted to know the name of book which covers all the basic syntax and concepts of java keeping in mind that i have the basics of c++. | |
Hi everyone, I am trying to change hundreds of data files using sed command. Text file1 have 10 lines which look like the following [QUOTE]{ x=34280; y...} { x=34281; y...} { x=34282; y...} { x=34283; y...} { x=34284; y...} { x=34285; y...} { x=34286; y...} { x=34287; y...} { x=34288; … Software Development shell-scripting | |
Hello, I have made a store inventory system in console in C++. I would like to know how can i convert it into full fledged graphical user interface. Any article,book,tutorial,video would be very helpful Thank you. Software Development c++ gui visual-studio | |
This Code allows you too countdown seconds and minutes but im not sure how to add hours or maybe even days to it:( =========================================================================================== [CODE]Imports System.Threading.Thread Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If InStr(timetowait.Text, ":") Then Dim time() As String time … Software Development vb.net | |
Hi guys, first off just wanted to say that this website has been immensely helpful to me for my programming class. I asked a question to help with a lab a couple of weeks ago and was able to figure out the issue with the forums help, so thank you. … Software Development file-system python | |
hello. i have a problem in selecting destination and time. when i select any number in destination the program always tell me that i choose number 1 (taiping). and the time it always show 1030 even i input number that is not 1. please tell me where i'm wrong here. … Software Development c | |
Hey, I'm on the rookie side, to Python, and Pygame and new to this community, and I'm confused if this could be possible; I want to change the data type of a list, in Python, from strings to integer (they have to be integer, because I need to sort them … Software Development python | |
Hi!, I have a text file that contains a 2 dimensional matrix, and I will have to deal with many different files with different matrix dimensions, so I decided to use vector of vectors as they double their size automatically. the problem is that I don't know how to get … Software Development c++ file-system | |
public class thermostst{ private float currenttemp(); } I thought in java only abstract classes can contain abstract methods like this! I got this from a algorithms and data structures book and im guessing its a printing mistake and currenttemp should not contain the () . Thank You Software Development java | |
So both classes are in the folder. How am I able to call variables in one class from another another class. For example, I ahve 2 classes, Class1, and Class2. So in Class1, I have "double a" and its value. How can i refer to this "double a" and its … Software Development java | |
don't go by the size of code. [U]before inserting search function my code was working fine with insert function. but don't know what is wrong with search fn. or declaration of variables in main().[/U] [B]this is what compiler shows. tree.cpp:316:15: error: cannot convert ‘int*’ to ‘redblacktree<int>*’ in assignment tree.cpp:318:15: error: … Software Development c++ | |
Hi, this is what i'm trying to do [icode] class a { private: string attribute; string p_msg; public: string& getAttribute() { return attribute; } }; [/icode] above is the class, i want to call function getAttribute() from class a is a linked list: list<a*> aa [icode] void sortFile(Manager& manage, const … Software Development c++ linked-list | |
Can the value of vertical scrollbar attached to Msflexgrid be made to maximum through vb code. thanks & regards Software Development visual-basic | |
I need to copy multiple sheets into the template accordingly. well, i manage to copy for the first sheet only. i've tried to modify the code to copy multiple sheets at one time and i couldnt get it right. here's the code for copying the first sheet into the template. … Software Development visual-basic | |
Hi All, I am having a bit of an issue moving back into Java. The issue that I am having is that I am trying to call a method of a custom class that has been instantiated in my main java file from a form that is also in an … Software Development java | |
I need some help. I'm trying to create a number pad like a cellphone that captures user input by pressing buttons in a panel on the left and displaying what the user punches in the top panel. Then I have a clear button in the panel on the right to … Software Development java java-swing | |
I do not under stand how to get NODE to work. Worked fine with typedef struct but when I changed to template stopped working??? [CODE]template<typename T> struct Node { struct Node(T data) { this->data = data; previous = NULL; next = NULL; } T data; struct Node *previous; struct Node … Software Development c++ | |
Hi, i would like to know to retrieve out the date and time from my database to show on the wcf test client and for eg, after choosing a certain date, how to do the coding in order for the events to show that's happening on the date i choose … |
The End.