132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for moonL!ght

hellow every one im facing problem in my coad wich i tried to understand what is the mistake of my symantic but no progress..... this is the code [CODE] private static void NNA(ArrayList<triple> Graph,String GoalN) { ArrayList<triple> vp= new ArrayList<triple>(100); int index=0;// the index of the nodes in the visited …

Software Development java
Member Avatar for JamesCherrill
0
268
Member Avatar for wael meto

Bonjour a tous, i have a very strang proplem it made me mad , i have antyped dataset and simlpy want to update a record by using dataadapter but the aupdate method affect only ONE Item here is the code : [CODE]Dim cb3 As New OleDb.OleDbCommandBuilder(da3) DSBANQUE.Tables("BANQUES").Rows(INC2).Item(0) = BANQREB.Text DSBANQUE.Tables("BANQUES").Rows(INC2).Item(1) …

Software Development dataset vb.net
Member Avatar for wael meto
0
102
Member Avatar for matejkralik

I use button for by clicking it to delete one row in the DataGridView. This is the code: DataGridView.Rows.RemoveAt(DataGridView.CurrentCell.RowIndex); I use xml file as the source of dataset which is sourcedata of the DataGridView. It makes problems when I [B]delete last row[/B]. What can I do? pls, help

Software Development dataset xml
Member Avatar for shibin09
0
2K
Member Avatar for srm2010

I am working with crystal report in winform with C# using vs2008.I have one crystalreportviewer control and two reportdocument control that is associated with two seperate rpt file that loads different table. On windows form I have checkboxes as per their selection, table from .rpt file is getting displayed in …

Software Development
Member Avatar for srm2010
0
141
Member Avatar for ozzyx123

hi everyone i am currently building a program which logs into an email, extracts information like the date, sender, subject, number of copies, and takes any attachments and puts them into a directory, than takes the number of pages of the pdf. i have already built a program which does …

Software Development office-suite pdf python
Member Avatar for peter_budo
0
658
Member Avatar for python_adz

hello everybody, please guide me how to make the communication between two systems so as to transmit the message, using C programming language. thanks

Software Development c
Member Avatar for python_adz
0
161
Member Avatar for arathy nair

Hi all, I have a situation where am using String conditions(say if(name.equalsIgnoreCase(Arathy)). I want to replace this if-else loop with Switch cases..What way i can do to accomplish this?

Software Development java programming-construct
Member Avatar for ~s.o.s~
0
162
Member Avatar for dennysimon

hello all what is the meaning of : "Value@a90653" I just try to print a variable but the result is "Value@a90653" thank you denny

Software Development java
Member Avatar for dennysimon
0
148
Member Avatar for arsheena.alam

Hi Friends!! I am coming across this problem that whenever I am trying to retrieve the data in a dataset through SQLDataAdapter and Dataset, it is taking around 10 min to get the data on the localhost. And when I am running the same code on the live server it …

Software Development dataset
Member Avatar for arsheena.alam
0
288
Member Avatar for tristanbacon

Hi everyone, I am currently working on a small program that helps users create Quests for use with our open source MMO and Virtual World Platform. I want to be able to put entries from the form attached to this post (questcreator_screen.jpg), into something similar to the below Python code: …

Software Development gaming gui open-source
Member Avatar for skatamatic
0
219
Member Avatar for game4tress

I need to create an application (or find one application) that copies files from a computer to another, across the internet to create automatic backups. The target computer is a company server to which i have phisical access. The "source" computer(s) (several computers in several clients, that we - company, …

Software Development asp.net vb.net visual-basic
Member Avatar for ninjatalon
0
1K
Member Avatar for jnmisa

hello, I am a new learner of C#, I will like to know Which way is the best to learn, Either to use Microsoft Visual C# or Notepad? The book am using to learn make use of Microsoft Visual C#, and Also Please what is the Different between C, C# …

Software Development c visual-studio
Member Avatar for jussij
0
157
Member Avatar for shibin09

i create an applicaton in c# now i want to make a 1 clicksetup file that includes windows installer,ms sql server 2005 and ,netframewok. Sql server should be automatically configured to sql server authentication mode with a new user name raj and password 123. Plz help me guys

Software Development c c# c++
Member Avatar for sknake
0
187
Member Avatar for aldrin_ison1

Hi! I'm new to C and I'm having some problems in my program. It opens a .txt file then copies this to another .txt file but replaces a certain word with another word. It uses command line arguments. Example: //inside text.txt love is patient love is kind ... ./change love …

Software Development c file-system
Member Avatar for histrungalot
0
461
Member Avatar for PureHashIsh

I am trying to write a function that compares two text files (test1.txt and test2.txt) word by word, the function is supposed to print "files are equal", "files differ: word %d" (if word 13 then past 12 words were equal), and "EOF on [filename]" (the files were equal word by …

Software Development c
Member Avatar for PureHashIsh
0
2K
Member Avatar for Denden17

Any1 here i just need help regarding my System. In Log In Form. I need to be able to terminate/locked the account in vb.net if the user input wrong username/password in my Log In form like 3 attempts is good. and be able to enabled the account also as an …

Software Development microsoft-access vb.net
Member Avatar for Denden17
0
2K
Member Avatar for BillyD282

I am receiving the following error messages and I can't figure out why, I'm guessing there's just some syntax rule or something I am just unaware of... there errors are: error LNK2019: unresolved external symbol "void __cdecl validateWidgets(int &)" (?validateWidgets@@YAXAAH@Z) referenced in function "void __cdecl manager(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" …

Software Development c++ seo
Member Avatar for MandrewP
0
440
Member Avatar for triumphost

How can I make my DLL constantly check for hotkeys but without affecting other functions in it? If I put a loop, it will not be able to get any other calls to functions.. Do I create a thread and pass my functions to the thread upon attachment? My silly …

Software Development c++
Member Avatar for LdaXy
0
248
Member Avatar for java_programmer

I was trying to run a shell script and run it through Cygwin terminal in XP environment. The script I have written is as follows - [CODE]#!/bin/bash read -p "Enter Your name - " fname if test "$fname" == "abcd" then echo "Thank you abcd" fi[/CODE] When I am trying …

Software Development shell-scripting
Member Avatar for java_programmer
0
695
Member Avatar for triumphost

I'm trying to convert this (Pascal) to C++.. My attempt is below this.. [CODE] function CompressString(const Str: string): string; var Destlen:longword; begin result := ''; Destlen :=BufferLen; if length(str) < 1 then exit; if compress(BufferString,destlen,PChar(Str),length(str)) = Z_OK then begin setlength(result,Destlen + SizeOf(Integer)); PInteger(@result[1])^ := Length(str); Move(bufferstring[0],result[5],Destlen); end; end; [/CODE] [CODE] …

Software Development c++ pascal
0
82
Member Avatar for gozo12

in form1 there is a checkbox witch when you click , it will save checked value in xml file in splash screen its has a label1.text = "welcome " what i want is ,when splashscreen loading up check if settings of form1.checkbox1.checked if true then do [splashscreen] me.text ="your not …

Software Development vb.net
Member Avatar for austinp1
0
234
Member Avatar for lfmconsummates

So this program is supposed to take a letter the user wants to replace, and store that in a dictionary. At the end, it asks the user to enter a message and it's supposed to decode it, cross-referencing the dictionary and replacing any letters within it to the newly assigned …

Software Development python
Member Avatar for lfmconsummates
0
188
Member Avatar for crag0

I need to write a script that will check a file and find out what type of file it is. The files I am downloading none of them have extensions and some are binary others txt and html files. I only want to work with the binary files. If anyone …

Software Development python
Member Avatar for TrustyTony
0
180
Member Avatar for PutingPanday

I have this code where I get the tree view of a table in access database.. what I want is ..I want to add nodes on each base on it's ID... this is the table [CODE] ID Name ID_Menu 1 pet 2 me 1[/CODE] and the treeview's output will be …

Software Development vb.net
Member Avatar for Reverend Jim
0
134
Member Avatar for tabish saroha

Dear All, I am writing the following code but I am facing some problem. public void actionPerformed(ActionEvent ae) { if (ae.getSource()==connect) { JOptionPane.showMessageDialog(null, "Connection Estabilished"); } else if (ae.getSource()==disconnect) { JOptionPane.showMessageDialog(null, "Connection Disconnect"); } } When I Write this code, compiler compile this code but does not show messagebox when …

Software Development java
Member Avatar for NormR1
0
132
Member Avatar for Labdabeta

I recently looked at [URL="http://www.songho.ca/opengl/gl_vbo.html"]this[/URL] description of VBOs and a sample implementation of them. When I ran the executable, it was significantly faster with no VBOs than with them. I don't understand why it should be slower with the VBOs than without. Can anybody explain why?

Software Development c++ opengl
Member Avatar for raptr_dflo
0
331
Member Avatar for triumphost

My code is: [CODE] #include <windows.h> #include <iostream> using namespace std; struct ReplacementFlags { public: bool rfReplaceAll, rfIgnoreCase; ReplacementFlags(bool ReplaceAll = false, bool IgnoreCase = false) : rfReplaceAll(ReplaceAll), rfIgnoreCase(IgnoreCase) {} ~ReplacementFlags() {} ReplacementFlags& operator ()(bool ReplaceAll = false, bool IgnoreCase = false) { if((rfReplaceAll != ReplaceAll) && (rfIgnoreCase != IgnoreCase)) …

Software Development c++
Member Avatar for triumphost
0
208
Member Avatar for DelphiGuy

I'm working with this rather popular DrawDisk procedure which pretty much anti-aliases a circle and draws it, filling it and the background in the process. At the moment the procedure call only lets you modify the background color of the WHOLE canvas and the fill color of the line. Have …

Software Development pascal
Member Avatar for DelphiGuy
0
226
Member Avatar for TheWind147

Hello! Below is a function exhibiting a simple stopwatch mechanism. It stops when the user presses any key and goes back to the main menu. My question is, is there anyway I can pause the time and continue it as desired by the user? I would like to use "P" …

Software Development c++
Member Avatar for WaltP
0
3K
Member Avatar for moe0

Hello I'm using SELECT CASE statement for age cases but I've two inputs years and months [CODE]Case 0 To 1 MS_lbl_category.Text = CStr("infant") Case 1 To 2 MS_lbl_category.Text = CStr("toddlerI") …

Software Development visual-basic
Member Avatar for skatamatic
0
304
Member Avatar for nuclear

Example code: [CODE]HWND CreateButton(const HWND hParent,const HINSTANCE hInst,DWORD dwStyle, const RECT& rc,const int id,const ustring& caption) { dwStyle|=WS_CHILD|WS_VISIBLE; return CreateWindowEx(0, _T("button"), caption.c_str(), dwStyle, rc.left, rc.top, rc.right, rc.bottom, hParent, reinterpret_cast<HMENU>(static_cast<INT_PTR>(id)), hInst, 0); }[/CODE] The part I dont get is: [CODE]dwStyle|=WS_CHILD|WS_VISIBLE;[/CODE] So the question would be why do we use '|' and …

Software Development c++
Member Avatar for VernonDozier
0
245
Member Avatar for hughesadam_87

Hey guys, I've looked over several Google results for basic explanations on [CODE]is / '=='[/CODE] However, I don't think I quite understand enough to know what is the ideal operator for this. [CODE]mylist=[1,2,3] if type(mylist) == list: print 'yes'[/CODE] or do I use [CODE] if type(mylise) is list: print 'yes'[/CODE] …

Software Development python
Member Avatar for Gribouillis
0
166
Member Avatar for rampletero

hello this is my first time posting so sorry if I make any errors, im currently trying to ad a sliding movement to a tile game im trying to do, the tiles currently move but they move in a jumping motion, ive been trying to use the coordintes of the …

Software Development gui java java-swing legal
Member Avatar for rampletero
0
130
Member Avatar for nakresimin

is it possible to empty all the tables in the database without dropping them with shell script? if yes could you please show me? thank you

Software Development shell-scripting
Member Avatar for JeoSaurus
0
85
Member Avatar for xopenex

Hi guys, still Noob here, so i apologize for not using the correct terminology. I will be as detailed and accurate as possible! I've been using QT Designer, and been trying to figure out how to "combine" the GUI ive created with the python script I wrote before making a …

Software Development app-store gui python qt
Member Avatar for HiHe
0
2K
Member Avatar for tj104

hey what's up guys, I'm writing some C++ code used to do math operations on polynomials that are contained in a input file. Right now I'm stuck on the actual streaming in of the files. The .txt input file is in the format as follows 1 1 2 2 3 …

Software Development c++ file-stream
Member Avatar for Lerner
0
148
Member Avatar for alanso

hey guys can u help me to solve this program have to do 4 function , call the following functions by passing the array: (i) A function to input all information. (ii) A function to calculate the average score for each student and the average score for the class. Find …

Software Development c++
Member Avatar for Lerner
0
112
Member Avatar for Programmer!!!

Hi! I'm writing a program in C++ where the user is asked to enter a list of ten names and cities of residence in the format <firstname> <Surname> <city>. I then have to sort the list by city and then in each city group alphabetically by name, using Bubblesort. I'm …

Software Development c++ programming-construct
Member Avatar for Damian Dalton
0
198
Member Avatar for AdamLad3

Hi, I'm writing a program in C++ to ask the user for a list of ten names and cities of residence in the format <firstname> <Surname> <city>. The amount of spaces between each doesn't matter as I will be using isspace. then i have to sort the list by city …

Software Development c++ programming-construct
Member Avatar for Damian Dalton
0
1K
Member Avatar for bluealein56

Im creating a calculator that allows users to enter their own Loan Amount, then choose whether to input their own Loan Interest and Monthly Loan Terms, or to choose between a set of predefined loan terms and interest rate in a GUI. So far I have been successful in creating …

Software Development gui java java-swing oracle user-interface
Member Avatar for NormR1
0
252
Member Avatar for chall77

Hello, I'm new to python and have a requirement to decompress various NRV2B compressed files. I have the python functions for performing this decompression, however I am unsure how to get it working. I have tried making this a module, importing it and then feeding my compressed files as a …

Software Development python
Member Avatar for britanicus
0
280
Member Avatar for AJkiter

Ok so me and my friend are doing a weekend challenge... Whoever makes the best game wins. Im trying to make a game like farmville but its called mineville and its just a little different. My problem is that theres this part in the code that keeps repeating, and i …

Software Development python
Member Avatar for AJkiter
0
1K
Member Avatar for nicewave

Could someone tell me how to print the code for the whole project? If possible with line # too. Thanks in advance.

Software Development
Member Avatar for skatamatic
0
90
Member Avatar for Steve2490

Ive created a memory game which has a grid of JButtons, when the button is clicked it changes the ImageIcon background to an animation which shows the front of the card. The problem is that when the button is clicked, the gif doesn't begin playing until the mouse is moved …

Software Development java
Member Avatar for mKorbel
0
815
Member Avatar for jackbauer24

Here is my code:- [CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * @author Administrator */ import javax.swing.*; import java.awt.event.*; import java.awt.event.*; import java.awt.*; public class MyQuiz { int score; JFrame frame; String[] questions = {"Who invented …

Software Development java java-swing
Member Avatar for stultuske
0
193
Member Avatar for animeocarl

can you help me with these a little problem of mine.. we are having a pair project where the program is all about enrollment system. in this program, we need to add a record, view, and search records. now. my problem is... i cannot add another record within this code... …

Software Development c++ seo
Member Avatar for Ancient Dragon
0
224
Member Avatar for floatingshed

When I run my python scripts I generally run with the console open just to keep an eye on things. I have a script that calls 3 external command line apps one after the other. On one pc all output from these apps appears in the console window and is …

Software Development python
Member Avatar for floatingshed
0
202
Member Avatar for fafa70

hi. i am trying to use two turtles in separate windows simultaneously in python but nothing found yet. i have tried multithreadding but still the same. can somebody help me please. thanks.

Software Development python
Member Avatar for fafa70
0
4K
Member Avatar for puddlejumper406

I have never taken a programing class before but my instuctor wants me to write a program in python i've been looking in the book and still don't even know where to start please any help would be great here's the program she wants You are helping your friend throw …

Software Development python
Member Avatar for puddlejumper406
0
119
Member Avatar for moroccanplaya

can anyone explain tkinter in object oriented style where you would have it in a class ?

Software Development python tkinter
Member Avatar for HiHe
0
93

The End.