132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for krisfr

Looking for some basic direction in development of a "State" based database navigation system to be made in to a plug in for C# or C++ and or VB, have good example from the VB 6.0 book by Connell. Maybe to make a tutorial for it too.

Software Development c c# c++
Member Avatar for Ramy Mahrous
0
56
Member Avatar for Pokenerd

Hi - I'm writing a program the changes what you cut and paste. One problem is that it doesn't delete the text you cut... This is the function i'm using to delete text.. [code=csharp] //Deleting selected text public string deleteSelected() { string ret = ""; string str = textBox1.Text; MessageBox.Show(str); …

Software Development
Member Avatar for Ancient Dragon
0
93
Member Avatar for JerezFinest

I am trying to complete one of my assignments and it requires me to accumulate test score data: Operation is : The user enters a score and clicks the Add button or presses the Enter key. The application calculates and displays the score total, score count, and average score. If …

Software Development
Member Avatar for ddanbe
0
586
Member Avatar for nanchuangyeyu

Hi, My coding objective is quite simple: design a function to write the data in a matrix into files. And here is my code: [CODE] #include <iostream> #include <fstream> #include <string> using namespace std; int matwrite(float* mp,int row_sz,int col_sz,string mat_file); int main() { // create a simple binary file first …

Software Development c++ ios objective-c
Member Avatar for Ancient Dragon
0
189
Member Avatar for AirGear

can we compile b.cpp by running a.cpp? i have koolplot project to draw plot. this plot should appear in the middle of the program, and if the plot is closed, the whole program terminates immadiately. To avoid that, i tried to make 2 cpp files. One for the main, and …

Software Development c++
Member Avatar for AirGear
0
420
Member Avatar for C++ Obliviator

Hi! I'm working on a project and need a way to add a newline to the input stream, by code and not by user's help. The user should not need to do anything, I need a simple line of code that places a newline in the input stream, but I …

Software Development c++
Member Avatar for C++ Obliviator
0
140
Member Avatar for funjoke88

1. Write an iterative and a recursive version of the Fibonacci series algorithm. You need to ensure the correctness of the both algorithms. Both algorithms should produce similar output if given a similar input. a. Measure the performance of the two algorithms by measuring the time for both algorithms to …

Software Development algorithm c++
Member Avatar for NathanOliver
0
470
Member Avatar for JohnPhilipps

Good evening, I have the need to learn how to make a picture jigsaw with java. I have been looking for hours on the web for some kind of tutorial, source code example, something anything and I haven't been successfull in finding something I could work with. Would somebody have …

Software Development java
Member Avatar for JohnPhilipps
0
546
Member Avatar for NimaJ

I am a newbie to this forum, and this is actually my first post. I am looking for a way to get the object of the currently running thread in boost. To make this short, consider a case in which one wants to implement a semaphor or a condition variable. …

Software Development c++ queue
Member Avatar for NimaJ
0
134
Member Avatar for Heftiger

I'm in the process of writing my first python program with a GUI just as practice. I have two listboxes that are packed in the same frame so they are side by side. I have one scroll bar and would like that one scrollbar to move both listboxes simultaneously since …

Software Development gui python tkinter
Member Avatar for Ene Uran
0
2K
Member Avatar for adam291086

i currently have this nested list [[u'Alice Mee', 3], [u'Alice Mee', 4], [u'adam plowman', 1], [u'james pirret', 2]] I need to remove the last number from each list so i have something like [[u'Alice Mee'], [u'Alice Mee'], [u'adam plowman'], [u'james pirret']] the list is populated dynamically and will always change …

Software Development python
Member Avatar for adam291086
0
122
Member Avatar for sonia sardana

I want to get random numbers between 0 to 100..But i do not want the random number to be repeated. [code] Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim objRand As New Random objRand.Next(0, 100) End Sub [/code] Suppose first time random numb generated is …

Software Development vb.net
Member Avatar for sonia sardana
0
254
Member Avatar for heroic

Hello, i am trying to create gmail like alerts in visual c++ which will show information fetched from a php file on the internet, and will be able to send the current;y playing song to the php script... any help is really welcome!

