132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Graphix

Hi, I am currently learning C#, but when I made a program that allows the user to guess a word (in Dutch that's called "Galgje") it repeats the while-statement twice, ignoring the scanf(). I searched with Google and found out that the program is too fast for the user input. …

Software Development c
Member Avatar for Graphix
0
233
Member Avatar for kalpa23

im using : v.s 2003 sql server: 2000 [B]im creating this vb application and i took a coding from the inter net which uses 2005 i only have one error that is it's not supported in v.s 2003 can some one help me how to solve this my problem occurs …

Software Development assembly file-stream vb.net
Member Avatar for Geekitygeek
0
188
Member Avatar for stigmatized

can you help me to do a payroll system using Vb6?

Software Development visual-basic
Member Avatar for ithelp
0
72
Member Avatar for sandipdandel

i want to get / read data from d serial port device , pls help me . thanks!

Software Development visual-basic
Member Avatar for pri1
0
60
Member Avatar for musthafa.aj

i need jpeg image compression.. i would like to compress any image (size is too like 2mb)in to around 35 kb with acceptable quality.. i tried lot of solution but all of them given unacceptable quality ... I almost spent 2 months ... please give any open source solution to …

Software Development image java open-source
Member Avatar for musthafa.aj
0
90
Member Avatar for Ruffio1981

I'm working on a bonus project for my C++ class. The original problem was to add two large numbers given by the professor, or more specifically, write a program that would add these two numbers. After a while I got it working, relitively easy bit of code with some pointers …

Software Development c++
Member Avatar for DanielGreen
0
108
Member Avatar for ivanhny

It's probably really obvious, then again I don't know much about trees in c++. When I try to insert an integer into the tree it doesn't travel down the tree and insert the integer. I'll post the function and then the whole enchillada after. Also how can I create a …

Software Development c++
Member Avatar for DanielGreen
0
95
Member Avatar for coolcool

Hi everyone, Am just a beginner in c++ and have wishes to become good in it..it doesn't mean i should become a expert but just a good programmer. also i have enrolled for a competition in the college which am studying which requires an application to be developed using cpp..can …

Software Development c++
Member Avatar for DanielGreen
0
112
Member Avatar for Karthika_g

Hi, can anyone help me in storing a text file data to database using C# coding. I'm not sure of the below code can anyone correct me. Thanks in advance. Note: [U]TextFile1.txt[/U] 124 Keer 22 14000.000000 125 gjh 45 12103.000000 126 sg 48 63230.000000 129 fdgd 21 65620.000000 [CODE] con …

Software Development
Member Avatar for DanielGreen
0
203
Member Avatar for benregn

Hi, I'm getting this NullPointerException in one of my classes (state). This design is done by a state machine design pattern. From debugging it I can see that insertMoney under coffeemachine>State>insertMoney is null but I can't figure out why it's null. The line with the error is almost on the …

Software Development java java-netbeans
Member Avatar for chan95
0
224
Member Avatar for iriz

HI All, I am trying to make an inventory/sales database in Access and VB6. Its for my computer store. Here is the case: Usually we have sales offers in our store. For example, for a complete PC system, we have different offers depending on hardware. Usually the price range changes …

Software Development visual-basic
Member Avatar for abu taher
0
169
Member Avatar for laelzio.mosca

I have this tic tac toe code, it`s almost working, can anybody take a look, I think the only thing wrong is in the else statement in main, but I`m not sure, I think I need to place the checkToWin and checkToBlock functions properly in main [CODE]// Laelzio Mosca // …

Software Development c++
Member Avatar for jonsca
0
109
Member Avatar for kong_quints

Please help me... i am trying to figure out how to control the power supply of a certain USB port using VB6.. i improvised a Locking device which is USB mode.. and when the locking device attached to the PC via USB, it will Lock and how can i cut …

Software Development visual-basic
Member Avatar for selvaganapathy
0
115
Member Avatar for dalymiddleboro

