64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for GallantAlex

Hi everyone, I am a just beginning Win32 Application Programming for C++. I really couldnt find any site that didnt confuse the heck out of me. Alrighty, I'm not here to ask you questions about acutally learning Win32, but i would like to know if you could recommned me a …

Member Avatar for William Hemsworth
0
487
Member Avatar for Software guy

hi , i am tryin to put all the upper case alphabets in an array list and , then i want it to print on screen , but for some particular reason i am getting no result but a strange output. here is the code and result: [code] void buildAlphabet() …

Member Avatar for Ezzaral
0
130
Member Avatar for Kavitha Butchi

Hello all, I am trying to code for user's profile pic uploading and resizing the image. I am using the following code and I dont know where I am going wrong! [code=php] <?php //This is the directory where images will be saved $target1 = "images/"; $target = $target1 . basename( …

Member Avatar for Kavitha Butchi
0
403
Member Avatar for witternb

Hello Everyone, I am very new to VB and currently using VB Express 2008 to create a simple program. However, I am running into a syntax error on my update code. I have done some research on the web but cannot find a common thread. I am hoping some of …

Member Avatar for witternb
0
146
Member Avatar for Blaine Tuisee

I'm creating a simple application in C# using ASP.NET. I'm trying to give it a sort of login pop-up box. It won't have username and passowrd but instead ask for a program number, name, email address and phone number. Any ideas?

Member Avatar for Blaine Tuisee
0
116
Member Avatar for linux

Is there any way for someone to, using PyGame or SDL, to do, say: [code]00000000 01222100 01112110 01112110 01111110 00000000[/code] And have it display the 0's as a water tile (10x10), the 1's as a grass tile (10x10), and the 2's as a rock tile (10x10)? As to make maps …

Member Avatar for linux
0
144
Member Avatar for shariana

