132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jeffrey4u

can anyone help me with the code. am trying to import the content of an excel sheet to my access database using common dialog in vb6. i tried this code below but is not working ........ [CODE]Private Sub sLoadExcel() If CommonDialog1.FileName = "" Then Exit Sub Dim exc As Object …

Software Development visual-basic
Member Avatar for Nick Evan
0
1K
Member Avatar for littleladyclair

hi ya! really hope u can help! ive taken on a computer course that is meant to teach me the basics of computing, and while i can understad databases and html, for some reason they have given us object orientated programming and i havent a clue!! ive spend alot of …

Software Development java
Member Avatar for javaAddict
0
548
Member Avatar for TheCodeHunter

please help!!! -------------------------------------------------------------------------------- Hi Hope you can help because its driving me up the wall. I've made a program that can add 4 items in a row in a list box, for instance Item Make Guarentee qty Price toy car rover 1 1 £45.00 monkey monkey 2 1 £65.00 total: …

Software Development vb.net
Member Avatar for Nick Evan
0
94
Member Avatar for twoshots

I'm having trouble understanding why I can't seem to access a dict object of a class once the class instance is referenced through a dict of instances. If that makes sense at all ;) I have a simple class containing only a dict called index. [CODE]class Node: def __init__(self): self.index …

Software Development python
Member Avatar for twoshots
0
127
Member Avatar for Musafir

I am writing a function that has two parameters F & L and the function returns the sum of the squares of all the intergers between F & L e.g if i call def sum(3,5) should output 50 (9 + 16 + 25) def sum(first,last): sqaure = i for i …

Software Development python
Member Avatar for snippsat
0
119
Member Avatar for Phil++

Hey, I'm trying to put all the objects of my class into an array so it will be easier to display.. It doesn't work though! Here is the code: [CODE] #include <cstdlib> #include <iostream> #include "manager.h" #include <windows.h> using namespace std; void displayManagers(); int main(int argc, char *argv[]) { displayManagers(); …

Software Development c++
Member Avatar for Grn Xtrm
0
199
Member Avatar for wesleychin

Hi guys, if anyone can help me with the basic C# programming concepts, please send me an email at <email snipped> and I can email you my project for you to see what the problem is with it. It is almost complete but it keeps throwing an exception and I …

Software Development c c# c++
Member Avatar for Geekitygeek
0
138
Member Avatar for arsh_arsh

i have a problem in which i have to remove char from strings by sending one string and char ata time to a function. in the below code it works fine for first string but for each successive string initial characters are not passed ..like for second call first chatcter …

Software Development c
Member Avatar for gerard4143
0
111
Member Avatar for alexa868

Hey guys... I want to write a program that transforms numbers into letters and letters into numbers... for example 20 would be transformed into twenty I have this but I don't know what's missing or what's the problem... help please [CODE]#include <iostream> #include <string> using namespace std; using std::string; void …

Software Development c++
Member Avatar for rati
0
147
Member Avatar for kapcom01

How do i stop the following thread? [CODE] from threading import Thread from scapy.all import sniff class SnifferThread(Thread): def __init__ (self,filter): Thread.__init__(self) self.filter = filter def run(self): sniff(filter=self.filter, prn=self.pkt_callback, store=0) def pkt_callback(self,pkt): print pkt.sprintf('%TCP.payload%') if __name__ == '__main__': sniffer = SnifferThread("tcp port 80") sniffer.start() #here i will make a GUI …

Software Development gui python
Member Avatar for kapcom01
0
1K
Member Avatar for hdk

hi, Please could you help me with displaying the png image file I am saving. I want it to display just after it is saved so within the same function onPLOT [CODE]import wx import cx_Oracle import datetime import wx.grid import csv import numpy as np import matplotlib.pyplot as plt import …

Software Development display gui image python
Member Avatar for hdk
0
1K
Member Avatar for tkud

hey, everyone. I am still learning templtes and I have 2 questions: 1-Why is it that all the examples of templates I have seen are about arrays?Is that all templates are used for? 2-after pondering about the above question, I decided to try something else witha template..a generic unction. However …

