132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for wenbnet

Hello Sir, i want to deduct some amount(i.e user input) from main loan taken by employee and remaining amount again come as balance loan amount and on nxt month again the some amount should deduct from balance loan amount. my database is in ms-access and i use vb.net.. plz help......

Software Development vb.net
Member Avatar for wenbnet
0
318
Member Avatar for wavecorporate

Hello, I developed an application to the msn messenger in C # to monitor and control the company in msn. the problem is that after being updated for 2011 msn my application no longer works! The event msn_OnIMWindowCreated no longer works .... Can anyone help me? : |

Software Development microsoft
Member Avatar for abelLazm
0
192
Member Avatar for bahed121

Can any one tell me how to read connection string from XML file ?? Thanks in advance for you help

Software Development xml
Member Avatar for bahed121
0
931
Member Avatar for ayoba01

i have a problem regarding timer in the listbox. it suppose the time and date have to appear once only but it appear a non stop in listbox when run. here is the code: [CODE] Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick ListBox1.Items.Add(TimeString) ListBox1.Items.Add(DateString) End …

Software Development vb.net
Member Avatar for Luc001
0
148
Member Avatar for jimJohnson

Could someone please run this code in XP and let me know if it works. I am on Windows 7 and have looked at this code for 2 months now and not able to find a solution to save my life. If you see what is wrong with it though …

Software Development algorithm c++
Member Avatar for jimJohnson
0
139
Member Avatar for gork000

So, I found a snipped of code that did what I was looking for but I tried adding upon it to fit my need a little more. What I am trying to do is input an integer and return an 8 bit binary string to a list. My first problem …

Software Development python
Member Avatar for gork000
0
209
Member Avatar for zebnoon

I have prob. with my printer my printer is Mini Dot Impact Matrix Printer. model AB 300 Kc. how to setting paper for this printer?

Software Development printer visual-basic
0
71
Member Avatar for EarendurRingern

i have an assignment to write a C program suing Pointer to count the character or word found in a particular string. i already did it, but i cannot enter the word, its fine with the character. can anybody help me? thx :)[code]#include <stdio.h> #include <string.h> int main (int argc, …

Software Development c
Member Avatar for raptr_dflo
0
1K
Member Avatar for vincezed

Hi i am developing a C# application which uses sdf database... the problem is in inserting data to the database.. i can retrieve data from it but can not insert value to it..... I tried many ways of inserting values to the database but not successful... can any one help …

Software Development
Member Avatar for abelLazm
0
159
Member Avatar for ahmedshayan

[CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Data.Sql; using System.Data.SqlClient; using System.Configuration; using System.Linq; using System.Text; using System.Windows.Forms; namespace Eventmanagement { public partial class Registration : Form { SqlConnection aConnection; string firstname= string.Empty; string lastname= string.Empty; int aid; string date = DateTime.Now.ToShortDateString(); SqlDataAdapter da = new …

Software Development asp.net c# sql
Member Avatar for abelLazm
0
165
Member Avatar for dnk

Hi All.. I want to get selected item on listview. Does any one know how to solve this??? I'm using vb.net 2003

Software Development listview vb.net
Member Avatar for dnk
0
322
Member Avatar for billgateswannab

ok guys. Im new here so please dont squash me like a bug. Im new to assembly as well. I even bought an assembly book recently ive been studying. My question is... Is it possible to write assembly that doesnt depend on api's, etc. Of other operating systems. Everything ive …

Member Avatar for billgateswannab
0
237
Member Avatar for n0de

Hi, new to vectors.. I have a little problem with them - with arrays you could just do like array [ index ] = new value, and everything is ok. How it is with vectors ? how can i change specific index value ?

Software Development c++
Member Avatar for mike_2000_17
0
94
Member Avatar for eman 22

I have a problem when I declare template class inside another a template class. [CODE]#pragma once template<typename T> class D<T>;//error 1,2 template<typename T> class B { D* d; public: B(void){ } ~B(void){ } }; [/CODE] [CODE]#pragma once #include<iostream> using namespace std; template<typename T> class B<T>;// error 3 template<typename T> class …

Software Development c++
Member Avatar for mike_2000_17
0
342
Member Avatar for Ajay2100

hi i am facing same error, but when i go to defination and update code same as you suggest but it wont work, Error : Error 1 error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended. c:\Program Files\Microsoft …

Software Development c++ visual-studio
Member Avatar for raptr_dflo
0
281
Member Avatar for jl.lakhnai
Member Avatar for henrimontreal

Hey guys! I am new at Class and object things. Before introducing the object oriented issues my life was easier! I wrote these codes here: /*--------------------------------------------------------------------------------------- Source File: OOP4.Henri.cpp Program name: Object Oriented program, Assignment 4 Author: Hassan Aghaei Baradaran (Henri) Compiler: Bloodshd Dev-C++ 4.9.9.2 Purpose: To define and demonstrate …

Software Development c++
Member Avatar for raptr_dflo
0
260
Member Avatar for GamerXxX

In my code i have got when player touches point,it registers collision and prints out score in the console, the problem is that for some reason instead of just printing one score-point per point (There is 10 points in the array) it continues to add score for as long as …

Software Development c++
Member Avatar for GamerXxX
0
140
Member Avatar for turt2live

Hello, I am trying to create a update section of a game but running into a problem of JFrames. What I want to do is have a single JFrame that will have the update script, then after the update it will start a jar file in the JFrame (With the …

Software Development java
Member Avatar for turt2live
0
189
Member Avatar for ssdeep

i am participating in an online prog contest and only recently started learning perl. I am programming in windows environment while the contest requires programs executable in linux environment. The program takes input,a file name, as the first argument in the command line and generates output in the console itself …

Software Development perl
Member Avatar for roswell1329
0
314
Member Avatar for adam291086

I am trying to delete a cookie by reseting it but it wont delete. What am i doing wrong [CODE]#!/usr/bin/python import cgi import Cookie import os def cookie_expiry_date(numdays): from datetime import date, timedelta new = date.today() + timedelta(days = numdays) return new.strftime("%a, %d-%b-%Y 23:59:59 GMT") print 'Set-Cookie: UserID=0; expires= '+cookie_expiry_date(-100); …

Software Development python
Member Avatar for ret801
0
237
Member Avatar for vishal.patil

I am looking for step by step details of how to deploy django websites in apache2 server with one example. I am using ubuntu operating system Please give some link or give the details.

Software Development apache operating-system python ubuntu
Member Avatar for Pupo
0
118
Member Avatar for Tellalca

Hey; I'm trying to change the mode of a file in Linux system. I know I must use chmod(const char* path, mode_t mode) but I don't really know how to handle the mode. How can I manipulate mode_t variable to apply my own mode?

Software Development c++
Member Avatar for thierrypin
0
120
Member Avatar for johnray31

Hi , I need to parse a file that contain linux interface information. My file text is like below [QUOTE] Interface ge1 Hardware is Ethernet Current HW addr: 00a1.2599.0003 Physical:00a1.2599.0003 Description: BC3 - Slot 3 (Phys Slot 7) index 5001 metric 1 mtu 1500 duplex-full arp ageing timeout 0 <BROADCAST,MULTICAST> …

Software Development c++ file-system
Member Avatar for dwks
0
134
Member Avatar for smandape

Hello Experts, Kinda new to perl. I am using perl web API to get the data. The error is "application/xml; charset=UTF-8". I used 'use utf8' but doesn't seem to work. The line it gets stuck looks like something like this [CODE] my @candidates = $c->bookmarks_for(start => 1, tag =>'pubmed'); [/CODE] …

Software Development api perl
Member Avatar for d5e5
0
180
Member Avatar for sariberri

This is just a small snippet of my program but it's a gui and the criteria is when the Open option comes up the user can select a text file that contains the data that is going to be loaded into the JTable. My code only places the first line …

Software Development file-system gui java
Member Avatar for quuba
0
159
Member Avatar for I<LateNupurGuha

[INDENT]What is the [U][B]file naming[/B] conventions[/U] [I]to compile and run the programme[B]([/B]application[B])[/B][/I] if there [COLOR="Green"]exists[/COLOR] [COLOR="Red"][B],[/B][/COLOR][/INDENT]:icon_rolleyes:[LIST=1] [*]No class in a package; [*]One class with default accessibility in a package; [*]Many classes with default accessibilities in a package; [*]Many classes with default accessibilities and one class with public accessibility in a …

Software Development file-system java
Member Avatar for sneaker
0
173
Member Avatar for eman 22

I have been written 2 classes A,B. and I want class A to use class B and vice verse but I have a problem when I tried to get the content of the class like(*A) that's my code. [CODE]#pragma once #include<iostream> using namespace std; class B; class D { B* …

Software Development c++
Member Avatar for mike_2000_17
0
86
Member Avatar for Vivek0909

Here is the VC++ code [code]SVisFileDescriptor filedescriptor1; ZeroMemory(&filedescriptor1, sizeof(SVisFileDescriptor)); filedescriptor1.has_alpha_channel=CVisImageBase::IsAlphaWritten(); filedescriptor1.jpeg_quality=0; filedescriptor1.filename=currentpath1; pframe->SetTimer(22,5000,NULL); imageS1.WriteFile(filedescriptor1);[/code] This block is basically replicated in 3 different functions which in essence save 1 image EACH from a camera connected. I am not sure why this is happening. But my hunch is there is an overlap …

Software Development c++
Member Avatar for mike_2000_17
0
237
Member Avatar for arshi9464

i was using mysql to connect to database in java. but it is throwing an error that is" access denied for use' '@'localhost' to database 'onlinetest' while installing mysql I DIDNT PROVIDED ANY USERNAME AND PASSWORD, IS THERE ANY PROBLEM WITH USER AND PASS AND WHAT TO WRITE IN USER …

Software Development java mysql
Member Avatar for masijade
0
82
Member Avatar for spixy

I don't know if you could fix this code.. but there is something wrong with it or with me.. i don't know which.. here is the code for the .py script [CODE]import string import sys # input if len(sys.argv) < 2: print "Not enough arguments, quitting." quit() if len(sys.argv) > …

Software Development python
Member Avatar for TrustyTony
0
131
Member Avatar for FoxInBoots

Hi, I've just started learning C++ and I have a problem figuring out an assignment. It would be really great if someone could please help me. :icon_cheesygrin: The program should look something like this: Input number: 6 (then the program should read out following) * ** *** **** ***** ****** …

Software Development c++
Member Avatar for FoxInBoots
0
69
Member Avatar for andylbh

The code below is what I have done up so far. I'm currently trying to complete one of the 4 classes I have, so the codes are incomplete and made to work at it's current stage. Q1. I need to have 3 different sorting criteria: 1.Sort by X (asc/desc) 2.Sort …

Software Development c++
Member Avatar for mike_2000_17
0
789
Member Avatar for solomon_13000

My question is why (i1==i2)=false,(i3==i4)=false and (i5==i6)=true? [CODE] public class comp { public static void main(String[] args){ Integer i1 = 2001; Integer i2 = 2001; System.out.println((i1==i2) + " " + (i1.equals(i2))); Integer i3 = 21; Integer i4 = new Integer(21); System.out.println((i3==i4) + " " + (i3.equals(i4))); Integer i5 = 21; …

Software Development java
Member Avatar for jon.kiparsky
0
157
Member Avatar for kwins

hi i really need your help i'm a beginner in java and we're having this homework here is my code its not complete and there is error please help me solve this one :( tell me what to do [CODE]import java.io.*; public class hangukFishShop { public static void main(String[] args)throws …

Software Development java
Member Avatar for jon.kiparsky
0
238
Member Avatar for bibiki

I have been thinking of making a graphing calculator for practice. However, I do not know how to assign to a variable an expression. What I exactly mean is: let's say x is a variable, and y a function of x. I can just define the function inside the code, …

Software Development gui java
Member Avatar for bibiki
0
119
Member Avatar for agent_x

Hi, i really need help making this program: Write a program that will ask a teacher to enter his 4 digit password. The program gives three tries for the password. If the teacher fails in three tries, the program displays the message, “you are not eligible to enter the grades”. …

Software Development visual-basic
Member Avatar for debasisdas
0
181
Member Avatar for saddas

just wondering if there was any way to disable some values in the combobox or at least grey them out. i populate the combo box from the database: rs.MoveLast With Me.Combo1 .Clear Do .AddItem rs.Fields("CustomerFirstName") rs.MoveNext Loop Until rs.EOF End With once one value has been selected, is there a …

Software Development visual-basic
Member Avatar for htmlCoder101
0
87
Member Avatar for QuesoTaco

I am using Microsoft Visual Studio 08 version on a computer where I do not have admin privileges. After building my project, I want to put the .exe into the Visual Studio 08's VC folder in order to run dumpbin from the command prompt, but it won't let me copy …

Software Development c++ microsoft-access visual-studio
Member Avatar for template<>
0
607
Member Avatar for programing

waht the steps to make c++ compiler my compiler is to define - ,+ * / mathematical expresstion ? how i can make it plz :) i realy need help

Software Development c++
Member Avatar for template<>
0
124
Member Avatar for ShadowScripter

[I][B]I'm[/B][/I] trying to load compressed images to a sprite object with C++, using a [URL="http://msdn.microsoft.com/en-us/library/bb174249%28v=vs.85%29.aspx"]LPD3DXSPRITE[/URL] and the [URL="http://msdn.microsoft.com/en-us/library/bb172802%28v=vs.85%29.aspx"]D3DXCreateTextureFromFileEx()[/URL] function to load it and of course [URL="http://msdn.microsoft.com/en-us/library/bb172867%28v=vs.85%29.aspx"]D3DXGetImageInfoFromFile()[/URL] to get some info, but I don't know how to go about it. How do I decompress them before loading them to memory and …

Software Development c++
Member Avatar for ShadowScripter
0
211
Member Avatar for avocado_juice

Hi, Does anyone know on how to convert vb.net to excel. I am new in this company and they are using Microsoft SQL Server Management Studio for their database. FYI, they are using stored procedure as well. Thank you

Software Development microsoft-office vb.net vbscript
Member Avatar for avocado_juice
0
812
Member Avatar for StephNicolaou

Hey all, I have split an Access database not on the server. I have decided to VBA code the links, however I have reached a stall when attempted to VBA code the update query; updating the remote table with data from the local temporary table. I have tried multiple things …

Software Development microsoft-access sql visual-basic
Member Avatar for StephNicolaou
0
903
Member Avatar for Farhad.idrees

Hi i have 3 list view...1=Courses, 2=Semester, 3= Section.. when i select any course so in semesterlist view semester should come with respect to Corses...similary when i select semester so section should come with respect to semester...but i m not able to do it...... i have written this code... [CODE] …

Software Development dataset listview
Member Avatar for Mitja Bonca
0
117
Member Avatar for serph09

Hi, I'm trying to find a way to make backgroundworker do what's in the webbrowser. There is a time-consuming part in the webbrowserdocumentcompleted event that I want backgroundworker to tackle. Unfortunately, I don't know how to link that part to backgroundworker so that BW can do that job instead of …

Software Development api google-api vb.net
Member Avatar for serph09
0
827
Member Avatar for MixedCoder

[CODE]class Connection { public: typedef boost::shared_ptr<Connection> pointer; static pointer create(boost::asio::io_service& io_service){return pointer(new Connection(io_service));} explicit Connection(boost::asio::io_service& io_service); virtual ~Connection(); boost::asio::ip::tcp::socket& socket(); -->>>virtual void OnConnected()=0; void Send(uint8_t* buffer, int length); bool Receive(); private: void handler(const boost::system::error_code& error, std::size_t bytes_transferred ); boost::asio::ip::tcp::socket socket_; };[/CODE] when am trying to use virtual void OnConnected()=0; it …

Software Development c++
Member Avatar for mike_2000_17
0
438
Member Avatar for hamzamuradkhanh

Sir, I want to develop a internet booster software that boost the speed of internet from original speed to high speed.please tell me how internet booster works and which language i should use?

Software Development java
Member Avatar for jwenting
0
117
Member Avatar for solomon_13000

Why is the value 22 created for the code below? [CODE] public class Pregnant extends Thread{ int x = 0; public static void main(String[] args){ Runnable r1 = new Pregnant(); new Thread(r1).start(); new Thread(r1).start(); } public void run(){ for(int j=0;j<3;j++){ x = x + 1; x = x + 10; …

Software Development java
Member Avatar for masijade
0
127
Member Avatar for andylbh

Line2D Points is made up of Point2D x and y Line2D.h [code] #ifndef LINE2D__H #define LINE2D__H #include <iostream> #include <fstream> #include <string.h> #include <ostream> #include <sstream> #include <cstdio> #include <vector> #include <set> #include <cstdlib> #include <ctype.h> #include "Point2D.h" using namespace std; class Line2D { friend ostream& operator<<(ostream&, const Line2D&); private: …

Software Development c++
Member Avatar for andylbh
0
705
Member Avatar for eman 22

I want to declare template inside a class .h file [CODE]# include<stdio.h> # include<iostream> using namespace std; #pragma once template <typename T> class LeafNode { T records; LeafNode* next; int size; public: LeafNode(void); ~LeafNode(void); };[/CODE] .cpp file [CODE]#include "LeafNode.h" template <typename T> LeafNode::LeafNode(void) { } template <typename T> LeafNode::~LeafNode(void) { …

Software Development c++
Member Avatar for eman 22
0
143

The End.