43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for bhaskerlee

Hiiiiiiiii Can any one help me to find an idea for my final BTECH project. My project duration is 2 months and I decided to do it in C#.NET. I am preferring windows application......can any one help me............. Thanks in advance..........................

Software Development
Member Avatar for sknake
0
129
Member Avatar for tkud

hello, can somebody help me in learning file i/o in c++? i would be very grateful

Software Development c++ file-system
Member Avatar for dkalita
0
194
Member Avatar for jralexander137

I'm trying to take a string of a number i.e. 123456 of any size and then convert each int in the string to an int to be added to a linked list. I.E. read 1 convert to int then add to linked list, read 2 convert to int then add …

Software Development java linked-list
Member Avatar for BestJewSinceJC
0
121
Member Avatar for GibbsJeremyS

So I've been beating my head against a wall for the past few days trying to get this to work. I've tried countless samples from the net and even the MSDN sample. I just can't get it to work, Explorer NEVER seems to call my DLL. I recently created another …

Software Development visual-studio
Member Avatar for GibbsJeremyS
0
146
Member Avatar for adcodingmaster

i m making a messenger in linux. a command line application. here is a server and 2 clients.both the clients are connected to the server but not with each other. i want to connect those 2 clients with each other. i m the server. how can i do that? plz …

Software Development c socket-programming
Member Avatar for dkalita
-1
95
Member Avatar for MrNoob

well bascially here i started with K&R excerises with remove tabes and spaces i m not sure why my programs works in my head it does but even in puesdo code i did it does but arr[j] sometimes get intilised to values before [code] #include <stdio.h> #include <ctype.h> #define STOP …

Software Development c
Member Avatar for dkalita
-1
99
Member Avatar for khaos64

Ok, I'm pretty new to Python.... What I need to do is set up a couple tuples like so: [CODE]users = ('user1','user2','user3') passw = ('pass1','pass2','pass3')[/CODE] I then am asking the user for their username and password to compare to the tuples. The only way I could think to do that …

Software Development python
Member Avatar for khaos64
0
273
Member Avatar for Diamonddrake

I have been working on a custom Hue Slider, when you drag the knob the color of it changes to its hue value. (ex 0 is red). I added a little gloss to the knob, I feel its not done, I Just don't have any Ideas as to how to …

Software Development
Member Avatar for Diamonddrake
1
177
Member Avatar for Atove

Hi all; I'd be really grateful if someone could assist me with this problem. What i am trying to do is create a query that pulls information from two different tables: tblBooking and tblConcessions. tblBooking holds the ID number of tblConcessions as a ForeignKey. What i need within my statement …

Software Development listview vb.net
Member Avatar for TomW
0
116
Member Avatar for .11

Hey Guys, I am working on a BlackJack GUI, I have just about everything set up, and now I am working on generating the cards. I was doing some quick snippet test, to see if I can get it working. But no luck, I wanted to know if I can …

Software Development api gui image java
Member Avatar for .11
0
130
Member Avatar for MxDev

Hi guys, Is it necessary to use destructor in c# to terminate any created objects?? Thanks in advance

Software Development
Member Avatar for sknake
0
110
Member Avatar for frank.zappa

I'm working on a school assignment and I'm having trouble with radio buttons. I want something like this: [IMG]http://i43.photobucket.com/albums/e395/frank_zappa77/vb04f06.gif[/IMG] Where at least one radio button from each frame (in that example, the frames being 'Processor' and 'OS') can be selected. I've set up my application to look somewhat like this …

Software Development visual-basic
Member Avatar for frank.zappa
0
172
Member Avatar for TinoMclaren

