64,152 Solved 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 | |
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, 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 … | |
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.'); … | |
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")); … | |
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 | |
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 | |
I am having a webpage in websites which is required to send mail to a particular mail address mentioned in the textbox | |
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". … | |
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 … | |
I am calling: c = Counter() ...exactly as in the collections example code here: [url]http://docs.python.org/py3k/library/collections.html?highlight=collections#collections.Counter[/url] but it gives me this error: NameError: name 'Counter' is not defined Anyone know why? Note that I have 3.1.2 and yes I include "import collections". Thanks | |
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 … | |
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 got some great help on the forum to create my total due query. However it produces it with just total due, how could i have it by month? each table has a DueDate column which i would like to show on the query along with the users FullName … | |
Hi guys, Need some help here. I have created an individual query for each product which works absolutely fine. However i want to be able to join it so i can display on my page who is due for a review. [CODE]SELECT clients.*, protection.* FROM (clients JOIN protection ON protection.clients_ClientID=clients.ClientID) … | |
Is there anyway, I can have my richtextbox display this character("•") with it showing the box like shape(when the richtextbox doesnt know how to read the character)? | |
Hello, I am using strncpy to copy the first line of a multi-line buffer. I have successfully found the amount of characters to the end of the first line, and I have performed a strncpy to copy the first line of the buffer to a char *. However, some of … | |
Hey, This is probably a newbie question, but that is somewhat what I am to PHP. I need to create a two column table within a while statement. [CODE] <?php $letter = $data['letter']; $getCats = mysql_query("SELECT * FROM categories WHERE catName LIKE '$letter%' ORDER BY catName"); while ($cat = mysql_fetch_array($getCats)) … ![]() | |
Hello, I've made a Jeopardy game using VS2010 and I mistakenly made it as a .NET 4.0 project. I am wondering if there is any easy way to convert the project into a .NET 2.0 project so more people will be able to use the program. [URL="https://sourceforge.net/projects/ezjeopardy/"]https://sourceforge.net/projects/ezjeopardy/[/URL] | |
![]() | Greetings, I want to develop a program to check if my computer dowloads any file and after completion of the download it should inform me. Is there any .dll file method or any thing you can tell me to use or to follow. What should I do for this? Thanks |
I've got this exercise from a book that wants me to program two rolling dice, add the value of the dice to together and basically track each time a number is rolled. So ive got an array with 11 spots for the numbers 2 - 12. Whats not working in … | |
Hi. I am programmer who works with c# and c++. These languages are really powerful but when it comes to controlling memory I can never do what I want to do. I want to know if there's a lower level languge (or a way to do this with c# or … | |
I wrote an application in VB6. While testing I want it to run only when a pen drive with specific VOLUME SERIAL NUMBER is attached. Can any body help me in finding out the volume serial number attached to the system. Regards | |
I have a series of files similar to that 1A2B_A.txt, 1A2B_2C.txt, 1A2B_DF.txt, 1B23_D.txt, 1B23_B.txt, 1B23_25.txt, and many more I want to combine each three files starting with the same four code before the "_" Thanks in advance | |
Hello, I have a homework to do and I am sitting on it already 7 days and I cannot find out how to make graphics like : using (Graphics g = this.CreateGraphics() g.FillEllipse(Brushes.DarkGray, new Rectangle(45, 65, 200, 100)); g.FillEllipse(Brushes.Silver, new Rectangle(45, 60, 200, 100)); appear after you insert password abc … | |
Hi, i have got a popup box on a aspx page using JavaScript - what i would like to happen is after the user clicks the box for the browser to navigate to a different aspx page. i have tried using response.redirect and other methods - to no avail. i … | |
hello all! Anyone know how to count all the constraints in a given table? I'm new to stored procedure and need it to finish some work. | |
I am working on the folowing code, which basically counts every letter in a given text. I want to store the numbers in letter names: A=1 B=3 and so on... I guess it stores the number underthe name 'letter', but not under the corresponding letter 'A'. It would be great … | |
Hi i just want create a project to school i card i do evry thing in my project but i have no idea to save photo of student on icard simply i want save image in data base or access imege on form to print icard please heme me how … | |
Is it possible to obtain the next insert ID without actually executing a proper insert query? I am writing a file upload script but the name of the folder the file gets uploaded to depends on the next insert ID of a certain table. Would appreciate any help with this. | |
Hi all, i want to transfer data one sql database to another database in same sql server. i try to insert into table2 select * from table1 , but this query useful for same database, but i want to use different database, in same sql server. help me here to … | |
I have some code that I'd like to add numbers to. I'm using [iCODE]$count=o;[/iCODE] with[iCODE]++$count[/iCODE] to generate numbers. They start at "1". How do I get them to start at "0"? | |
hi guys, can't understand why the answer of the following program is 7? Please explain.. [CODE]#include <stdio.h> #define SQ(x) x*x int main() { int a,b; a=5; b=-SQ(a+2); printf("%d",b); return 0; } [/CODE] thank you.. | |
Hi guys ! I am willing to ask you if you could think of a py script that loads a text file and just joins the data contained in there following this example This could be an input: ssms smsmsms sksksskkks ppppplkl ndndndnd kdkdkdkdkppp And this an ouput: ssmssmsmsms sksksskkksppppplkl … | |
Hallo everyone at DaniWeb :) A made a mail script, that i need to somehow break, to close the connection to the gmail server securely. Can someone give me a hint, what to do for that. [CODE] import smtplib import urllib2 import time def sendIP(): # fetch pub ip pub_ip … | |
How do you make Python distinguish from files and folders if they are dragged and dropped into the program's window? [CODE] import os import string newDrag = raw_input("Drag and drop the file or folder you want to add.\n") newStrip = newDrag.strip('"') #Removes the quotes Windows randomly adds for some reason … | |
In my gridview, there have a few column that contain number. At the bottom of the gridview, I want to add one row to display the total of the number for that certain column. How to do that? i have no idea. can someone help me?? | |
hi,i want to know how to export sql server 2005 database to access through vb.net coding..no need to select n insert table one by one,just save package... | |
Just wondering if someone can give me some insight to understand how the hidden type works on a form. This form has 3 types of controls for storing the value of $id a radio button, check box and a hidden input(which has a button for each loop also). When it … | |
Hi, I have the following code that I would like to get working, but for some reason, it keeps giving me the wrong output, and I wonder if anyone on the list might be able to help me fix it. Here is the code, [CODE] Sub submit(ByVal sender As Object, … |
The End.