43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for diegostix

I have an Excel macro in which a user can input their name via an input box. I then want to take the name they enter and use it as part of the file path to which the workbook is saved. For example. If user enters their name as John, …

Software Development visual-basic
Member Avatar for diegostix
0
147
Member Avatar for Medalgod

Ok, I'm trying to pass some variables from inside Form1, to a new form: LoginDetails. Essentially, what this code does is check if a file exists. If it does, it loads the values from within the file. If the file loads correctly, (it should contail login details to a server) …

Software Development
Member Avatar for Medalgod
0
361
Member Avatar for VBNick

Hi, Does anybody know how to enable/disable a secondary monitor using ChangeDisplaySettingsEx or any other function?

Software Development c++
Member Avatar for VBNick
0
648
Member Avatar for vulcano224

Hi I writing a Python program to track and calculate the amount of money each of 8 customers spends on 12 grocery items. The code below works fine but The program also must congratulate the customer who spends the most money and offer that customer a $50 shopping spree.How can …

Software Development python
Member Avatar for griswolf
0
107
Member Avatar for bbman

Hey, I'm trying to set up a hook with the Managed Windows API ([url]http://mwinapi.sourceforge.net/);[/url] however, whenever I do, everything crashes, and I get an error message (0x0000000) for every program, which states that the memory could not be read or written to. It forces me to restart my computer (which …

Software Development api windows-api
Member Avatar for bbman
0
405
Member Avatar for niall_heavey

Hi, I am trying to get to use the grep function in perl, I have been searching web pages but can't get a simple example. I am reading in a .csv file with 7 columns and loads of rows, this is done with: [code] $dat_file = 'sample.csv'; [/code] In the …

Software Development perl ubuntu
Member Avatar for niall_heavey
0
173
Member Avatar for nsutton

I need help making some key that if the "a" key is pressed it plays a sound. All the tutorials ive seen confuse me so maybe you can help. I've tried a few things but am still confused. Thanks!

Software Development
Member Avatar for finito
0
119
Member Avatar for pricey3000

