43,549 Solved Topics
Remove Filter ![]() | |
I have an application that where i have a an Asp textBox and i added TextBoxWatermarkExtender to it. <asp:TextBox ID="txtCellNo" runat="Server" /><br /> <ajax:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender4" BehaviorID="CellNoBehavior" TargetControlID="txtCellNo" runat="server" WatermarkText="Cell No."> </ajax:TextBoxWatermarkExtender> Because i have the page constantly postpage the TextBoxWatermarkExtender Blinds everytime it does a Postback. So i added this … Software Development vb.net | |
Hello guys. the AutoSize is true, but the form is not autsizing :( first the form looks like [this](http://i60.tinypic.com/2s1uk1v.jpg) . when i press that button generates a matrix of buttons but the form is not autsizing it should look like this [this](http://i58.tinypic.com/11gni9h.jpg) . but no change, it remains at the … Software Development | |
How CAn I get the "sum" of a "Column" in a Data Grid? I dont't use /connect database with my Data Grid! How can I make this happen? Thank you for any responses! Software Development | |
Pls do help me, I got an error **Input String was not in a correct format**. Here is the code where error appears, This is in my Record form. After I click edit, it will be redirected to my Update2 form Update2 f2 = new Update2(); f2.BlockNo1 = Convert.ToInt32(BlockNo1);//error here … Software Development | |
Hi, I was working on a solution to problem ten of Project Euler, which states: > The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. > Find the sum of all the primes below two million. I've got code that solves this … Software Development python | |
I want to save data in to my ACCESS database from textboxes. My code is here. Private Sub BtnSubmit_Click(sender As Object, e As EventArgs) Handles BtnSubmit.Click Dim cb As New OleDb.OleDbCommandBuilder(DA) Dim dsNewRow As DataRow DA = New OleDb.OleDbDataAdapter(SQL, CN) DA.Fill(DS, "Deposit") dsNewRow = DS.Tables("Deposit").NewRow() dsNewRow.Item("Bank") = TxtBank.Text dsNewRow.Item("Acno") = … Software Development vb.net | |
Hello, I am writng a simple networking program with a single server and multiple clients. I would like to send and receive objects between the clients and the server and hence I use the ObjectOutputStream/writeObject(Object) and ObjectInputStream/readObject() combination. First, my server program: import java.net.*; import java.io.*; import java.awt.*; import java.awt.event.*; … Software Development java java-swing | |
![]() | I keep getting a corruption for my array and I do not know why. Can anyone help me figure out what is causing my run-time error to happen? my heapInsert function is at the very bottom #include <iostream> #include <algorithm> using namespace std; //function prototypes int getParent(int index); int getLeftChild(int … ![]() |
I'm quite new to Python, and am trying to make a simple unit converter - was hoping if anyone could tell me where i'm going wrong? This is the script as it stands: input('Would you like to convert centimeters to inches (a), or inches to centimeters (b)?\ntype a or b: … Software Development python | |
Write a program which asks the user to either convert the number of days into hours or minutes. Based on the option entered by user your program should calculate the result accordingly. Software Development c++ | |
I am having problem with programming, i have been given a program to perfom and so far i have benn unable to start..can anyone help me? This is my question..1. Create a class called MyString. Within this class, you are to implement, from scratch, two versions of each of the … | |
My eclipse id is taking too long time to open (at least 15 minutes) I tryed all the options in google search but the problem remains the same kindly give me tips to fix the problem thanks for your time Software Development java | |
I am a beginner to VB.NET, and I am creating a program that displays a new string in a label. The new string should take a sentence entered by the user and remove every occurrence of a substring supplied by the user. This is my code so far: Dim input … Software Development vb.net | |
As a beginner java learner, I would be grateful if some people could point out a few open source projects with a high quality code base. Not necceserily aimed at a beginner, I would rather see a professional quality example, and preferabbly the project would use some common tools for … Software Development github java open-source | |
I'm trying to emulate bash/cmd type program. I have written programs like cat, ls, grep (simple one) and kept it under \bin\ directory. This program will take user input and run programs present in \bin\ accordingly. I'm using `_spawnv ()` as the argument list is going to be variable. When … Software Development c | |
Hi, I'm new to vb and I need to record the time the user used a certain privilege and the time s/he finished using it. i used date/time picker but whenever i run the program, i can't edit the time. only the date. help please? Software Development vb.net | |
Can someone help me on my database with regards that the records can be prone to data redundancy.. pls help to avoid record redundancy on my database.... How do I check if the record that i will be input is existing on my database.. and i want to prompt the … Software Development vb.net | |
Hello, Can you please help me? Is it posible to **input data** on a "DATAGRID" **even if it is not connected to a database**? My Datasource Connection is not working because of some installation problems. I don't have the CD for installation that is why I couldn't re-install it. How … Software Development vb.net | |
I'm having a ComboBox in which I added items in order provide the user autocomplete for the text he's typing. I am looking for a property of ComboBoxes that could identify if the text was an item of the ComboBox or not. (I would like not to loop each time … Software Development | |
According to Herbert schildt C++ complete reference "A non-static member variable cannot have an initializer." however when i run following code,it runs.. class ABC { public: int a=3; ABC(); }; ABC::ABC() {cout<<a; } int main() { ABC obj; } regards, Software Development c++ | |
Is this correct? #include <stdio.h> #incluede <string.h> void getname(char name[][50],int num) int main() { void getname(char name[][50]) { for(int i=0;i<numofname;++) scanf("%[^\n]",name[i]); } Software Development c | |
I am getting the error while inserting the image from win-form.Can anyone please tell me the in the code.I am using Visual Studio 2013 and MS Sql 2008 R2. Thanks . using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using … Software Development image open-source visual-studio | |
I am to write a censor program for all 4 letter words from an imported file, only I'm stuck. can you help? [code = python] # wordcensor.py # Program replaces 4 letter words in a text file. import string def main(): print "This program replaces 4 lettter words in a … Software Development file-system python | |
cout is defined in std namespace and we also include iostream to use cout...i am confused ,please clarify this.where 1)cout is defined 2)where it is declared. and if we are including iostream ,then what is the need of STD::COUT regards, Software Development c++ | |
Are exceptions standardized in C++? I mean if the rules of exception handling might be changed in the future. i.e: int Funct1(int) throw(); // does it throw an exception? Software Development c++ programming-construct | |
Hai there, I am a robotic student and very new in python programming. Here, I have a project to classify the type of robot. For example, a customer would like to buy a robot arm for their company. So, this project will aid them to select robot of their choices. … Software Development python | |
![]() | Hello folks, This nitty problem is haunting me today. Here is the code I have written, but am not getting the expected output. This is a program for printing matrix in spiral order. #include<stdio.h> #include<stdlib.h> int main() { int rows,cols,i,j; int tr=0,rc,br,lc=0; /* tr = top row index. rc = … Software Development c matrix-multiplication ![]() |
HI Where can I download python 2.7.6 or 2.7.3 for 32bit windows? Software Development python | |
Having issues with array. Seems to pull in the enum files (month and average rainfall) and print accordingly. Also seems to read in the updated rainfall per month. However, problem is I can not make updated print with the enum. Also, last line in program has ..."actual[i]". If use a … Software Development java | |
I would like to do something like this: comboBox6.Items.AddRange(new IEnumerable<int> { Enumerable.Range(1,8).ToArray() } ); (add numbers 1 to 8 to ComboBox Items using an IEnumerable object), but i can't figure out how. Thanks. Software Development | |
I have a backspace key button. Then I have two text boxes. Well, it is working but when the letters in a certain text box are all cleared up then i keep on clicking the button I get this errror. This is the code: desiredTextbox.Text = desiredTextbox.Text.Substring(0, desiredTextbox.Text.Length - 1) … Software Development vb.net | |
I'm creating some automation utils. Part of it is automating mouse input. I think I have my math wrong because the X coordidnate is incorrect at certain points for example is I give it x = 114 which should translate to 114 pixels from left of screen (0) it will … | |
I just started learning Java and I have been playing around with it. I am trying to make this program return a double value like 1000/3 = 333.33333..... but it returns 333.000 what am I doing wrong in Java. It works in C though :P. Thanks in Advance! //Exercise : … Software Development java | |
![]() | I'm getting this every time I try and write Hello, World in Python I get this. I'm using Pycharm 3 C:\Python33\python.exe C:/Users/Alex/PycharmProjects/Learning/Helloworld File "C:/Users/Alex/PycharmProjects/Learning/Helloworld", line 1 print "Hello, World" ^ SyntaxError: invalid syntax Process finished with exit code 1 Software Development python |
Hi guys can you help me in this one? I can add cell values in Datagrid using their column address or column name but I want to add the columns which contain a specific word for example I want to add all cells with a column name containing "Amount" Dim … Software Development vb.net | |
import random while True: dice = random.randrange(1,5) dice2 = random.randrange(1,7) dice3 = random.randrange(1,13) sides = int(input)("Which sided dice would you like to roll? You can choose a 4-sided dice, a 6-sided dice or a 12-sided dice. Type 0 to exit the loop.") if sides ==0: break elif sides ==4: print … | |
 Hello there! Newbie here! It is my first time to post something here! Can somebody help me please with my problem on my codes. I have already build/created a **Log In Form** but my problem is I created an **On-Screen Keyboard** which must be use for that **Log … Software Development vb.net | |
please help me how to close the window. code: JButton quit = new JButton(); public Mainmenu() { setLayout(new FlowLayout()); Icon quitb = new ImageIcon(getClass().getResource("quit.jpg")); quit = new JButton(quitb); add(quit); quit.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { } }); | |
hey all once again i have a little issue ... i'am really having a hard time with this issue i have a datagridview that contain one column as a text and another column as a combobox i would like to populate the combobox from MS Access Table and as a … Software Development vb.net | |
#include <stdio.h> #include <math.h> #include <conio.h> #include <process.h> #include <string.h> void main() { int i, n, diff; int x = rand() % 100; int bMoveHigher = 0; int bGuessedCorrectly = 0; printf("Welcome to Guess a Word Program\n"); for (i = 1; i <= 5; i++) { printf("ATTEMPT %d: Enter the … | |
package die.java; import java.util.Random; class DieGame2 { private final int sides; private final Random generator = new Random(); public DieGame2(int s) { sides = s; } public boolean throwDie() { int faceValue = generator.nextInt(sides) + 1; System.out.print(faceValue); return faceValue == 6; } public static void main(String[] args) { DieGame die1 … Software Development java | |
hai.... i am doing inventory project. if sell a product it should afffect the stock. so i need a coding to retrieve the stock quantity and i have to change the value according to sales then i have to update the values into the stock table and also if no … Software Development vb.net | |
here is the original codes that has been set in the question paper: #include <stdio.h> #define numitems 10 int main(int argc, char* argv[]) { int data[numitems]; int i; int *ptr; for(ptr = data; ptr < &data[numitems]; ptr++) *ptr = 0; for (i=0;i<numitems;i++) printf("data[%d]=%d\n", i, data[i]); return 0; } HERE ARE … Software Development c | |
here is the original codes that has been set in the question paper: #include <stdio.h> #define numitems 10 int main(int argc, char* argv[]) { int data[numitems]; int i; int *ptr; for(ptr = data; ptr < &data[numitems]; ptr++) *ptr = 0; for (i=0;i<numitems;i++) printf("data[%d]=%d\n", i, data[i]); return 0; } HERE ARE … Software Development c | |
Hi, How do I disable Copy/Cut/Paste operations on a textbox in Tkinter. I want to implement this in simple login form, where I found I can copy or paste or cut from textbox which is meant to accept PASSWORD. Can we do that? How? Thank you, Regards, kath. | |
Hello everybody i have a little problem with making a java command for program i have some code but i do not know how to continue i stuck in one place BTW the command i want to make is > /sendcash [username] [money] // how it looks like I have … Software Development java | |
i have two different programs that compare float and double variales and gives output , i shown that below : 1. #include<stdio.h> main() { int r; float f=22.5; double d=22.5; r=(f==d); printf("r=%d",r); } **Output:- r=1** 2. #include<stdio.h> main() { int r; float f=22.7; double d=22.7; r=(f==d); printf("r=%d",r); } **Output:- r=0** … Software Development c | |
Write the definition of a function named copy that reads all the strings remaining to be read in standard input and displays them, one on a line with no other spacing, onto standard output . void copy() { string x; if(cin >> x) { if(cin != '\n') { copy() } … Software Development c++ | |
 here is the task, I don't want anyone to do the coding for me. I just would really love if I got a starting point on how to begin this code. thank you. oh and this is in python program. Software Development python |
The End.