Software Development c++
Member Avatar for heroic
0
106
Member Avatar for peter_budo

I'm back to start again with GBL. Application start-up layout is as desired. However as soon as I draw upon "main page view panel" with paintComponent() page view panel does overlay thumbnail panel on the left. [attach]10801[/attach] Code for main panel to group up 3 main components [code=Java]public class RottrMainPanel …

Software Development java
Member Avatar for peter_budo
0
159
Member Avatar for MonicaClare

Hi to all programmers.. i have a problem about this code .. i don't know what to do to this code.. i change a lot of code .. but always appear the error "illegal start of expression" .. I'm a newbie in Java.. please help me in this case.. thanks.. …

Software Development java java-swing
Member Avatar for llemes4011
0
179
Member Avatar for teonghan

Hi all, I have been trying to create a Python program to connect to a serial port and read data from it. There will be a circuit sending the data through the port to PC and the Python program suppose to read and process the data. The data is continuous. …

Software Development python
Member Avatar for scru
0
2K
Member Avatar for llemes4011

Hi. I have some data that I need to store in a file, and (for simplicity's sake) I was considering using bitwise operators to pack it all into a single hex or dec number. I've never user bitwise operators, as they really confuse me. If anyone has any pointers and …

Software Development java
Member Avatar for llemes4011
0
481
Member Avatar for vuchko

Hi, I have a problem repainting Jpanel. I wrote a simple code just to check whether it works, but notnihg is happening. Function initPanelAnswer should initialize answer panel with some image, but I wanted to make it more simply. So, according to my logic, this should print out "Paint Component", …

Software Development java
Member Avatar for vuchko
0
694
Member Avatar for makdu

Hi everyone. I am trying to use MScomm in vb6 throught Modem. There are two computers , both are connected through dial up modem. I want to send a file from first computer to the other. First Computer dials second computer to make connection. I am able to get a …

Software Development file-stream vb.net
0
174
Member Avatar for Pauliuw

Hello, i where making a game, and i needed a vector that holds class objects, i do the thing (below), and i thing i did it right, but it seems not and i dont know whats wrong :( [code]#include <iostream> #include <vector> #include <string> using namespace std; class Races { …

Software Development c++
Member Avatar for Pauliuw
0
4K
Member Avatar for nirav99

I made a program... now i have to put one validation. "while program is executed, if i press "Esc" button (hardly situated in top-left corner) i will be out of my program, means its exicutation directly takes end." i tried by taking its ASCII value but i requires also ENTER …

Software Development c++
Member Avatar for tux4life
0
157
Member Avatar for hjdaniel.sun

Hi I used the Data Source Configuration Wizard to connect to my access database, how do I write code to manipulate the data from the database? I read the book "Microsoft Visual Basic 208 step by step", it only teaches how to display data on the form. So how do …

Software Development microsoft-access vb.net visual-basic
Member Avatar for hjdaniel.sun
0
171
Member Avatar for TrintiyNoe

Is there a way to use one type of iterator for another? like vector<int> iterator to vector<string> iterator,also any way iterator can be used like a interger?? coz i wanna do some mathematical manipulations on an iterator.coz i cant,i use a variable [CODE] int i;int ss=string.size() for(int i=0;i<ss;++i)[/CODE] but i …

Software Development c++
Member Avatar for praveenraj1987
0
75
Member Avatar for DNDSH

Really i need help to complete my program but i don't know how to fix the errors .. the program is about 2 Dimensional Arrays matrix operations i wrote the whole program but there is some mistakes plz i need help to finish it im too confused !! [ICODE] #include …

Software Development c++
Member Avatar for Salem
0
131
Member Avatar for Pokenerd

Hello! I'm trying to use code to write to a text box - I know my strings are valid and that the function I'm using to generate them works, because I can successfully display them in a pop-up. Now I want to insert my string into a textbox at the …

Software Development
Member Avatar for Pokenerd
0
126
Member Avatar for sivak

can anyone explain me SSL uses along with https in c# .net (with coding example)

Software Development
Member Avatar for sknake
0
695
Member Avatar for BlackJackVr

Hello, i'm developing a simple assembly (AT&T) program as exercise in preparation of an exam and i have a problem: I need to pass 4 return values of a function using the stack. I know that after the "call", %esp points to the return address that will be used from …

Software Development assembly
Member Avatar for NotNull
0
151
Member Avatar for SpiritGeek

I'm making a simple wxPython app on win32 that does a number of calls to external binaries. Everything works fine, except the GUI doesn't update well while the external process is running. This makes for an ugly window and non-updated status StaticTexts, so I'd like to fix it. Window . …

Software Development gui python
Member Avatar for SpiritGeek
0
614
Member Avatar for sfgal

As you can tell....I am a beginner.... Please help me get past this problem. I am not sure how to compare strings for equal signs. I am at a brick wall. I have some unsorted albums with the name of the album, release date, CD Number and unsorted songs. I …

Software Development c++
Member Avatar for Ancient Dragon
0
91
Member Avatar for mediachicken

Is there a way to get all the arguments and put them in one string? I'm very new to C++, so I need all the help I can get. Here's what I have here: [CODE]#include <iostream> using namespace std; int main(int argc, char* argv[]) { cout << "argc = " …

Software Development c++
Member Avatar for Ancient Dragon
0
141
Member Avatar for GlueMan

Hello everybody. I have got a problem installing (or using) clonedigger. 1- I installed setuptools without any problem : Because i am using Python 2.6, I downloaded "setuptools-0.6c9.tar.gz" and "setuptools-0.6c9-py2.6.egg" and I ran "python ez_setup.py setuptools-0.6c9-py2.6.egg". Everything went ok. 2- But when I run "easy_install -U clonedigger", here is what …

Software Development python
Member Avatar for GlueMan
0
257
Member Avatar for juliusceasar

I am designing a pocketpc app to manage service delivery at restaurants. I have designed the interface of the app and defined the schema of the database using a Microsoft SQL Server Compact 3.5 database file. I cannot figure out how to interact with this file tho, I'm using vb …

Software Development microsoft-access vb.net
Member Avatar for juliusceasar
0
89
Member Avatar for doublebond

Hi all, I have a problem with my code. Please help me. I am trying to create multiple files based on the input file and read its respective data only. Thread_id: 1 Data_block_size: 64 Request_commmand_type: ReadReq Packet_block_Address: 8184256 PC_value: 4831838656 Tick_of_the_data: 14000 Packet_transfers_through_Bus_name: system.toL2Bus Is_Instruction: 0 Is_Data: 0 Data_Read: 0 …

Software Development c++ file-stream
Member Avatar for Ancient Dragon
0
489
Member Avatar for NathanOliver

Hi all. i am writing a simple log in program and i would like to have a class for users that stores the user name and the password as strings. after i have a user created i would like to output the class with the ios::binary flag set and store …

Software Development c++ ios
Member Avatar for NathanOliver
0
387
Member Avatar for mshafi

I tried to compile a code written in C which had included the file "graphics.h".It worked fine in my desktop PC which had a VGA monitor.But when i tried to run the same code in my laptop,it showed some graphics error. why is it like this?fG

Software Development c
Member Avatar for dng
0
450
Member Avatar for rizillion

Hi!, I have created a user inteface named "helpGUI". This user interface contains a JTextArea. I also have created a text file named "help.txt". I need to show the "help.txt" file in the JTextArea. As I'm new to JAVA I have no idea how to do this. Given below is …

Software Development java java-swing user-interface
Member Avatar for peter_budo
0
751
Member Avatar for TheSwagger

Working on another c++ assignment and I need to make an input of "X" function as an end to the program without using an exit() command. Just want to know the easiest way to make that happen. Thanks for the help. [code=CPP] #include <iostream> #include <string> using namespace std; int …

Software Development c++
Member Avatar for TheSwagger
0
65
Member Avatar for poncho4all

Well I have a doubt about where can I find some examples about this funcion, I need to use it on a program. Any ideas are welcome xD

Software Development c++
Member Avatar for poncho4all
0
120
Member Avatar for samanaonline

hi. at first: i'm sorry for my poor english. i want to Convert a string into a varibale like these: dim a as string="this text must be show" dim b as string="a" 'in my application b's value read from an excel sheet and must point to a variable that exist …

Software Development vb.net
Member Avatar for samanaonline
0
632
Member Avatar for Pokenerd

Hello again, I'm trying to create a text field that only accepts numbers, a single decimal, and a dash (for negatives) but only as the first character. I have conquered everything except for pasting, and have no idea on where to begin. Below is the current code (working!) code that …

Software Development regex
Member Avatar for Pokenerd
0
138
Member Avatar for akulkarni

i wish to print sll the combinations of digits of a number eg 123 gives 321 132 231 132.... [code] class numbers { public static void main(String args[]) { int num=123; int x=num%10; int y=num/10; int z=100*x+y; System.out.println(z); } } [/code] this is all my brain is letting me to …

Software Development java
Member Avatar for JamesCherrill
0
114
Member Avatar for SpiritGeek

I'm taking a stab at multiprocessing and I need one process to tell the other to run a given function. On the receiving end, I'm trying to figure out how to interpret the message it gets. I could set up a big nest of if/elif to test for every possible …

Software Development python
Member Avatar for SpiritGeek
0
120
Member Avatar for theausum

I want to make sniffer in C++.So can anybody help me out by providing codes??

Software Development c++
Member Avatar for suvirj
0
151
Member Avatar for Cloneminds

For some reason, my numbers aren't adding in correctly and it's taking the -1 sentinel value and adding it into the total. [code=C++] // worthless testing.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> using std::cout; using std::cin; using std::endl; int main() { int …

Software Development c++
Member Avatar for siddhant3s
0
122
Member Avatar for JohnPhilipps

Good morning, I have been trying to research the net on the subject of "how to set a folder view utilizing a VB.form button", I've found references to the "IFolderView : SetCurrentViewMode Method", but no concrete examples I could work with. I haven't been able to find what I need …

Software Development vb.net
Member Avatar for JohnPhilipps
0
137
Member Avatar for sotvisal

import java.util.*; class Array { Scanner in() { return new Scanner(System.in); } void out(String n) { System.out.print(n); } int[] getarray(int n) { int a[]=new int[n]; for(int i=0;i<a.length;i++) { out("Enter A["+i+"]: "); a[i]=in().nextInt(); } return a; } void showarray(int[] a) { for(int c:a) out("Array: " +c); out("\n"); } void sortinc(int[] a,int …

Software Development java
Member Avatar for zeeven
0
118
Member Avatar for turbomen

Dear Sir, It is a simple example using a string. [code] program dowhile; {$APPTYPE CONSOLE} uses SysUtils, OurCrt; var my_words : string; begin my_words := ''; writeln('Enter some words (type "stop" to finish):'); readln(my_words); while (my_words <> 'stop') do begin clrscr; Writeln('You typed:'); writeln(my_words); writeln; writeln('Enter some words (type "stop" …

Software Development pascal
Member Avatar for turbomen
0
128
Member Avatar for tanvi bahl

hi, i want to connect two machines using C# as peer to peer connection so that teh files are shared with privacy.. through ther Ip addresses how do i do it plz help

Software Development peer-to-peer
Member Avatar for sknake
0
89
Member Avatar for fromb

I had a hard drive crash and stupid me haven't made backups for at least a year. I had several projects for which I used Delphi 5 and have lost all the code. Is there any way of getting the code back by un compiling the exe file?

Software Development delphi hard-drive pascal
Member Avatar for Duoas
0
157
Member Avatar for akulkarni

[code] i want a program which asks the user to type the password. If he goes wrong three times exit.this is my code import java.io.*; class password1 { public static void main(String args[])throws Exception { String pass="samarth"; boolean flag=false; BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String [] password=new String[20]; int i; for(i=0;i<3;i++) …

Software Development java
Member Avatar for tux4life
0
294

The End.