Hey there I am getting an unusual error message I don't quite understand. I was wondering if I could have some help. The error is " error C3861: 'Tests_weight': identifier not found" I hope you guys can follow the code and any helpful input would be greatly appreciated! Thanks in …

Software Development c++
Member Avatar for jonsca
0
74
Member Avatar for hondros

Okay, so I have a tuple for a game, and this is it: [icode]['Hondros', {'Equiped': [['none', [], 0], ['Rags', [0, 1, 0, 0], 1, 1], ['Mocassins', [0, 0, 1, 0], 1, 1], ['Gauntlets', [0, 0, 0, 1], 6, 5]], 'Equipment': [0, 1, 1, 1], 'Stats': {'AC': 14, 'Strength': 15, 'Constitution': …

Software Development python
Member Avatar for hondros
0
174
Member Avatar for Diamonddrake

if you have ever used adobe lightroom you would have noticed that there is an awesome sidebar with 15 or so sliders on it. they can all be adjusted from the same screen and you watch as they edit the image in real time. This is what I am trying …

Software Development adobe image
Member Avatar for Diamonddrake
0
146
Member Avatar for johndoe444

Hi, What is the significance of the following format specifiers: [CODE]%10s %.10s %-10s %.15s %-15s %15.10s %-15.10s[/CODE] Thanks.

Software Development c
Member Avatar for WaltP
0
161
Member Avatar for LennieKuah

Hi There, I am developing VB.NET 2003 window application having problem with the FORM KEYDOWN event. Problem with cancelling the keydown event when the data check function return FALSE due to duplicate Debtor ID. How to cancel the KeyDown [CODE][B]Private Sub FrmDebtor_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles …

Software Development vb.net
Member Avatar for LennieKuah
0
194
Member Avatar for vista

Okay so I working on this program where I have to input a string and then display the character distribution in that string. For example: if the input is “[B]minecode[/B]” the output should be C – 1 O – 1 D – 1 E – 2 I – 1 M …

Software Development assembly
Member Avatar for sDJh
0
6K
Member Avatar for TotoTitus

Hi, i've looked in several places for a how-to on C# DLL's. I made a windows forms application, which beside regular files, has a pure .cs Class File. I would like to extract a DLL from that file alone, how do i do that?

Software Development
Member Avatar for TotoTitus
0
79
Member Avatar for LucarioWill

[CODE]public class TVRemote { //initialize variables private int channel, vol; public TVRemote(){this(0,0);} public int getChannel(){return channel;} public void setChannel(int a){channel = a;} public TVRemote(int a, int b){setChannel(a); setVolume(b);} public int getVolume(){return vol;} public void setVolume(int b){vol = b;} public void channelUp(){ channel++; } public void channelDown(){ channel--; } public void …

Software Development java
Member Avatar for LucarioWill
0
214
Member Avatar for jlego

is there a way to start your program from the sub main() like you could with vb.net

Software Development vb.net
Member Avatar for jlego
0
118
Member Avatar for H.Roger

Hello, I am developing a simple graph drawing application where each graph could be painted in internal frame. I want to call a specified function whenever an internal frame got focus. I’ve tried to add “addFocusListener” to the internal frame but it didn’t work. Multiple workspace (internal frame) can be …

Software Development java java-swing
Member Avatar for H.Roger
0
242
Member Avatar for asm2hex

Hello, So lately, I've been coming across this issue of mine and can't seem to find a solid way around this problem. My problem is due to the fact I'm using MYSQL C connector library. And, Attempting to gain all the Row's from my database and store them in a …

Software Development c mysql
Member Avatar for Murtan
0
128
Member Avatar for Alibeg

Hi guys. I have a question - searched for it for at least an hour (i think more, but nevermind). I have this piece of code: [code=C++] cout << word.getLastWord() << "<---" << '\n'; [/code] It is supposed to call getLastWord method of class called Extract. Method returns a pointer …

Software Development c++
Member Avatar for Alibeg
0
234
Member Avatar for tqmd1

Dear Experts I use following codes to diplay data in combobox str = "SELECT sno,name,city FROM employees" cmd = New SqlClient.SqlCommand(str, con) da = New SqlClient.SqlDataAdapter(cmd) dt = New DataTable da.Fill(dt) With ComboBox1 .DataSource = dt .DisplayMember = "name" .ValueMember = "sno" .SelectedIndex = 0 End With Table has three …

Software Development vb.net
Member Avatar for thecoat
0
134
Member Avatar for pyguy420

Im trying to write a code for a colour picker, so a user can pick 4 different colours and then it would return them so i can use them in a different par tof the program, but its not working properly and i can work out why. any ideas? [CODE]def …

Software Development python
Member Avatar for woooee
0
114
Member Avatar for Alibeg

I guess i'm missing something basic, but i'm new to C++ and do not know how do these streams behave. Can someone please explain why no text is printed to the screen in the following example: [code=C++] #include <iostream> using namespace std; int main (void) { char *ptr = NULL; …

Software Development c++
Member Avatar for Alibeg
0
163
Member Avatar for Karthika_g

Hi, I want to display a particular row of a text file and delete a particular row using C by having account no. as reference.. Can anyone help me in this. Sample.Txt: 1234567890 James 24 50000 1234567891 Allen 32 46500 1234567892 Robert 41 13600 1234567893 Smith 29 49000 Thanks in …

Software Development c display
Member Avatar for Karthika_g
0
140
Member Avatar for michelle1

Hello there, Is there a library in C which provides a way to defines planes, lines and points as well as vectors. And is also then able to find the intersections of these? I'm not familiar with C at all and am not too sure where to begin searching for …

Software Development c engineering
Member Avatar for michelle1
0
89
Member Avatar for su-moose

Hello.. This is my first time posting here, and I'm hoping I can find some help I have missed about a week and some of my programming class, and I am very behind. I haven't been able to figure these out on my own. I need to write a practice …

Software Development pascal
Member Avatar for FlamingClaw
0
98
Member Avatar for Damon88

I have a component which hooks up with the paint event of assigned control and draws on its surface, Whenever i make any changes to the component i need to resize the form or control at design time in order to see the changes. I want to ask if there …

Software Development vb.net visual-studio web-design
Member Avatar for Damon88
0
2K
Member Avatar for girl.java

hello can anyone help me with this [CODE] import javax.swing.*; public class Q6 { public static void main ( String args [] ) { int nv,np,ns,nc; int c=0 , v=0 , p=0 , s=0; String input = JOptionPane.showInputDialog(null,"please Enter the statement") ; for (int i=0; i<input.length ( ); i++) { …

Software Development java java-swing
Member Avatar for tux4life
0
98
Member Avatar for ramkinkarpandey

Is there any way by which i can get HTTP Response code out of Exception. Actually i need to take few action based on Http Code 403 (Server busy). Thanks for any kind of help.

Software Development http-protocol
Member Avatar for sknake
0
146
Member Avatar for spxChrome

I been at this for to long so I will give somebody else a shot at this. I have a text box that has a string in it that I will use for a SQL statement. Under the text box I have two trackbar controls. I want to be able …

Software Development vb.net
Member Avatar for spxChrome
0
105
Member Avatar for lewashby

In the program below, I have two questions. First, the first object, card1 passes the strings A & c to it's master class. What I want to know is, what do these two strings have to do with the A & c in RANKS & SUITS? If the class had …

Software Development python
Member Avatar for woooee
0
100
Member Avatar for samsons17

hi... i want to ask about my receipt program again.. this time ,i really like to know the ways how to clear the informations after the user has entered those informations that are neede by the program.. For example,take a look at this sample output : -------------------------------------------------------------------------------------- CASH RECEIPT PROGRAM …

Software Development c++
Member Avatar for DarkC0de
0
142
Member Avatar for Deepak.G

Hi everyone... Im starting c sharp scripting today and i wanted to write a script using which i can open the notepad application and write a string into it... This is my code... [CODE] using System; using System.IO; using System.Diagnostics; using System.ComponentModel; namespace Process_StandardInput_Sample { class StandardInputTest { static void …

Software Development
Member Avatar for sknake
0
645
Member Avatar for bords

what is the syntax of delay (suspending for some seconds) in vc#? like in c, ur just going to do in this way: delay(100000);

Software Development c#
Member Avatar for ykel
0
80
Member Avatar for basslover

Hi.. right now i'm doing hangman project, and i have some problem to deal with. As you know, hangman game consist of many letters button (A,B,C,D,....Z), and usually when the user click a button, it became disable. I already know how to disable it, which is [code] private void btnQ_Click(object …

Software Development gui
Member Avatar for basslover
0
135
Member Avatar for swillywilly

Hello I have just purchased a book on Macros made easy and what I were looking for isn't available But here is what I want to do; I want to use a Macro to name a file in the following format; yyyy-mm-dd_filename_author Basically I run a Information Management System and …

Software Development visual-basic
Member Avatar for cguan_77
0
73
Member Avatar for tomqsm

Well, this is 7th edition of this excellent book and someone should have already highlighted that when a filter of DocumentFilter class works 1) replace() is called most of the time on user’s interaction with e.g. text field, not just when ‘text is selected and replaced’ but also on regular …

Software Development java
Member Avatar for tomqsm
0
109
Member Avatar for ryno365

Hello daniweb. Recently, I did a c# project that my boss wants an installer for. Having looked at a tutorial, I threw together an installer that gets the job done. However, since the project I am working on is going to be a windows service (root is windows\system32), I'm trying …

Software Development visual-studio
0
60
Member Avatar for rsaska

Hello, I am using Visual Studio 2008 to program in C++. My program needs to read in a line, break it into two strings. It seems that the String Toolkit Library (StrTk) ([url]http://www.partow.net/programming/strtk/index.html[/url]) will enable this. However, I am unable to figure out how to physically add the library files …

Software Development c++ visual-studio
Member Avatar for rsaska
0
166
Member Avatar for tgreer

For one of my customers, I have to develop applications that communicate with each other via fixed-width files. In other words, they have developed a file format that is "generic" to a lot of operations. If I write a new utility, it is expected that the utility will be able …

Software Development
Member Avatar for Geekitygeek
0
276
Member Avatar for Nithya.S

Hi, Am new to VB. Can anyone tell me the code to import data from a DB table and display it in a farpoint spread control 3.0??? VB6.0 code is reqd., thanks in advance.

Software Development visual-basic
Member Avatar for ratheeshpranava
0
1K
Member Avatar for gbrunete

Hi everyone, My application is querying data about positions of "things" in a building. I have an image map and i overlay the icons of this things over the map. Everything ok until suddently the Invalidate() method of Picturebox stopped working. It does not raise the picturebox_Paint event. Neither Update() …

Software Development
Member Avatar for gbrunete
0
121
Member Avatar for sandipdandel

i want 2 create mobile phone application in java pls help with code an all info thanks

Software Development java
Member Avatar for harsh2327
0
84
Member Avatar for emint

Helo every one. i m workin with jlist and i got several items in jlist i want to store this items into txt file and read it later. is it possible to do it? any help will be apprict. hop i explained wel ... thx

Software Development java
Member Avatar for BestJewSinceJC
0
845
Member Avatar for BobFX

I have a very basic problem, which answer is not covered in the 1200 pages of the C++ book I'm using to teach myself. Consider this simple code: [code]#include "stdafx.h" using namespace System; class EventListener { long mRef; public: EventListener() { mRef = 0; } }; int main(array<System::String ^> ^args) …

Software Development c++ visual-basic visual-studio
Member Avatar for BobFX
0
131

The End.