43,549 Solved Topics
Remove Filter ![]() | |
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 | |
hello, can somebody help me in learning file i/o in c++? i would be very grateful Software Development c++ file-system | |
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 | |
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 | |
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 | |
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 | |
![]() | 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 ![]() |
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 | |
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 … | |
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 … | |
Hi guys, Is it necessary to use destructor in c# to terminate any created objects?? Thanks in advance Software Development | |
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 | |
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 | |
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 … ![]() | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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++ | |
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 | |
[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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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++ | |
[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 | |
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 | |
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. | |
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 |
The End.