Can anyone help me? Obviously, I do not know what I am doing!!! I am getting this error: Parse error: syntax error, unexpected ';' in /home/wbritt/public_html/ADMIN/index.php on line 341 [code=php]<?php include("login_config.php"); include_once("Utils.php"); if(isset($doExport)||(isset($category)&&$category=="exit")||isset($Export)){ ob_start(); } if(stristr($_SERVER['HTTP_USER_AGENT'],"MSIE")) { $IE=true; } else { $IE=false; } $AC=true; include("security.php"); $lArray=DataArray("admin_users","username='$AuthUserName'"); if(isset($lng)){ $LANGUAGE=$arrSupportedLanguages[$lng][1]; $LANGUAGE2=$arrSupportedLanguages[$lng][1]; SQLUpdate_SingleValue( …

Member Avatar for shariana
0
66
Member Avatar for elhallouf

hey all. I am trying to assign unique IDs to a list of strings I get from a file Let's say my list (list.txt) is: [CODE] Shoes from Italy 1 Shirts made in Japan Shoes from Italy 2 Shirts made in France Boots made in United Kingdom Socks [/CODE] I …

Member Avatar for slate
0
248
Member Avatar for whisper_101

Hi Everyone On an .ASP Webpage I allow users to select more than one option from a list box. To retrieve this information I use the Split Function i.e. [code=ASP]<% strSQL = SELECT APP_JOB FROM TBLAPPLICANTS Set RSAPPLICANT = Server.CreateObject("ADODB.Recordset") RSAPPLICANT.open strSQL,Conn Dim strjob strjob = RSAPPLICANT("APP_JOB") choice=Split(strjob, ",") %>[/code] …

Member Avatar for whisper_101
0
186
Member Avatar for nibbler

I'm looking for some guidance on how to develop a msql query that loops through elemenets in a php array. The array is constructed from a multiple line list box.

Member Avatar for nibbler
0
160
Member Avatar for eng.N

hello, I need to register a new Employee's Car , In my database , there are two tables ( Car_info , Emp_Info ) and I created a relation between them : (Car_info table) Column [B]Car_no [/B]As [B]Primary Key [/B] and (Emp_info table) Column [B] Car_no [/B]As [B]Foreign Key [/B]. [COLOR="Green"]This …

Member Avatar for eng.N
0
89
Member Avatar for Shubhib

sir i've a problem. i want that if i click on link in gridview then the values for that row should come in text box in parent form. please help me how i can do this. i'm using VB.Net2005

Member Avatar for bala24
0
94
Member Avatar for madhavipoudala

please help me. I need help from you all. I enable to excute the servlet program . the deployment process is also correct , i am doing with the tomcat server, i had set the class path also. the compliation of the java file is also complied, only while excuting …

Member Avatar for peter_budo
0
133
Member Avatar for Pgmer

Hi all Im loading list box with availabel datetime formats . but it is loading all the date time formats twice... here is my code: Dim dateTime As DateTime = New _ DateTime(Now.Year, Now.Month, Now.Day, Now.Hour, _ Now.Minute, Now.Second) Dim d() As String = Nothing d = dateTime.GetDateTimeFormats() lstdateandtime.Items.AddRange(d) how …

Member Avatar for Pgmer
0
169
Member Avatar for elhallouf

Hey you all I am starting with python (more familiar with shell in general) I am trying to write a script that replaces a column in a text file with numbers (or IDs) from an other file. Let me rephrase it : I have 2 files: ITEMS.txt and IDs.txt Items.txt: …

Member Avatar for elhallouf
0
163
Member Avatar for SirDorius

Hello all! I'm new here I was looking through a program and I was wondering what this instruction is: [CODE]LEA EAX,DWORD PTR SS:[EBP-34][/CODE] I know that LEA moves the offset of the second argument into EAX but I don't understand the segund argument very much: [CODE]DWORD PTR SS:[EBP-34][/CODE] I'm guessing …

Member Avatar for SirDorius
0
129
Member Avatar for Software guy

Hi, i have a problem here , i have made a class which has three methods , first method is to get size of the array and assign a random number to every element of array. Second method is to just print the whole array , while the last method …

Member Avatar for Software guy
0
155
Member Avatar for pandoola

This is driving me crazy... $sendit = (`ls`); echo $sendit; The above chunk of code returns a directory listing on my php page just fine. However... $sendit = (`sendmail`); echo $sendit; This seems to do nothing. I am looking for a time stamped sendmail entry in /var/log/mail.log but see NOTHING! …

Member Avatar for pandoola
0
77
Member Avatar for jesouhaite08

I created a program and when I click on it, it launches the server and runs at [url]http://127.0.0.1:8000[/url] This is my code for it: pyweb.py: [ICODE]import os, sys sys.path += [r'c:\dev\incidents'] os.environ['DJANGO_SETTINGS_MODULE'] = 'incidents.settings' from django.core.management import call_command from threading import Thread t = Thread(target=call_command, args=('runserver',), kwargs={'shutdown_message':"done", 'use_reloader':False}) t.start() import …

0
54
Member Avatar for ronnix

Hi, It is possible to get values from thread , while thread is executing , but not yet complete? if it is possible then how can I realise it in python? with hope to solution

Member Avatar for BearofNH
0
89
Member Avatar for marcux

Hi all! I am all new to shell scripting. I am trying to make a script that searches for a folder and then adds it to PATH First I am serching for the folder: [CODE]find /usr/local -name "jdk1.6*" -type d[/CODE] If version 1.6 of Suns java is installed I get …

Member Avatar for eggi
0
125
Member Avatar for Blaine Tuisee

I'm creating a simple application in C# using ASP.NET. I'm trying to give it a sort of login pop-up box. It won't have username and passowrd but instead ask for a program number, name, email address and phone number. Any ideas?

Member Avatar for Ramy Mahrous
0
88
Member Avatar for Utter_iMADNESS

Hi everyone. I'm making a simple text rpg and battle system with C and I was just wondering if it was possible to add sounds to it. I've heard that it's possible with C++ but I'm not sure if it's possible with C as well. Any help is greatly appreciated …

Member Avatar for jantazone
0
162
Member Avatar for samarudge

Is there any way to name a variable after another variable, I sort of made up this bit of code which I thought might work but it didn't [CODE]<php $V_Name = 'variable'; $"$V_Name" = 'Hello'; print($variable); ?>[/CODE] Bit of a long shot I know but I thought it might work, …

Member Avatar for samarudge
0
100
Member Avatar for bobraj

hi all, i am new to programming, my problem is that after certain data manipulation i will a array which will have only zeros & ones. (example x[5]={0,0,1,0,1} now i would like to store the contents of the array in another variable like A(say)=00101. but the codes which i written …

Member Avatar for bobraj
0
125
Member Avatar for AnjaliAnuradha

Hello, As a part of my program, I have to convert a column of strings in a vector(containing strings of both upper and lower case) to uppercase. The column is accessed as array.at(i).at(2) I have tried to convert character by character using toupper() , but I didnt work for me. …

Member Avatar for Nick Evan
0
134
Member Avatar for greeny_1984

hi, i have a application in which iam using ajax control toolkit accordion extender.The accordion is having different panes.I want to use datasource for accordion .The panes in accordion need different tables from datasource.Can anybody tell me how to databind different panes in accordion. waiting for u r replies

0
72
Member Avatar for drago865

Hello all, I'm using AJAX to populate a div tag in my HTML when a drop down list item is selected. It works perfectly in Safari, Firefox, Opera, but fails in IE. The responseText just comes back blank from the php script. Here's the Javascript it has to deal with: …

Member Avatar for drago865
0
155
Member Avatar for acecombat

I'm trying to have VB open a basic 1 line settings text file but I want it (for first time users) to create the file if it doesn't exist, but I can't open the file without getting an error. How do I go about creating this file if it doesn't …

Member Avatar for selvaganapathy
0
1K
Member Avatar for c++noobie

Ok, I was trying to write a program that formats a plain text file to the formatting standards of gamefaqs.com (no trailing spaces and no more than 79 characters per line). To my eyes, my code looks perfectly fine and effective. If I run it with anything but a file …

Member Avatar for c++noobie
0
196
Member Avatar for Sawamura

Hi all... I got problem here.. I want to search how much a certain characters in words in text box. Please help me to solve this...

Member Avatar for Sawamura
0
256
Member Avatar for Derice

Hi, there. I am looking links and sources for studying and understand way to navigate around windows directories. This can be easily seen especially during software installation where user is able to change the installation path. Is it related to the CommonDialogAttach.* ? Please give me a helping hand for …

Member Avatar for Derice
0
75
Member Avatar for Alex Edwards

Okay so I have a program that tests for collisions using a complicated and 80% accurate method, but I want 100% accuracy. Like someone posted earlier about shapes colliding into each other, I realized that there will be cases where my method wont work. However, I've looked into a calculus …

Member Avatar for Alex Edwards
0
132
Member Avatar for C41R0

after i added in my JTextArea, everything seem mess up, their position have already run away, whats going on ? [CODE] import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.awt.event.*; import javax.swing.border.*; public class MainTabbed { JLabel locationLabel; JLabel divingTypeLabel; JLabel dateLabel; JLabel maxDepthLabel; JLabel averageDepthLabel; JLabel fBuddyLabel; JLabel sBuddyLabel; JLabel …

Member Avatar for C41R0
0
306
Member Avatar for kux

what method is to be used to get the selected row in a CListCtrl ? i tryed GetCount() but it returnes the number of selected items i searched the method list, but found no GetRow() or something thx in advance

Member Avatar for Ancient Dragon
0
241
Member Avatar for Tigran

Hi guys, As my first post, i'd like to post something usefull instead of "Hi, i'm new here". The reason for this topic is because i don't understand a few things, mostly about classes. Here are the things i don't understand: 1) Why do some people set a "_" before …

Member Avatar for Alex Edwards
0
231
Member Avatar for helraizer

Hey folks, I have made an image-based shoutbox and now users can view older and newer message on the shoutbox depending on the $_GET['page'] - pagination - that works. However, since it's image based and can be linked in forums etc. on the Internet I only want it to save …

Member Avatar for helraizer
0
97
Member Avatar for Naruse
Member Avatar for Jx_Man
0
237
Member Avatar for Vega_Knight

help me to make a factorial function. Please help. any help will appreciated much...

Member Avatar for Jx_Man
0
137
Member Avatar for MDGM

Hey guys, I have a script calling the value from a hidden field from the previous page and then writing it to the page. What code would I have to use to say: IF hidden field value from the previous page is empty then the hidden field value should be …

Member Avatar for MDGM
0
91
Member Avatar for Jishnu

Hello, I'm getting a compile-time error in jdk1.2.1 which says "Identifier expected" and points to this line in the code: [CODE]Vector<Fish> fishes = new Vector<Fish>();[/CODE] Aren't vectors supported in jdk1.2.1? I'm unable to catch the problem.

Member Avatar for Jishnu
0
101
Member Avatar for fddrummer06

I am currently taking a class in C online and I have a homework assignment to create a random sentence generator with arrays of specific words. I have the random part working, but I am unsure as to how to capitalize the first letter of the first word in the …

Member Avatar for jephthah
0
785
Member Avatar for lllllIllIlllI

Hi I am making a program that collects data and then saves it to a text file. Then i want it to print the text file on a Network Printer and i was wondering how i would go about doing that?

Member Avatar for Ene Uran
0
93
Member Avatar for CJL1980

Hi, First thing is first, I wasnt sure whether to put this in this section or in the VB.NET section as it has aspects of both but I decided the issue was probably more relevent to this section so here it is. Secondly this question may seem trivial (any question …

Member Avatar for CJL1980
0
484
Member Avatar for timdog345

I need to make a hangman game but I have code but it won't end the game even if you ges the word, and it won't show the gesses all at once. This is what I have [code] #include <iostream> using namespace std; int main() { char solution[20]; char blank[20]; …

Member Avatar for joshmo
0
144
Member Avatar for Aamit

[code]#include<windows.h> #include<stdio.h> #include<conio.h> int main() { system("mkdir c:\\Imp"); getch(); }[/code] How to check this Imp folder exists or not?? if exists not creating again??

Member Avatar for Nick Evan
0
918
Member Avatar for kvdd

Hallo everyone, Im new to this forum, but not new to PHP, I do a lot programming in it, but sometimes I have to [B]less[/B] knowledge to solve the problems I get. The title is not very explained what my problem is, so mods, edit it if you want. [B]The …

Member Avatar for kvdd
0
86
Member Avatar for Jade_me

Please help me i try to display all instances of SQL Server in a combobox. Any help is greatly appreciated.

Member Avatar for Jade_me
1
112
Member Avatar for ITKnight

does anyone know how to run any app that it write some vbscript or javascript or html from in vb???

Member Avatar for ITKnight
0
79
Member Avatar for Estella

[code]SearchString = "SELECT * FROM Breakdown WHERE BFrom = " & txtFrom.Text ' & " AND BTo = " & txtTo.Text Dim Con As New OleDbConnection(BCalc_ConnectionString) Dim Search As New OleDbCommand(SelectSearchString, Con)[/code] I want to stop users from being able to save a duplicate record in my Access database. I …

Member Avatar for Estella
0
189

The End.