64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for gradstud

I'm having an issue with my code and after hours of time I can't figure out what I'm doing wrong. There are three classes (GUI, Judging, TestGUI). All programs compile correctly with no syntax errors. The GUI creates an interface that should compute (JButton) a total of 8 scores and …

Member Avatar for gradstud
0
324
Member Avatar for Stefano Mtangoo

I have done a lot of PHP but never JSP. I have checked tutorial but not gone too far. I see there are Java beans and some servlets which I'm zero brain at. So I have two questions: 1. Where to read a concise tutorial (Not too detailed I mean) …

Member Avatar for Stefano Mtangoo
0
188
Member Avatar for rmontgomery

Hiya, whnever I use this code, I get a File Not Found exception, even though the file paths are all correct. Any ideas? thanks [code] Dim WordReader As String = "C:\Program Files\Microsoft Office\Office10\WINWORD.exe" Dim HelpPath As String = "C:\Documents and Settings\Steven\Desktop\TPBData\Help.doc" Shell(WordReader & HelpPath & "" & AppWinStyle.MaximizedFocus) [/code]

Member Avatar for kronald
0
195
Member Avatar for k2k

i have been using WAMP so never did a real php install... now i am trying to install php on a windows2003 machine... downloaded php5.3 msi file and finished the installation, added the path to the environmental variable. i can run php file in cmd now. however, i used notepad …

Member Avatar for k2k
0
108
Member Avatar for Tvirusx1

I just can't seem to solve this. Heres what I want to do: I want my program to calculate movement, from one point to another. The function _updatepos is the main function, where I have troubles. It is supposed to, as the name says, update the position (posx and posy), …

Member Avatar for Tvirusx1
0
156
Member Avatar for dnanetwork

i want a list of all countries and states for free interms of xml,html,word,doc,notepad, .sql format.. anybody have a list..?

Member Avatar for dnanetwork
1
112
Member Avatar for khan17

hello all, i just searched via google and found a set of codes to login to a web site using httpwebrequest. but whenever i tried using the codes i got the very same exception that The remote server returned an error: (407) Proxy Authentication Required. one of the sample code …

Member Avatar for khan17
0
162
Member Avatar for sharathk60

I am new to Blackberry Development so Please inform me how to run existing midlet jar in blackberry using eclipse ide i am using eclipse Version: 3.4.1 with blackberry plugin and simulator is 8300... Step By step information Please....

Member Avatar for sharathk60
0
98
Member Avatar for emaduddeen

Greetings Everyone, Can you tell me how to take a query that returns a single row of data and load that data into textbox controls. I know about ExecuteScalar but it is only good for a single column of data from the query. Thanks. Truly, Emad

Member Avatar for emaduddeen
0
67
Member Avatar for rs25

Hi, I'm having some requirement where i need to show some value in div tags and latter parse it to save in database. the value which is html escape char are getting translated when in div thus making the input wrong. like some where i'm using & and < they …

Member Avatar for rs25
0
196
Member Avatar for rouse

In searching the web I can’t find a clear explanation of how to define an array with a key value combination and then how to reference the elements. I want an array that has a key of date and description, this is for a MySQL result set. This seems to …

Member Avatar for rouse
0
132
Member Avatar for dbphydb

Hi, i am basically from QA. So what we do each morning is open a web browser with the address [url]http://11.12.13.27:8080/cruisecontrol[/url]. Then we click on the build with last nights date. Then we click on a folder say client. Then in that folder we click on an exe file say …

Member Avatar for Udai02
0
5K
Member Avatar for jemz

hello, can you help me how can i put icon in my message box is it possible to put icon on message box.?...hoping for your positive responds...

Member Avatar for jemz
0
220
Member Avatar for aditya61

Please help me... not able to figure out what is wrong with this code! <?php if($_POST == "submitted") { echo ' <script type="text/javascript"> // Used them both and to my horror, none of them work!!! document.BPC.postback.innerHTML = "postback"; document.getElementById("postback").innerHTML = "postback"; </script> '; } ?> <html> <head> <title> Help me! …

