64,152 Solved Topics
Remove Filter ![]() | |
I am trying to get the win32service PHP extension working. I have installed PHP 5.3.4 on my Windows XP SP3 box, and downloaded the php_32winservice.dll file and listed it in my php.ini file as instructed in the manual. However, there is obviously a version mismatch between the dll and the … | |
I have a problem printing the winners in my Voting Program. Please help me finish it. [CODE]#include <iostream> using namespace std; void DisplayOptions(); //void DisplayOptionsVice(); int InputVote(); int UpdatePoll(); void DisplayPoll(); //void DisplayPollVice(); int VoteArray[5]; //----------------------------- void main() { int option; int loop; int ctr=0; for(loop=0; loop<6; ++loop) { VoteArray[loop]=0; … | |
My text file is delimited (2 fields (text & numeric)). I'm trying to get the output into columnar format and include a count of the # of records following the columnar format. My text file is separated by commas. So far I can only read the text file. Here is … | |
Hi, I have a form with tab control in it and in on of the tabs I got a datagrid. On runtime, whenever I try to display data on the datagrid from a database, the datagrid "jumps" from the tab to the form itself so the tab hides most of … | |
i am not sure why the value of b is coming out as 0 according to me it should come out as 3 [CODE]#include <iostream> using namespace std; void read(int a[],int n) { for (int k = 0;k < n;k++) { cout << "enter the " << k << "th … | |
![]() | I am looking to create a message with several lines, but when I put my string into the mailto statement I can't find a newline character that works.[CODE]$MESSAGE_BODY .= "Message: " . nl2br($_POST["message"]) . "\n"; print_r($MESSAGE_BODY); echo "<a href=\"mailto:bearcatFulton@gmail.com? subject=Angus and Alfalfa Contact& body=$MESSAGE_BODY\">Send this message</a>[/CODE] I've tried \n\r, <br>, … ![]() |
I have made... well attempted at making a unique random number generator using arrays and functions, but it still will not work and I cannot find my error at all. Can someone please help? T_T [CODE]#include <iostream> #include <ctime> using namespace std; // *****Function prototypes**** void displayArray(int randNum[], int elements); … | |
My problem is to make a program that stores a High temperature and a Low temperature within a two dimensional array and then displays the Average. I can get the numbers to be stored(I think, but the average doesn't work at all it seems to display the last number entered … | |
Dear All, im given a hard copy of a form that is used by a hospital to gather information about its patients ! the form is divided into sections and each section has A LOT of YES/NO check boxes. [B][U] For example, one of the section is the History section … | |
As the title goes how can i transfer a table from one DB to another but first i need to delete the table1 from DB1 coz table2 from DB2 has the same name as table1... | |
Hi, The program compiles and executes with no errors but its not saving the category that the users enters as one of the constants listed in the enum 'ItemCategory'. So if the users types 1, it should save category as 'Women', if users types 5, the program should save category … | |
I have created a histogram program that has the user enter the lower limit of the range, then generates a 20 number array with that number at array[0] and the lower limit + 20 at array[20]. It then does a random number generation where 85% of the randoms are within … | |
I have this litle problem: I have inserted a lot of data into a excel form. After that I wish to do a bit of sorting and all that stuf before I actually create a chart. So I used the subtotal routine. Somehow this routine ignores my first row of … | |
Please can someone assist me. I have data stored in mySQL. If i want to allow the user to view this data (say his/her profile information), and at the same time, when it is displayed, it is editable to allow the user to change certain fields and then save. Hope … | |
Okay so after many hours I finally figured out how to read data from an excel file but now I am running into a problem here is how I read in data [CODE] Microsoft.Office.Interop.Excel.Application excelApp = new Microsoft.Office.Interop.Excel.Application(); Workbook excelFile = excelApp.Workbooks.Open(filePath, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, … | |
It's been many, many years since I have written any ASP code and I dont recall this functionality being present in the past BUT: In php we have a serialize() that takes an array of data and creats a single string representation of that data. The single string can then … | |
Hey; I am having problem with the read and write functions in fstream. They need to have a const char * to read or write from/to buffer. I need to work with integers. Here what happens: [CODE]for(int i = 0; i < numberOfValues; i++) { int random = rand() % … | |
hi there i have a question i have created the login in C# deshtop application and when the application ruins i have amde the cursor to be focused to the username textbox now the thing is soemtimes the user adds the username and then adds the password a and then … | |
Well, i'm really new to this programming thing, but i don't have a teacher or anything like that, i'm an autodidact so I really have a lot of questions on this matter. I'm trying to do a project using Augmented Reality. As far as I know, there are two main … | |
Hi, looked around but i couldnt find much on this. I need to redirect every 3 visitors that visit my url to different sites. so visitor 1 would go to xyz.com, lets say visitor 2 comes along and he gets redirect to xzy.com then the last visitor comes along and … ![]() | |
hi all is it possible to find with jQuery an id that start with something, then a specific string, and then something. for example lets say that i have this divs [code] <div id="first_search_div1"></div> <div id="second_search_div2"></div> <div id="third_bla_div3"></div> [/code] i want to find this patern: *search* the result should the … | |
Hey all, I'm creating a text-based RPG and am just now getting to the fighting mechanics. I want to use the rand function to choose a random number within a certain range but am having trouble getting it to execute correctly. [CODE]#include <cstdio> #include <cstdlib> #include <iostream> using namespace std; … | |
This is not a real program but a feasibility test. The purpose is to: 1. create a bunch of bitmapbuttons on a scrolling window from the contents of an image directory. 2. When the user clicks on their favorite button something should happen. The nice part is that 1 is … | |
Hello all, I have an app that I've developed that has a vb.net front end and a SQL Server 2000 database backend. I currently have it running fine on my machine and it also installs fine on all the users that are inside the domain that the app was written … | |
Hi all, I am currently working on a "game of life" program. Which basically updates a grid and forms interesting patterns. Now part of the program means it has to have a "start" and "stop" button. The idea being that the user can click one button to start the game … | |
I am trying to pre-populate form selections by evaluating a string. I will import a dynamic string later, but wanted to focus on the search function. If the value has a match in the string then write "selected" in the input tag to select it for the viewer. What am … | |
[code] Imports System.Data.SqlClient Imports System.Data.SqlClient.SqlDataReader Imports System.Data.SqlClient.SqlConnection Private Sub Button2_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Inherits System.Windows.Forms.Form Dim myConnection As New SqlConnection Dim myCommand As New SqlCommand Dim ds As New DataSet Dim cmdtext As Integer Dim action As String Dim view As DataView Dim dr … | |
Hi there. I have made a program in Python with PyGame and PyOpenGL to test out vertex and pixel (fragment) shaders. I would like to be able to right click on the shader file (just a text file with a custom extension) and choose Open With... and then open with … | |
Hello everyone! I need to be able to check if a "username" exists in one table in the database, and if not then create a row with that "username" and various other bits and bobs. I have it so I can input a username into a database but when I … | |
Could use some advice, as always it's greatly appreciated. I know I could have ripped this code off from anywhere but I'm really trying to learn this the right way. Not sure what I am doing wrong here to make my If Elif part of function not work correctly. It … | |
I'm working with this form which has js calendar. unfortunately, I can't get the calendar to work onclick. It produces the following error: [CODE] Uncaught SyntaxError: Unexpected token [/CODE] can't make out the error. Not sure if this is related to another onclick function. Here is the actual code: [CODE] … | |
Hi, I have a method call say some fucntion that takes in a pointer of an array of char [CODE]char anArray[32]= {'1', '2', '3', '4', '5', '6'}; // the function call someFunction(&anArray[0]) [/CODE] I don't think I have quite grasped the concepts of pointers yet, does the code i have … | |
Hi, I have data which begins with TEXT which is exactly 13 lines (variable number of characters) followed by BINARY DATA (exactly 262144 chars). It looks like: [QUOTE] BASELINE NUM: 258 MJD: 54270 SECONDS: 28321 CONFIG INDEX: 0 SOURCE INDEX: 2 FREQ INDEX: 0 POLARISATION PAIR: RR PULSAR BIN: 0 … | |
Hello i'm having a problem with a program. Let me tell you first what program should do. The program should allow the tutor to enter in the various marks which the students have been awarded, until the tutor enters in a mark exceeding 100. At this point the program should … | |
Hi Everyone, Can you look at this code because I am sure I'm missing something. I am trying to reset a Dataset. I have a form that has 1 text box and has 2 queries that locate the data. One is by customer ID and the other is by customer … | |
Hi! I have a program I'm working on for class (CSC 150). I have to read a pgm file into an array, copy it to a second array, manipulate the image and then output to a second file. I'm having a heck of a time figuring out how to do … | |
hi I have been trying to draw a grid to a picture box. I have the grid drawn on the windows form itself but when I try to draw to the picture box it doesn`t work. instead the grid draws around the area of the picturebox rather than within the … | |
hi there, i have a question in coping a file to machine in the network i use the below code [CODE] public string UploadFile(string ID,string Phase,string source,string fileName) { string path = @"\Server-003\F\Details\Reports\" + ID + @"\Phase" + Phase + @"\Proposal"; Directory.CreateDirectory(path); //string folderPath = path.Substring(0,slashIndexLast); string[] files = Directory.GetFiles(path); … | |
hi! i'm using a ms access 2003 and vb6. I have a textbox and a datagrid controlled by an adodc. can anyone tell me how can i display the data that I need in the datagrid. example: i entered a lastname "cruz". I want the datagrid to display customers that … | |
Ok, so I have most of the code working but I've been up for over 24 hours and I just cannot seem to get the test score to come out. Here's my code, hopefully someone with fresh eyes can spot my error, I know it has to be something simple … | |
Howdy, I need to print given path to a file. The problem is that my app is platform independent -> I can get a Win32 style path: [CODE]C:\foo\bar.dat[/CODE]. The problem is with printing single backslashes '' -> single char converts to "\char" style. I need to convert it somehow to … | |
Hi, having a small problem whilst trying to draw a fractal to a bitmap. this is the code ive got it all seems fine but i get an error message every time I try to compile it. The error being. ArgumentNullException was unhandled Value cannot be null parameter name: image … | |
hi all i developed one application in .net which i've used both javascript (on button clicks) and jquery (using script manager) my problem here is i've disabled "Edit and Delete" buttons in my page when clicking the "Add" button so far the application worked fine with in my system (i.e. … | |
My program runs, but I am getting this message which I am fairly sure means that I have a memory leak and it is coming from my destructor. Assignment2(779) malloc: *** error for object 0x100100120: pointer being freed was not allocated I don't know what I am doing wrong. Since … | |
Hi, I want to trigger a mail from VB6 code. Here the only specific requirement is, When the user click the button, it will do something and send the result in a mail using common id. Eg: There is common mail id called [email]RMG@xyz.com[/email] (Resource management Group) which will be … | |
Hi..Can anyone help me out? Can anyone give me a sample image uploader in php? That it will store to php mysql database? With 4 fields namely(id, image_name, images, descriptions). [b]These are my fields.[/b] [CODE]<form action="" method="post"> <input name="image_name" type="text" id="image_name" value=""/> <input type="file" name="images" id="images"> <input name="descriptions" type="text" id="descriptions" … | |
I have asp:calendar Now i want to select multiple dates from calendar.Is it possible that multiple selection can done or not | |
i want to make a seacrh page using c# in asp.net.. at the first page, i want to display all the record in a gridview..then,after user click a search button, the result will appear in another gridview.. what should i put to visible the previous gridview and display only the … | |
hi.. i've review the latest logout and cannot back if BACK button is press.. anyone can help me in clearly how to code it? | |
I have a table that looks like the one below: Name Score1 Score2 Score3 TOTAL Dan 71 85 23 ? Tom 58 84 87 ? sam 76 65 64 ? I dont know d command that will dynamically get the total score for each student and put it in the … |
The End.