132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Xinnie

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
Member Avatar for Xinnie
0
107
Member Avatar for SciFiCoder

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
Member Avatar for nick.crane
0
131
Member Avatar for War_Archer

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
Member Avatar for akand
0
142
Member Avatar for nestensity

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
Member Avatar for stephen84s
0
130
Member Avatar for masterofpuppets

Simple functions for binary-to-decimal and decimal-to-binary conversion :)

Software Development python
Member Avatar for TrustyTony
0
798
Member Avatar for pmishra

How to calculate space complexity of any algorithm or program ....

Software Development algorithm c
Member Avatar for thehelios
0
145
Member Avatar for dansnyderECE

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); …

Software Development c++ seo
Member Avatar for aman rathi
0
181
Member Avatar for Alex314

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++
Member Avatar for Alex314
0
153
Member Avatar for mazdaspeed6

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
Member Avatar for Teme64
0
110
Member Avatar for pathostamuka

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 ?????

Software Development asp.net vb.net xml
Member Avatar for pathostamuka
0
96
Member Avatar for reebeca

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
Member Avatar for stephen84s
0
92
Member Avatar for aframe

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
Member Avatar for Tech B
0
627
Member Avatar for dchunt

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++
Member Avatar for thelamb
0
1K
Member Avatar for raviachhwani

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
Member Avatar for Extremist-smj
0
162
Member Avatar for rukshilag

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
Member Avatar for thamilvaanan
0
582
Member Avatar for dualdigger

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 …

Software Development asp.net c++
Member Avatar for nehasidana
0
198
Member Avatar for Extremist-smj

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
Member Avatar for Extremist-smj
0
169
Member Avatar for Robintje1

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
Member Avatar for GeekByChoiCe
0
2K
Member Avatar for bcm

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
Member Avatar for kvprajapati
0
331
Member Avatar for aliyami90

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++
Member Avatar for aliyami90
0
133
Member Avatar for G_S

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 …

Software Development python tkinter
Member Avatar for G_S
0
2K
Member Avatar for rudasi

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
Member Avatar for cfajohnson
0
101
Member Avatar for sdhawan

Hi Guys , can any one tell me how to insert array in database using insert statement. thanks

Software Development
Member Avatar for kvprajapati
0
1K
Member Avatar for balla4eva33

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
Member Avatar for kvprajapati
0
258
Member Avatar for fishwater00

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 …

Software Development c unix
Member Avatar for JOAT
0
102
Member Avatar for tam13

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
Member Avatar for JOAT
0
132
Member Avatar for nyarufuka

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++
Member Avatar for mrnutty
0
90
Member Avatar for MPQC

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
Member Avatar for MPQC
0
2K
Member Avatar for Loony064

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 …

Software Development listview vb.net
Member Avatar for xuebao
0
174
Member Avatar for madlan

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
Member Avatar for kdion1024
0
173
Member Avatar for usafsatwide

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
Member Avatar for NathanOliver
0
423
Member Avatar for stanleyz

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
Member Avatar for oieronle
0
277
Member Avatar for kubatur0

[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
Member Avatar for oieronle
0
105
Member Avatar for Anex

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
Member Avatar for oieronle
0
137
Member Avatar for shadowuy

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++
Member Avatar for thelamb
0
175
Member Avatar for romyboy2k9

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
Member Avatar for thelamb
0
127
Member Avatar for prashanth s j

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
Member Avatar for prashanth s j
0
145
Member Avatar for CobRalf

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
Member Avatar for griswolf
0
643
Member Avatar for panda_pow

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
Member Avatar for panda_pow
0
150
Member Avatar for diegostix

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
Member Avatar for diegostix
0
147
Member Avatar for GAME

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
Member Avatar for GAME
0
98
Member Avatar for gcardonav

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
Member Avatar for gcardonav
0
147
Member Avatar for iqra123

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
Member Avatar for iqra123
0
82
Member Avatar for nbaztec

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++
Member Avatar for nbaztec
0
351
Member Avatar for Medalgod

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
Member Avatar for Medalgod
0
361
Member Avatar for pubis

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++
Member Avatar for pubis
0
136
Member Avatar for VBNick

Hi, Does anybody know how to enable/disable a secondary monitor using ChangeDisplaySettingsEx or any other function?

Software Development c++
Member Avatar for VBNick
0
648
Member Avatar for vulcano224

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
Member Avatar for griswolf
0
107
Member Avatar for avanish_yadav

I require to make a good user interface for my image viewer tool. Could anyone advice me how can i achieve so in C#. So far I have been using swings in java but this time I'm supposed to code in C# only and being a newbie to C# I'm …

Software Development api c# gui user-interface
Member Avatar for bbman
0
86
Member Avatar for neithan

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
Member Avatar for apegram
0
91

The End.