199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for cool_zephyr

i have a simple note and images storing java program that stores data into the server..i'm confused about what to use for building the server..should the server be built using sockets?? or which listens for http requests (the client sends json data)?? could anyone please tell me which one would …

Member Avatar for cool_zephyr
1
299
Member Avatar for procomp65

Hi I have been battling for the past 2 days with this. I import a .csv file into a datatable. The columb "Date" has the following data in each row "13/9/2 14:24:30" I need to plot data in zedgraph with these dates and time. each row in the datatable is …

Member Avatar for ddanbe
1
184
Member Avatar for silversurf

Hello, I am trying to build a pos and inventory system in vb 6.0 with MS-Access database. I do not have much experties in vb 6. Ok here is the question now, I have a frmcashsale in my system which have a MSHFlexgrid called grid, I have managed the codes …

Member Avatar for Stephene_1
1
667
Member Avatar for Dani

This is a program I wrote for my x86 assembly class which generates matrices, multiplies them, and computes how long the arithmetic took. It uses Irvine32.inc which came with the textbook.

Member Avatar for ESLAMIKA
1
5K
Member Avatar for jared.geli

Hi again I want to display my table in excel to my datagrid. I want select the 5th row of my spreadsheet as the column header. I have no problems of displaying it in DGV when my column header is at the first row. Now I need to have my …

Member Avatar for jared.geli
1
1K
Member Avatar for CodingCabbage

I wish to create a loop which adds images across a screen with random positions: photo1 = PhotoImage(file=address) #Assign image to PhotoImage XValue = randint(0,widthOfScreen-width2) #width2 = image width YValue = randint(0,heightOfScreen-height2) #width2 = image height Label(mainGUI, background = "white", image = photo1, borderwidth = 0).place(x=XValue, y = YValue) the …

Member Avatar for CodingCabbage
1
14K
Member Avatar for kakilang

below is the simple source code #include <iostream> using namespace std; int main() { cout<<"Hello"<<endl; system("pause"); return 0; }?? how to let program play some music when the program print the word "Hello"?? Let's say the song file name is "hello.mpg".

Member Avatar for 4reebahmedkhan
1
10K
Member Avatar for Siberian

Hi, this script is suppose to back up most if not all directories, all files within each directory then compressed those files and directories in a zip file and save it to a directory. A typical web server can be in the hundreds of megs, the script works except it …

Member Avatar for Siberian
1
184
Member Avatar for Gribouillis

