199,114 Archived Topics
Remove Filter ![]() | |
Hey, I'm fairly new to this PInvoke stuff. Could anyone tell me how to get whether a window is being resized with the WH_CALLWNDPROC method? A description would be great too. Thanks a lot | |
We run a .Net environment, and we are adding a blog to our site. We would like to keep it consistent (keep it in .Net) and we would like to get the most bang for our buck (or free if it exists lol). Any suggestions? | |
Hi there, I am trying to create an upload functionality for my application. User can only upload an excel format file. I already have a standard formatted excel (which means i don't have to worry about the column fields,file extension, excel version etc..). User just have to fill the cells. … | |
Hi... I have Question For maintain exceptions in ASP.net... I am use ASP.net 2.0 with C# as code behind file... My Question is we think in some web site some exception was [B]Not[/B] handle...There for There is the Exception occur... In that time,what,when that exception occur..want some globle page load,like … | |
Hi, got some help from tesu on another thread but i am struggling to get this working. my individual query returns 2 results which is correct from the database. however when i try it with a view joining the multiple table with same query it returns 2 results but only … | |
hai all. i got a problem to display a total from a few data in my database for example, in my database i got these fields: TABLE STUFF food double; clothes double; groceries double; total double; ---> should i put this in my table to save my total that will … | |
Hi, this is my file which showing result. I put check box for each result. [CODE=php]<? include("config.php"); echo "<form method=post name=myform action=b.php >"; $result=mysql_query("Select Distinct region,MaintainedBy From info"); while($ro=mysql_fetch_array($result)) { echo "<tr bgcolor=#FFFFFF style=color:#000000;>"; echo "<td>" . $ro[0] . "</td>"; echo "<td>" . $ro[1] . "</td>"; echo "<td><input name=id[] type=checkbox … | |
i am trying to create a messagebox which brings up four random percentages which add unto 100%, i can create the messagebox with messagebox.show ("") but have no idea how to create the random percentages, can anyone please help me with this. | |
hi there, I have taken script which fucntion as mysql connection. but there are somethings that i dont understand. does anyone can help me? Thanks in advance the code is below [CODE]function query($sql) { $link = new mysqli(DB_SERVER, DB_USER, DB_PASSWORD, DB_NAME) or die('There was a problem connecting to the database.'); … | |
Hi, I am developing a large scale code. In order to save the space, when I declare any pointer, I allocate it in another subroutine. Now it seems that it does not work when I use an array of pointers. I can summarize the code as: [CODE] #include "headers.h" /** … | |
Hi guys i am working on a java car park simulation which controls the entry and departures of cars using the parking lot, the coding so far is below, but when i compile it i get 8 error messages, i have attached the errors message on the page...if anyone can … | |
Hi there, Is it possible to write description about an image without storing it in a db? I have a photo gallery and instead of using a database, I have used the dir() function to read all the files in the folder then put it in an array. It works … | |
how to open datalist containing multiple images on click on link button in selectedIndexChanged [code] protected void SelectedIndexChanged(object sender, EventArgs e) { dlEvntImages.Visible = true; BLL_NewsAndEvents objNE = new BLL_NewsAndEvents(); objNE.title = dlEvents.DataKeys[dlEvents.SelectedIndex].ToString(); objNE.getImageDetails(); if (objNE.tests) { DataList dllEvntImages = (DataList)FindControl("dlEvntImages"); //Label lblMsg1 = (Label)FindControl("lblMsg"); Label lblMsg1 = (Label)dllEvntImages.FindControl("lblMsg"); //(dlEvntImages.SelectedItem.FindControl("lblMsg")); … | |
I have this code that gives me the user logged on name of a remote computer, but if i run the program in certaing computers, it returns with the error "Not Available Due Restrictions" which is set if the scope cant connect... why it connects fine in some computers and … | |
Hi All, Ive just imported two CSV files into phpmyadmin, but i need to add an auto increment field into it, and then populate it. Any advice on how to do this would be appreciated | |
I'm developing a very simple VB app in Visual Basic 2008, where i have a textbox being dynamically updated with a value every second, i need this value to be inserted into a mySQL DB, i have made the connection ok but not too sure how to structure the VB … | |
Hi, i have a stange problem with a my patch system. If two of the files are not exist on the users computer, patcher downloads them perfectly. If first file exist and different from the web site, patcher also downloads it perfectly. However, if the second file are exist on … | |
Hi, I am setting up a notes table, and wondered what the best type would be? Currently i have set it to Varchar with length 500 Would that take up more space than say a Lontext type in the database? Thanks | |
Hi All I have Dialog include 20 pictures, on dialog initializing I try to take them off. i write this code: [CODE]CString tempname, tempnum; // define temporary name and number char tempvar [10]; // define temporary variable for (int x=1;x<=20;x++) // x picture location { tempname="IDC_"; // IDC_1...IDC_20 itoa(x,tempvar,10); // … | |
I am having a webpage in websites which is required to send mail to a particular mail address mentioned in the textbox | |
helleo, my English langauge not very good I hope to help me my code contain open file dialog that put the path in textbox then insert to database iwant to cut path for example if textbox contain c:\cars\gmc\1.png iwant to be cars\gmc\1.png to insert into database we assume that path … | |
Hey evereone! Please, help me! I've heard about Intellexer Categorizer? which as it is said helps to categorize docs. I need this kind of soft for my classes. Does anyone know, how many documents can I categorize at once using this soft? | |
I am usig VB6 & Access 2000 to create a program for a clinic to store patient details. I want to check whether a record with same date exists and if exists delete it and save new details.but with my coding it is not deleted even if the record exists. … | |
Hi! Im planning to make the entries of the Ticket # links to view the ticket information. But how do i pass the value of the clicked ticket# to the next page? thanks in advance! [code=php] <?php session_start(); if(!session_is_registered(myusername)){ header("Location:main_login.php"); } ?> <html> <head> <title>Employee</title> <style type="text/css"> <!-- .tableContent { … | |
I done an application using Power Point Interop library and it works well but if I copy it from DEBUG folder to another place, when I start it it gives me an error like: "Application has encountered a problem and needs to be close. We are sorry for the inconvenience". … | |
Can you convert CC++ Code into Java, if so how?? | |
I have written this code to determine duplicate words in the string. but its not working. plz help.... i am getting error in line 19.[code]import java.util.*; import java.util.Scanner; public class duplicate { public static void main(String[] args) { Scanner input = new Scanner(System.in); int n = input.nextInt(); System.out.println ("Input length … | |
Trying to figure out how to parse the attribute value from an RSS feed which contains namespaces? Need to retrieve value "CA" from 'ac:country="CA"' in the code below. Thanks In Advance! [CODE]<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:ac="http://palm.com/app.catalog.rss.extensions"> <channel> <link>http://www.palm.com</link> <title>Device Apps for US</title> <description>Complete list of US Device channel applications … | |
I am new to software development. I just started to read software engineering by Ian Sommerville and just fell in love with software development. I want to learn the C++ language. What is the best approach to quick and clear understanding and use of the language. I want to develop … | |
this may seem a tad stupid but i've been googling for about half an hour and still no clarity - basically i have an animated gif called processing.gif i would like this gif to display in full screen for about 5 secs or so and then redirect to my home … | |
Let Python do the work for you and figure out the roman numerals for a given integer. I have to ask you to keep the integer values somewhat reasonably low (from 1 to 4999), since roman numerals from 5000 on use characters with an overline and most PCs don't have … | |
I need to know how can I get specific record there in report by passing string parameter from vb.net to crystal reports? For example - I have text box, button & crystalreportviewer there in my form. When user will use it he will write specific word there in the text … | |
This code is working fine but opening folder on windows explorer, what i want is to open the folder on webpage. The folder is present on a FTP server named "SAN".What changes should be made in this code????? THANX..... [code] //// Opening Respective Folder of a User //// DirectoryInfo directories … | |
![]() | In the following example: [CODE]int a = 2; float b = 3.2; float c = a+b;[/CODE] Is 'c' 5 or 5.2? Is there a rule, like "lower precision types are promoted" for example, or is there a rule like "the first operand is converted to the same type as the … ![]() |
This code assignment is due by class #14, Wednesday 10/20/2004. Write a program that reads in any 25 decimal numbers from standart input source (terminal), determins the actual and absolute lowest & largest values, and computes average of all the given numbers. You may use any/all programming techniques we have … | |
I made a Roguelike game with SFML in Microsoft Visual Studio 2010 and got it to compile fine in both configurations. However, when I run it in Debug mode in either, I get an error message. Debug says: [quote] This Application has failed to start because the Application configuration is … | |
I am trying to make a circular linked list. I will appreciate if anyone can tell me how to make it better. [CODE] int n = num_people; Node *head = new Node; head->next = new Node; Node *temp = head->next; for(int x = 2; x < n; x++) { temp->next … | |
Hi! I'm having problems in getting the value of the selected item and showing the items in the second dropdown. When I select a category on the first menu, the choices on the second menu appears but the selected choice doesn't show in the dropdown. And i don't get the … | |
![]() | I am trying to edit my current homework assignment to include a loop that lets the user repeat the computation for new values until the user says they want to end the program. I was given a hint to use integer division and the % operator to implement this function. … |
For a uni project I've been writing a program to simulate video feedback. So basically I have 2D arrays representing the 'screen' and the 'camera' and I'm copying a portion of the screen to the camera then putting the resulting 'image' back on the screen. I'm creating really basic fractals … | |
hi all :) I am now working on a calculator that is mimic to windows calculator. I have the whole thing done except for the percent button. Have looked everywhere and cannot seem to find out how to do it! can someone help me here?? Here is a peek at … | |
[I]Now, I may have bitten off a bit more than I can chew with this promised program for my pops, but I am confident, with time, I can puzzle out a solution with some help! Background Info: My father is a doctor responsible for monthly schedules, usually penciled painstakingly on … | |
Hi Guys, Another quick question which I cannot find the solution for......... I need to load a directory into an array and then delete any file which has the name of an integer. for example 1.jpg, 500.jpg...these files will be deleted. I already implemented a similar function elsewhere in my … | |
Hi, I just finished up AP Computer Science a few weeks ago and decided to write an app that allows me to quiz myself with vocab words and definitions, it works fine while I'm running it in IDE, but when I make it a JAR it refuses to open (I'm … | |
Hi, I have a very simple problem yet I can't find out how to do it for the life of me. I am creating a simple CGI script with Python and part of it needs a HTML form. This is what I have so far (excludes imports, etc): [code=python]font_size = … | |
hi :) i managed to compile it but when i try it - it scream Segmentation-Fault. i have no idea where it happens exactly . only know that it happen :( can someone help me ? thanks in advance the program try to implement some kind of hash table : … | |
Alright, my server only loops 3 times (recv's two strings that have been sent) and then freezes when there is no more information being recv'd. Note, this is happening in the listen() function. Main.cpp [CODE]/* * File: main.cpp * Author: fellixombc * * Created on May 23, 2010, 2:14 PM … | |
Hi I'm REALLY new at C and am getting this "constant out of range in comparison error". The line with the error is this: [CODE]printf("Would you like you enter additional sets of data? (yes/no)"); scanf("%c", &answer); while( answer == 'yes'); <------ this line [/CODE] I haven't done character strings in … | |
Hello, I am trying to make a small utility that will search a process's memory for a specified value. I am currently able to both read and write memory values. But I'm not sure how I would go about scanning the memory for a value and getting it's base address. … | |
Hi, Please answer the below questions....thanks 1) How can I free the memory from main(). But the memory was allocated in function a(). void a() { char *b=malloc(10); } main() { a(); } 2) How can I return the local pointer variable? main() { char *a=result(); } char * result() … |
The End.