132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bhagawatshinde

Hi Everybody, I am developed an application software in that i want to use notification Icon. But it seems to doesn't work for me. can anybody help me? Here is my code [CODE]private void button29_Click(object sender, EventArgs e) { notifyIcon1.Visible = true; notifyIcon1.ShowBalloonTip(2000, "Hello", "Hi", ToolTipIcon.Info); }[/CODE] it will not …

Software Development c#
Member Avatar for bhagawatshinde
0
250
Member Avatar for Drakarus

I am trying to figure out how to automatically close a simple windows application in C. I know how to create the window. But I have no idea how to get it to automatically close when it has opened without user input/interaction. Basically when it is called upon, I want …

Software Development c
Member Avatar for chrjs
0
152
Member Avatar for abelLazm

hi... I made two class assemblies to use with my project now I want to make DLL of these class libraries so that deployment will be easy. can any one help me how to convert a class library to DLL. or com object Thanks in advance

Software Development c#
Member Avatar for abelLazm
0
303
Member Avatar for montjoile

hi. Im trying to make an expresion tree for every ER that I read each ER will be transformed into postfix and saved in a string, which I'll be sending to arbol_expresion() to create it`s tree expression Searching on the web I found a method to convert the postfix expresion …

Software Development c++ data-structure
Member Avatar for abhimanipal
0
133
Member Avatar for Trustify

I don't know what I'm doing wrong but I open my filed correctly but it doesn't display the contents in the file. Please help. [CODE]#include <iostream> #include <fstream> using namespace std; int main() { const int SIZE = 81; char input[SIZE]; fstream dataFile; dataFile.open("info.txt", ios::in); dataFile.getline(input,SIZE); system("pause"); return 0; }[/CODE]

Software Development c++ ios
Member Avatar for Trustify
0
163
Member Avatar for romz

I have a project in VB6 and I need help in how to get the number of selected rows in a Datagrid.. I have already tried using datagrid1.selBookmarks.count but it doesnt seem to work.. i have set the marquee style property of the datagrid into highlight rows. Can someone give …

Software Development visual-basic
Member Avatar for Jx_Man
0
802
Member Avatar for VernonDozier

I've done Hello World programs with Visual C++ Express 2010 before, but I always checked the "Empty Project" option. This time I selected a Console project and took the defaults. Program is below. [code] // HelloWorld.cpp : Defines the entry point for the console application. // using namespace std; #include …

Software Development c++ visual-studio
Member Avatar for VernonDozier
0
1K
Member Avatar for mi2010

I want a c++ code to : play a segment of awave between two times entered by the user. for ex :to play a wave between 4 and 100 seconds.

Software Development c++
Member Avatar for jackmaverick1
0
110
Member Avatar for rena0514