Software Development c++
Member Avatar for tkud
0
100
Member Avatar for kent01981

How to store string words into individual variable For example: string str1(“Today is a very nice day!”); [B] then we need to store[/B] string s1 (“Today”); string s2(“is”); string s3(“very”); string s4(“nice”); string s5(“day”) Thanks a lot!

Software Development c++
Member Avatar for jbennet
0
3K
Member Avatar for firoz.raj

i have place Masked # # # # # # # # # . and i have put MS Sans Sarif Font But it is not going in the Boxes Properly Kindly let me know the Idea.Kindly find the attachment also.and kindly let me know any way.So that Amount as …

Software Development visual-basic
Member Avatar for AndreRet
0
99
Member Avatar for deepas

How can selected date could be entered in the web form using c#.net 2005, and show the calender icon instead of the actual calender size that we add from toolbox... any samples done on it is apprecited...thanx

Software Development
Member Avatar for avirag
0
83
Member Avatar for aman rathi

helllo last day i did program related to recursion that is factorial of numbers i red lot of books in my library but i found only this program only in every book. i also thought lot on recursion but i did not find any more program please can anybody tell …

Software Development c
Member Avatar for Cmad
0
119
Member Avatar for vamsivizag

hi i have a plotted a graph in zedgraph and i had a problem that the line was stopped in the middle and not completely drawn. I have thought that i have not completed the zed graph point pair list. But when i checked it programatically it was completed and …

Software Development vb.net
0
78
Member Avatar for The Champ

[CODE]L = [ 0 , 2, 1 , -1 , -1 , -1, -1 ] for i in L: if i <= 0: L.pop ( i ) print L [/CODE] What I was expecting was that L = [ 0, 2, 1 ] but the result was [ 2 , …

Software Development python
Member Avatar for snippsat
0
128
Member Avatar for jeffrey4u

can anyone help me with the code. am trying to import the content of an excel sheet to my access database using common dialog in vb6. i tried this code below but is not working ........ [CODE] Private Sub sLoadExcel() If CommonDialog1.FileName = "" Then Exit Sub Dim exc As …

Software Development visual-basic
Member Avatar for AndreRet
0
780
Member Avatar for sentinel123

Hello. This time it might be a bit more complicated. [CODE] def start_game(): global no_winner no_winner = True rows_cols() global board board = make_board() print_board() player_select() def rows_cols(): global rows global columns rows = int(raw_input('Height: ')) columns = int(raw_input('Width: ')) if rows < 4: rows = 4 if columns < …

Software Development python
Member Avatar for sentinel123
0
316
Member Avatar for farhan0795

Problem Statement: Merging and Sorting of character arrays You are required to write a program that takes character values in two different arrays as input from user. After getting input, make a third array and merge both these array in third array. Output array must be sorted in ascending order. …

Software Development c++
Member Avatar for mrnutty
0
126
Member Avatar for MooAndStuff

Hey guys, first of all thanks for the time to even read this. Basically, Ive had some trouble in figuring out how to get this operator overloading to work. I think I'm having trouble in the functions calls that are within this function. These functions that are giving me trouble …

Software Development c++ linked-list
Member Avatar for MooAndStuff
0
108
Member Avatar for kitty7

Okay, well, I got my Address Book project done on time :) My current project is to turn it into a class. I have been working on this for a while and I keep getting set back to square one. My biggest problem is with writing some sort of user …

Software Development c++ user-interface
Member Avatar for jyoti bansal
0
227
Member Avatar for shashikant.v

hi friends when i am running my programe on cmd in C:\Programe File\jdk1.6.0_14\bin I got the message that file name.java uses or overrides a deprecated API . Recompile with -Xlint: deprecation for details . what it meant how it will solved . please help me thanks in advance for reply …

Software Development api java
Member Avatar for masijade
0
204
Member Avatar for hallwayantics

I'm a first time Java programmer and I'm having trouble compiling/running code. I installed jdk and I'm using windows XP MCE. I can get javac.exe to create a .class file but when I try running it with java.exe I get an error Please help. Thanks! [URL="http://img121.imageshack.us/img121/6788/javanowork.jpg"]http://img121.imageshack.us/img121/6788/javanowork.jpg[/URL]

