199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for JPramod

Hi, I am running Ubuntu in my machine and I tried this code: [CODE] import java.io.InputStream; import java.io.IOException; import java.applet.Applet; import java.awt.*; public class execute extends Applet{ String output=""; public void init(){ try { // Execute command String command = "ls"; Process child = Runtime.getRuntime().exec(command); // Get the input stream …

Member Avatar for mKorbel
0
743
Member Avatar for esraa waqfi
Member Avatar for esraa waqfi
0
165
Member Avatar for ThePythonNoob

I have stated to make a program called virtual Tv, I have been having troubles with variabels and I need the variable: state to be able to be change and accessed outside the class and inside, but I think that state is a local variable at the moment. [CODE]import random …

Member Avatar for lrh9
0
211
Member Avatar for zachattack05

Looking at examples online, all of them seem to have: [CODE=C#]int read = s.EndReceive(ar); if (read > 0) {//Some code}[/CODE] The question I have is...why? Why bother with the [ICODE]if (read > 0)[/ICODE] when the MSDN says that EndReceive blocks until data is received? If you call [ICODE]int read = …

Member Avatar for zachattack05
0
165
Member Avatar for geekman92

Hi me again! =) if you didn't already know i am making a simple HTTP Server using TCP/IP sockets for a project. i have a method to get an image and send it over to the browser but i am having problems doing so, i have tried doing it different …

0
113
Member Avatar for aispg8

Is there an easy way to schedule a webservice that was created in vb.net. Would I need to create a .asmx file or do I create an executable in vb that calls a webservice? Or....I have created a webservice using SOAPUI 3.6.1. would it be easier to schedule that instead …

Member Avatar for Oxiegen
0
166
Member Avatar for ayat taj

[COLOR="Green"][I]CAN YOU HELP ME TO SOLVE THIS Assignment.... PLEASE....[/I][/COLOR] [COLOR="red"][B][U]THIS IS THE QUESTION : [/U][/B][/COLOR]Implement the linkedPriorityQueue class as defined below. Note the following:  Each node in linkedPriorityQueue represents a customer. A customer can be regular or with a high priority. High-priority customers have their high_priority variable set to …

Member Avatar for Fbody
0
213
Member Avatar for chabo

Hey Guys Plzzzzzzzzzzzzz I need The Source Code To Print A bill In vb 2008 and It is urgentttttttt thank youuuuuu

Member Avatar for chabo
0
232
Member Avatar for alex1050

I need help understanding the for statements. This segment of code repeats itself as so 1 22 333 4444 However, i need understanding in how it repeats itself. Thanks [CODE]#include <stdio.h> int main () { int i,j; for(i=1;i<5;i++) { for(j=1;j<=i;j++) printf("%d",i); printf("\n"); } }[/CODE]

Member Avatar for tomato.pgn
0
78
Member Avatar for karthik_ppts

Hi Frendz, I have a latitude and longitude points of particular place namely X. Now I want to check the given latitude and longitude point of a place namely Y is within a circumstance of a particular radius from that point X. How to check that? i'm using google map.

Member Avatar for karthik_ppts
0
161
Member Avatar for emanfman

Hi, I am a little bit troubled. I want to call a function in a separate file on a windows form. Here is my header file: [CODE]private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { String ^OriginalText; String ^ConvertedText; OriginalText = this->textBox1->Text; ConvertedText = ParseBBCode(OriginalText); this->textBox2->Text = ConvertedText; }[/CODE] This means that …

Member Avatar for emanfman
0
317
Member Avatar for kumaresen

#include <iostream> #include <fstream> #include <string> using namespace std; int main () { float calculateAverage(int[]); char Grade(float); char line[100]; int marks[100]; ifstream input; ofstream output; clrscr(); input.open("k:\\input.txt"); output.open("k:\\OUTPUT.txt"); if(!output) cout<<"Output file error"; if (input) { while (!input.eof() ) { input>>line; cout << line <<endl; output<<line; for(int i=1;i<=5;i++) { int num; …

Member Avatar for Fbody
0
289
Member Avatar for bunny07

Hi, I'm new to this forum and C#. I try to make an array that each is the sum of the value of each row in sims array. It gives me nothing but zero. Please help. TIA. [CODE]public double[] ave_S(int M, int N, double S, double sig, double dt, double[,] …

Member Avatar for bunny07
0
179
Member Avatar for xoron123

Hi im in a bit of a pickle :S this is probably a lot easier than i imagine. i am a undergrad working on robotics and the robot im working on takes pictures in RGB565 which is 16 bit. but i dont know how that works :/ i understrand 24 …

Member Avatar for Momerath
0
200
Member Avatar for arezz09

can i make idle system for my application...so when user login system & idle for 30 minutes, system automaticly logoff... i only hve code in c#...anyone help me..

Member Avatar for arezz09
0
87
Member Avatar for jhonilson

Hi. I am using TinyMCE editor in my web but when I submit the form the text is save in the database without format. Could you tell me please How I can submit formatted text with JSP?? NOTE: *i am using netbeans 6.9 *the form is "multipart/form-data" *the tinymce version …

Member Avatar for jhonilson
0
74
Member Avatar for Olivis

Hey! So i just started reading through some Database tuts, because i needed it for a project that i am making. I am using the HomeandLearn tutorial. So i have a database called "AdressBook" and then this code. [CODE]Public Class Form1 Private Sub btnLoad_Click(ByVal sender As System.Object, ByVal e As …

Member Avatar for Olivis
0
231
Member Avatar for TechySafi

Hi guys! How you doing? Well I'm having a little headache...here is it :D [CODE]$emaillist=mysql_result($checkemail, 0); print_r ($pieces = explode(",", $emaillist)); //printing values for debugging $useremail_array=mysql_fetch_array($useremail_query); extract($useremail_array); print_r ($user_em); //for debugging if(in_array('$user_em',$pieces)) { ?> <div class="discussposttext"> <form action="more.php?id=<?php echo $id; ?>" method="post" id="jstest"> In reply to ID:<input type="text" name="inreplyto" /> …

Member Avatar for TechySafi
0
163
Member Avatar for sumprit

Hi, i am still stuck in SQL query about how to retrieve data from two tables. I have two database tables- Forecast [CODE=text]------------------------------------------------------------------- TimeStamp | Temperature | Rainfall | Wind | City_Code ---------------------|-------------|---------|-------|------------- 2011-03-13 10:00:00 |22.2 (degC) | 0 | 7 | 1 2011-03-13 11:00:00 |23.1 (degC) | 0 | …

Member Avatar for debasisdas
0
176
Member Avatar for rogba

right now my program asks for 5 candidates but i want to make the user input as many candidates as they want to. how would i go about doing that?? #include <iomanip> #include <string> using namespace std; int sumVotes(int list[], int size); int winnerIndex(int list[], int size); int main() { …

Member Avatar for rogba
0
161
Member Avatar for ahsan1

It is showing error about foreach loop. Error is: Warning: Invalid argument supplied for foreach() in D:\wamp\www\greenmusic\admin\sec.php on line 408[code]<form id="adminsform" name="adminsform" method="post" action=""> <input type="checkbox" name="master" onClick="checkedAll('adminsform')" value=""/> <?php while($row=mysql_fetch_array($result)) { ?> <input type="checkbox" name="musicid[]" value="<?=$row['id']?>" /> <?=$row['song']?> <?=$row['singername']?> <?=$row['songtype']?> <td width="15%"><?=$row['songtypeav']?></td> <?php if($row['songtypeav']=="Audio Song") { ?> <a href="sec.php?id=<?=$row['id']?>&act=play">Play</a><?=" …

Member Avatar for pzuurveen
0
118
Member Avatar for Michaelkim

Hi All!, here's my problem. i'm working with Visual basic 6 and microsoft Access 2003 database. I use ADO objects for connection and manipulation of the database. In my database there are 3 tables .2 tables(Customers and Events) are the parent tables and 1 table(Orders) is a child table.The order …

Member Avatar for dspnhn
0
403
Member Avatar for cindy s

hi guys, im having some trouble here and cant figure out what im doing wrong. i have a vb6 program linked to a ms database and im running queries and returing the results in a listbox on the same form. here is what i have: [CODE]Private Sub cmdSearchauthor_Click() Dim strSearchFor …

Member Avatar for dspnhn
0
191
Member Avatar for kumaresen

i have a prob wit this code...it says variable letter is being used without being initialized...can anione tell me how n where should i initialize it...plz...m desperately in need of help...i m blank...m jst a beginner in c++... the c++ code is... #include <iostream> #include <iomanip> #include <fstream> #include <string> …

Member Avatar for JasonHippy
0
229
Member Avatar for Jake.20

Please guys i need help in log in form, i'm newbie at php and tomorrow is the submission of our case study. can somebody help me in log in form. i'll post a code below and tell me if this is correct, if no please provide the right answer, and …

Member Avatar for Jake.20
0
195
Member Avatar for klemme

Is this a correctly made JOIN: [CODE] // Build SUBJECT navigation and gather SUBJECT data here-------------------------------- $sqlCommand = "SELECT id, linklabel, pos FROM subjects INNER JOIN pages on id = pages.subjectid ORDER BY pos ASC"; $query = mysqli_query($myConnection, $sqlCommand) or die (mysqli_error()); [/CODE] ? Klemme

Member Avatar for klemme
0
60
Member Avatar for ashwinshenoy

Hi All, I am trying to update my form once the delete button is clicked. There are several fields like Name, Date, Date of Birth and so on. Once I delete a record I want the form to automatically load with new / updated data. This form fetches data from …

Member Avatar for Animal Mother
0
673
Member Avatar for markdean.expres

Does anyone know how to handle errors? I want that, when errors happen such as the errors in datagrid, invalidcastexceptions or others, there should be some pop ups to show instead of the JIT dialog box. Please help me with this, this is the last part of my program (the …

Member Avatar for markdean.expres
0
110
Member Avatar for bondi007

I have recently started a new unit in college called Event Driven Programming, I eventually changed campus and not many teachers here know alot about Visual Basic. I can create simple programs and I am getting my head around the syntax but some questions in the assignment are quite confusing …

Member Avatar for Jx_Man
0
134
Member Avatar for Skeldave

Hi, I have a few questions which I need answering please. I have a ListView and I need to get the text in the cell which is clicked. At the moment i have this but it only works for the first cell which is clicked and throws an ArgumentOutOfRangeException if …

Member Avatar for abelLazm
0
116
Member Avatar for newbiecoder

Hello, I am a university student and I have very few courses this term so I have a lot of free time. In this term I want to improve myself and gain experience on C++ with algorithms and data structures. But I don't know how to do that... I have …

Member Avatar for awie10007
0
269
Member Avatar for vanpersie

Hi I have a project whichs hould be achieved in a very short time I need others to work with me in DFD and DRD , my initial dfd is posted as al ink at the end of this topic. ONLINE POST – OFFICE MANAGEMENT SYSTEM Introduction : – TARS …

Member Avatar for debasisdas
0
151
Member Avatar for SWEngineer

just have those questions about those code sinppets from the C++ GUI Programming with Qt 4 book: GoToCellDialog::GoToCellDialog(QWidget *parent):QDialog(parent) Does that mean we are inheriting QDialog(parent)? Or, what exactly does this mean? setupUi(this); Here, this code snippet is part of the gotocelldialog.cpp file, which is the implementation of gotocelldialog.h header …

Member Avatar for L7Sqr
0
174
Member Avatar for gingerfish

hello programmers is it possible to extract some part of 2D array and make a new 1D array? for example from this array String[][] twoDarray= { {"s", "y", "r"}, {"s", "n", "r"}, {"w", "y", "r"}, {"r", "y", "p"}}; take first column of twoDarray[0] and make this `arrayString[] newArray = {"s","s","w","r"};` …

Member Avatar for gingerfish
0
800
Member Avatar for Nikhil R
Member Avatar for Spik31

Hi all, I'm new and I currently am developing a website on fishing fred's fishing. The site is an experiment for a portfolio ect. There is a feature, the guestbook. The Guestbook is managed by a MySQL database and the PHP is responsible for creating and echoing the data. I …

Member Avatar for Spik31
0
315
Member Avatar for Mestika

Hi everyone, I'm working on a small project and have run into some problems. Briefly described, what I'm attempting to do is: I've a rather large text file with a different sentence and I need to find all the words in each sentence and add them to some sort of …

Member Avatar for JamesCherrill
0
457
Member Avatar for kk33

Hi I am trying to convert the outbuff from WinHttpQueryHeaders to string but its not working properly... my code [CODE] if( GetLastError( ) == ERROR_INSUFFICIENT_BUFFER ) { lpOutBuffer = new WCHAR[dwSize/sizeof(WCHAR)]; // Now, use WinHttpQueryHeaders to retrieve the header. bResults = WinHttpQueryHeaders( hRequest, WINHTTP_QUERY_RAW_HEADERS_CRLF, WINHTTP_HEADER_NAME_BY_INDEX, lpOutBuffer, &dwSize, WINHTTP_NO_HEADER_INDEX); } } …

Member Avatar for kk33
0
1K
Member Avatar for bhallarahul

can u please tell me how to make a graph or say what is a logic behind designing graph in jsp

Member Avatar for peter_budo
0
93
Member Avatar for NvIs

I'm trying to learn how to sort arrays. I tried to learn select sort, but I couldn't code it right... so I tried the easiest, bubble sorting and kind of got the hang of it! But with a few problems and questions. I'm trying to print an array with random …

Member Avatar for NvIs
0
132
Member Avatar for xanawa

I created an open file dialog to open an image from my computer and than display the picture in the picture box and it's path in a textbox.. The problem is that it is not getting the whole path in the text box example if teh path is: [COLOR="Green"]C:\Users\Anna Marie\Desktop\Software …

Member Avatar for abelLazm
0
164
Member Avatar for jaz854

hello, can somebody please help me. I need to create a clear button to delete all the data from my form. I don't know how to do this. can some body give an idea how to do this, I am using vb.net 2003.

Member Avatar for leyyy
0
153
Member Avatar for Dean_Grobler

Hey C# people, Sorry for my topic title, I honestly didn't know what else to call it. I'm a Java developer and I'm looking into learning C#. I've read up a bit on it but I'm rather confuzed (as expected)... 1) Firstly, in java you can choose to use an …

Member Avatar for ddanbe
0
352
Member Avatar for imperialguy

I want to limit the size of a list control box. Let us take the following code: [code] import wx class Students(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id, title, size=(380, 230)) hbox = wx.BoxSizer(wx.HORIZONTAL) panel = wx.Panel(self, -1) self.list = wx.ListCtrl(panel, -1, style=wx.LC_REPORT) self.list.InsertColumn(0, 'name') self.list.InsertColumn(1, 'age') hbox.Add(self.list, …

Member Avatar for richieking
0
245
Member Avatar for xanawa

Hi, I have a combobox which gets data from a dataset called cmbItemType, now i would like to let the user add another item type in the combo boc withot haveing to create another form. can u help me pls?

Member Avatar for xanawa
0
88
Member Avatar for karthik_ppts

Hi Frendz, i received this error "Fatal error: Call to undefined function curl_init() in ....../xxxx.php But its working fine in other system.

Member Avatar for karthik_ppts
0
97
Member Avatar for aquamarine_kath

I have fields UserID, Status and etc. The status of the user will be either active or inactive. I want to count how many UserID of Active users only. I have a code here but it's not working..It says "Invalid or Unqualified reference". Can you please help me check this …

Member Avatar for aquamarine_kath
0
138
Member Avatar for Joshua Kidd

Hey all, I need some help with Editing a Table in a Database using php/ Can someone point me in the right way to do this. Thanks in advance, :)

Member Avatar for Joshua Kidd
0
81
Member Avatar for kitjo

2 Days Ago different datatable update i have a big problem yet ihave to present this project on monday my database which i have to present next week. i have tried to play with the codes but still it has failed to retrive and update data. i need a code …

Member Avatar for debasisdas
0
105
Member Avatar for arezz09

The End.