132,726 Archived Topics
Remove Filter ![]() | |
hi, i want to ask about the check/uncheck the checkbox in a column in datagrid. if all row in the checkbox column is not selected, what is the code is.... because i want the msgbox appear if the user not check any row. tq, Software Development vb.net | |
Well I got a class assignment requiring the use of int 21h,0xa(string input). [B]Offtopic:[/B] The problem is the teacher is old, and doesn;t care about how right the things he teaches are and apparenlty he taught us things wrongly again -.- then it;s -15 points in the exam... He taught … Software Development assembly | |
![]() | Hi there folks I have done quite a bit of C programming for embedded environments and PC console programs but never for windows applications and only once before with the PC COM port. When I did program for the COM port before it was on older machine, and used conio.h … Software Development c |
Hi, I have two textboxes(which are diplay only;their values come from database).I need read the data from these textboxes,multiply them and display in the third text box. Can someone send me the code. For example consider textboxes names as txtprice,txtquantity,txtamount; txtprice,txtquantity values come from tables in database.The price comes from … Software Development | |
Can anyone help me learn how to create a directory in C? Right now I have a program that writes to a file, and now I need to create a directory to store the file. My operating system is Windows XP. Sample programs, commands, links to tutorials will be greatly … Software Development c operating-system windows-xp | |
Hey guys, I'm seriously breaking my head over this one. This project should have been finished 10 hours ago but I've been stuck on this for ages. First I set the DataSources / Dataviews of all the things I need; [CODE] Dim dsPubs As New DataSet() dsPubs.ReadXml(pathdone) DataGridView2.DataSource = dsPubs.Tables(0) … Software Development dataset programming-construct vb.net | |
HI! I recently joined this forum as I am about to start a degree in Computer Science and although I have an A level in Mathematics and an interest for computers, I have not studied computer science and wish to read up about it before my course begins. I'm hoping … Software Development java mathematics | |
Hi there, I have wrote a program that do a bit of calculations that takes about 10 min to complete, therefore I need to show a progress to user. I used a percentage in status bar to show the current status of program. The problem is for updating the number … Software Development multithreading perl vb.net | |
The below code do connects to the server successfully. It is a working code. Now for example is not the server avaliable. So I receive this error even that I have put this in a try{}catch{} The error is below, and I wonder how I can [B]shut this error off … Software Development c++ | |
Hi all, I am trying to manipulate an Excel spreadsheet. I want to search the A column for a string from a text box of vb6 then display it. I can't get it to work in my VB6 app. What am I doing wrong ? Dim mailmwo As Excel.Application Dim … Software Development visual-basic | |
My HTML Code is following. <asp:GridView ID="grdOrderDetail" runat="server" AutoGenerateColumns="false" PageSize="50" Width="755px" OnRowDataBound="FormatGrid" ShowHeader="true" AllowSorting="false" CellPadding="0"> <Columns> <asp:BoundField HeaderText="Order ID" DataField="OrderID"> <HeaderStyle BackColor="Silver" Width="20%" BorderStyle="Solid" HorizontalAlign="Left" /> <ItemStyle Width="20%" /> </asp:BoundField> <asp:BoundField HeaderText="Product ID" DataField="ProductID"> <HeaderStyle BackColor="Silver" Width="20%" BorderStyle="Solid" HorizontalAlign="Left" /> <ItemStyle Width="20%" /> </asp:BoundField> <asp:BoundField HeaderText="Unit Price" DataField="UnitPrice"> <HeaderStyle BackColor="Silver" … Software Development assembly | |
I have a list of values extracted from a datareader in a list. Is it possible for me to run a query to extract another set of values using a datareader and then use the individual values in the list and the values in the datareader to perform some calculation, … Software Development mssql open-source sql vb.net | |
[CODE]#include<iostream> using namespace std; class Node { public: int data; Node *preNode; Node *postNode; //Node(){} }; int main() { Node testNode; Node testNodeB = testNode; return 0; } [/CODE] When I run the code, there occurs an runtime error, The variable "testNode" being used without being initiated. But when write … Software Development c++ | |
Below is an xpath that works. It returns all the values of the [U][B]value[/B][/U] attribute of the OutputField tag: [CODE] //Satellite/multidataset/file[contains(@name, '311multi')]/Data/DriftAnalysis[contains(@name, '311')]/Metric[@name='Detail' and @type='Overlap']/Element[@metrictype='Overlap']/OutputField[@name='Cleared']/@value [/CODE] But when I try to sum the returned values of the [U][B]value[/B][/U] attribute like the example below I get the error "Expression must evaluate … Software Development xml | |
i have connected combo box with data base... i have called a field in combo box... but i dont know how to made selection.. means when i click on items that are in combo box from database, the text box should change value according to the selection of combobox. [CODE]Option … Software Development open-source visual-basic | |
How would I write a recursive function to scan the Temp Files on a computer and list all the files & folders to a ListView? ![]() | |
Please give me reply as early as possible!!! [CODE]In this at the code "Set rs = db.OpenRecordset(SQL)" here the loop auto matically terimates[/CODE] [CODE]Private Sub cmd_Copy_Policy_Click() On Error GoTo Err_Click Dim db As Database Dim SQL As String Dim rs As Recordset Dim PolicyYear As Integer Dim NewYear As Integer … Software Development visual-basic | |
using pysnmp I am querying a variable which gives the IP address. I want to check that address. I do the following [CODE] ........... ............ ............. errorIndication, errorStatus, errorIndex, varBinds = cmdgen.CommandGenerator().getCmd( cmdgen.CommunityData('xxx', 'yyy', 1), cmdgen.UdpTransportTarget((addr,161)), ((1,3,6,1,4,1,18489,1,2,2,2,9,30,0))) print"Error on GET for ccmSDIDULinkUtilEastRemoteIP -%s,%s%(errorIndication,errorStatus) print varBinds print varBinds[0][1] [/CODE] i get … Software Development python | |
Hi, I want to make an object move from A to B in a fluid animation. I know how to make it's position change, but after that, i'm lost. I know I have to use a timer, but don't know exactly how. Can anyone help me ? Thank you! Software Development | |
Hello everyone: I have the following issue, i have and old computer and i need to erase pics and all that, but that computer has several folders and some are hidden, and is very time consuming checking where are those folders. I would like a VBS to erase all the … Software Development vbscript visual-basic | |
Hello everyone!!! I'm a new poster here. Can somebody help me with my project. My listview is not working. :( I need to search a person's name using his/her lastname and firstname and display all the people with the same lastname or firstname and those data will display in the … Software Development listview visual-basic | |
Hi, I was hoping someone could help out a python novice like me. I want to find in my data when there is three or more 1s in a row. This is a sample of what my input data would look like below. With the first number in each column … Software Development python | |
Hope I can get help. Each time I write an Update query I have a habit of forgetting to add the where clause. I have destroyed my test records many many times. Therefore is there a way to count the number of rows that will be updated so I can … Software Development vb.net | |
hi all ...... import os os.system("ps") i want to kill two particular process i.e, log and snmp .....how to kill it , can anyone can plz help me:) thanks in advance Software Development python | |
Hi, how to get the name of directory and subdirectory in a folder? example abc1/banana/(text files)? i have some codes buts its not given me the name [CODE] File dir = new File("abc1"); File[] folder = dir.listFiles(); [/CODE] i want to get the subfolder in abc1 called "banana". thanks for … Software Development java | |
hello friends, I have generated a csv file with 27 columns. third column is of time and i want to sort all the data according to this column in ascending order. so can you please tell me how to do this.? i have no clue where i should start. i … Software Development c file-system | |
please someone edit this code for me. I do not know how to write the logic part in the function 'TestAnagram' when i debug it, it shows the same word twice instead of showing two different words using the same letters in different order . [CODE]#include <iostream> #include <string> #include … Software Development c++ | |
I am trying to display only year in datetimepicker in vb.net Can anybody help me out. please | |
guys, good day... I know that this is just easy but i've been tweening my work the whole afternoon but no luck. my problem is using setAttribute for java's client-side programming. I just want to create session for my username to be able to use while being logged in. this … Software Development client-server java session | |
I want to display a message input by a user on an applet /** * @(#)Hello.java * * Hello Applet application * * @author * @version 1.00 2011/3/17 */ import java.awt.*; import java.applet.*; import java.io.Console.*; import java.io.*; public class Hello extends Applet { public void init() { } public void … Software Development java | |
Hey guys, I'm trying to make an Area & Perimeter calculator, and I've run into some issues. Everything is working, except for the very end of the code I seem to be getting an error when it comes to converting the decimal variables back to string. Here is my code, … Software Development | |
I was wondering if there is a for_each function in c++, I have searched for it on the internet and I cant seem to find a definitive answer, is it in the new draft for the c++x? Software Development c++ | |
I need a few helps for some things that I just cannot get the syntax of! (I need these, and if you don't believe me I can post the reason) 1) Creating a function within a function 2) Creating a class within a function 3) Declaring a template function outside … | |
What data type could I use in my access database that can hold very long texts. By default, each cell in Access tables can only contain up to 255 characters. Is there any way to extend this to any length I want? Software Development vb.net | |
I have an array of real numbers in 32-bit architecture it holds he higher and lower order values in ecx, edx i'm able to enter them in into the array and output them as well but i'm having difficulty adding all them up here is code so far(gives a segfault) … Software Development assembly | |
I'm having a problem with adding two single digit numbers that the user gives (Since they are ASCII I do the add 48 thing, I know that doesn't work past 9, giving some guidance on this would really be appreciated). Anyways, heres the code. variables: Value1 db ? Value2 db … Software Development assembly | |
I am creating a program that simulates a flight reservation system. An admin will create each flight. The user will then fill in required search fields, and the flights matching those fields will be found and print out. With each match, there is a 'book' button. My question is, how … Software Development | |
I want to display the quote (character) into a text in netbeans Swing form. But it shows only last character. Any help would be appreciated. private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: String t = encodeText.getText(); String text = t.toUpperCase(); int[]textnum = new int[text.length()]; for(int … Software Development display java java-netbeans java-swing | |
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 WindowsFormsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void btnRom_Click(object sender, EventArgs e) { string[] Roman = { "M", "CM", "D", "C", "XC", "L", "XL", "X", … | |
I have a checkbox X1 that if checked it will check a column of checkboxes. What i'm trying to do is if the user unchecks at least one checkbox from the column it will uncheck checkbox X1. But I don't want it to run the event from checkbox X1 again … Software Development vb.net | |
What is the right way to declare an array [CODE]Dim lblname As Label() = New Label(get_num_of_children()) {} Dim mealcheck As Integer() = New Integer(get_num_of_children()) {}[/CODE] or [CODE]Dim lblname() As Label = New Label(get_num_of_children()) {} Dim mealcheck() As Integer = New Integer(get_num_of_children()) {}[/CODE] Thanks for your help Software Development vb.net | |
Right now my program says there is an error in line 27 of this code: [CODE]Class Netflix: public class Netflix { private static void main(String[]args) { String comedy, horror, drama, action, genre1; Movie a = new Movie(); a.setTitle("Avatar"); a.setCast("Sam Worthington"); a.setGenre('a'); a.setYear(2009); a.setStars(3); Movie b = new Movie (); b.setTitle("Battle … Software Development java | |
So after many hours of mulling this over and now missing several hairs that used to populate my head, I decided to seek outside help. In my introduction to computer systems class, we have been tasked to do things that are built into the language without using them. I understand … | |
[code] /** * @(#)GameOfLife.java * * GameOfLife application * * @author Ramanpreet Singh (romiaujla) * @version 1.00 2011/2/11 */ import java.util.Scanner; public class GameOfLife { public static void main(String[] args) { Scanner scan = new Scanner(System.in); final int SIZE = 10; final int GENCOUNT = 9; int i, j, k; … Software Development java | |
I have an assignment where I need to do some operations on polynomials (add, multiply, ...) which are represented by linked lists. Part of the assignment is to make an inner class Term containing two int fields and a constructor with coef and exp ints) I also need an inner … Software Development java linked-list mathematics | |
Hello I am down to 1 error can anyone please assist; java:41: not a statement + "P or p (premium): "; It is part of this section; System.out.print ("Enter the service type:") + "R or r (regular), " + "P or p (premium): "; serviceType = console.next ().charAt (0); System.out.println(); Software Development java | |
Alright, so I'm suppose to be using SAXparser to parse a XML file and output certain parts The assignment asks us to use to classes Course.java and TextBook.java to which we are suppose to create the Course and Textbook objects described in the XML file, making sure they refer to … | |
When dealing with larger programs and your starting from scratch should you split classes using headers and the .cpp files from the very beginning? I am looking for a suggestion because I find 200-300 lines all on one file really annoying to scroll up and down or even when its … Software Development c++ | |
Hi, i am having a really hard time solving the following problem. it looks really simple, but i cannot find a good implementation for it !! if you have a good algorithm please tell me about it, thanks The Problem: Source File: coindst.c/ cpp/ pas/ java Input: coindst.in Output: coindst.out … | |
Hello! I have an ipv6 address in a string, like 2001:0db8:0000:0000:0000:0000:1428:57ab I have to store it in two __int64. how can i convert this? Thx Software Development c++ |
The End.