Software Development java
Member Avatar for Makoto1981
0
192
Member Avatar for omotoyosi

Hello all, I have a form of 4 tabcontrol, I want to put the next button on each tab so that when the user press it, it goes to the next tab. How will i do that. Please, help me out.

Software Development vb.net
Member Avatar for se_raja_in
0
3K
Member Avatar for george_82

//The below mentioned code is not working on my C compiler.The //errors im getting is :(1)Extra parameter in call to_ inport b_. //(2)Too few parameters in call to "outport".(line 25) //(3)Not an allowed type(line 25) [code=c] #include<stdio.h> #include<conio.h> #include<dos.h> void main() { char data; int choice; clrscr(); printf("Enter the choice …

Software Development c
Member Avatar for Ancient Dragon
0
170
Member Avatar for Rishi_Hamza

I am trying to import mails from Outlook to my Database during execution of code it is throwing the "Excepiton ComException unhandeled by User Code" [COLOR="Red"]Array index out of bounds[/COLOR]. it was working fine in the biggening but suddenly start throwing this exception. Here is my code [CODE] try { …

Software Development microsoft-office
Member Avatar for kvprajapati
0
278
Member Avatar for glendavis

I have a servlet that gets a parameter that tells it which operation to carry out. in the servlet, i have if statements that check if the parameter is a certain number (1,2,3). I use getParameter to get the parameter as a string but somehow it does not go into …

Software Development java
Member Avatar for masijade
0
104
Member Avatar for sebassn

Hey guys, I'm just doing this code to see if it works where the user inputs a name and it outputs a menu where different options can be chosen. For example, if the user press 1 the outputs of the name is reversed, if 2 is pressed the name is …

Software Development c++
Member Avatar for sebassn
0
88
Member Avatar for dominion

I'm using Visual Studio 2008 express and I'm simply trying to put my source in different files. I have my Definitions in my .h file, my definitions in my cpp file, and my main.cpp file. I thought this was the correct way of doing things but the linker still has …

Software Development c++ visual-studio
Member Avatar for Ancient Dragon
0
105
Member Avatar for ShailShin

Hi All, I have to convert Excel data to MSAcess .MDB file using VB.NET. VB.NET Code read the Excel fi;le and write ti to .MDB file. For the same I have below code, but I am stuck at the writing it to .MDB file which I have already created with …

Member Avatar for bk_bhupendra
0
940
Member Avatar for earlofroberts

I am using .net 2005. I have created a GridView with one column having a command button. The DataAdapter, DataSource, DataSet were created in code, not with wizards. When the command button is clicked, I can't figure out the syntax for retreiving the value from the first cell in the …

Software Development dataset vb.net
Member Avatar for cynix008
0
101
Member Avatar for 1qaz2wsx7

Hi :) I want to click on a button and open the mail box so i can put message and send it, how can i do that ? Thanks.

Software Development c# email
Member Avatar for Seema
0
2K
Member Avatar for imolorhe

how do you make sure that when you maximise a form in vb, the controls in it are also maximised. Thanks for the help.

Software Development visual-basic
Member Avatar for abu taher
0
101
Member Avatar for C++ Beginner

Heres the homework problem: Write a program that displays the status of an order. The program should have a function that asks for the following data: 1. The number of spools ordered 2. The number of spools in stock 3. If there are special shipping and handling charges (Shipping and …

Software Development c c# c++
Member Avatar for sfuo
0
3K
Member Avatar for python user

hello, me again. When ever I try to add pictures it WONT LET ME ADD THEM. i download them, type all the code, and no image shows up at all. Can someone tell me how to correctly do it. do i have to define the code that imports pictures?

Software Development python
Member Avatar for vegaseat
0
114
Member Avatar for SteveTheRed

Hello, I'm refactoring a C++ program into a Java program (yes, it's homework). I have a problem where I add objects to an ArrayList of type Student, but when I try to access the objects, every valid index returns what should be only in the last element. For the sake …