My program is suppose to create a two dimensional array that is read from a file. And use a recursive function to find how many white areas ('w'). My program runs with no errors but i cant get any response from my recursive function. Cpp file: [CODE]/* This program accepts …

Software Development c++
Member Avatar for rena0514
0
221
Member Avatar for james6754

Anyone let me know what is going on here? Think it is something to do with the scope. [CODE] double answer; if (sender is System.Windows.Forms.Button) { try { answer = Convert.ToDouble(answerBox.Text);//if cannot convert } catch (Exception ex) { MessageBox.Show("Enter a valid number" + ex.Message(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } } …

Software Development
Member Avatar for TheJohnSpecko
0
90
Member Avatar for tikoti

Hi all, I have been doing for fun this problem in projecteuler.net. The problem is as follows: +++++++++++++++++++++++++++++++++++++++++ Peter has nine four-sided (pyramidal) dice, each with faces numbered 1, 2, 3, 4. Colin has six six-sided (cubic) dice, each with faces numbered 1, 2, 3, 4, 5, 6. Peter and …

Software Development mathematics python
Member Avatar for TrustyTony
0
519
Member Avatar for Suzie999

I am trying to compare a string literal with a string downloaded from a webpage. Here is my code. [CODE]using System; using System.Collections.Generic; using System.Text; namespace testsource { class Program { static void Main(string[] args) { string source = getPageSource(@"http://www.mywebsite.co.uk/index.php"); string fromsource = source; Console.WriteLine(fromsource); //Displays Text Here in console …

Software Development
Member Avatar for Suzie999
0
103
Member Avatar for acxes

Hello, I am working on my new project and I need to create a table for each user dynamically. In which the user will provide the Table name in the textbox and on pressing Create button a new table gets created in the same MS access database file with the …

Software Development microsoft-access open-source vb.net
Member Avatar for aydinozdemir
0
2K
Member Avatar for TheBadger

Compare the two and just return how many match, don't need to know which ones matched Having a bit of brain freeze on this right now, any got any ideas?

Software Development
Member Avatar for Mitja Bonca
0
119
Member Avatar for peq

I don't know what I'm doing wrong, I've at it with trial and error for quite some time and still can't figure this one out. Here's the question and I'll add what I have so far at the bottom. Basically I have no idea how to meet these specifications with …

Software Development data-structure java
Member Avatar for stultuske
0
159
Member Avatar for shadowscape

Hello Everyone. i have created a XOR Encryption libary in c...well tried with some help. But there is something wrong with my coding as when i try and decrypt a file, it doesnt always decrypt as plain text as some charfacters seem malformed. Please could you help me fix this …

Software Development c encryption
Member Avatar for rubberman
0
201
Member Avatar for gruffy321

[CODE] Private Sub Combo1_Change() With Me.Combo2.Enabled = False Select Case Me.Combo1 Case "bob" Me.Combo2.Enabled = True Case "carol" Me.Combo2.Enabled = True Case "jeff" Me.Combo2.Enabled = False Case "freeda" Me.Combo2.Enabled = false Else: Combo2.Enabled = False End Select End Sub[/CODE] Hi all , this code seems to be wrong as i …

Software Development visual-basic
Member Avatar for gruffy321
0
130
Member Avatar for tultul

hi! i found problem in using timers.... do anyone help me in this regard as i have no idea about it...... please.... i am sending a code which i tried but in vain. i know where the problem arises.... but cannot find any solution of solving the problem..... [CODE] package …

Software Development gui java java-swing
Member Avatar for quuba
0
2K
Member Avatar for missc

hi, can i use count and top 6 in the same sql command ?? and also, how can i use inner joins to link guest id in reservation table with guest name from guest table

Software Development sql
Member Avatar for missc
0
124
Member Avatar for gema002

Hi you all! I hope someone here will help me, i have workt with my java-program for 14 hours and i cant get it right. Im sure im on the right way but i cant get i all right. ok.. first i have to create a dice-class that generates random …

Software Development java
Member Avatar for stultuske
0
213
Member Avatar for Saith

First, my program works. I'm posting my code for my own personal benefit with the help of your guidance to know of any better way of handling this code. I was considering the use of [CODE] while(cin >> grabname) [/CODE] to possibly continue grabbing from the input stream until '\n' …

Software Development c++
Member Avatar for vijayan121
0
307
Member Avatar for marrkee

hello, i wrote a little program, but There are some problems. Can anyone help me? here is the code: [CODE]#include <iostream> #include <math.h> #include <fstream> using namespace std; bool tikrinimas(const char *filename) { ifstream failas(filename); return failas; } int main () { tikrinimas("example.txt"); bool failas; if (failas==true) {cout << "good";} …

Software Development c++
Member Avatar for Narue
0
105
Member Avatar for gregarion

Hey guys, i been trying to tokenize a string using the boost library. [CODE]int main(){ using namespace std; using namespace boost; string s = "This is, a test"; tokenizer<> tok(s); for(tokenizer<>::iterator beg=tok.begin(); beg!=tok.end();++beg){ cout << *beg << "\n"; } [/CODE] The problem i am facing currently is that i am …

Software Development c++
Member Avatar for vijayan121
0
416
Member Avatar for shadowscape

Hey, im trying to create a string like the following in c++ but am unable to find a example in the internet in order to help me as im new to c++ and still trying to learn. [B]XXXXX-XXXXX-XXXXX-XXXXX[/B] [QUOTE][LIST] [*]Custom Length [*]Custom Block Size [/LIST][/QUOTE] if someone would mind how …

Software Development c++
Member Avatar for rubberman
0
155
Member Avatar for solarissf

Good Morning All, Let me start by saying I am completely new to programming in c#, however I do have some VBA experience. That being said I have hopefully a simple thing I am stuck on. On a windows form I have a textbox that I have set READONLY = …

Software Development
Member Avatar for jbisono
0
295
Member Avatar for sirlink99

is it possible to incorporate a class file that is written in applet into a JLabel in application? I know it is possible to put HTML code in a JLabel, so I copied the code from my html file created when I compile and run the applet. I put it …

Software Development java
Member Avatar for mKorbel
0
105
Member Avatar for CrankyMero

Hello everyone, So im been looking around and i havent been able to find info of this problem that i have, so this is the main thing I have this datagridview of an inventory, and i added an extra column(unbound) to the dgv, so what i want to be able …

Software Development vb.net
Member Avatar for CrankyMero
0
1K
Member Avatar for Mr.BunyRabit

Hey there =) i have 2 tables with a relationship between them. a Primary key in the one table, and a secondary key referencing the primary key, in the second table. Now usually when i want to display data in my db i INNERJOIN the two tables, so i can …

Software Development mysql
Member Avatar for BitBlt
0
206
Member Avatar for kirtee2209

Hi. I am doing a C# windows form application and I am using Ms Access for the database. I have a sql query which retrieves data from 2 tables and I am displaying it in a crystal report. The problem I am having is for example i have 4 records …

Software Development c# dataset microsoft-access open-source sql
Member Avatar for BitBlt
0
173
Member Avatar for solarissf

Hello All, I've been scouring the internet for code on sending email through lotus notes and this is what I found: [CODE] static void SendNotesErrorMail( string err, string file) { //Pass in file name string filename = file; //Pass in error message from TryCatch string errMessage = err; //Create new …

Software Development email session
0
87
Member Avatar for stephenk291

Unfortunately Array's aren't my strong point and this final lab is giving me a bit of trouble. Basically I need to make it so the code will return true if the given array is sorted in ascending order (lowest to highest). or it will return false. Then i need to …

Software Development java
Member Avatar for javaAddict
0
117
Member Avatar for vivosmith

Hello I have been using c for dummies along with bloodshed software for a day or so and I tried putting this snippet of code in from the book and I got a syntax error:[CODE]#include <stdio.h> int main() { char name[20]; char color[20]; printf(“What is your name?”); scanf(“%s”,name); printf(“What is …

Software Development c
Member Avatar for Narue
0
320
Member Avatar for MeandJava

Hello everybody, I have a xml socket server which get data from xml sockets out of actionscript3. Now I'm having a lot of if statements. Can I use another way to make my code more clean? Ivibot is a piece of hardware my school provided. LedBlink is a runnable class …

Member Avatar for JamesCherrill
0
508
Member Avatar for jimmymack

[CODE]// student.cpp - Script 9.7 #include <iostream> #include <string> // Declare the Person class. class Person { public: Person(std::string theName); void introduce(); protected: std::string name; }; // Declare the Teacher class. // Teacher inherits Person. class Teacher: public Person { public: Teacher(std::string theClass); void teach(); void introduce(); protected: std::string clazz; …

Software Development c++
Member Avatar for jimmymack
0
159
Member Avatar for Euphan

I need to keep my coding skills up to snuff, but I'm having kind of a block. I don't know what to code. Anyone have any idea of some small projects that I can work on? Perhaps ones that would look good if i sent them to companies? Don't ask …

Software Development c++
Member Avatar for Moschops
0
225
Member Avatar for xeon123

Hi, I'm iterating an Arraylist inside a synchronized method, and I've set the Arraylist synchronized inside the method, but I still got the error ConcurrentModificationException. Why this is happening? [code] private synchronized TaskInProgress findTaskFromList( Collection<TaskInProgress> tips, TaskTrackerStatus ttStatus, int numUniqueHosts, boolean removeFailedTip) { synchronized(tips) { Iterator<TaskInProgress> iter = tips.iterator(); while …

Software Development apache java
Member Avatar for masijade
0
282
Member Avatar for akaban

i need a very simple coding of vb6 to control 8 leds connected with parallel port of my on-board parallel port. i need a little description with the coding to understand

Software Development visual-basic
Member Avatar for debasisdas
0
162
Member Avatar for Shansal

Hi, I use [B]pulp[/B] module to solve my some optimization problems. With integer numbers, it works like a charm. I wonder if it is possible for pulp to work with real numbers. Here is a sample optimization problem I build for my project. [CODE] prob = pulp.LpProblem("example", pulp.LpMinimize) # Variable …

Software Development python
Member Avatar for Gribouillis
0
290
Member Avatar for Suzie999

Hi Can anyone help me with path variables. My problem is a referenced a dll file as part of my project, and in the reference properties it has "C:\users\susan\desktop\project1\xfind.dll" as its path I tried removing it, and adding its reference to the windows system dir but it just goes back …

Software Development visual-studio
Member Avatar for Suzie999
0
335
Member Avatar for aaronmk2

I commented by the last line. I am trying to print out the string in reverse. [CODE] #include <iostream> using namespace std; void add(string n); int main() { string B ="ABCDEF"; add(B); } void add(string n) { if(n.length() <= 1) { cout<<n[0]<<endl; return; } else { cout<<n[n.length()-1]; add(n[n.length()-1]); //this lines …

Software Development c++
Member Avatar for Euphan
0
81
Member Avatar for jinglylime

Hi guys, Im trying to write a program that find the biggest rectangle by its area. I've tried and it doesnt seem to compile. Can you help me please, thanks. [CODE] public class Rectangle { private int width; private int height; public Rectangle(int width, int height) { this.width = width; …

Software Development java java-swing
Member Avatar for jinglylime
0
112
Member Avatar for munitjsr2

When reading books I was thinking that data hiding was to hide the data from the user so somebody who is using a C++ executable is an user and data hiding is implemented to hide the hide the data from the user( somebody who is using the exe file produced …

Software Development c++
Member Avatar for Clinton Portis
0
162
Member Avatar for chad33

[CODE]import java.io.FileReader; import java.util.Scanner; public class diverScores { public static void main(String[] args) { Scanner kb = new Scanner(System.in); double [] score = new double [8]; double totalScore = 0.00; Scanner fileScanner=null; try{ fileScanner= new Scanner(new FileReader("divingdata.txt")); }catch(Exception e) { System.out.println("Input file not found"); System.exit(1); } while(fileScanner.hasNext()) { String fileLine …

Software Development java
Member Avatar for JamesCherrill
0
249
Member Avatar for mwmnj

I am trying to figure out how to make the return type of a procedure a reference parameter. Can anyone help me out? I am a complete noob so if you could try and explain things as best you can I would really appreciate it and would help. My code …

Software Development assembly
Member Avatar for mathematician
0
298
Member Avatar for bastardi

I've been using this technique in several of my programs now for quite a while and haven't had any kind of trouble with it until now. Granted now things have gotten a bit trickier but I'm still doing the same basic concept of search through a string looking for a …

Software Development html-css visual-basic
Member Avatar for bastardi
0
301
Member Avatar for Shansal

Hi, I have a list of lists such as : [[foo,1],[baz,1],[foo,0],[bar,3],[foo,1],[bar,2],[baz,2]]. I want to get all the different items in the inner lists and find the total number of them. I mean the result should be like : [[foo,2],[bar,5],[baz,3]]. How can I do this task? Thanks in advance.

Software Development python
Member Avatar for TrustyTony
0
175
Member Avatar for AngelicOne

I know that I can set it up in the property window but I need to do it in code. How?

Software Development
Member Avatar for brokenarrow_vip
0
118
Member Avatar for arshi9464

i am working on a project in which, i have a text area and when the user enters some details in that text area, the data should be saved in a text file and the path should be saved in the database, when another user wants to access that text …

Software Development file-system java
Member Avatar for javaAddict
0
139
Member Avatar for Jaymz

So I have a task to write the algorithm for eratosthenes' sieve. The code works fine apart from the fact that it just won't print the newline when i need it. It just ignores the syscall for printing. I tried googling but couldn't find anything similar to my problem. The …

Software Development algorithm assembly
Member Avatar for Jaymz
0
2K
Member Avatar for sirlink99

I have never heard of it. I am researching on how to implement the internet to my program and I come across it. it seems to be easier then what I was trying to do for the past while. Could someone please link me to a website that can provide …

Software Development java
Member Avatar for ceyesuma
0
217

The End.