132,726 Archived Topics
Remove Filter ![]() | |
I am writing a project planner/tracker program and it's my first attempt to write a program on my own. It's almost done but my forms aren't really cool. I'm not any experienced so I can't be mega creative. Do you know any sites/tutorials that might help me develop my design, … Software Development user-interface | |
Hello. This is my first post. Hopefully the first of many. I am currently starting my journey in collegiate Computer Science and as such I know some basics about programming - logic and a fledgling understanding of some languages. Right now I am trying to create a program that uses … Software Development visual-studio | |
in shell scripting let say a variable [CODE]first="abcd:efgh"[/CODE] how do I find the index of : if its even possible thanks Software Development shell-scripting | |
I'm trying to create a program that prompts the user to input the amount of students and their score and then prints it out. However im stuck at slots.get(i).inputData(); as i get [CODE]Exception in thread "main" java.lang.Error: Unresolved compilation problem: Cannot invoke inputData() on the primitive type int at GradeBook.main(GradeBook.java:52)[/CODE] … Software Development java | |
![]() | Simple functions for binary-to-decimal and decimal-to-binary conversion :) Software Development python |
How to calculate space complexity of any algorithm or program .... | |
I think this is an easy question but I don't know the answer to it. How does one link the value of an argument to a function and the functions parameters? For instance: [CODE]int a; int b; void fn(int &c, int &d) { c++; d++; } int main() { fn(a,b); … | |
Hello, This is probably trivial, but I can't find a solution to the following problem. In C++Builder 2007 I was able to write different strings both to the Application's Title and to the Main Form's Caption. In the Title I displayed the name of the Application; in the Caption (showing … Software Development c++ | |
Ok, im using vb.net and a DGV to open a access DB. On load im filtering out everything except what was created on the current date. [code] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the 'Database1DataSet.Table1' table. … Software Development vb.net | |
i have data which i am receiving as xml files and i need to put the data in a database and then use it to create reports on a windows app using vb 2008 anyone who can help me ????? | |
Hi all, I have developed a java web application which sends sms to many people at once, Now I wanted to get the delivery status of the sms sent. Can Any body help me to do this. Rebeca Software Development java | |
I am trying (first python attempt) to pull information from a web page and store is for further use. Here is the code that opens the page and gets the information. [CODE] # -*- coding: utf-8 -*- #python from urllib import urlopen myfile = urlopen('http://192.168.0.1/stlui/user/allowance_request.html%20target=%22allowance%22').read() print myfile [/CODE] The following … Software Development python | |
Say i have a 256 byte file. How many additions or multiplications can a modern computer perform on them using c++ ? I've been working on this c++ compression project that does a lot of calculations. I use Dev-cpp,and am a amateur programmer,i've not used pointers,vectors or anything fancy yet,anyway … Software Development c++ | |
Hey i am also facing the same problem. I have tried this but this is not working. please help me. [code] Protected Sub cmbParty_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmbParty.SelectedIndexChanged myConnection.Open() Adpt = New SqlDataAdapter("SELECT * FROM PartyMaster where Id = '" & cmbParty.SelectedIndex & "'", myConnection) … Software Development vb.net | |
i need Given a set of numbers on the command line (partition an array) It should check whether a solution exists and if so print the two sets upto now the code i have seems to parttion each integer, what i need is for it to partition the array as a whole, for example lets take the array[1,2,3] this can be divided as [1,2] and [3], we can see that … Software Development java | |
How can I manage to lock or unlock access db query table. e.g. I have a game which displays few questions and then answers which are taken fromt the access db records. What I want is during the game play, it should remain lock till it is accesed, so that … | |
Hello folks, I've written an application to send SMS through GSM mobile using AT commands. It's not working at all. Heres the code below. Can any one tell me what I have done wrong. Private Sub SendSMS() Try SMSPort.WriteLine("AT") SMSPort.WriteLine("AT+CMGF=1" & vbCrLf) SMSPort.WriteLine("AT+CSCA=""+9779851028801""" & vbCrLf) SMSPort.WriteLine("AT+CMGS= ""+9779841892897"" " & vbCrLf) … Software Development vb.net | |
Hi all. I've been working on a small program, and I need to get the Process ID by the name. This is what I have: [code=vb] Dim Processes() As System.Diagnostics.Process = System.Diagnostics.Process.GetProcessesByName(ProcessName) Dim Process As System.Diagnostics.Process = Processes(0) Dim id = Process.Id [/code] But I always get this error: [icode]Index … Software Development vb.net | |
Can any one give me code for finding size of my log file using [COLOR="Red"][B]VB.NET????[/B][/COLOR] Also I want the code to make my log file of 1KB only and not more than that. :'( Software Development vb.net | |
Hi guys How do I search a file ".txt" which contains three lists side by side for a word , then print the line that the word I searched for is in? NOTE: -The lists are lists of names . it would be beter if you show how to do … Software Development c++ | |
Hi, I'm trying to make a frontend for the compile module in python. Everything works just right, except when the file has mistakes in the code that lead to a syntax error. It does raise the invalid syntax error in the terminal, but instead of executing the block inside the … | |
Hi, I have a file test.txt, this file has many pathnames such as, C:\xx\yy\zzz\bd\hello C:\xx\yy\zzz\bd\bye C:\xx\yy\zzz\bd\cd\de\name C:\xx\yy\zzz\bug C:\xx\yy\zzz\dfdfd\gt I want to use basename or any other method to get the the last filename. At the moment in my batch script im unable to loop through the file and use basename … Software Development shell-scripting | |
Hi Guys , can any one tell me how to insert array in database using insert statement. thanks Software Development | |
So I'm trying to make a fun and simple little game of Blackjack using C#. I've got a lot of it working how I want it to, except my shuffle routine doesn't seem to be doing anything. What do I need to change in my shuffle routine so that it'll … Software Development | |
Hi Folks, I got some problems and need your help. In school, my codes are writeen under UNIX system (Solaris10/SUN), now I need to transfer those codes to Linux (Redhat5). But after I directly copy to Linux, it shows many errors and warnings. Does anyone know which codes I need … | |
Hi Guys, So I have the functiom find_index_of_max and I need to use main as a driver to print the index of the the max value in the array. However, mine isn't functioning correctly. So, I was wondering if anyone can tell me what I need to do. Thanks! [code]#include … Software Development c | |
Guys I am seeking help on the following two dimensional arrays, using matrices. (a) Enter elements of two matrices A and B. (b) Add the matrices and store the result in matrix C. (c) Subtract matrix A from matrix B, and store the result in matrix R. Software Development c++ | |
Alright. So here's what I've currently got. Basically, I've got an array of numbers - any amount. My current code counts up the frequency of each number, then prints out the one that is the largest, and it works perfectly. But the problem is, I need to make it be … Software Development java | |
Hey All! I'm working on a project at the moment, where there are a variety of sections. Each section has its own window and WPF controls. Each window has a tab control, with tabs to 'View', 'Add', 'Edit' and 'Delete' records. The 'View' tab has a ListView which is populated … | |
Hi all, I'm trying to display the total extraction progress of a zip file as below. This gives me the total file size of all uncompressed files in the zip: [CODE] For Each backup In zip TotalSize = backup.UncompressedSize + TotalSize Next[/CODE] I'm then using this to get the current … Software Development vb.net | |
I'm in a computer programming class and having trouble. The assignment is: [I]Write a program that uses a structure named MovieData to store the following information about a movie: Title Director Year Released Running Time (in minutes) The program should create two MovieData variables, store values in their members, and … Software Development c++ data-structure | |
Hi everyone, I'm new to c-programming. I'm currently trying to write a program using function call but end up in a mess. Can anyone help me please? I've been trying this for a few days. I wanted to write a program with "factorial" and "power" I'm refering to this example. … Software Development c | |
[code]#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/ipc.h> #include <sys/msg.h> #include <string.h> typedef struct msgbuf { long mtype; FILE *mtext; } message_buf; main(){ int msqid; int msgflg = IPC_CREAT | 0666; key_t key; message_buf sbuf; size_t buf_length; key = 1234; if ((msqid = msgget(key, msgflg )) < 0){ perror("msgget"); exit(1); … Software Development c | |
I want to create a structure comprising of an integer and a pointer to it. However it doesnt seem to work and devC++ gives the following error [CODE]struct loha { int i; int *p = &i; ...7 } *pp; ...8[/CODE] Error : 7 I:\G\My CPP\structures.c [Warning] no semicolon at end … Software Development c data-structure storage | |
Hi im starting to learn c++ and im having a little issue that im not capable of correct yet... the program ask the user to imput the size of an array then the program create it at that size, fill it with random integers and output the array into the … Software Development c++ | |
Hello, could some please help me with a current project that I'm working on for school? I have the following code, but the output shows unknown address. The following is the description of my assignment, and the code I have so far. Thank you. Write a program that creates a … Software Development c++ linked-list | |
Hi all, in a python script file, I am having a open statement and then i write a "50000" to that file. And then within the script i am writing a scp command that transfers the file to a remote machine. In the local machine if i check the file … Software Development file-system python | |
![]() | hello everybody! I have a main app, which imports another python file and uses its functions. my problem is now, that the external file itself needs some functions defined in the main app... if i copy the external files code and paste it into the main application, everything works fine, … Software Development python |
Hey everyone :) So I'm doing my homework when I get this massive brainfart. It's all done, and everything works, except I need a way to make [B]j[/B] [in the function AddStudents()] get bigger without resetting to 0 everytime the function is called (so it moves to the next cell … Software Development c++ mathematics | |
I have an Excel macro in which a user can input their name via an input box. I then want to take the name they enter and use it as part of the file path to which the workbook is saved. For example. If user enters their name as John, … Software Development visual-basic | |
How would I extract proxies from a website and then display them on a listbox. I was thinking about doing webRequest. Can anyone help me out with the coding? Software Development | |
Hi guys: I got a program from a developer. My main problem is that the code is in C and I been trying to compile it, but it keeps me giving errors, well mainly warning, but some of them I am not sure what they mean and/or how to fix … Software Development c | |
hii how can we send messages periodically to client from server... in C i am running a client server program in C on linux.... in which my server has to ask some parameters (like system Up Time, no of processes ) from client.... i want this function to work periodically … Software Development c client-server | |
Ok, I need to know some methods(links, articles, etc.) regarding how to parse & comprehend 32-bit grayscale bitmaps on the basis of their data. Suppose I have a black background & a white primitive of medium resolution is there any way I can identify the primitive as a Circle, Box, … Software Development c++ | |
Ok, I'm trying to pass some variables from inside Form1, to a new form: LoginDetails. Essentially, what this code does is check if a file exists. If it does, it loads the values from within the file. If the file loads correctly, (it should contail login details to a server) … Software Development | |
Here's a code I use (ignored error checking) to read two registry values, combine them and write them to a third one. [CODE=c]unsigned long type=REG_SZ, size=1024; char iLike[1024]=""; char Apples[1024]=""; char iLikeApples[1024]=""; LONG rV; HKEY hKey = NULL; // reading the first value rV = RegOpenKeyEx(HKEY_CURRENT_USER, "SOFTWARE\\FARM\\ValueName1", 0, KEY_ALL_ACCESS, hKey); … Software Development c++ | |
Hi, Does anybody know how to enable/disable a secondary monitor using ChangeDisplaySettingsEx or any other function? Software Development c++ | |
Hi I writing a Python program to track and calculate the amount of money each of 8 customers spends on 12 grocery items. The code below works fine but The program also must congratulate the customer who spends the most money and offer that customer a $50 shopping spree.How can … Software Development python | |
Hi. I'm new to C# and i'm facing this wierd thing. To put it simple i have two classes: - Especimen - Form1 Form1 has a button, when you click it it generates 10 objects of class Especimen. This is a very simple class, it's supposed to simulate a biological … Software Development |
The End.