132,726 Archived Topics
Remove Filter ![]() | |
Hello, I am new in VB and I have a problem. I'm trying to make a page where you enter some data in the textbox and on button click you search a database and you have a results in grid. But on button click nothing happens. Here is my code. … Software Development vb.net | |
Hi, I'm making an MVC pattern based app and I though I would learn the principles first. I have reached a stage I need to connect the three elements. When Controller receives user action It calls right model. Now I need to register callback function so that when Model is … Software Development c++ software-architecture | |
[B]Will some one please help with the topological sort problem. What am I doing wrong? Thanks in advance for your help!! [/B][code=c] #include <stdio.h> #include <limits.h> class Vertex { public char label; public Vertex(char lab) { label = lab; } } public class Graphs { private final int MAX_VERTS = … Software Development c | |
:) Hello, I am making a C++ console application where the user can encrypt and decrypt text. So far, I have successfully made the encryption part, but am not quite sure how to make the decryption part. For example: abcb -> 128.70.88.70. but I can't make it go back to … Software Development c c# c++ encryption | |
[CODE] Private Sub cmdCancel_Click() txtcode.Text = "" txtdescr.Text = "" txtumsr.Text = "" txtqtyh.Text = "" txtuprice.Text = "" End Sub Private Sub cmdSave_Click() Dim itemcode As String * 10 Dim descr As String * 10 Dim umsr As String * 10 Dim qtyh As Integer Dim uprice As Currency … Software Development display visual-basic | |
Using the basic principle in this code: [CODE] try { GraphicsEnvironment ge = GraphicsEnvironment .getLocalGraphicsEnvironment(); GraphicsDevice[] gs = ge.getScreenDevices(); BufferedImage[] screenshots = new BufferedImage[gs.length]; ImageWriter writer = null; Iterator<ImageWriter> iter = ImageIO.getImageWritersByFormatName("jpeg"); if (iter.hasNext()) writer = iter.next(); ImageWriteParam iwp = writer.getDefaultWriteParam(); iwp.setCompressionMode(ImageWriteParam.MODE_EXPLICIT); iwp.setCompressionQuality(0.1F); DisplayMode mode; Rectangle bounds; for (int i … Software Development file-stream image java | |
Hi guys, i have been able to get this transfer function to work but only with one account. i'm not too sure how to get it working for the other account also. Any help would be greatly appreciated. [CODE]static String doTransfer(String amount){ // Withdraw cash -- called from ATMWithdrawl String … Software Development java | |
Hi guys, I'm working on a console based application and I'm struck in a control flow issue for driver class. Any assistance is appreciated. This method from the driver class call method from inventory class to search for a item that is stored in an arraylist. On query it return … Software Development java | |
This is what I read about it. [CODE] virtual base class becomes common direct base for the derived class [/CODE] So my question is exactly what does this mean. What I believe it means. [CODE] class A { protected: int a; public: virtual int get_a(); A(void); ~A(void); }; [/CODE] With … Software Development c++ | |
Hi :) i placed a picturebox and paint on it inside the program with FillRectangle/DrawEllipse/FillEllipse etc. now all i want is to check if the pixel color under the cursor is == Color.Black but i encounter problems... i made this: [CODE]Bitmap myBitmap = new Bitmap(this.pictureBox1.Image); Color pixelColor = myBitmap.GetPixel(Cursor.Position.X, Cursor.Position.Y); … Software Development | |
ive been looking up, and their seems to be many way to read from a file. my question is, how do you read from a file. the file setup is like this.... the first line is a number(830) representing number of words, next lines are words.. the file looks like … Software Development file-system java | |
[CODE]#include <iostream> #include <string> using namespace std; int main(){ string str = "Gregory"; int k = 0; for (k=0; str[k]!='\0';k++){ if (str[k]>=65 && str[k]<=90) { str[k]+=32; } } cout << str << endl; } [/CODE] is this code right Software Development c++ | |
hi there, i have a question with the address text box. i am coding in C#. at first user enters the counrty. and then he enters the zip code. the state should pop up. for eg: if 60333 comes the relevant state should come up in the textbox called state … | |
As we learn all, C dont supprot Inheretic, Polymorphism, Function Overloading... And Few Other Things... My Question is: What is this one? [URL=http://imageshack.us/photo/my-images/705/wico.png/][IMG]http://img705.imageshack.us/img705/5661/wico.png[/IMG][/URL] [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Example { public partial class WForm : Form { … | |
Considering the following line of code: [code]int *ip;[/code] Is "ip is a pointer to int" (the type) or is "ip a pointer to an int" (a particular variable of type int)? Thanks. Software Development c | |
I'm creating a simple Slot Machine. one button for the start, and 3 stop buttons on each tiles of Picturebox. my problem is, Every time i clicked each of the stop buttons, the Picturebox won't stop. I need help in which, if i clicked the stop button on a corresponding … Software Development image | |
I have this problem, that whenever I set the frame size using the setSize () method the size inside the frame is actually smaller, because the frame size is included in this dimension. My question is how would I make it so that the inside of the frame is the … Software Development java | |
Hello, I m doing an exercise i found in internet. The exercise is the following: [QUOTE] Pancake Glutton Write a program that asks the user to enter the number of pancakes eaten for breakfast by 10 different people (Person 1, Person 2, ..., Person 10) Once the data has been … Software Development c++ | |
Hi there guys I need your help so badly as I can't finish my program. The instructions are: create a console application that instantiates a class with a method that takes in a string of values converts upper case to lower case and vice versa. The method also returns the … Software Development | |
Hi I know how to create new excel menus using VBA but I am new to vb.net and would like to know if it is possible to use vb.net to creat additional menus within/for Microsoft Excel. I can't seem to find anything on this on the web :sad: | |
Hi there guys I have a question. How do I put values on items in a comboBox and compute its total? You can look at my attachment for your reference. Normal Subjects are worth 2 units and Subjects with "-Lab" are worth 1 unit each. Now when I check subjects … Software Development | |
is there any open source project for custom menu for java desktop app? Software Development java open-source | |
Hi, I'm trying to send an email using a lotus notes account and c# which is working fine. It is a two part mail which consistes of an HTML formatted message and attachment/s. The problem i'm encountering is when I have multiple attachments in different file formats. For example when … Software Development c# file-stream session | |
I'd like to change a Python shortcut icon, to make it custom in my standalone applications. Any ideas? Thank you in anticipation. Software Development python | |
can you please help me to create a adding form and it will save to sql database .. pleas | |
Hi I have a CSV file with column headings as [Serial Number,Reader Name,Book name,Author,Publisher] I want 1)To filter all books with Book name :'Aristotle' 2)to remove duplicates in books with same author name ie.Different Publishers 3)To take a sample of 30 books for Each Reader and copy it to a … Software Development python | |
hi can any body help me i want to insert to data base the record save into data access data but when return to data base the record not exit this my code [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using … Software Development microsoft-access open-source | |
![]() | Hey guys, I've been fiddling around with Tkinter for a bit and can't for the love of me figure out why this code won't work. I'm making a GUI that outputs the price of a product depending on what buttons the user pressed. I have three calculations that revolve around … |
I found some implementation by macro with the help of macro I may write something like [code] #define DEFINE_LIST(type) \ typedef struct list_node_##type { \ struct list_node_##type *next; \ type data; \ } int main() { DEFINE_LIST(int); // defines struct list_node_int DEFINE_LIST(double); // defines struct list_node_double IMPLEMENT_LIST_INSERT(int); // defines list_int_insert … Software Development c | |
I m developing a java app that will have a GUI to draw the graph and implements the graph coloring algorithm to colour the nodes. I started with JFrame and Canvas and could draw lines and circles with paint() and repaint methods.. The problem is repaint method erases the previous … | |
Please help me, I already made a programm it run good if i only input a first name but if i input first and last name it did'nt work properly here is the program i made and the output of the program PROGRAM [CODE]#include <stdio.h> #include <conio.h> #include<math.h> char a,name; … Software Development c | |
Im having some problems identifying where my error is. I've read through the post on this topic and applied the responses to my code but it's still giving me a warning. I am trying to use an array to compute the average of 10 numbers. [CODE]#include <iostream> using namespace std; … | |
Hi, does someone know nice, clean tutorial with links for all headers and libraries for connection to MySQL database? I'm searching for something good for about week now, but I've still found only some rly rly rly retarded posts, without any libraries for donwload or something, just code, i've tried … Software Development api c++ mysql visual-studio | |
Hi there guys I need some help I can't seem to remove the checks in the check list boxes i used checklistbox1.clearselected(); for my reset button but it didn't work. It does not remove the checks inside the boxes. I have an attachment you can use as your reference. Thank … Software Development | |
can anyone help me correct and make my payslip work......how can I correct line 303,306 and 309.................. [CODE]import javax.swing.*; import java.awt.*; import java.awt.event.*; public class payslip3 extends JFrame implements ActionListener { private static int width=600; private static int height=300; private JLabel[] labelJL = new JLabel[18]; private JTextField[] textJT = new … Software Development java java-swing ![]() | |
I just need to have 3 basic problem statements on c programming that is related to the field computer engineering, computer science or electronics and communications engineering. Only 3, and i can sleep.. of course after coding. :) THANK YOU! ^_^ >:D< Software Development c engineering | |
Hi, I have a string like "a_b_c_d". How do I get only c out of this string? Thanks Software Development vb.net | |
I'm creating a search function for my program, and need some help with SQL. Until now I have been using simple SQL query like [CODE] "SELECT post1 FROW table1 WHERE a=b" [/CODE] and put it into arrays. Then using that info to do another query, put it into arrays, and … | |
Hi. I am having a problem in creating of one simple program in Python. Here is code. [CODE]import wx class bucky(wx.Frame): def __init__(self, parent, id): wx.Frame.__init__(self, parent, id, "Testing erea", size=(280,400)) panel = wx.Panel(self) food = wx.Button(panel,label='Food',pos=(10,10),size=(80,40)) pets = wx.Button(panel, label='Pets', pos=(100,10), size=(80,40)) self.Bind(wx.EVT_BUTTON, self.food, food ) def food(self, event): … | |
I am working on something for school as a final project before graduation. I am using ASP for the website and VB as the back end to code. I keep getting the error "Object reference not set to an instance of an object" and can't figure out what is wrong. … Software Development asp vb.net visual-basic | |
[TEX][TEX]This assignment will require you to develop a program that reads a series of positive and negative integers from the user and loads these values into an array. The program then calculates and outputs the average of the values read. You will develop the entire program from the problem statement, … Software Development c++ operating-system | |
So, I've created a game. I want it to connect to a database to get some information. This is the problem I'm getting the console. [code] com.mysql.jdbc.CommunicationsException: Communications link failure due to under lying exception: ** BEGIN NESTED EXCEPTION ** java.net.ConnectException MESSAGE: Connection refused: connect STACKTRACE: java.net.ConnectException: Connection refused: connect … | |
Dear All, i have been tugging my hair out for 3 days and i cant find the problem !!! im writing a code in Aglets, i have to classes, Master and SayItAglet [B][U][COLOR="Green"]Master.Java[/COLOR][/U][/B] [CODE]package simple; import com.ibm.aglet.*; import java.net.*; public class Master extends Aglet { private AgletContext thisContext = null; … Software Development java | |
| |
[CODE]public int countArguments( String args[] ) { logger.debug( "In countArguments(..)" ); String [] readArray= new String [10]; for ( int i=0; i<readArray.length; i++ ) { for(int count: readArray){ count=count+i; System.out.println( "Number of arguments = " + count ); } } }[/CODE] Software Development java | |
PLEASE HELP I NEED TO PASS THIS HOMEWORK AND I ONLY HAVE 16 HRS BEFORE I SUBMIT IT AND I ALSO HAVE ANOTHER ASSIGNMENT ON MY ENGINEERING MATH, CALCULUS AND SOLID MENSURATION I DON'T HAVE ENOUGH TIME TO FINISH THIS PROGRAM PLS SOMEONE HELP ME WITH THIS THANKS IN ADVANCE … Software Development c engineering | |
Hello, I need advice. Ive been using Microsoft Visual studio 2008 and making c++ console applications for some time. I made a "Five in line" game. I have a complete system, so its playable, now i just upgrade an AI. So, I have the code for console version, but I … Software Development c++ visual-studio | |
Hi everyone, I'm trying to learn C++ and about pointers and whatnot and seem to be a bit stuck... one of the exercises we were given involves passing an object (a Driver object) by reference to another object (a Manufacturer), which stores it. The Manufacturer object can then "employ" and … | |
Hi Everyone! I am here by to ask help on enhancing messageboxs. How is the way to Display a picture(like a JPG file) inside a messagebox along with text when a button is clicked? Any Suggestions would be appreciated. Thank You! Software Development vb.net | |
Can somebody tell me what line i get this error " Argument 'Prompt' cannot be converted to type 'string' " [CODE]Try If movieTxt.Text <> Nothing And ratingCmb.SelectedIndex <> 0 Then For a = 0 To i newItem.SubItems.Add(movieArray(a)) ListView1.Items.Add(ratingArray(a)) '// add Item to ListView. movieTxt.Clear() ratingCmb.SelectedIndex = 0 warnNoMovie.Text = "" … |
The End.