Hello All: Im using a dataGridView in unbound way, and would like to set the foreColor of the cell i just added based on info i fetch from my db table, here is my current code :- [code]if (cheque == true) { dgv.Rows.Add(date.ToString("dd ddd"), venue, fee,"chk"); } else { dgv.Rows.Add(date.ToString("dd …

Software Development
Member Avatar for TinoMclaren
0
6K
Member Avatar for Web_Sailor

Hi, I have done a lot of regex in perl and feel like in no mans land in c++ :) Well I want to parse a tab delimited file and want to print specific fields as per my needs. One more thing the input file may not be sorted and …

Software Development c++ perl regex
Member Avatar for iamthwee
0
249
Member Avatar for Alba Ra

This is from a training project. So the objective is to learn how to do a specific task, though there may be better ways to do the same thing. Okay, the background of the problem at hand: It's from my training Mastermind clone. The user has chosen his colours and …

Software Development
Member Avatar for Geekitygeek
0
152
Member Avatar for cgyrob

I am just wondering if there is a way to stop my paging images from moving around the gridview footer when using the builtin gridview paging control.

Software Development
Member Avatar for cgyrob
0
65
Member Avatar for HappyOrangutan

The output of the code below is: start Caught One! Ex. #: 1 Caught One! Ex. #: 2 Abnormal Program Termination I don't understand why the exception isn't caught. [CODE]#include <iostream> using namespace std; // Different types of exceptions can be caught. void Xhandler(int test) { try{ if(test) throw test; …

Software Development c++
Member Avatar for HappyOrangutan
0
226
Member Avatar for geno93n0

Is there a code to set the font color for all outputted text in a86? I have to combine the following two programs, using the background from SIEGE and the content of FTCONV. My problem is that I'm working on a limited timeframe and I'd really like to know if …

Software Development assembly
Member Avatar for geno93n0
-1
109
Member Avatar for Ineedhelpplz

Why am I getting the wrong output? I have a feeling it has something to do with using type char vs. int....but im not specifically too sure. Please help! [CODE]1. blade71(130)% gcc -o vt visitype.c 2. blade71(131)% vt < vt.in > vt.out 3. blade71(132)% cat vt.out 4. The code 55 …

Software Development c
Member Avatar for Ineedhelpplz
0
194
Member Avatar for chico2009

Hi I am having problems using the readline command, I get an alarm lineA = fin.readline[lpa].strip() # Read line indicated by pointer a and delete CR TypeError: 'builtin_function_or_method' object is unsubscriptable when trying to run this code I tried removing the strip component and that didnt help. Some help would …

Software Development python
Member Avatar for ov3rcl0ck
0
279
Member Avatar for ejazmusavi

Hi every one! I am working with a project which envolve database. I have a datagridview to veiw the table. when i delete some data from the data base i also want to delete it from the datagridview and when upgrade some thing also want to upgrade the datagridview. How …

Software Development
Member Avatar for DdoubleD
0
95
Member Avatar for pysup

Hi All, I need to open a exe from python. For ex i used [CODE]import os os.system("C:\Winamp\Winamp.exe") [/CODE] but I need to open an exe from the "Program Files" directory. I get an error because of the space between "Program" and "Files". [CODE]import os os.system("C:\Program Files\Winamp\Winamp.exe") >>'C:\Program' is not recognized …

Software Development python
Member Avatar for ov3rcl0ck
0
4K
Member Avatar for TinoMclaren

Hello All: In asp.net there is a Multiview control which allows me to switch between panels programatically, so different sets of controls can selectively be displayed in the same area on screen. I understand there is no such control in winForms but is there a best practice or technique for …

Software Development asp.net
Member Avatar for TinoMclaren
0
119
Member Avatar for DARK_BYTE

I'm writing a program that needs to use only the Unix system calls open, read and write to get and print data!The problem is that the program doesn't allow me to input the marital status of the first student! Am I missing something? Here is the code: [code] #include<stdio.h> #include …

Software Development c unix
Member Avatar for DARK_BYTE
0
233
Member Avatar for Kashaku

Hello. I am a new member of this web site. The reason for joining is that when I experienced some problems , I found most solutions on this website. Sadly, I cannot find all answers to my problems. That's why I am here now and I want to ask you …

Software Development c++
Member Avatar for hmortensen
0
2K
Member Avatar for Joe Hart

I have a text file that I need to find data and assign it to a variable. I have found code to read and search a file but the information I want is not always constant. The Items in Red will change. Is there a way to find this information, …

Software Development python
Member Avatar for Joe Hart
0
177
Member Avatar for facadie

[CODE] private void writeToDB(string password)/// { string cmdstr = "INSERT INTO " + TableName + " (Password) values (@Password)" ; OleDbDataAdapter adapter = new OleDbDataAdapter(); OleDbCommand insert = new OleDbCommand(cmdstr, vlAccessConnection); adapter.SelectCommand = insert; insert.Parameters.AddWithValue("@Password", password); }[/CODE] Hi all this is the code i've insert to update data with password …

Software Development
Member Avatar for sknake
0
97
Member Avatar for Towely

I'm trying to compile a program that I created that takes a number and finds its average and reverses it. It's a very simple program, but when I try to compile it with g++, it gives me an error. Why won't it compile? What code is wrong? [CODE] #include <iostream> …

Software Development c++
Member Avatar for siddhant3s
0
189
Member Avatar for mannyloy

Pls. enumerate the steps in using a Status Bar Control wherein, Date, Time, Capslock will be displayed in every panel. Thank you very much for your help.

Software Development visual-basic
Member Avatar for mannyloy
0
120
Member Avatar for phantom8l

i just finished making my custom renderers after a while i noticed a small problem and isolated the problem to onrendertoolstripborder it seems when i paint my border around my tool strip it also paints it to any open dropdown menus here is an image to show what i mean …

Software Development
0
56
Member Avatar for xxunknown321

My teacher wrote this code. i am having trouble understanding what is going on in the code. can someone please help me by commenting in the program if you can tell me the importance of the functions and how everything works. please help me.... i'm a noob programmer #include <iostream> …

Software Development c++ programming-construct
Member Avatar for Lerner
0
202
Member Avatar for Seagull One

I'm writing some code for my robot's stereoscopic vision. This is how I'm calculating the stereo vision in python (I'm using the roborealm API). [CODE=python]COGXR = rr.GetVariable("COG_X_RIGHT") COGYR = rr.GetVariable("COG_Y_RIGHT") COGXL = rr.GetVariable("COG_X_LEFT") COGYL = rr.GetVariable("COG_Y_LEFT") Z_Actual = (11 * 5.5)/COGXL-COGXR X_Actual = (COGXL*Z_Actual)/(5.5) Y_Actual = (COGYL*Z_Actual)/(5.5)[/CODE] Whenever I run …

Software Development api daniweb-api python
Member Avatar for Seagull One
0
571
Member Avatar for Darth Vader

I am trying to declare dimensions like this but this example does not compile. I think the declarations might be something wrong with but cant figure it out what it can be: [code] class Dime1 : List<String> { }; class Dime2 : List<Dime1> { }; Dime2 Dim3 = new Dime2(); …

Software Development
Member Avatar for Antenka
0
175
Member Avatar for Nattynooster

Hi, I'm new to VB :sweat: Basically what I am trying to achieve is a browse button where the user is required to find a location for the file that my program will be creating. I'll give an example. |TextBox1| (Button4) When button4 is clicked it will open up a …

Software Development vb.net
Member Avatar for TomW
0
170
Member Avatar for Alba Ra

Hello, I am training as a future software developper, so maybe my problem can be solved differently, but for education the following problem is the problem (and not some code with a specific aim). Have have an application (a Mastermind clone) in Windows Forms mode. Everything is inside of different …

Software Development c# microsoft-access
Member Avatar for Alba Ra
0
426
Member Avatar for phantom8l

Hey everyone im trying to finish up my custom renderers for menustrip toolstrip and statusstrip but when i override the OnRenderSplitButtonBackground the dropdown arrow dissapears here is my code [CODE] protected override void OnRenderSplitButtonBackground(ToolStripItemRenderEventArgs e) { if (e.Item.Selected) { Rectangle rectBorder = new Rectangle(0, 0, e.Item.Width - 1, e.Item.Height - …

Software Development
Member Avatar for Diamonddrake
0
185
Member Avatar for KirkPatrick

Well I'm going through a lot of my code and wanting to clean it up a bit by creating functions to do the necessary tasks instead of having code that is multiple lines long. For example, I use the following code multiple times [code=java] ViewObject vo = new ViewObject(a, b, …

Software Development java
Member Avatar for Ezzaral
0
117
Member Avatar for infern0
Member Avatar for Ineedhelpplz

I receive the following error when I compile my code: [CODE]blade71(154)% gcc -o vt visitype.c Undefined first referenced symbol in file aVal /var/tmp//ccrbSM18.o ld: fatal: Symbol referencing errors. No output written to vt collect2: ld returned 1 exit status blade71(155)% cat visitype.c #include <stdio.h> #define MAX 1000 void aVal(char asciiname[], …

Software Development c
Member Avatar for Ineedhelpplz
0
185
Member Avatar for TinoMclaren

Hello All: I have 2 dataGridViews and id like it that when I select a row in dgv_A that dgv_B clearsSelection. I have aceived this using dgv_A_SelectionChanged { dgv_B.ClearSelection(); } and the same for dgv_B_SelectionChanged, except it obviously clears A. This works fine except for one thing : when I …

Software Development
Member Avatar for Geekitygeek
0
215
Member Avatar for Nishanthi

right now i m working in netbeansIDE with web application i m trying to connect to sql server 2005 database using the preceding coding Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbcdbc:data"); Statement st=con.createStatement(); st.executeUpdate("insert into audio values(11)"); con.close(); st.close(); now no data are inserted int the audio table what is the solution for this.Its …

Software Development audio java web-server
Member Avatar for peter_budo
0
80
Member Avatar for flit07

Hi, I'm trying to pass a string from form1 to form2. The string will change dynamically change as it receive inputs in form1. I've tried some example on passing by property and passing by constructors. But, I can't read the string in the second form. Any pointers? Thanks. Dan

Software Development vb.net
Member Avatar for flit07
0
201
Member Avatar for Learning78

Hi; I am new to VB.net and am developing a memory quiz. The quiz contains more than 100 questions imported from access 2002 db. For the learning process, I need to run the game again and again. At the moment, I can't randomize the question order, I am getting the …

Software Development dataset vb.net
Member Avatar for Learning78
0
164
Member Avatar for Geekitygeek

I'm currently re-writing a bit of code and i'm in two minds about which way to take it. Advice would be greatly appreciated :) The application is used to control a USB circuit board. The board has 32 analog outputs. The outputs are switched on and off by sending a …

Software Development mathematics pc-peripheral
Member Avatar for Geekitygeek
0
194
Member Avatar for phoenix_dwarf

Hi, i'm trying to focus the cursor on a textbox inside one of my tab controls (3 tabs) but my method doesn't seem to work...Any ideas? Here is my code: [CODE]private void Maintenance_Load(object sender, EventArgs e) { tabControl1.Focus(); tabControl1.SelectedIndex = 0; txt_CLName.Focus(); }[/CODE]

Software Development
Member Avatar for Antenka
0
2K
Member Avatar for krisny

Hi All, I have a C++ program( using VC++6.0 with MFC) which calls another C++ .exe and performs some actions on it. The problem I am facing is that I get the file name of the .exe by using a GetDirectory function. Thus I am able to get the full …

Software Development c++
Member Avatar for krisny
0
305
Member Avatar for tuffyg

[CODE] package farecalc; import java.io.*; public class FareCalc { public static void main (String[] args) throws IOException { BufferedReader in; in = new BufferedReader(new InputStreamReader(System.in)); double firstMile = 2.80; double otherMile = 1.20; System.out.println("Please insert your total Mileage"); String mileageInput = in.readLine(); double mileage = Integer.parseInt(mileageInput); double price = firstMile …

Software Development java
Member Avatar for majestic0110
0
111
Member Avatar for romes87

Hi, I am trying to do a simple task in Python but I keep getting error. I have a string stored in a variable and a simple GUI with a button (in 1st.py) which will call another function in a separate file (twond.py) which will split that string and store …

Software Development app-store file-system gui python tkinter
Member Avatar for romes87
0
4K
Member Avatar for lotrsimp12345

My understand is in generic programming you can have multiple containers, which use iterators but use the same algorithm. Wouldn't template be considered a ADT? Really confused.

Software Development algorithm c++
Member Avatar for kvprajapati
0
299
Member Avatar for jhai_salvador

hey guys.... does anyone here knows how to disable and enable CTRL, Alt, windows keys, or Tab key in keyboard?... because im going to use it in my time cafe client project in vb...

Software Development visual-basic
Member Avatar for omoridi
0
1K

The End.