132,726 Archived Topics
Remove Filter ![]() | |
Hi folks: Once again, working w/Python in Maya, a 3D animation app. I'm using a potentially time-consuming procedure to generate a list of commands, and I want to store the list in the Maya file. The best solution I can think of is to convert the list to a string, … | |
Hi all, I have used some forum browsing and the WxDemo to create my desired GUI and struggling to find some good reference material to add functionality to my design. This GUI will ideally pull / send information to other programs (in python and/or c) in the future but for … Software Development database-design gui python xml | |
I would like to do 2 things (or one of the two) first, I have in form1 a textbox1 and i would like to bring the info of it to a textbox (or label) in form2 second, If it's possible i would like to set a picture from form1 to … Software Development image vb.net visual-basic | |
Hi, I was working on Josephus problem, where I have to make a circular linked list and having errors in it. Will really appreciate if anyone can help me. The following method is in Node Class: void link(int num_people, Node* temp) { int n = num_people; [B]head->next = new Node;[/B] … Software Development c++ linked-list | |
Hi, I want to read ctrl-c ctrl-z values from serial port. is there any ways to read? Regards Yuvaraj Software Development c | |
Hi guys, I am struggling with a problem with MFC.. i think its a small one.. but from my point of view since its bugging me for 2-3 days its starting to get big. So.. the problem is.. I have in MFC 2 dialog boxes. Each dialog box has one … Software Development c++ | |
whenever i run this code: [code=c] void _freecommands(void) { command_t *com; for(com = cmd.commands; com->name; com = com->next) free (com); } [/code] i get one, even though i've malloc'd them previously and the conditional statement checks if they're not valid i don't understand why, can someone help me? Software Development c | |
Hi! I dont have enough knowledge about making report there in vb.net. Let me explain what I want to do. I have a combo box there in my form. When user will run this form combo box will get ID number from database. When user will select ID number from … Software Development vb.net | |
I'm reading in a text file that contains a little custom script. However, one line of that script gets ignored and I can't figure out why. Script: [CODE]# Test Case #1 - Simple Movement RESET FORWARD 2 PAUSE 1 REVERSE 2 PAUSE 2 TURNRIGHT 2 PAUSE 1 TURNLEFT 2 PAUSE … Software Development c | |
I study manual "Think Python: How to Think Like a Computer Scientist by Allen B. Downey, Version 1.1.22, chapter 13, 13.6 Dictionary subtraction. There is an exercise 6. I did it by not using set types. The result will be the same? Pls can you show me how to use … Software Development data-structure python | |
Hello everyone, I am writing a program in Visual C++, using VS 2008. This is what I want: I press a button, which begins an infinite loop, that does something (approximately) once per second until the user tells it to stop. The problem I am having is finding a way … Software Development c++ | |
hi every one i'm pretty new to programing so i want ur help. i want to create a program that counts the number of the downloaded bytes form all ur activity over the internet. that is when ever the internet connection is established the program starts to count the bytes … Software Development c++ | |
Hi, i am new to java, and i stuck in between with a folder locking problem. i want to create a private folder without encrypting the data, i have two options 1) Either Lock that folder so none of the user (even admin) can't access that private data. 2)Completely hide … Software Development java | |
Hi everyone. I am a beginner at C++ and am having some problems with the language. I would appreciate any advice that could be given on this issue. I cannot figure out how to modify variables! Take this for example. Say you have four variables, 1A, 1B, 1C, and 1D. … Software Development c++ | |
hey all, I currently have this insert statement: [CODE]OleDbConnection oledbConnectionGate = new OleDbConnection(OLEDB_CONNECTION_STRING); string TRANSACTION_INFO_INSERT_STATEMENT = "INSERT INTO Transaction" + "([TransactionID], [TransactionAuditor_ID], [TransactionAuditor_Name], [TotalSales], [TransactionDate])" + "VALUES (?,?,?,?,?)"; OleDbCommand commandLine = new OleDbCommand(TRANSACTION_INFO_INSERT_STATEMENT, oledbConnectionGate); commandLine.Parameters.Add("TransactionID", OleDbType.BigInt, 64).Value = currentTransaction.TransactionID; commandLine.Parameters.Add("TransactionAuditor_ID", OleDbType.BigInt, 64).Value = currentTransaction.TransactionAuditorID; commandLine.Parameters.Add("TransactionAuditor_Name", OleDbType.VarWChar, 255).Value = currentTransaction.TransactionAuditorName; commandLine.Parameters.Add("TotalSales", … Software Development | |
Hi this Raghu.I have to Save the State of Windows Form in Some File Format Such as .cfg by Button Click Event and Also when It was needed,it has to retrieve from the saved format and display the Saved Contents in C#. Software Development c# | |
Hi all. This has been bugging me for hours. I do a simple text book passing of a filehandle to a function and get a bundle of errors. my func : int appendVVmatrix(VVdouble &mat,ofstream& outF){ if (outF.is_open()){ for (int i=0; i<mat[0].size();i++) { for (int j=0; j<mat[0].size();j++) { char num[40]; sprintf(num,"%f",mat[i][j]); … | |
Hi, Ive been trying to calculate standard deviation from the data in my datagridview.I have manage to work out how to get to the last value but would like to display in a chart so i need to have some kind of running total like you have in Excel. For … | |
Hello guys, i am making a simple test using select() for a future program i must do. What i'm trying to do is very simple, i have a client, and a server. The client listens to both stdin and sockfd using select. The objective is as follows: If i write … Software Development c client-server | |
i've been been trying to decipher what is wrong with this code for some time, help would be apreciated. It is an application in visual studio 2008 with c#, when a user puts in a number, the application checks the number to make sure it is a number, then if … Software Development visual-studio | |
Hi Every Body! Please any body tell me, is java is so powerful to do system programming wih it like C language and Assmbly. Software Development java | |
Dear Members, I am developing a desktop application on “Attendance and Payroll Management System”. To develop this I am using [B]C# and MS SQL Server 2005[/B]. I would like to build this based on [B]Unicode characters so that all the data from user interface can be stored in the database … Software Development c# user-interface | |
Hy, I have 4 combo-boxes and each one has a RefreshableValueHolder. If I change the value in one of them, I would like to automatically change contents of the others. I know I have to use the refresh() method of this class, but I cannot figure it out how. for … Software Development java | |
dear all, Im new in C++ programming. Recently, im doing a login page using Microsoft Visual C++ 2010 Express and Microsoft Access as database. Im trying to connect ODBC to my system but there was a lot of error occur. Can somebody explain me what my problems... [B] This is … Software Development c++ microsoft-access visual-studio | |
Hi all , How can I get the number of MissedCalls and Unread SMS'. EX :Reminder: You have received 6 MissedCalls and 2 Unread SMS'. And ofcourse I'm not talking about all calls that I didn't answer and loged in log. How can I get the numbers and time for … Software Development python | |
when i run this code, f is being set to null and i have no idea why.. i know for a fact that cmd.argv(1) at that point is "vars.rc" because i debugged it with breakpoints. [code=c] FILE *f; if(cmd.argc() != 2) { con.printf("writevars: <filename>\n"); return; } f = fopen(cmd.argv(1), "w"); … Software Development c | |
Hello again, I will go straight to the point. I have two files one that is called student.dat and the other is called grades.dat . Student.dat has the following items in it : 20092112 Anthony Haykal 20084564 John Doe 20075640 James Bond 20045678 Cynthia Smith 20092134 Jennifer Hajj grades.dat has … | |
Hi all , I got some questions about wrapping my applicatio so it can work when I hand it out to the user : First : How can I have an icon that appears in "Installed" folder and in the top of my application window instead of Python Icon ?? … | |
Hi everybody, is there a simple way to print a floating point number in its internal representation (i.e. binary or hex) in C(C++)? Yet another question -- is there a linux utility to do the opposite thing with a binary file (i.e. choose a range of bits and convert it … Software Development c++ | |
Hi Everyone, I am a beginner with java, please pardon my stupidity The program below is not working and I have this error. Please let me know what I am doing wrong. public class test { public static void main(String[] args) throws Exception { String Month = "May"; if ( … Software Development java | |
Hi everybody, New adventure question: if you know how macros act in C, is there such a behavior in C? Basically the most important feature I'm looking for is similar to this: [CODE] #define MY_C_MACRO(x) {if (x>0) x++; else return} [/CODE] Such a macro would cause the function where it … Software Development python | |
Here is my code : #include <iostream.h> int main (int argc, char * argv[]) { struct { short Signture; long FileSize; short Reserved1; short Reserved2; long ImgDataStartOff; long InfoHeaderSize; long Width; long Height; short Planes; short NumbOfPix; long Compression; long SizeOfImgData; long HRes; long VRes; long NumOfCol; long NumOfImpCol; } … Software Development c++ | |
im having a bit of trouble reserving space and with labels a.asm:6: error: parser: instruction expected edit should mention im using intel syntax [CODE] section .data msg db "test",0x10 section .bss mtstr resb 1000 string resb 1000 public _print mov eax,4 mov ebx,1 mov string,mtstr mov ecx,string mov edx,1000 section … Software Development assembly | |
hey guys my while loop is not working correctly..doesnt matter which character i enter it will still run the loop..and what it should do is test to see if character entered is 'y'(well thats what i want it to do ) thanks!! [CODE]#! /usr/bin/perl $exp = "y"; while ($exp =="y") … Software Development perl | |
Hi, Everybody, I wrote the program to connect to the Microsoft Sql server 2000. I have also defined constrains and triggers on Tables of SQL. Now I want to catch the error message generated by the triggers or constraints in c prog and want to show it to user. Can … | |
Hi, I have implemented a simple socket server in Java. Everything works great except the process just dies/times out after about an hour and I do not know why. I run am running the process through my web host's machine using SSH. My steps: 1. Add to '/etc/rc.local' two commands: … Software Development java web-server | |
Sorry I ask too many simple questions :D 1. [code=vb]Public Class Weapon Dim name As String Dim type As String Dim damage As Integer Dim speed As Double Dim durability As Integer Dim value As Integer Dim RustySword As Weapon 'What kind of declaration must I make? Its an error … Software Development visual-basic | |
Hi there, I have a simple piece of software written up that I'm running off the terminal's command line interface. Very recently, it was asked of me to create a GUI for it. So I basically made one to reflect how I would use the software but I actually haven't … | |
I want to find some thing in ms word. this is the default option of ms word. but here I want to do in my own language (cause the default option only support English). I can make it. but I don't know how it connect with ms word. I mean … Software Development visual-basic | |
Hi Guys, I wonder if you will be able to help me with creating a password generator in VB using VS 2008. I have limited programming knowledge from my time at university and it wasn’t my strong point :). What I want to do is have a front end which … Software Development vb.net visual-basic | |
Hi all, first time posting here, I need some help with this, as my knowledge of c++ is shaky at best. I have points defined like this: [CODE]struct Point { double x, y, z; };[/CODE] I have a 2d vector filled with vectors of these points: [CODE] vector< vector<Point> > … Software Development c++ | |
I was wondering whether it was possible to use dynamic memory or something else to achieve something to the effect of entering numbers or a string using standard input without first having to specify how many instances you intend to enter. If this can be done through some other method … Software Development c++ motherboards-cpu-ram | |
Hello I'm new to java and i'm facing some problem... First code refers to File_Chooser class which works perfectly fine for me... [CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package statguis; /** * * @author Umar Ali */ … Software Development java java-swing | |
i need help on this simple case dim xMenu as System.Windows.Forms.ToolstripItem dim xString as string = "FrmMain.MnuFile" [B]xMenu=xString[/B] xString.visible=False xString.test="MENU FILE" ... How could i do 'that bold area'?? note: xString actually was dynamic variable i got from Database with SQL syntax thanks before! Software Development vb.net | |
how I can simplify fraction after do some process on it (add, sub...) this part of program (add fraction) [CODE]int i,j,k,m,a,b,c,d; char x; printf("Please Enter fraction number 1\n"); scanf( "%d%c%d",&a,&x,&b); printf("please Enter fraction number 2\n"); scanf("%d%c%d",&c,&x,&d); if (b == 0 || d == 0){ printf("undife number\n"); system ("pause"); } else … Software Development c | |
PLEASE HELP ME WITH THIS QUESTIONS, I AM NOT POSTING MY WHOLE HOMEWORK BUT ONLY THE QUESTIONS WHICH I AM NOT SURE ABOUT. 1)What command will set the permissions to 744 on the file /home/fred/.bash_logout Choose one answer. a. chmod a+r,g+r,o+r /home/fred/.bash_logout b. chmod u+rwx g+r o+r /home/fred/.bash_logout c. chmod … Software Development linux-kernel shell-scripting | |
I have a custom .Ini file that looks like this : [QUOTE] [Main props] lives=3 name=danny [Mommy props] lives=2[/QUOTE] I want to know how to read from the "Main props" section and assign a new value to the "lives" key and also reading from the "name" key. I dont know … Software Development c++ | |
[CODE]return((int)ADHR << 2);[/CODE] im trying to learn what a certain function does and then i stumble upon this part. i do get that << 2 means shift left by 2. what i do not know is the (int)ADHR part. can anyone help me out with this? thank you Software Development c | |
i have a 2D matrix of characters or integer or whatever!How do i check if another matrix is a sub-matrix of The 2D one ...Please!! help with simple code that work for any size of the matrices Thanks in advance to all Software Development c | |
I am new to java. when i try some code, i get the 'Caught ArrayIndexOutOfBoundsException: 0' message. i need help how to address the problem. the code was as follows. I am leaving out the class name (first line) [CODE]public static void main(String[] args){ try { double hours = Double.valueOf(args[0]).doubleValue(); … Software Development java |
The End.