64,152 Solved Topics
Remove Filter ![]() | |
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 … | |
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() … | |
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( … | |
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 … | |
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? | |
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 … | |
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( … | |
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 … | |
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] … | |
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. | |
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 … | |
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 | |
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 … | |
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 … | |
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: … | |
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 … | |
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 … | |
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! … | |
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 … | |
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 | |
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 … | |
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? | |
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 … | |
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, … | |
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 … | |
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. … | |
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 | |
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: … | |
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 … | |
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 … | |
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... | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
How can i detect mouse button clicked? does i have to use api function? | |
help me to make a factorial function. Please help. any help will appreciated much... | |
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 … | |
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. | |
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 … | |
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? | |
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 … | |
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]; … | |
[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?? | |
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 … | |
Please help me i try to display all instances of SQL Server in a combobox. Any help is greatly appreciated. | |
does anyone know how to run any app that it write some vbscript or javascript or html from in vb??? | |
[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 … |
The End.