Member Avatar for aditya61
0
84
Member Avatar for tbrambor

I am trying to get some data off a Brazilian government website. The data is accessible through a form with some javascript. I am able to get the form and fill it out, but have trouble submitting it (a button needs to be clicked). I am using the library mechanize …

Member Avatar for tbrambor
0
4K
Member Avatar for DrueY

Hi Everyone, I'm working on a project in Visual C# that requires multiple tabs (similar to an internet browser). I was easy to implement the tabs, however Im unable to use the tab pages with a text box. The textbox is textBox1 and Ive got a lot of code connected …

Member Avatar for kvprajapati
0
2K
Member Avatar for breakid

Hi, I created a class name -InterestedCompany.cs [CODE] namespace TestingProject { class InterestedCompany { string interests; public string Interests { get { return interests; } set { interests = value; } } } } [/CODE] I have one more class name - Student.cs [CODE] namespace TestingProject { class Student :Person …

Member Avatar for kvprajapati
0
87
Member Avatar for freedompeace

Hey everyone, Um, I've been working with PHP and MySQL for a few weeks, and to store text I've always been stripping anything but alphanumeric characters, which has worked fine until now. For my next project [I want to create a simple CMS/forum for my website], I need to store …

Member Avatar for colweb
0
273
Member Avatar for laehc

The obvious way to compile a while-loop is with a conditional branch at the start and an unconditional branch at the end to loop back. Suppose the condition is A>B, then a conditional branch at the end testing A<=B will fall through when the loop is done, instead of jumping …

Member Avatar for laehc
0
164
Member Avatar for phummon

Hi everyone, I'm a moderately experienced C++ programmer and a network engineer. I’m having a weird problem with using an array of vector<char *>, which I’ve never tried to work with before. I’m working on a program which does the following: 1. Inputs and parses a file called [B]PREFIX_FILE[/B], which …

Member Avatar for daviddoria
0
215
Member Avatar for leo1937ca

I have created a vb6 program that has 6 forms. I put the button files for all of the BMPs in a (1) Folder named ALL BMPs Form1 loads all the Forms after the the Splash screen exits. when running the vbp file every thing runs OK and the buttons …

Member Avatar for vb5prgrmr
0
1K
Member Avatar for arithehun

Hello, I have a somewhat basic question about Dark GDK. I am taking Dark Basic courses, and converting the code to Dark GDK (not a difficult task), because I am unwilling to spend $60 on an inferior compiler. I am taking a complete FPS tutorial. It went fine for a …

Member Avatar for arithehun
0
305
Member Avatar for BobTheLob

Okay, so i've been trying to get this code to work for quite some time, and i'm about to go bonkers. Hopefully y'all can help me out with this problem because I need to hand this one in soon. My problem is I need to make an array of objects. …

Member Avatar for moutanna
0
233
Member Avatar for schwarznavy

Hello! I've done some Googling about this, and many sites say that "hasing" is a better alternative than using a variable name with a variable name. I don't understand the concept of hashing, and what I'm trying to do seems small and insignifant, so I was hoping someone could help …

Member Avatar for mitchems
0
108
Member Avatar for johnnydarten

Hello! I am new in J2ME and I had a project about how to build a communication system by java codes.I just need to know the problem I have in my code such that I get an error when execute it through console.The error is: javax.microedition.io.ConnectionNotFoundException:The requested Protocol doesnot exist …

Member Avatar for peter_budo
0
152
Member Avatar for krishnisilva

hi there, how can i select the text in a textbox when i use the tab key or when i click the mouse on the textbox. how can i do this in C# VS 2008 standard edition. thank you in advance

Member Avatar for ch_shoukat222
0
132
Member Avatar for sblass92

here's the basic setup: [CODE] #ifndef _GLOBALS #define _GLOBALS #include <list> #include <vector> #include "unit.h" extern std::vector <unit> reserved_units; extern std::list <unit*> active; extern std::vector <unit> generics; #endif [/CODE] [CODE] //globals.cpp #include "globals.h" #include "unit.h" #include <vector> #include <list> vector <unit> generics(15); vector <unit> reserved_units(200); list <unit*> active(0); [/CODE] unit.h …

Member Avatar for sblass92
0
193
Member Avatar for bbxrider

I'm getting schema info but not so far able to bind it into datagrid columns, see code below I can print out the column-name and description and want to bind those into data grid columns [code] Dim schemaTable = dbConn.GetOleDbSchemaTable(OleDbSchemaGuid.Columns, _ New Object() {Nothing, Nothing, "VolDataNew", Nothing}) For i = …

Member Avatar for bbxrider
0
158
Member Avatar for lotrsimp12345

It is impossible in C++ since you have to use iterator to erase. Here's what I have: main.ccp [CODE] #include <iostream> #include <vector> #include "Mastermind.h" int main() { vector<int>* answer=new vector<int>(4); cout<<"enter an code\n"; for(int i=0; i<4; i++) { int k; cin>>k; answer->push_back(k); } //initalize population Mastermind a(5); //set answer …

Member Avatar for lotrsimp12345
0
132
Member Avatar for bharatk

I have 2 lists: a=[0,1,5,7] b=[2,10,6,3] I need to get this list : c=[(b[0]+a[0]),(b[0]+b[1]),(b[0]+b[1]+b[2]),(b[0]+b[1]+b[2]+b[3])] I tried doing this using a for loop: [CODE] c=[(b[0]+a[0])] for i in range(0,(len(b)-1)): for p in range(i+1,len(b)): if i==0: c.append((b[i]+b[p])) else: c.append((c[i]+b[p]))[/CODE] I am supposed to get [2,12,18,21] but I am getting [2, 12, 12, …

Member Avatar for bharatk
0
109
Member Avatar for markcaldwell

I have created a table named "MapDetail" : the FIELDS identify the formname, the name of the textbox , and data to be transferred to that textbox. My form contains a map of city lots. Each of these lots contain a Textbox. My objective is to load each Textbox with …

Member Avatar for markcaldwell
0
203
Member Avatar for basma.lm

hi, i work on a widows application sql server ce database and i want to know how to add the rows of a datagridview to a datatable. thanks

Member Avatar for basma.lm
0
141
Member Avatar for katties

Hi is it possible to count days between columns, something like [CODE]datediff(date_finished-date_started) as 'days'[/CODE] only datediff works just with actual dates, and I'd like to have the days number for every row counted automatically with the rsults in a new temporary column'days'; I hope it makes sense. Please could you …

Member Avatar for katties
0
96
Member Avatar for daino

Hi I'm rather new to C++ and am rather confused about something. I noticed, say, in an "if else" statement or a "Switch" statement it only evaluates numerical expressions. In an If Else statement I can compare two strings by using a returned boolean result from say 'strcmp' but I …

Member Avatar for Stefano Mtangoo
0
233
Member Avatar for Cap'nKirk

Hi, I already have an application built and have thought about adding a splashscreen to it. My initial form is MainForm.cs my splashscreen is Splash.cs I have searched the net and seen various different approaches to displaying the splashscreen and have only had limited success with one that I found. …

Member Avatar for kvprajapati
0
103
Member Avatar for maddav

Hi, just a quick question (i hope!!), i'm working on an assignment where i need to build a user-defined library of shapes. The class structure is to have "shape" as a base-class with both 2d and 3d shapes as derived classes. I've handled this by storing them in a vector …

Member Avatar for maddav
0
628
Member Avatar for sabiut

Hi, i need your expertise in this one. i am new to python, i want to write an algorithm that takes a string as input and determines whether or not it is a palindrome. please point me to the right direction. Thanks in advance. sabiut

Member Avatar for sabiut
0
194
Member Avatar for green_frog

When ever to run the following piece of code in my game it crashes. I have narrowed down the problem to being initiating mEnemies[i] = NULL and mSpaceship.mBullets[c] = NULL. Got no idea why. Please help for(int i=0; i<mEnemies.size(); i++) { // cycle of bullets for(int c=0; c<mSpaceship.mBullets.size(); c++) { …

Member Avatar for mitrmkar
0
162
Member Avatar for karrotbear

write a python function called getAP which: has three input parameters: an array of measured voltages, the number of measurements n and the threshold voltage for an action potential; and returns an array with n entries, containing a 0 if no action potential occurred at the corresponding time step, and …

Member Avatar for vegaseat
0
113
Member Avatar for rai32

Hello people, i'm new here, and i hope that you can give me a hand with a little client-server software that i'm doing that it's driving me nuts. The essence of the program is very simple, you have this client (in my case cliente.c, as i'm Spanish) with this syntax …

Member Avatar for rai32
0
293
Member Avatar for Learner7

Hi, I have the following code which works pretty fine with Listview. But I would like to use it with computer keyboard up/down arrow keys. How to modify the following code? Please do help. [CODE]Private Sub LVW_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles LVW.Click txtTAID.Text = LVW.SelectedItems(0).Text txtVNO.Text …

Member Avatar for Learner7
0
1K
Member Avatar for Tainor

I'm learning SDL but I have run across a problem which I can't understand. For some reason, whenever I try to convert an image to the display format it returns a NULL pointer. I've checked the linker and order of functions and everything is right. Curiously, if instead of trying …

Member Avatar for Tainor
0
250
Member Avatar for lotrsimp12345

starting to think that memory isn't big enough. the totalnumberofpegs i only set it to 0 in my code yet it changes it self somehow :(. please help i have tried everything. It shows that it is 0 in all other functions. main.cpp [CODE] #include <iostream> #include <ctime> #include <stdio.h> …

Member Avatar for lotrsimp12345
0
137
Member Avatar for krishnisilva

hi, i am creating a project in C#.NET 2008 standard edition. how can i make the datagrid view read only, but when a cell is clicked which has data another from should open. how can i do this thanks

Member Avatar for manoj kumar1446
0
177
Member Avatar for lotrsimp12345

so i think i know where the problem is... it return garbage for code_pos even though i initalize and change values assigned to it. :( Please help. but don't know how to fix it. main.cpp [CODE] #include <iostream> #include <ctime> #include <stdio.h> #include "Mastermind.h" using namespace std; int main() { …

Member Avatar for lotrsimp12345
0
148
Member Avatar for perlnewbe

I'm new to perl and need to read a txt file into a hash and then perfrom the following. Read in the file Create a Hash For each word in the file, count how many times the word occurs. Store the word a hash which is indexed with the words …

Member Avatar for mitchems
0
1K
Member Avatar for rouse

A new site that I have to work with requires me to use putty to connect to the site if I want to work remotely as opposed to logging in to their phpMyAdmin to manipulate my data.. I am unfamiliar; please read that has having no knowledge of how to …

Member Avatar for rouse
0
112
Member Avatar for vbx_wx

here is my code: [code] TCHAR name[MAX_PATH]; DWORD size; BYTE name2[MAX_PATH]; DWORD size2; int i = 0; while(RegEnumValue(Hkey , i , name , &size , 0 , NULL , name2 , &size2) != ERROR_NO_MORE_ITEMS) { cout << "Value name: " << name << "---" << "Data name: " << name2 …

Member Avatar for Ancient Dragon
0
740
Member Avatar for Mitja Bonca

How to put an image (BitMap) into a statusBar? I was trying with: 1. [CODE]statusBar1.Text = Properties.Resources.MyPucture;[/CODE] 2. [CODE]Bitmap myPic = new Bitmap(Properties.Resources.MyPucture); MethodToShowStatusBarImage() { statusBar1.Text = myPic; }[/CODE] but it is not working. Any clues how to salve this issue? And besides, I have found a lot of example …

Member Avatar for Diamonddrake
0
480
Member Avatar for bobgodwin

I need to get a file name from a jpg without the extension to use as id in a span tag. Here's the code I'm using: [CODE] <?php $result = mysql_query("SELECT * FROM $data_sales_earrings ORDER BY id ASC"); while($row = mysql_fetch_array($result)) echo " <span id=\"need file name from jpg front\"><img …

Member Avatar for bobgodwin
0
227

The End.