Building your own exception class that includes an array
I'm a newbie at Java programming and its just not coming together for me like other languages I've learned. So hopefully someone here can help. I need to build an Exception class that contains a static...
View ArticleTexas Holdem GUI Game
Hi All, I'm working on a texas holdem game. My project creates a JFrame with JPanel and JLabel's added to the JPanel. I know my code is not great....(I'm still learning). Everything displays for me but...
View Articleone database connects to multiple workstation
how to connect sql database file into multiple workstations using vb.net?
View ArticleSaving ComboBoxes and TextBoxes to Excel
Hi all, I am a beginner at programming, and I have been thrown into the deep end. I made a program with multiple ComboBoxes and Textboxes. I would like to save its contents to an Excel worksheet so...
View Articlehow to save data inserted from the datagrid view into the database
i am using sql as my back end and vb.net as my front end..on i want to insert from datagrid cells and save it in database and user fills multiple rows and their cells so how do i do it so that user can...
View ArticleBetter Enum Format
Is there a way to format Enums better than just a really long list? I know formatting is personal preference but a long list just looks mushed together. Thanks
View ArticleMaking a Class Globally Available
So this is something I'm having some trouble with. Obviously, I'm missing something. The program I'm building is going to interact with a database on just about every form. I've built a Facade to...
View ArticleHow do you get the selected cell of a gridview?
I am just curious about something, if i have a gridview that has rows of buttons how do i get the id of a button that is clicked? Like say there are 4 rows of 4 buttons each, how can i tell whether i...
View ArticleIllegal format conversion help.
import java.util.Arrays; import java.awt.event.*; import java.text.NumberFormat; import java.util.Locale; import java.io.*; import java.awt.*; import javax.swing.*; class InventoryGUI extends JFrame {...
View Articleerror: cannot run program
It says : "redefinition of formal parameter 'size'" and: "redefinition of formal parameter 'menu'" I tried but still cannot figure out. #include <iostream> #include <fstream> #include...
View ArticleConnecting two tree nodes that already exist.
Hello, I am working on a extra credit program for my class. I need to find the shortest distance between two cities and the user needs to be able to add cities during execution. My problem I am having...
View ArticleSyntax Differences
Just a quick noobie question.. I've noticed some differences in the syntax used to perform certain tasks... Like: std::cout << "bla bla bla"..... // versus cout << "bla bla bla"..... //or...
View ArticleListview column headers stackable?
I'm just curious as to if the column names are stackable on top of each other, in other words: ORIGINAL |test|testing test1|testing test32|test3| NEW |test|testing|testing|test test1 test32 I know it's...
View Articlesimple char length
Hello guys /> My question is how can I verify the lenght of a simple char.Rather i wont to know if the char is empty(that means,that the user pressed ENTER),or the char is entered.With other words i...
View Articleshortest path tree using prims algorithm/ {condition of IF statment}
Hello I am working to find shortest path tree using prims algorithm I used Number of children metric to find the shortest tree In this part of the code I tried to find number of children for each node...
View ArticleDebug Script
Questions: pad_names: (list of str, int) -> int The first parameter is a list of names of various lengths. The second parameter is a minimum length. For any name whose length is less than the...
View ArticleAllow TextBox in Form2 to read and display ComboBox from Form1
I have to be able to display a Customer ID (listed in a ComboBox) from Form1 in a TextBox on Form2 When I run the program I get "System.Data.DataRowView" in my TextBox on Form2. Form1 Public Shared str...
View ArticleMDAC 2.6 or above required for .NET access
I am looking for help in this error message when running my c# program, which opens an Access database (.mdb) created with MS Access 2000. First of all, here is my code: string OMconnectionString =...
View ArticleJAVA - GUI metric and temp conversion program - help with output!
My outputs are nor correct at all. The only outputs that are correct is Celsius to Fahrenheit. i put an text output in the round off method to see what it is doing before exporting it to the GUI. and...
View ArticleBest Websites for C++
New to C++ - Trying to teach myself. Could any of you know of any websites that offer some good tutorials that I could work through. I tried google, but it didn't really find much out there. Any help...
View Article