I am trying to implement a toArray() method in my PriorityQueue. The PriorityQueue returns an array of Objects, but I want to do is have an array of the original type of objects which in this case is Job (which is marked by the 'T1'. The following is the toArray() …

Software Development java queue
Member Avatar for pricey3000
0
498
Member Avatar for glenc70

ok i made a class and a new pointer object to the class class *a = new class[50] but at the end i forgot to delete them, now i know this will cause a memory leak which is bad but will the memory leak be gone when i re-start the …

Software Development c++
Member Avatar for Nick Evan
0
100
Member Avatar for ZeRo 00

Hiieee...der I am writin a somethin where I require to get string from the user anr then tokenise it.Can some1 give me some ideas on how to get started.I need the string to be in a loop as well.

Software Development c
Member Avatar for ALi Nuces
0
96
Member Avatar for karthi_selva

hi, int i=1; printf("%x",-1<<1); what is an output? how is it works? please any one explain it.

Software Development c
Member Avatar for karthi_selva
0
97
Member Avatar for vs.vaidyanathan

When i run this, i get an error message saying TYpe expected and it points to the line having a.drive(100)... Any help please? Newbie... [code] class Car { public Car(){ int odometer=0; System.out.println("Car constructed!"); } public void drive(int miles) { System.out.println("Driving....."); odometer+=miles; } public long odometer; } class Guzzler extends …

Software Development java oop
Member Avatar for NormR1
0
261
Member Avatar for andrewtrench

I would like to be able to create a list of all instances of a class. [URL="http://www.daniweb.com/forums/thread131805.html"]Another post[/URL] here described how to do it by appending to a list during the __init__ routine but since I am a real Python newbie (and even more of a newbie to classes) I …

Software Development python
Member Avatar for andrewtrench
0
9K
Member Avatar for bbman

Hey, I'm fairly new to this PInvoke stuff. Could anyone tell me how to get whether a window is being resized with the WH_CALLWNDPROC method? A description would be great too. Thanks a lot

Software Development
Member Avatar for bbman
0
575
Member Avatar for wlalth

Hi, i have a stange problem with a my patch system. If two of the files are not exist on the users computer, patcher downloads them perfectly. If first file exist and different from the web site, patcher also downloads it perfectly. However, if the second file are exist on …

Software Development
0
72
Member Avatar for Anila S

I am usig VB6 & Access 2000 to create a program for a clinic to store patient details. I want to check whether a record with same date exists and if exists delete it and save new details.but with my coding it is not deleted even if the record exists. …

Software Development visual-basic
Member Avatar for Bashir ahmad
0
107
Member Avatar for Clawsy

I done an application using Power Point Interop library and it works well but if I copy it from DEBUG folder to another place, when I start it it gives me an error like: "Application has encountered a problem and needs to be close. We are sorry for the inconvenience". …

Software Development microsoft office-suite
Member Avatar for Clawsy
0
204
Member Avatar for Kingcoder210

I need to know how can I get specific record there in report by passing string parameter from vb.net to crystal reports? For example - I have text box, button & crystalreportviewer there in my form. When user will use it he will write specific word there in the text …

Software Development vb.net
Member Avatar for Extremist-smj
0
453
Member Avatar for blah32

I am calling: c = Counter() ...exactly as in the collections example code here: [url]http://docs.python.org/py3k/library/collections.html?highlight=collections#collections.Counter[/url] but it gives me this error: NameError: name 'Counter' is not defined Anyone know why? Note that I have 3.1.2 and yes I include "import collections". Thanks

Software Development python
Member Avatar for vegaseat
1
128
Member Avatar for achieve_goals

I am trying to make a circular linked list. I will appreciate if anyone can tell me how to make it better. [CODE] int n = num_people; Node *head = new Node; head->next = new Node; Node *temp = head->next; for(int x = 2; x < n; x++) { temp->next …

Software Development c++ linked-list
Member Avatar for daviddoria
0
72
Member Avatar for Griff0527

I am trying to edit my current homework assignment to include a loop that lets the user repeat the computation for new values until the user says they want to end the program. I was given a hint to use integer division and the % operator to implement this function. …

Software Development c++ html-css
Member Avatar for NathanOliver
0
279
Member Avatar for minihannah

For a uni project I've been writing a program to simulate video feedback. So basically I have 2D arrays representing the 'screen' and the 'camera' and I'm copying a portion of the screen to the camera then putting the resulting 'image' back on the screen. I'm creating really basic fractals …

Software Development c++
Member Avatar for minihannah
0
1K
Member Avatar for Dcurvez

hi all :) I am now working on a calculator that is mimic to windows calculator. I have the whole thing done except for the percent button. Have looked everywhere and cannot seem to find out how to do it! can someone help me here?? Here is a peek at …

Software Development vb.net
Member Avatar for Dcurvez
0
122
Member Avatar for bruno386

Hi Guys, Another quick question which I cannot find the solution for......... I need to load a directory into an array and then delete any file which has the name of an integer. for example 1.jpg, 500.jpg...these files will be deleted. I already implemented a similar function elsewhere in my …

Software Development
Member Avatar for kdion1024
0
278
Member Avatar for gabec94

Hi, I just finished up AP Computer Science a few weeks ago and decided to write an app that allows me to quiz myself with vocab words and definitions, it works fine while I'm running it in IDE, but when I make it a JAR it refuses to open (I'm …

Software Development gui ide java java-netbeans
Member Avatar for gabec94
0
156
Member Avatar for SoulMazer

Hi, I have a very simple problem yet I can't find out how to do it for the life of me. I am creating a simple CGI script with Python and part of it needs a HTML form. This is what I have so far (excludes imports, etc): [code=python]font_size = …

Software Development html-css python
Member Avatar for SoulMazer
0
196
Member Avatar for GAME

Is there anyway, I can have my richtextbox display this character("•") with it showing the box like shape(when the richtextbox doesnt know how to read the character)?

Software Development
Member Avatar for finito
0
87
Member Avatar for fpsasm

Hello, I am using strncpy to copy the first line of a multi-line buffer. I have successfully found the amount of characters to the end of the first line, and I have performed a strncpy to copy the first line of the buffer to a char *. However, some of …

Software Development c
Member Avatar for fpsasm
0
171
Member Avatar for Patplays852

Hello, I've made a Jeopardy game using VS2010 and I mistakenly made it as a .NET 4.0 project. I am wondering if there is any easy way to convert the project into a .NET 2.0 project so more people will be able to use the program. [URL="https://sourceforge.net/projects/ezjeopardy/"]https://sourceforge.net/projects/ezjeopardy/[/URL]

Software Development vb.net
Member Avatar for rohan_tahil
0
244
Member Avatar for m.a.u.

Greetings, I want to develop a program to check if my computer dowloads any file and after completion of the download it should inform me. Is there any .dll file method or any thing you can tell me to use or to follow. What should I do for this? Thanks

Software Development
0
69
Member Avatar for ryan461

I've got this exercise from a book that wants me to program two rolling dice, add the value of the dice to together and basically track each time a number is rolled. So ive got an array with 11 spots for the numbers 2 - 12. Whats not working in …

Software Development c
Member Avatar for ryan461
0
111
Member Avatar for santosh5471

I wrote an application in VB6. While testing I want it to run only when a pen drive with specific VOLUME SERIAL NUMBER is attached. Can any body help me in finding out the volume serial number attached to the system. Regards

Software Development visual-basic
Member Avatar for santosh5471
0
570
Member Avatar for kelokely

I have a series of files similar to that 1A2B_A.txt, 1A2B_2C.txt, 1A2B_DF.txt, 1B23_D.txt, 1B23_B.txt, 1B23_25.txt, and many more I want to combine each three files starting with the same four code before the "_" Thanks in advance

Software Development python
Member Avatar for TrustyTony
0
95
Member Avatar for xGrimReaperx

Hello, I have a homework to do and I am sitting on it already 7 days and I cannot find out how to make graphics like : using (Graphics g = this.CreateGraphics() g.FillEllipse(Brushes.DarkGray, new Rectangle(45, 65, 200, 100)); g.FillEllipse(Brushes.Silver, new Rectangle(45, 60, 200, 100)); appear after you insert password abc …

Software Development
Member Avatar for nick.crane
0
1K
Member Avatar for aint

I am working on the folowing code, which basically counts every letter in a given text. I want to store the numbers in letter names: A=1 B=3 and so on... I guess it stores the number underthe name 'letter', but not under the corresponding letter 'A'. It would be great …

Software Development python
Member Avatar for TrustyTony
0
107
Member Avatar for VINOD_2553

Hi i just want create a project to school i card i do evry thing in my project but i have no idea to save photo of student on icard simply i want save image in data base or access imege on form to print icard please heme me how …

Software Development image visual-basic
Member Avatar for santosh5471
0
154
Member Avatar for urbangeek

hi guys, can't understand why the answer of the following program is 7? Please explain.. [CODE]#include <stdio.h> #define SQ(x) x*x int main() { int a,b; a=5; b=-SQ(a+2); printf("%d",b); return 0; } [/CODE] thank you..

Software Development c
Member Avatar for urbangeek
0
163
Member Avatar for elvis1

Hi guys ! I am willing to ask you if you could think of a py script that loads a text file and just joins the data contained in there following this example This could be an input: ssms smsmsms sksksskkks ppppplkl ndndndnd kdkdkdkdkppp And this an ouput: ssmssmsmsms sksksskkksppppplkl …

Software Development python
Member Avatar for elvis1
0
332
Member Avatar for hust921

Hallo everyone at DaniWeb :) A made a mail script, that i need to somehow break, to close the connection to the gmail server securely. Can someone give me a hint, what to do for that. [CODE] import smtplib import urllib2 import time def sendIP(): # fetch pub ip pub_ip …

Software Development python
Member Avatar for hust921
1
99
Member Avatar for WildBamaBoy

How do you make Python distinguish from files and folders if they are dragged and dropped into the program's window? [CODE] import os import string newDrag = raw_input("Drag and drop the file or folder you want to add.\n") newStrip = newDrag.strip('"') #Removes the quotes Windows randomly adds for some reason …

Software Development python
Member Avatar for WildBamaBoy
0
143
Member Avatar for shuhana84

hi,i want to know how to export sql server 2005 database to access through vb.net coding..no need to select n insert table one by one,just save package...

Software Development sql vb.net
Member Avatar for shuhana84
0
939
Member Avatar for ajwei810192

Hi, I have the following code that I would like to get working, but for some reason, it keeps giving me the wrong output, and I wonder if anyone on the list might be able to help me fix it. Here is the code, [CODE] Sub submit(ByVal sender As Object, …

Software Development vb.net xml
Member Avatar for ajwei810192
0
104
Member Avatar for danizobin

Hi, New to this forum. Will be happy for explanation for the next phenomenon: [CODE] class Base { protected: void add(void *); }; class Derived : public Base { public: void add(int); } void Derived::add(int num) { add(new int(num)); } [/CODE] This fails with the message: Invalid conversion from 'int*' …

Software Development c++
Member Avatar for danizobin
0
194
Member Avatar for MrAlshahawy

Hi all , I got two questions : How to convert the time of a message from "127558161.23" to 03/06/2010 12:42pm ? When I receive a message and I want to know the number of the sender so I can resend him a message it returns me his name - …

Software Development python
Member Avatar for MrAlshahawy
0
206
Member Avatar for bruno386

Hi guys, I need to sort an array by date created. Please take a look at this code thus far [CODE] 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; using System.IO; namespace listboxarraysortexample { public partial class Form1 : Form { string[] …

Software Development c c# c++
Member Avatar for bruno386
0
2K
Member Avatar for nwhitfield

what is the best way to start out making a game??? Are there any good books on making one???

Software Development c++
Member Avatar for nwhitfield
0
79
Member Avatar for j23

i want to use input validation so that the user can only input decimal numbers. can someone help [CODE] while int_x != : #this is where im having the problem print "the number entered must be a decimal number" int_x = input("Enter a decimal number:") [/CODE]

Software Development python
Member Avatar for ultimatebuster
0
2K
Member Avatar for reza.adinata

Hi, I am a beginner, and trying to call an image inside a form. So basically, I have done a simple WPF application in which if I press a button, I will managed to show an image in my main form. So, the code is below : [CODE]private void btnAddMore_Click(object …

Software Development asp.net client-server image
Member Avatar for reza.adinata
0
185
Member Avatar for sdhawan

Hi Guys , I have a line which is like this :- "C:\\Users\\saurabh\\Desktop\\Projects\\Texts\\A Sign of the Times.txt" how can i jus extract the last part of it which is A Sign of the Times. Thanks

Software Development c#
Member Avatar for finito
0
91
Member Avatar for nsutton

How can you play a sound file that resides in the solutions resources file? Heres what I have..... [CODE] private void whiteKey1_Click(object sender, EventArgs e) { //If clicked System.Media.SoundPlayer player = new System.Media.SoundPlayer("WindowsPiano.Windows_XP_Ding.wav"); player.Play(); } [/CODE] I'm making a virtual piano and when the key is pressed it plays a …

Software Development
Member Avatar for bbman
0
168

The End.