199,114 Archived Topics
Remove Filter ![]() | |
Description of tasks: You are required to write a program that will calculate the total marks and the grade the student obtained on a multiple choice test paper. There are 20 questions and each question has an option A,B,C and D. Total of 30 students took the test. The correct … | |
I am trying to set strCustomerNumber to CustomerNumber from tblcustomers The tricky part is It has to be a specific Customer, so I have to retrieve the customerName from ddlCustomers before I can get the correct number here is my code: [CODE] Dim strCustomerNumber as new string("") strCustomerNumber = ("SELECT … | |
Hello, I am trying to send files from one folder on the C drive to another using a simple C# Win forms. I have created this but unable to get it working. Can anyone help? [CODE] private void butSort1_Click(object sender, EventArgs e) { string sourceFile = @"C:\Test\test.txt"; string destinationFile = … | |
I should find max in a multidimensional array. But, the elements of the array are given by keyboard, and so is the size of the array. The elements are integers. So, is this correct: ;message for the user to enter the size ;reading the size i equ -1 j equ … | |
Hi, I am using vb.net with visual studio 2008. I have the need to have a user select a directory on a network drive to bring up a folder with a very extensive list of files. The file names within this directory are what I'm concerned with and I will … | |
I have a text which consists of several paragraphs in which each paragraph consists of several lines. I have the number of paragraphs and now I want to store the number of lines in each paragraph in a vector.This is what I've written and doesn't work properly: additionally,a paragraph is … | |
Hello! I have problems with modal MFC windows over 3dsMax. I'm popping a MFC modal window over 3dsMax (I'm programming a plugin for 3dsMax, if you mind), so I can't click on any 3dsMax window button, because the modal window is here. The modal window, by clicking on a button, … | |
i know it might seem a little bare but i wanna know if im on the right track so far. for most of it im making a guy and a function that will increase his lvl when xp is reached. Then i reset the xp and increase the ammount of … | |
Hello, I am trying to write a GUI in Visual C# which controls a C++ DLL, specifically getting hold of C++ objects and editing them via the C# propertygrid controls. - The first part of the question is 'is this actually possible'? I know I can use wrapper functions to … | |
All, I've recently installed Apache version 2.2, MySql version 5.1, and PHP version 5.2.13 and am using Windows as my OS. I've gotten PHP to work on the Apache server, and MySql is working properly on its own. However, when I try to connect to a mysql database, I get … | |
Hi I am trying to print out the output from linux command in php. from the command line i am able to view the output, but when i run it from a browser there is no out put. anyone who can assist? [CODE] $ex1="ssh myname@server tail -10 /mnt/data/stat/status-rx.log"; $output1=`$ex1`; echo … | |
Hi, I want to decompile an python application which consits of pyc files. Since i am working in a conversion project .. from python to java i need to decompile pyc files to py files. The application contains number of pyc files. Any decompiler or free decompiling source available in … | |
hi hope anyone who reads this post is doing well/will be doing well soon enough :) ... i have a small problem... i have a program in c/c++ (i am using just a few functions of c++) which creates a log of files after doing some search(its not relavent to … | |
Hello, I'm having an error in my code plz someone solve my problem. I just want to multiply the element # 1 of an object array from the element # 2 of another object of same class and so on. Plz help me. Thx Error: int MyCLass::getValue(): invalid conversion from … | |
[COLOR="Red"]3.1 - ARRAY arguments, char vs int.[/COLOR] It seems you pass a char OR an int to a substring of an array. Does it matter which one? ex: [CODE] char charValue = 5; int intValue = 5; string awesomeArray[9] = {"truck", "car", "boat", "table", "ocean", "cat", "board", "finicky"}; //Both of … | |
Can anyone teach me how to calculate a mouse click? I need to do a data insertion into MSFlexGrid. The flow is like this: 1:the data will read a text file and input all the data into column 0 2: when user wants to input again, it will be put … | |
i am trying to get the input the info so when the choices are chosen and submit is clicked the info is seen for the flower order but getting errors. if you read it you would probably get what i am trying to say but how to get it without … | |
Good evening, I am having a little trouble with the outcome of my bucket list assignment. Everything seems to be working just fine, but the final outcome isn't up to par. When you enter numbers from 1-30 or 61-99 it goes into its proper place, however numbers enter in the … | |
Hello, Having a problem with 2 classes: a class that is used to go through file directories and collect the file names in a vector, the other just creates an instance of this class. This code is from an older version of the program so I know it works. However, … | |
[B]How to sort excell worksheet in workbook using C#[/B] | |
Hi, I've just started using MS VC++ 2010 express and I have a problem which when using Dev C++ I've never had... VC++ doesn't allow me to allocate elements for an array using a variable as a subscript, like this : [CODE] int maxElements = 10; char myArray[maxElements]; [/CODE] It … | |
Hello All, I have stored a Image in my sql server database and when i am tring to retrive the data the following error is coming.. (Conversion from string " 8901.jpg " to type 'Boolean' is not valid.) In the database and also in the \\Debug\member file that .jpeg files … | |
This is my code and i do understand the logic but i don't understand the algorithm. About the Parking time coz when i give 1:26 in the time in and 2:20 in time out, i got a negative parking time. here's my code [CODE]#include<stdio.h> void menu(char a); void getData(int *a, … | |
[COLOR="Red"]5.8 - Function Declaration vs Array Declaration SYNTAX CLARIFICATION[/COLOR] this declares an array: string word2("Over"); string word3(3, '!'); how are these not being mistaken for functions that pass default parameters? Is it because the parameters placed above are not = to anything or being defined as a type? Are the … | |
Simple little exercise using the MonthView Date Picker. I'm trying to loop through print all dates from dateclicked to end of month. I'm getting stuck on the comparison value to define the end of the month. Keep getting the "argument not optional error" or and infinite loop. [code] Private Sub … | |
Okay, so I have a project activity to find maximum and min elements of a matrix. I kinda know how to make .asm file, but I don't know how to make .exe and .obj. Or are they generating by themselves? How to connect .exe with .asm? | |
[CODE] <select name="item2" id="item2" onchange="getPrice(this.id)" /> <option value="">Select medicine</option> <?php $sql = "SELECT ItemID, ItemName, Price FROM itemavail ORDER BY ItemName"; $rs = mysql_query($sql); while($row = mysql_fetch_array($rs)) { echo "<option value=\"".$row['Price']."\">".$row['ItemName']."</option> \n "; } ?> </select>[/CODE] this is selection menu to get item name. Here i need to get Item … | |
Hello guys! I have so many form to manage. I want to count the instances of a particular form. For example, if I show my form1 two times then there must be a counter for my form1 and if I also shown my form2 another counter for form2. I want … | |
Hi All, I have experience with c, and familiarity with c++ & java (took courses on them, never really used) I want to learn c# now. I know c# is similar to Java. Time passed since my Java studies, so I guess I'll get the concepts fairly quickly, but I … | |
I have thousands of pieces of HTML code that I want to take a screen shot of and save as an image. I'm no programming genius, but I think I can make this happen. I have a dedicated Linux server running Ubuntu with PHP5. I've found tons of links about … | |
A simple function that converts alphabetic values into their respective lowercase value. | |
drawn an rectangle on the image using picture box. quires 1. when tried to zoom image the drawn rectangles needs to be placed on the drawn area. 2. Also draw another rectangle (in zoomed mode). 3. when i zoomed out the rectangle needs to resized. How can i achieve this. … | |
Hey, I got a little problem with the jQuery AJAX thing, the function(data) part doesn't seem to get called I don't have idea why I've been trying to solve this, but with not luck.. Here is my checklogin function [code] function checkLogin() { var username = $('#name').attr('value'); var password = … | |
I have an asp.net web page that a user is loading a file to that I want to parse data out of. The following text is some sample data (I'm told that it's supposed to be .csv but as you can tell, it's really not.) Resource:Wills MD, Robert P; Ward … | |
Thank you friends.I have just began c++ and i dont know were to state from.If any one can help me pliz you are welcome.Thanx | |
I am using Bloodshed Dev C++ 4.9.9.2 but I am having a tough time understanding how to use their debugger... I can't get it to single step. It tells me there is no debugging information, I let it include debugging information when it aks me for permission to but still … | |
Hi, What is a log file?What is its purpose?How do I open, read and write to log files? Thanks, Toms | |
Hello everybody, I am a designer but I have just graduated from university for 2 months so I have not more experience in this field. Could you help me show useful tools to design logo and brand I am from Vietnam and now I am working at Dizen Creative company … | |
I want to write a function to add nodes to the end of my linked list. My problem is that I don't know how I can have a pointer that always points to the first node of my linked list.Forexample if I write [CODE] Gnode*p = new Gnode; first->link=p;[/CODE] when … | |
#include "stdio.h" #include "conio.h" #include "graphics.h" char far *vidmem=0xB8000000; main() { int gm,gd=DETECT; int r,c,i; char message[]="praveen"; initgraph(&gd,&gm,""); clrscr(); for(r=5;r<=20;r++) { for(c=5;c<=50;c++) write2vdu('',64,r,c); } c=10; for(i=0;i<=10;i++) { write2vdu(message[i],77,10,c); c++; } getch(); } write2vdu(char ch,char attr,int row,int col) { char far *v; v=vidmem+row*160+col*2; *v=ch; v++; *v=attr; } when i run this … | |
I was wondering if anybody knows how to uncheck a checkbox in a web browser using VB.NET? I Using the code .SetAttribute("checked", "true") will check a checkbox but using "false" will not uncheck it. I really need to figure this out, does anybody have any ideas? | |
Let's say, user input on prompt is 1 so JavaScript will create one textfield. We'll test Assess() if its working. Type "1" on textField and click "Assess" button. No alert message appears. Please help. Thanks in advance. [CODE]<html> <head> <title>JavaScript</title> <style type="text/css"> font{ color:#663300; font-variant:small-caps; font-family:calibri; font-size:15; } </style> <script … | |
I am using a custom made application that is using MSDE 2000 transact SQL. Thing is that I've made a simple batch file in order to save databases automatically every day but it seems I made a mistake... I never expected the server to save in the same file if … | |
I am trying to incorporate MSFlexgrid to read all the data from a text file but i am currently having a problem with a line Below is the coding Private Sub Command1_Click() MSFlexGrid1.Cols = kiraCols + 1 Open App.Path & "\master_data.txt" For Input As #1 ' linecount = 1 Do … | |
Hey everyone I want to create a Map app of my community for mobile phones. Where should I start/ | |
I know the password. I want to crawl all the post of my gf's xanga down to my comp, for better reading. But my gf have set "require friend login" to see her post. So I need to login my id of xanga before reading her post. What I want … | |
hi i m trying a code to execute in order to generate a xml file at runtime. it execute well. but the xml file gives a error as The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the … | |
Hi, I currently have a 1 page site where i am trying to store a session variable and then call it into various other pages that are included when different links are chosen. I currently have the code passing the variable to the first included page but it does not … ![]() | |
hi all I have a asp application that have .dbf(foxpro) database i just want to fetch only non deleted records so how i do that, is ther any solution , if yes than let me know thanks | |
One of my pages has a big table that displays info from a database but the data runs down the page so if i were to view data at the bottom i would have to scroll down then I wouldn't be able to see the titles of the data from … ![]() |
The End.