132,726 Archived Topics
Remove Filter ![]() | |
This is my program: 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 CountryCurrency { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void rdbRupees_Click(object sender, EventArgs e) { if (rdbIndia.Checked == true) MessageBox.Show("You are right"); else … | |
[code]void strcpy(char *s, char *t) { while ( (*s++ = *t++) != `\0);}[/code] i saw this code in a particular book..... in the what does the assignment statement (*s++=*t++) return each time it gets executed........ all along i was thinking that the assignment statement return a 0 or 1 based … Software Development c | |
Hey guys, thx for the time you spent clicking here :D My question is simple enough. Let me give a basic example though: char a1[]="ok"; char a2[]="yes"; char a3[]="right"; for (int n=1;n<=3;n++;) cout << a<n>; Is there some way to make this concept work? Any help much appreciated! Software Development c++ | |
to input an unsigned integer and reverse the first and last nibble of the number Software Development c ![]() | |
I built a ClassLibrary where I have created my custom form component (let's say MyForm) that inherits from the Form class. I added the ClassLibrary to my actual WinForms project. Now when I add an inherited form based on MyForm to my project through the 'Add New Item' dialog box … Software Development asp.net vb.net visual-studio | |
Ensure ApplyVisualStyles is enabled in your system. Place a ToolStripProgressBar on a toolstrip, run your application and minimize the form. Now change the theme of your computer to Windows Classic and restore the form. See the interior of the ToolStripProgrssBar becomes black. It doesn't even change if you refresh the … Software Development asp.net vb.net visual-studio | |
I am rendering a toolstrip with a CustomRenderer that inherits from ToolStripProfessionalRenderer. The concept is that I want the color of the arrow of the toolstrip items to be white in all cases except selection. When it is selected the color should be black. In my code below all arrows … Software Development asp.net vb.net visual-studio | |
How to get the **Sine** and **Cosine** of an **inputed** number by the user? Software Development c++ | |
Ok, I am confused by this. I am doing a school project on i/o with an address database. The professor gave us a template to work with, which saved me a few minutes. The problem is I can enter information to the txt file fine. When I attempted to read … | |
Hey guys tried a few things but Im clueless to stuff like regex and I really need this compontent to my project :( THIS NEEDS TO BE EXTRACTED - this changes on each refresh I need that part of the data to be added to a list view Please help … | |
A while back i wanted to develop an application that calculated the integral of any polynomial that was input but I felt it was lacking the capability to to find more complex polynomials such as: > (x^2+x)/(x^2+x^3) Unfortunately my attempts at implementing a numerator and denominator as part of the … Software Development c++ | |
I am trying to extract specific values of element from xml document and produce an output of XML data or a CSV document and arrange them is this order. Locator designator Locator name Locator Thoroughfare Addressarea. current order: <Locator>1</Locator> <LocatorDesignator>Dwelling (Part Of), Null</LocatorDesignator> <thoroughfare>Abesinia Passage</thoroughfare> <AddressArea>Abesinia Passage</AddressArea> <LocatorName>Dwelling (Part Of)</LocatorName> … Software Development xml | |
hello, I'm making an enrollment and billing system and I'm just going to ask how do I connect a database in visual basic? I'm using vb 6 and ms access Software Development visual-basic | |
Hi I programmed a tower defence game through java as a simple java application. I was wondering what steps do I have to take to convert it into a fully functional java applet to be uploaded onto the internet. Software Development java | |
i have binding datagridview with 27 rows , i need to add these row to sqlserver table with other field how i can do that by insert statment??? Software Development vb.net | |
I want to make a program that analysises which key has been pressed the most as a part of my school assignment. I want that the key input be recieved by my program and later by the program it was intended for. Is there a way to do this? Please … | |
I want to make a program that analysises which key has been pressed the most as a part of my school assignment. I want that the key input be recieved by my program and later by the program it was intended for. Is there a way to do this? Please … | |
![]() | Can anybody give me code snippet for finding the nth fibo number in logn time using matrix exponentiation ? thanks in advance. Software Development c ![]() |
just like java has sun microsystem certification exam what is for c certification? ![]() | |
Would anyone know of a C++ report generator which can be compiled as part of a C++ Applicaiton? Is this how report generators generally work or are they largely standalone applicaitons? Thanks danny2000 | |
Hello, I would like to be able to Read from a CSV file that will have "fields", lets call them ID, Name, Price. I want to be able to create a seperate XML file for each row in the CSV file. Right now, i have it so it will read … Software Development apple file-system xml | |
I am in first sem in university.. and i can't do it alone ~~ http://www.mediafire.com/view/?1nqlfsuc3nrg4cc any one can help to solve those 3 questions or any one ^^ Software Development c | |
**Hi all. Im new to visual basic. im using vb 2008 express edition what im trying to do is take everything in my database and put it in my datagridview. The datagridview can be edited. From there, i want to make the changes then save them later. So my question … Software Development vb.net visual-basic | |
I'm trying to create dynamically text box in WPF. It is very essential that I will have the flexibility to determine where the text box will be - in pixel level. I have found many answers which use stackpanel to create "run-time" text box - but couldn't find how to … Software Development asp.net | |
I have a small program that works when I hit start. I want to add two fields. One being a hard coded username and another taking the timer (after it has stopped) and recording it to a table in SQL. I'll have two tables. One called "username" and another called … Software Development sql | |
Hello, I have a Form A, Form B, Form C. . . and FormSearch. FormSearch can be use by A,B,C... The purpose of FormSearch is to display data in search for the data you want depending on the query that have been pass on it example FormSearch has a method … Software Development | |
While I was trying to write a small program to preview DjVu files I encountered a peculiar problem. This is a small function that renders a page of a DjVu document into QImage class of PyQt4. import djvu.decode as DjVu from PyQt4.QtCore import QImage from PyQt4.QtGui import QPixmap, QApplication, QLabel … Software Development python | |
All, I can't seem to find a good example of how to work with databases in C#. I'm using sqlserver and I can do simple things like insert and retrieve data, but when I am retrieving data I have to refer to the ordinal index values of the columns (reader[0], … Software Development open-source sql | |
I am trying to resize the widths of the columns in a JTable. I would need to resize them when the program is running to see the full column header names. I want to resize table of database showing in swing frame. I have tried table.setAutoResizeMode(JTable.AUTO_RESIZE_ALL_COLUMNS) But i dont get … Software Development java java-swing | |
Write a C++ program that calculates and displays the yearly amount available if RM1000 is invested in a bank account for 10 years. Your program should display the amounts available for interest rates from 6 to 12%, inclusive, in 1% increments. Use a nested loop, with outer loop having a … | |
| |
I have a class which extends JFrame and this class is made singleton (private constructor, public static method to create instance if null). But still I get one more frame when already one is open. Can someone help? Software Development java java-swing | |
Hey, Iv been looking around for a simple way (meaning less than 10 lines) to reverse the order of my bytes in a byte array. At the moment my code is: public byte[] outputarray() { byte b[] = new byte[10]; ByteBuffer buf = ByteBuffer.wrap(b); buf.putLong(output); } The problem is that … | |
Try Dim I As Integer For I = 0 To DataGridView1.Rows.Count - 1 Dim ordernumber As String = DataGridView1.Rows(I).Cells(0).Value Dim repairinvoice As String = DataGridView1.Rows(I).Cells(1).Value Dim itemname As String = DataGridView1.Rows(I).Cells(2).Value Dim orderedquantity As String = DataGridView1.Rows(I).Cells(3).Value Dim itemcost As String = DataGridView1.Rows(I).Cells(4).Value Dim saleprice As String = DataGridView1.Rows(I).Cells(5).Value Dim … Software Development vb.net | |
TrafficMad Dear Sir, I am trying to help a friend develop a “ prize page” for an existing site. While researching this I came across a script that I think this script could be adapted for my idea without too much trouble. Below my signature is the old “Lets Make … | |
I have recently started coding in VB.Net and started using the Try-Catch style of exception handling available in .Net, which I admit is very similar to the exception handling of C++, so it is not all that unfamiliar. In my VB6 code, which I have been using up till now … Software Development vb.net | |
Is it possible to make a text file or separate class file that could be imported as lines of code. e.g. I have this simple line of code: Dim x = 0 messagebox.show(x) Import(text file or other file) 'run the code from the other file 'resume code in this file … Software Development file-system vb.net | |
Hi, Recently I was working in photoshop, And photoshop is really great application. After using it for weeks, I am thinking about learning the logic behind the way it works. I tried few articles which was just about converting image to black n white, matching two exactly same images etc. … Software Development vb.net | |
Hello everybody I would like to load an image from my documents and display it in a pannel and select a part of my image a rectangle for example and save it, I saw your response Ezzaral it's very interesting but the problem is that I can not integrate it … | |
How It Will Be done ? Software Development | |
First statement: int[] it = new int[][]{{1}}[0]; //Valid Statement Second statement: int[][]it2 = new int[]{0}[0][0]; //Invalid Statement First one no explanation given. Second one is invalid because it attempts to access a two-dimensional object from a single dimension array. My query: 1. First of all can someone please interpret those … Software Development java | |
![]() | I keep taking the test over and over I get 2 out of 10 correct. I think something is wrong with the test can you list me the answers so I could take it if it's wrong then i can contact the admin and tell him his test is not … |
Does anyone know of a way to invoke the DOS "ROUTE" command(s). I have written a .bat program that adds routes, but I want to take a particular interface from my ROUTE PRINT output and then ROUTE ADD the routes to that interface. Since that interface is dynamic due to … Software Development visual-basic | |
Good day! I have this code that is assume to get the difference in time. Is it possible to get the difference of from a string time variable? Or, whats the best way to implement this? #include<iostream> using namespace std; int main() string timediff, timein, timeout; cout<<"Enter player time-in between … Software Development c++ | |
Here's thought I had while working on a project for a Visual Basic class. First off, we were required to create an application that shuffled and dealt a poker hand of 5 cards out of a 52 card deck. The code we are using to generate the seed for the … Software Development visual-basic | |
Hi All, I'm handling a code which is having signed decimal values(eg: -123.456)stored in a cheracter string.While performing numeric calculations on this field, need to check whether all digit is numeric.Can anyone help me. Your co-operation greatly appreciated. NB: There is strict instruction to store these values in char string.Not … Software Development c++ | |
Hi,everyone I am trying to develop a simple program that will register Users with the following requirements as reflected with the fields on the interface: imgPassport.Picture ‘This is the Image for accepting Passport Size provided by the user lblPicture_Name.Caption = "User's Passport Size" ‘This is the Label to display the … Software Development user-interface visual-basic | |
Here's my code: #include<stdio.h> #include<conio.h> int main(void) { int a[100][100]; /* initializing matrices to '0' */ int b[100][100]; int c[100][100]; /*matrix-c for multiplication*/ /*r1,c1 are rows and coloumns for matrix-a.r2,c2 for matrix-b.*/ int r1,c1,r2,c2; int i,j,k; clrscr(); printf("enter the no of ROWS and COLOUMNS for MATRIX-A\n"); scanf("%d %d",&r1,&c1); printf("enter the … Software Development c++ matrix-multiplication | |
hello ! recently i complete my project management application in .net , now i want to make a attractive main form , i google alot and searching attractive interfaces of application of same domain. i want to you to guid me or if possible then give some links . you … Software Development asp.net user-interface web-design |
The End.