132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Dean_Grobler

Hey guys, I've taken on a project where I have to code an applet that gathers information and sends it to a database. The thing is though, that the client's website is being hosted by some other unknown company. I have the impression that in order for this to work, …

Software Development client-server java
Member Avatar for masijade
0
370
Member Avatar for Sturdy

Hi all, I'm New to VB 6. I want to select a file from the directory like another applications. How i can do that?

Software Development file-system visual-basic
Member Avatar for Sturdy
0
5K
Member Avatar for LanguidLegend

Hi, I was wondering if someone could help me with an issue I'm having in my code. [ICODE]#include <stdio.h> #define SZ 7 int* a[SZ]; int x, y, z; void populate() { x = 1; y = 2; z = 3; a[0] = &x; a[1] = &y; a[2] = &z; a[3] …

Software Development assembly c
Member Avatar for csurfer
0
178
Member Avatar for wildplace

hi, i have the following codes, is there any way to check if the user entered a character instead a number? btw, i dont want to change the input type from long to char thanks =D [CODE] long input; printf("enter a digit to your list: "); scanf("%ld",&input);[/CODE]

Software Development c
Member Avatar for Narue
0
156
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 …

Software Development file-stream java ubuntu
Member Avatar for mKorbel
0
743
Member Avatar for esraa waqfi

can you help me to solve an assignment in data structure using C++ ?

Software Development c++ data-structure
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 …

Software Development python
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 = …

Software Development
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 …

Software Development c# html-css image
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 …

Software Development vb.net
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 …

Software Development c++ queue
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

Software Development vb.net
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]

Software Development c
Member Avatar for tomato.pgn
0
78
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 …

Software Development c++ file-system
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; …

Software Development c++
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[,] …

Software Development mathematics
Member Avatar for bunny07
0
179
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..

Software Development vb.net
Member Avatar for arezz09
0
87
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 …

Software Development dataset open-source vb.net
Member Avatar for Olivis
0
231
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() { …

Software Development c++
Member Avatar for rogba
0
161
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 …

Software Development microsoft-access visual-basic
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 …

Software Development visual-basic
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> …

Software Development c++
Member Avatar for JasonHippy
0
229
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 …

Software Development vb.net visual-basic
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 …

Software Development vb.net
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 …

Software Development vb.net visual-basic
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 …

Software Development c c# c++ listview
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 …

Software Development c++
Member Avatar for awie10007
0
269
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 …

Software Development c++ gui qt
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"};` …

Software Development java
Member Avatar for gingerfish
0
800
Member Avatar for Nikhil R

change password program in c # aspx please??????????

Software Development
Member Avatar for abelLazm
0
66
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 …

Software Development file-system java
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); } } …

Software Development c++
Member Avatar for kk33
0
1K
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 …

Software Development c++
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 …

Software Development file-system
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.

Software Development vb.net
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 …

Software Development c# gui ide visual-studio
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, …

Software Development gui python
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?

Software Development dataset
Member Avatar for xanawa
0
88
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 …

Software Development mysql visual-basic
Member Avatar for aquamarine_kath
0
138
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 …

Software Development dataset open-source vb.net visual-studio
Member Avatar for debasisdas
0
105
Member Avatar for arezz09

how to make multiple search for datagrid...

Software Development vb.net
Member Avatar for Saikalyankumar
0
128
Member Avatar for jitsux

So I tried to write a program that creates 15 random strings then allows the user whether he wants these strings sorted in descending or ascending order. the original strings and the sorted one to be displayed accordingly as well. Here is my attempt: [CODE]class Sorted strings{ final static int …

Software Development java
Member Avatar for masijade
0
127
Member Avatar for nickliutw

I'm working on a manage friend list program which allow you to add friends, remove friend from list, and display friend list. I have not finish this program yet. But I keep getting compile error at line 42 which I'm trying to create a method allow user to enter name …

Software Development java
Member Avatar for nickliutw
0
228
Member Avatar for gulbano

Hey all I have to make a audio player in C# can any one tell me how to play an audio in c# form application ? Thanks in advance

Software Development audio
Member Avatar for gulbano
0
91
Member Avatar for Joeflims

Hello. I have been trying to run a simple script in Windows 7 DOS using the python command, but it returns this error message: 'python' is not recognized as an internal or external command, operable program, or batch file. I've looked up how to fix on Google, but I can't …

Software Development python
Member Avatar for TrustyTony
0
773
Member Avatar for CrazyProgrammer

Hi, could someone help me work out how to write this format expressions it goes something like [CODE] displayBox.AppendText(string.Format("{0,-20}{1,0}\n", add11, add21)); displayBox.AppendText(string.Format("{0,-20}{1,0}\n", add12, add22)); displayBox.AppendText(string.Format("{0,-20}{1,0}\n", add13, add23)); displayBox.AppendText(string.Format("{0,-20}{1,0}\n", add14, add24)); [/CODE] the problem im having is that when add14 is empty add24 doesn't align properly with add22, add21, and add23 …

Software Development
Member Avatar for Momerath
0
96
Member Avatar for kratosaurion

So here is my problem, my friend and I are writing a simple project for a electrical eng. teacher, who really doesn't know too much about programming c++. We were assigned to make a successive approximation ADC [URL="http://en.wikipedia.org/wiki/Successive_approximation_ADC"]Look here[/URL] in any coding language possible. I would have liked to make …

Software Development c++ programming-construct
Member Avatar for kratosaurion
0
457
Member Avatar for eileenc87

Hi, I cannot add data source in my window applciation;...There is no menu for me to add a new datasource. What is shown there is [B]none[/B] What should I do? Kindly assist Need your immeadiate attention...

Software Development vb.net
Member Avatar for eileenc87
0
635
Member Avatar for bensewards

Hey everyone, I have to manipulate two functions RECURSIVELY, strlen and strcpy. I was able to code the strlen: [CODE]int length(char* str){ if(str == NULL){ return 0; }else{ return length(str, 0); } } int length(char* str, int l){ int len=0; if(str[l]){ len = length(str,l+1); } else { return l; } …

Software Development c++ programming-construct
Member Avatar for bensewards
0
758
Member Avatar for MrHardRock

Hey everyone, I have my code written I just have one error I am stuck on, any help is greatly appreciated, thanks in advance. My one error is on line 80 saying "illegal start of expression" pointing at the 'p' of public [CODE] import javax.swing.*; import BreezySwing.*; public class binary …

Software Development gui java seo
Member Avatar for cretaros
0
155

The End.