This snippet is reserved for users of the KDE linux desktop. It adds a *service menu* to kde applications such as dolphin and konqueror, to launch an ipython dashboard in a directory in one click. More specifically, save the text of this snippet as a file `~/.kde/share/kde4/services/ServiceMenus/opennotebook.desktop` (create the directory …

1
632
Member Avatar for karanv
Member Avatar for dave.schroeder.906

I'm having trouble with this bit of code that I'm working on. I get an error code in my `parseit()`method that says, "not all code paths return a value". Ideally I'm trying to call my method and parse my variables from my textbox to return true when they're valid, then …

Member Avatar for Michael27
1
304
Member Avatar for TrustyTony

Here little debugged version of my calculator posted earlier in GUI calculator thread. I prepared it after listening that their teacher did more limited calculator in around 150 lines of code with their graphics module. This is 115 lines without empty lines and comment lines [CODE]>>> li=[i for i in …

Member Avatar for fonzali
1
2K
Member Avatar for lerkei

Can anyolne help me in coverting .txt file to xml?..i tried codes from differrent sites but didn't help..please help,.........thanks in advance..

Member Avatar for irvg.davter
1
2K
Member Avatar for Schol-R-LEA

I would like to propose a link thread for posting listings of sites on CS topics not tied to a specific language. Two that come to mind as being relevant to some of the more common questions would be the [OS Dev Wiki](http://www.osdev.org), and the similarly themed but less established …

Member Avatar for sanjit.dasgupta2
1
355
Member Avatar for VNexus

Hi Everyone, I'm not sure if I may be in the wrong venue to post as this would have to do with PHP, CURL and SSL, so I've decided to place the question here. Please feel free to let me know if the question should be dropped in some other …

Member Avatar for Lsmjudoka
1
501
Member Avatar for HunainHafeez

actual differecne between SQL Server's STORE PROCEDURES and USER DEFINED FUNCTIONS ? i looked up these in google but couldn't satisfy me. Differences ? better to use ? and why does UDF can only implement SELECT statements not else , y ?

Member Avatar for HunainHafeez
1
184
Member Avatar for cereal

Hello, so I was trying few relations between tables and I noted an unexpected behaviour when using `group_concat()`. Let say I have three tables: fruits, fruitstock and fruitprices. These are the structures: create table fruits ( id tinyint unsigned not null auto_increment primary key, name varchar(50) not null, quality varchar(50) …

Member Avatar for cereal
1
4K
Member Avatar for GillBates

hello all I'm trying to write a program that returns us [U]majority element[/U]. [I]An array is said to have a majority element if more than half of its entries are the same - [I]>(size of the array)/2[/I].[/I] It wouldn't be a problem if i had no conditions, but i have …

Member Avatar for kal_crazy
1
3K
Member Avatar for dany12

What will be the language of the feature web PHP or Python? What framework will be the future a php one or a python one? I would like to add that Laravel for php is still young and the development is not made by a corporation so I don't think …

Member Avatar for profmuluka
1
460
Member Avatar for emil_ham

This simulator works for: 1. First Come First Serve (FCFS) 2. Round Robin (RROB) 3. Priority (PRIO) 4. Longest Job First (LJF) 5. Shortest Job First (SJF) algorithms. The program is written for gcc linux compiler. In input file a sequence of processes coming to the systems included, where also …

Member Avatar for ElGauchoUTn
1
2K
Member Avatar for ddanbe

This has by far no practical use. But as I was used to VS, handling most of the code housekeeping "behind the back", I wanted to try to make a Forms program as minimalistic as possible. Start an Empty project, include a reference to System.Windows.Forms and fill in the code. …

Member Avatar for pitic
1
169
Member Avatar for Evil_genius82

Hi All, I have a few questions regarding Ajax and Json if anyone could help clear up for me. I am designing a mobile application (as a small project) which will send continious live data to a php file which will then forward this to be stored in a MySQL …

Member Avatar for allualtaf
1
158
Member Avatar for iFrolox

Hello, Im messing with processes for a project that Im doing, so if I detect that the specific process Im checking changes the title containing a specific word like "Hello" I will kill the process and start it again. Im doing this with a timer so every X secs/minutes it …

Member Avatar for iFrolox
1
419
Member Avatar for deceptikon

Hopefully I shouldn't need to explain what `gets` is or why it's easily one of the worst possible standard functions you could call in your code. In my personal opinion, the title for "holy shit, never use this function" is a tie between `gets` and `system`. I'll discuss the problem …

Member Avatar for rubberman
1
268
Member Avatar for KushMishra

Hi All, I am working on a page that creates a dynamic MySql query with the selected fields at the run time and for this I want to take a combobox with few checkboxes so that based on their selection I can fetch the query result and populate them into …

Member Avatar for KushMishra
1
8K
Member Avatar for rgodfrey1

Hi I installed mssql200. It works fine, but outside application can't communicate with it because it doesn't open port 1433 as it is configured to do. Instead it opens 2 other ports that communicate with the DNS server. What is required to change in order to open port 1433? Ronni

Member Avatar for barresoft
1
2K
Member Avatar for KushMishra

Hi All, I am creating a dynamic GroupBox through C# and want to change only the header font and not all the fonts in that. GroupBox myGroupBox = new GroupBox(); myGroupBox.Header = mychk.Content.ToString(); myGroupBox.Content = myStack; Here, *myGroupBox.FontWeight* changes all the contents inside the *myGroupBox* but how to change only …

Member Avatar for KushMishra
1
2K
Member Avatar for vegaseat

Python module turtle makes it simple to draw graphics art similar to art done by the Logo language.

1
408
Member Avatar for brynFlew

hello, i was wondering if anyone could help me find a way to allow a user to click items in a combo box and have its value populate an input field. Thanks

Member Avatar for Samanalevi
1
372
Member Avatar for jessicaphillips

Hello people, I have this C programming assignment which I have no time to do as my Uni workload is too large. The assignment should take, if you are an experienced C programmer, no longer then an hour. I am willing to pay $30/£20 for anyone to help me. If …

Member Avatar for Schol-R-LEA
1
658
Member Avatar for soni chiraniya

How to generate connection string? first i have to create a table through which i need to fetch the data and then create a connection string but without doing in webconfig because doing in webconfig is not secure and i have to create a button also after clicking on that …

Member Avatar for Mike Askew
1
170
Member Avatar for bo_bon91

Hi everyone. I am just learning how to use servlets. I need to make a lotto application. I have this template: import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Collections; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class MyLottoServlet extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response)throws ServletException, …

Member Avatar for JamesCherrill
1
261
Member Avatar for haolongvt

The following script will easily allow you to resize images using PHP and the GD library. If you’re looking to resize uploaded images or easily generate thumbnails give it a try Usage Save the code from the ‘the code’ section below as SimpleImage.php and take a look at the following …

Member Avatar for diafol
1
298
Member Avatar for msteudel

I was being really lazy and didn't want to write one up myself, couldn't find one, and ended writing one up myself anyways. Hope this helps other lazy people.

Member Avatar for prafful_panwar
1
3K
Member Avatar for KushMishra

Dear All, I am using Visual Studio 2012 and created a WPF application. I just want to know that how to include pre-requisites like set up files of .Net framework etc. in my setup project so that if anyone installing my setup has not got the framework installed on his/her …

Member Avatar for KushMishra
1
193
Member Avatar for KushMishra

Hello All, I want to create a combobox of Countries with 3 Group Headers as "Favourites", "Frequently Used" and "Rest of the world". I am not sure how to achieve the favourites and frequently used functionality. I have written some sample code that runs fine but the real functionality for …

Member Avatar for KushMishra
1
663
Member Avatar for slate

The most efficient static sieve generator in python I have seen so far. Returns the list of primes, that are not greater than n.

Member Avatar for vegaseat
1
496
Member Avatar for iLikePHP
Member Avatar for ryantroop
1
415
Member Avatar for Dili1234

I want to retrive data from table to combobox I used this coding though I didn't get an error the outpiut(data) is not displaing in the combobox Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click MessageBox.Show("Please Insert the Sample note no", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information) Try myConnection …

Member Avatar for sharls
1
599
Member Avatar for KushMishra

Hello All, I want to add a functionality to my WPF usercontrol in the Head section like the image below :- ![f4418c3ccc7f9a4d7f30aee9903987c6](/attachments/large/3/f4418c3ccc7f9a4d7f30aee9903987c6.JPG "f4418c3ccc7f9a4d7f30aee9903987c6") Could someone please suggest some approach on how to achieve the same ?

Member Avatar for KushMishra
1
170
Member Avatar for iLikePHP

Hello, is it ok if I private message a few of you my website so that I can have some testers? I am a solo website developer, 13 years old and I would love to get feedback from people. Is this against the rules?

Member Avatar for iLikePHP
1
128
Member Avatar for ddanbe

The luxuries we now have in the amount of pixels on a screen to draw some amazing graphs with, were lacking in the early days of computing. Most of the time you had to resort to rude printed output. It wasn’t that bad always. Sometimes it was and still is …

Member Avatar for ddanbe
1
3K
Member Avatar for ddanbe

I wanted to draw a 5 pointed star in C# and here is how I finally did it. I leave it as an exercise (some hints are given in the code) to work out how I did this. It was fun to do (but a bit hard, my trig is …

Member Avatar for ddanbe
1
4K
Member Avatar for KushMishra

Hi all, I have searched different websites about data binding in Silverlight however could anyone please tell me **what exactly is Binding and why we use it** and if we don't use binding, is there any alternative to that ? Thanks in advance.

Member Avatar for happygeek
1
91
Member Avatar for KushMishra

Dear All, I have written some logic using MVVM pattern and tried to show a sub-datagrid in each row of a datagrid however there are some issues that I am currently facing and they are as follows (screenshot attached) :- 1. In each row I have an expander in which …

Member Avatar for KushMishra
1
2K
Member Avatar for mslittle1

I need help with my homework assignment. The assignment is write a method DisplayDigits that receives an integer between 1 and 99999 and displays it as a sequence of digits, separating each pair of digits by two spaces. For example, 4562 should appear as 4 5 6 2 I have …

Member Avatar for mslittle1
1
472
Member Avatar for joester007

> I am trying to make a program that can convert decimals to binary. But there's no standard out that prints in binary. Can some one explain how I can do this. Any help will be appreciated. thanks. program DecimalToBinary; #include( "stdlib.hhf" ); static iNumber: int8 := 8; begin DecimalToBinary; …

Member Avatar for Assembly Guy
1
200
Member Avatar for MSV22

Hi I am getting this error AttributeError: 'module' object has no attribute 'instancemethod' I searched through the forum and found answers for this error, but it is not working in my case. I am using python 2.6 and wxpython 2.8. The program which where running perfectly earlier are also showing …

Member Avatar for soibac
1
2K
Member Avatar for Bhavya scripted

hi i recently found an interesting problem(#19) on the project euler website - projecteuler.net The real answer is 171 and i am getting 175 What is wrong with this code- def sunday(): c=0 sun=0 months=[31,59,90,120,151,181,212,243,273,304,334,365] leapmonths=[31,60,91,121,152,182,213,244,274,305,335,366] for i in range(1901,2001): n=leap(i) #Checking if year is leap year if n == …

Member Avatar for TrustyTony
1
473
Member Avatar for jazz.viper

Hello , I am a new user of this site and also new to web development.Recently while developing my site on tourism by php/mysql i thought of placing a search bar at the top of my website where users can search topics and results would be provided according to the …

Member Avatar for hag++
1
11K

The End.