199,114 Archived Topics
Remove Filter ![]() | |
Hi, My problem is same but I am generating menus at runtime and trying to set cssclass in code but still I am facing same problem. | |
Hie , Am teaching my self C++ ,this is my first attempt to code..,any ideas.. I am writting a C- program to deal with any two complex numbers. The program must contain at least five functions - Add – to add two complex numbers passed to it - Subtract – … | |
Hi everyone, I am working on an application which works with serial port communication with a PLC machine using modbus protocol. It is developed in VB.NET. Now I am able to establish connection using hyperterminal but i m stuck at creating the modbus data frame and in that generation LRC. … | |
Please can someone tell me why when the listbox, PSFQueryResults, is populated it always draws it's data from the active worksheet and not Sheet2 (Sheet2 is the 'Code Name' for the sheet. The 'Tab Name' is Query)? I suspect I am missing something obvious. Many thanks in advance, Ben. [CODE] … | |
Hi, I have static website with 10 pages and I need to include articles on one of them. I need script that is easy to install on my PHP/MySQL server and to publish news through administration page. Also to customizable for front-end. 10x | |
hi, How do i do if there is no record in listview i should disable the payment button. TQ [CODE] If ListView1.Text = "" Then paymentBtn.Enabled = False MsgBox("No Transaction") End If [/CODE] | |
Hi, I'm trying to make an addressbook and as a feature I want to make Groups and store certain contacts within a group. Since I don't want to have static columns in my database for predefined groups how can I make a column `groups` and have the user add their … | |
why the hell the password matching funtion pwdCompare() is not working here ??and kindly tell me .. how to enabling the "forwarding" input box relating to radio button yes or no :( :( plz plz plz help me !! <html> <head> <title>Email Control</title> <link href="email-styles.css" rel="stylesheet" type="text/css"> <meta http-equiv="Content-Type" content="text/html; … | |
From [url]http://stackoverflow.com/questions/228181/zen-of-python[/url] Tells you what is Zen of Python Actually this is enough to print the Truth: [CODE]import this[/CODE] Loop version from [url]http://stackoverflow.com/questions/3559124/dissecting-a-line-of-obfuscated-python[/url] [CODE]result = [] for c in this.s: ## fixed tonyjv if c in this.d: result.append(this.d[c]) else: result.append(c) print "".join(result) [/CODE] | |
Hi, I have done my ordering class. which contains all the components. My problems is how do I set picture as the background and maximize the picture size? either one of the way 1) i have a class that contains the picture program. How to connect the two program? the … | |
Hi There! I have a Ajax Function copied from W3Shools I have modified them as my Requirement but it won able to send the xmlHTTP request to my PHP page for result here the function [CODE] function showUser(str,txtId,mth,url) { if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } … | |
When I set my code going, the whole GUI freezes and I can't select anything or even move the window until the code has finished. Is there a way to interact with the GUI [I]whilst[/I] a piece of code is running? | |
Why am I getting this error: [code] Please Enter 5 variables: Please enter value in slot 0:1 Please enter value in slot 1:2 Please enter value in slot 2:5 Please enter value in slot 3:4 Please enter value in slot 4:2 [COLOR="Red"]Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 5 at Duplicates.NumberCheck(Duplicates.java:32) at … | |
I want to begin writing C++ codes in Eclipse. When I try to create a new C++ project I am given the option of choosing an executable project type, a shared library project type or a static library projec type. What's the difference between all these project types and which … | |
my colleague give me his system that he did in jsp when he was in college which is simple online help desk but he didn't send me the database tables he didn't backup it said it was lost so he asked me to simply create my own db(i have no … | |
[B][B]hello to all, I am making a database project in vb.net. I have one table which has 9 columns. I am using ms access database as server side. my question is that, how to insert rows with values in a table.please help me. thanks.[/B][/B] | |
hi experts i m using ms access data base as back and in my new project, this is my code Imports System.Data.OleDb Public Class st_name Dim cmd As OleDbCommand Dim dr As OleDbDataReader Dim thismode As Integer Private Sub st_name_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load tcon() … | |
while trying to configure yapsnmp-0.7.8, i get the following.. checking for patch... patch checking for kstat_open in -lkstat... no checking for socket in -lsocket... no checking for HMAC in -lcrypto... no checking for init_snmp in -lsnmp... no configure: error:[B] Couldn't find libsnmp [/B] what might be the reason? | |
Hey Friends i am new here !! Well i have a project in which i am required to make some good program out of the Tubo C book !! Now i was thinking of a Tic Tac Game or a Mathematical equation calculation program ! I`ve seen some examples here … | |
Hi! I want to read from a set of documents and put the information into a matrix[x][y] , where x is the document and y is a boolean field denoting whether a particular word appears in the document x or not. So each row would have y fields/dimensions where i … | |
hi, this is my code to display one textarea, textfield and label in the flowlayout. and 2*2 button /** * @(#)Gui.java * * * @author * @version 1.00 2010/10/5 */ import javax.swing.*; import java.awt.*; import java.awt.event.*; public class Gui extends JFrame{ JButton b1=new JButton("one"); JButton b2=new JButton("two"); JButton b3=new JButton("three"); … | |
Hey there, I'm having trouble creating a multiplication function for the program as I have two classes to keep in mind (Monomial and Polynomial). And if possible, a little advice on how to make my for statements in the arithmetic operators more flexible to user input such as i<PolynomialSize, which … | |
My Object is to display a 24bit color .bmp picture in 24 bit colors via Turbo C Compiler. Turbo C can display only 16 colors so I will need to use a Windows Interrupt[or something like that] to display the image. I googled a lot but couldn't get a hint … | |
I just wanted to know the following things if u can just help me. I made a website in Visual Studio 2008 and used the database provided by the VS [I dont know which version is this]. That website runs successfully on the machine having visual studio[As in that i … | |
I am trying some Uiculture change functionality. In that I need the name and text of controls in a form to change the culture. I got some Demo project and it is in C#. I tried to make the same functionality with the C#.net and Also using VB.net. But the … | |
I am trying some Uiculture change functionality. In that I need the name and text of controls in a form to change the culture. I got some Demo project and it is in C#. I tried to make the same functionality with the C#.net and Also using VB.net. But the … | |
Hello all.. i wanted to merge two datatables.. infact its only one which is original version and modified version.. merging both to find the differences and store them in another datatable. but for some reason merge is not working.. here is the code which i have written. [CODE] public static … | |
Don't know why I keep getting error messages. This is first the error message: 5 F:\DPR226\Homework\Customer\Customer.h:3, from main.cpp In file included from Customer.h:3, from main.cpp Could anybody help please? Thanks [CODE] // main.cpp #include <cstdlib> #include <iostream> #include <string> using namespace std; #include "Customer.h" int main(int argc, char *argv[]) { … | |
hi, im having a graduation project which i should make a windows mobile application using visual studio 2005, and really i dont know what topic can i choose and the doctor doesnt want to provide me with a topic,, so if anyone can help just with a topic, because it … | |
[CODE]Using System; Using NUnit Framework; [TestFixture()] public class system { Program a1 = new Program [Test] public void Test() { Program a1 = new Program(); if(System=window7) { Assert.AreEqual("a1.window7",windowBasic); } } } [/CODE] This test case i have written. if the client change his system environment there should be not any … | |
Hi, I am trying to read values from a text file that has exactly 5 numbers in each line and all numbers are "tab" separated. numbers could be one digit or two digit. I am reading it as : [CODE] if (map.is_open()) { int i = 0; int num; while … | |
Hi Guys, I am using CDateTimeCtrl in my project.I dont know how to get Date, Month and Year Separatly. If you Know explain me with simple code Thanks in Advance | |
[CODE] string CTriangle::TriangleType(string TypeOfTriangle) { if ( ValidTriangle() ) { if ( SideA == SideB && SideA == SideC && SideB == SideC ) { TypeOfTriangle = "Equilateral Triangle"; } if ( int(AngleA()) == 90 || int(AngleB()) == 90 || int(AngleC()) == 90 ) { TypeOfTriangle = "Right-Angled Triangle"; } … | |
This assignment will exercise reference parameters, value parameters, and (most important) program decomposition. This program will act as a bank. The general behavior will be: • User walks into the bank • User opens an account. This consists of: o Asking the user for a name. o Asking the user … | |
Hello Members, If possible, kindly let me know why I am not able to see the text in the buttons("Button" and "Button two!") when I run this Java program: [CODE]import java.awt.*; import javax.swing.*; public class Sample extends JFrame { private JButton b1, b2; private final Container container; public Sample() { … | |
My professor said we have to write a page about how to trace this for(int count = 0; count <= 3; count++) for(int count2 = 0 < count; count2++) System,out,println(count2) Can somebody give me a general idea of how to trace this I know the answer is 0 0 1 … | |
plz plz plz somebody help me :( :( here is the code .. what i want is to link the emailid with a page named update.php...in which i can edit the particular emailid's row in databse ...or one can also tell to create a button EDIT .. but then i … | |
i have managed to write a program that reads an arbitrary number of integers less than or equal to 20 and finds the sum and average. i am now trying to write a bubble sort to order the integers from least to greatest but i am having problems. this is … | |
I'm stuck. I'm trying to wirte a very small animation applet. It is suppose to import 15 BMPs and then of course play them back in an animation. I have the BMP's stored in a seperate directory but think I have the path right. It seems I am continually getting … | |
My project is as follows: 2. Modify the class NumberTest.java so that: a) The user is prompted to enter an integer and a double and the following information is displayed: a. adding the two number, b. subtracting the double from the int, c. dividing the int by the double, d. … | |
![]() | Hi guys, So my code is below. This is a simplified version of the shell... It does not continue for ever... I guess its actually rather a program to accept a command.. has the fork and the execve etc. Anyways when i compile it and run it in the terminal … |
Hey, I've been working on a product display page that lists product info and images via a repeater control. That all works fine. What I'm doing now is adding some new functionality that uses a link button to send the product code clicked on to the server (via AJAX, to … | |
Hello, I'm trying to learn Python to get ahead in school but don't know where to start. I already have a shell and SW installed on my machine to write the code, but I can't find a good index of the codes. What would you suggest I do or learn … | |
I have the equation 6a+9b+20c=n with n being the total number of McNuggets, and the "a" "b" "c" being the pack combos of McNuggets. Now, for n, there are different combinations that can be used to get n where n >= 6. [B][U]The problem asks that I should be able … | |
Hi all, i'm doing a program using c# in creating an insert page.. i want to insert the zip code into the databse and have been validate using validation expression.. [CODE] <asp:TextBox ID="txtCmpZip" runat="server" BorderStyle="Groove" MaxLength="10" Width="74"></asp:TextBox><asp:RequiredFieldValidator ID="CmpZip" runat="server" ErrorMessage="*" ControlToValidate="txtCmpZip"></asp:RequiredFieldValidator> <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" TargetControlID="RegularExpressionValidator2"></asp:ValidatorCalloutExtender> <asp:RegularExpressionValidator ID="RegularExpressionValidator2" ErrorMessage="Zip code must … | |
Hi all, long time lurker and first time poster. I'm writing a Python program which does analysis on mp3 files, so I'd like to read in the mp3 data as a numpy array. I'm using pymad, which seems stable and works well. When you read in a frame of data … | |
this code is supposed to be a simple game. the computer picks a random circle in the 100 by 100 square of circles called the secret spot and when you hit a circle it says either go up go down go left or go right until you hit the secret … | |
Ok so i have to write a program called hailstone numbers. Its basically asking the user to enter a number and if its even divide it by 2, if its odd multiply it by 3 and add 1 and then output the number of iterations. I made my program but … | |
I store matrix entries in std::vector<double>, such that the reading is row by row. This means, for matrix 1 3 4 8 9 3 3 6 8 1 1 2 2 0 9 8 7 6 the std::vector<double> would have entries: {1,3,4,8,9,3,3,6,8,1,1,2,2,0,9,8,7,6}. To transpose the matrix I use the naive … | |
Hello Guys! I am new in this site!Im start learning vb.net and I guess i could enhance more thru this environment and with the help from some experts by sharing their knowledge. Someone can give any references regarding vb.net.? Thanks |
The End.