Software Development java
Member Avatar for SteveTheRed
0
1K
Member Avatar for scott6480

I get the following error when I try to compile this code. Can anyone help me make sense of this error? I have tried defining keystroke as a string and a char, I get the error either way. 1>------ Build started: Project: Register, Configuration: Debug Win32 ------ 1>Compiling... 1>Register.cpp 1>i:\c++\register\register\register.cpp(121) …

Software Development c++ data-structure
Member Avatar for kvprajapati
0
573
Member Avatar for persianprez

How do I center my text in python? I have a title and a description, and wan't to center it all in my output.

Software Development python
Member Avatar for Stefano Mtangoo
0
106
Member Avatar for squigworm

Hello, As far as I know, the fastest way to initialize an array is to do so using a for loop... Does anyone know if there is an equally fast or faster method of initializing a c++ array ? Any insight on this topic is greatly appreciated. Thanks, Colin

Software Development c++
Member Avatar for mrnutty
0
243
Member Avatar for noey699

I am learning how to program through the windows.h library and was following a tutorial. After I copied the code to just create a window I got a lot of errors here is the code [code=c] #include <windows.h> #define WNDCLASSNAME "wndclass" //the needed global variables using namespace std; HWND handleWin; …

Software Development c++ microsoft storage
Member Avatar for sfuo
0
255
Member Avatar for Vandithar

HI, I have a string like this. These are the set of phrases enclosed in double quotes: [code] $str="\"rna binding protein\" OR \"Transcription factor\" "; [/code] I want to replace the string like this: [code] $str="\"rna|(rna) binding protein\" OR \"Transcription|(Transcription) factor\" "; [/code] How can i replace the above string …

Software Development perl
Member Avatar for 7stud
0
105
Member Avatar for llemes4011

Hi everyone, I decided that I wanted to try to write a graphics library. Yes, I know Java already has one, I just thought that it would be fun to try. I looked around, but couldn't find anything on the subject. I want it to be for Java, but I'm …

Software Development java
Member Avatar for llemes4011
0
93
Member Avatar for Sorb3t3ro

Hi! I have a VB6 project and I used ms access as my database(Database.mdb), I packed my project including the database, I already install it on my PC, but when I use or run my newly installed VB6 project and type the username and password I got this error: Run-time …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
2K
Member Avatar for hpfreak08

I have to make a recursive function that is passed a location in a previously allocated 2D array, and changes the "color" (indicated by a letter) from the "oldColor" to the "newColor." The function then changes any adjacent elements containing the "oldColor" to the "newColor." (If you are confused by …

Software Development c++
Member Avatar for hpfreak08
0
147
Member Avatar for Yeen

I wanted to try something seemingly easy, but I can't wrap my head around this. I want to open a .txt file, remove all dots from the text, and write the altered .txt as a new file. [CODE]#!python def process_file(): infile = open("dots.txt", "r") outfile = open("no_dots.txt", "w") for x …

Software Development python
Member Avatar for Stefano Mtangoo
0
3K
Member Avatar for saadismail85

[B][COLOR="Red"]mmm.... i think its good [/COLOR][/B] [CODE] import java.util.Scanner; public class Studentgrade { public static void main(String[] args) { int num_of_student ; Scanner input = new Scanner(System.in); System.out.println("Enter the number of Student :"); num_of_student = input.nextInt(); String []name = new String [num_of_student] ; int array[] = new int [num_of_student]; String …

Software Development java
Member Avatar for RunTimeError
0
321
Member Avatar for dondulla

hi, unfortunately i need a bit of help with a config for a program that an ex-employee of ours wrote. Basically, the program verifies itself on a website and verifys one specific type of bluetooth hardware is connected. we have recently changed hardware suppliers and need to take the requirement …

Software Development c c# c++ xml
Member Avatar for NicAx64
0
117
Member Avatar for brad82

Hi all, Im new here - so please bear with me ;) Im pretty new to C++, although I have previous experience in C. I created a small socket app that allowed a client to connect via telnet and send some data for it to be assessed. I have recently …

Software Development c++ socket-programming
Member Avatar for brad82
0
88

The End.