132,726 Archived Topics
Remove Filter ![]() | |
Is there anyway on how can i get a more accurate coordinates? i'm doing a project for our school, the problem is i dont know how to get the right coordinates that i would like to create. Thanks in advance :) Software Development java | |
Greetings, If i as for example have this: This is my main window Class MainWindow Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles Button1.Click Dim Other As New Window1 Other.Show() End Sub End Class This is the window that opens when button is clicked Public Class Window1 … Software Development vb.net | |
Hey, I want help guys ! I'm trying to create some kind of user control to be used as mdi container, I'm trying to create something like access form where you can create a subform within a form and then load another form into this subform. can anyone guide me … Software Development vb.net | |
i wrote this program it c++ in response to this question "total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk (which will need to be a value rounded up to the nearest integer), the cost of producing the milk … | |
kindly let me know how to open an excel file in c++ Software Development c++ | |
Can anyone teach me how to remove the background image in the form? i am trying to create a system that willn change its background color using option buttons but with the background image in place, the change in back color is not visible........ Please help me. Your immediate reply … Software Development html-css image visual-basic | |
![]() | Hi, I'm looking for pictures that can inspire me to design a login page.. the login page is going to be full screen window (no changing that), and all I know is that I gotta put 2 input boxes there (username & password) and a button.. (we don't show any … Software Development |
Hi- I need to create a program, or maybe a script of some sort, or even a browser extension possibly. I'm not sure... need some direction. Once logged into a webpage, I'll do this manually, I need to-- auto refresh the page every XX amount of seconds Detect a change … Software Development web-browser | |
HI, How can I read from a txt file using threads in C#, regards Software Development | |
Alright, so I am designing a program that contains binary trees to function as a parser. I have encounted a very strange problem that is causing my program to fail while it is running. I have done several tests and narrowed down the incidents. Ok, so this results in a … Software Development c++ data-structure | |
[Pictures](http://postimage.org/image/qnqrsvenn/) the picture explain it all. Software Development c++ | |
I have a DBF file with 1400+ rows and 32 columns and I need to write this to an Access DB table. The Access table was created by modifying the original structure of the DBF table in which I removed 12 unnecessary columns. I have been successful at loading the … Software Development data-structure vb.net | |
I tried to run the basic code to create and open a window . The code is as follows : #include <iostream> #include <SFML/Window.hpp> int main() { // Create the main window sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window"); // Start main loop bool Running = true; while (Running) { App.Display(); … Software Development c++ visual-basic visual-studio | |
Hi all, In the program I'm working on, I am making a form that submits data to an Access 2007 database. I can connect to the database fine and run a select query, but when I try an insert query I get an error: "statement contains the following unknown field … | |
I was wondering why the compiler keeps telling me #include <iostream> #include <fstream> #include <iomanip> #include <cstdlib> #include <string> using namespace std; const int PatternSize = 8; typedef int OperandArray[PatternSize]; // the major data structure, the BitPattern class class BitPattern { public: // default constructor, sets all bits to zero … Software Development c++ data-structure ios | |
Hi, i have a JComboBox in a small java program. if i see the properties of the JComboBox i can see SelectedIndex = -1 SelectedItem = null But i can't the name of each item and i have 5 items normally. Where can i see them in the properties? Thank … Software Development java java-swing | |
![]() | Hey guys, I'm really stuck on this problem. I think you have to do backward recursion, but don't know how to go about it. I just need help with the algorthim for the function "backtracking". Find the best cheapest way to get from city 1 to city 2. I have … Software Development c |
I'm in a class where the professor has just thrown us into the world of C with no help at all. So I would really appreciate any help anyone can give. I know Java and Visual Basic pretty well, so I'm not completely new and lost, I just don't understand … Software Development c visual-basic | |
Good Morning, I'm a little difficulty in writing and implementing a function that read a list of words of variable lengths and convert all letters to upper case. Ask the user to enter the size of the list. I shall use an array as pointers. So far, I have this, … Software Development c++ | |
#include<iostream.h> #include<conio.h> #include<string.h> int main() { clrscr(); char string1[20],string2[15]; int i,j; string1="AMITABH BACHCHAN"; string2="RAJNIKANTH"; int n1=strlen(string1); int n2=strlen(string2); cout<<"common alphabets in AMITABH BACHCHAN AND RAJNIKANTH are-"; for(i=0;i<n1;i++) { for(j=0;j<n2;j++) { if(string1[i]==string2[j]) cout<<string[i]; } } } Software Development c++ | |
I am trying to make a program where when I click an arrow key, the object moves constantly until I click another arrow key; or, when my object reaches a wall and crashes. For my code, I have made arrow key movements, I have assigned them in the program, and … Software Development c++ | |
Can any one suggest me the best and free Reporting Tool which supports java Thankx in advance Software Development java | |
Through using Visual Studio to learn more about ASP.net and VB.net I would like to connect to a database. I create an .mdf database file but I've no idea how to connect to it (well, I have some code below...) that's not my only problem but I'll ask the next … Software Development asp.net open-source vb.net visual-studio | |
I am trying to figure out how to increase array size... let say i created string array that can hold 7 names but the user wanted to enter more than 7... so i am trying to write a program that double my array size with out me changing it manualy … Software Development java | |
still on adding controls at run time mr admin, i want to write a code that will add textboxes(TBs) at run such that the user have to enter the number of textboxes needed in an already existing TB and when a button is clicked, TBs will be added to the … Software Development vb.net | |
Not sure if this can be done. There are word files in a directory with all familiar names. i.e. fr001, fr002, fr003, etc... all with the extension .doc. I would like to know is there a code that will link an excel file to a directory and then be able … Software Development microsoft-office perl visual-basic | |
Hi. I have some trouble understanding the linking process and hence this related question. Lets say I need a global variable that is needed by every single source file in my project. I would create a `constants.h` header and put `extern const int var;` in it. In corresponding source, `constants.cpp`, … Software Development c++ | |
Keep saying The variable 'width' is being used without being initialized. #include <iostream> #include <cmath> using namespace std; int main() { float length; float width; float area; cout << "Enter The Length Of The Rectangle: "; cin >> length; area=length*width; cout <<"The area of the rectangle is : "<< area … Software Development c++ | |
Good day, Is it possible to create a simple entity framework system withou using DAL? or maybe context? direct connection? let say, i want to extract all my record in gridview. //assume that this is my formload protected form_load() { if(!isPOstBack) { getAllRecord(); //mymethod to call the data taht will … Software Development | |
I have just started learning java and made an first mathematical interactive program which I wanted to distribute with my friends . But I am unable to run the .jar file . I do the following , I click on export - Runnable.jar - Main.class and select the other options … Software Development java | |
Im getting double free error's from this? Why? 2d array standard implementation. any clues? int **m = malloc(5 * sizeof(int)); int i,j; for(i = 0; i < 5; i++) m[i] = malloc(5 * sizeof(int)); for(i = 0; i< 5; i++) free(m[i]); free(m); Software Development c | |
Hello I'm not new to C++ programming, but I have a question for you guys and gals :) So the code below compiles fine (due to that ugly workaround in main func), but that makes d_copy.field2 unitialized (0xCC bytes in MSVC). How would you change the code to make d … Software Development c++ | |
So, we are making a card game for class using a deck of cards valued 1 to 52, using lists and stacks. It deals each player a card, compares the value, then awards a point to the winner and restarts. I am using stacks to keep track of points, and … Software Development c++ | |
Good morning. I'm not sure if this is the correct forum to post this question, and if its not, please direct me. I have a script that lists the last logons for all users on all domain controllers in my domain. I've been asked to modify the script to exclude … Software Development shell-scripting | |
i have a file.txt like this : 2X^2 + 5X+3=0 i want to save 2 to variable a, 5 to variable b, and 3 to variable c . . how i can do that . . ? tanks for your help . . Software Development java | |
i have two table in db: table1: id(pk) int,firstname varchar(20),lastname varchar(20),username varchar(30),passwrod varchar(15) table2:fscmarks int,metricmarks int,id(fk) int stored procedure for table2: create proc academic ( @fscmarks int, @metricmarks int as begin declare @id int select @id=CURRENT_IDENT('table1'); insert into table2 values(@fscmarks,@metricmarks,@id); ) and behind login click is set session variable like … | |
I am trying to write a program that converts a string of numerals to integers. The program I have written gives me an invalid output. Any ideas what I have done wrong ? //Defining what libraries should be included. #include <stdio.h> #include<math.h> int strIntegerTmp(char *string, int collect); int strInteger(char *string); … Software Development c | |
'm trying to pass a String from one class to another class but the result I'm getting is 'null'. I want to pass the String username from LoginFrame to HomeworkFrame; HomeworkFrame: public void loadSubjects (){ String item; try{ System.out.println(username); Scanner f = new Scanner (new FileReader (username + " " … Software Development java | |
Hello im planning to make Barcoded ID in my system. I just dont know where to start. im also planning to buy a GENERIC Barcode reader but i dont know where to start coding. Note: Im still a student this is not for profit or anything :) Just exploring new … Software Development vb.net | |
I am not sure how to explain this so I will give an example. If I were to have two arrayList like the one listed below: ArrayList<String> java = new ArrayList<String>(); java.add("1"); java.add("2"); java.add("2"); java.add("4"); ArrayList<String> lava = new ArrayList<String>(); lava.add("0"); lava.add("2"); lava.add("5"); lava.add("4"); how would i remove the duplicates, … Software Development java | |
Good evening all, Currently I am working on a program that will automate the backup/restore jobs at the place I work. The rough work has been done, but I am somewhat concerned about the possibility of massive IO operations due to the way my program works. Here is the scenario: … Software Development | |
I want to merge 2 XMLs based on a particular condition. e.g: Sample1.xml: <rootNode> <header> <title agg="sum">1</title> <records agg="sum">10</records> <number agg="min">5</number> <header> </rootNode> Sample2.xml <rootNode> <header> <title agg="sum">2</title> <records agg="sum">20</records> <number agg="min">15</number> <header> </rootNode> I want that these two xml files should be merged based on the attribute specified within … Software Development xml | |
import java.awt.*; 02 import javax.swing.*; 03 import java.util.Random; 04 import java.awt.event.*; 05 import java.awt.Color; 06 import java.awt.Graphics; 07 public class actualstuff extends JFrame 08 { 09 private JTextField textField1; 10 public static int index=0; 11 public static Graphics gx; 12 public actualstuff() 13 { 14 Container container=getContentPane(); 15 container.setLayout(new FlowLayout()); … Software Development java java-swing | |
How do i read a txt file into a char array. what i have so far only give me blank lines String fname = "c:\\game.txt"; char data; int row = 2; int col = 4; char[] matrix = new char[row]; private void openFile() { try { FileReader reader = new … Software Development java | |
Greetings, Id like to know what the actual differences is between WPF and Windows Forms.. When i compare those two it just seems like WPF has way more functions, such as using xaml aswell as the standard functions from Windows Forms, also seems to have many more feutures ? So … Software Development vb.net | |
Hello Guys, We need your recommendation for a good java reporting tool(open source or commercial) which meets the following requirements: 1. Embeddable in java web application(via reporting tool API calls) 2. Low run-time cost 3. Output to pdf/html 4. Has report designer/drag and drop etc. 5. iPad/iPhone friendly(if possible) Thanks | |
HI , I have a basic question to ask. how do i open a .txt file in C ? i am using the code shown below which is always telling that "file not found". #include <stdio.h> main() { FILE*fp ; fp = fopen ( "PR1.txt","r" ) ; if( fp == … Software Development c file-system | |
i have a datetimepicker with format dd.MM.yyyy.. when i have, for example, date 14.02.2011, save it and then want to enter 31.12.2011 then datetimepicker validator doesnt allow me to enter 31 because of month 02 inside, so it set automatically 29 in the datetimepicker. in this case, i have to … | |
/* For this program you will be working with strings. You are to ask the user to input a string. Then, make (and print out) the "pig latin like" version of this string by using the following rule: 1) words beginning with a vowel (A, E, I, O, U) , … Software Development java | |
So this is what I want to be able to acomplish. I have a form where you can give permission to network folders to users in a Active Directory. I want to be able to make the app revert those permissions based on a date. I was thinking of adding … Software Development |
The End.