199,114 Archived Topics
Remove Filter ![]() | |
Dear All i need help how to insert data into sql database form a datagrid... this is the example.... i have view data from tabel sales in a data grid product name sales jan sales feb sales mar MILK 10 15 20 Biscuit 7 6 9 Tea 5 15 30 … | |
hello, i am facing problem with image cropping. can you provide any code for crop images. actually my problem is i want to display 400X500 images. actually the original image size is 1600x900. then i am cropping that to 400X500. but it is scretching out. please tell me is there … | |
hi, i wrote the following piece code to create a new bitmap file with random RGB values. I wanted to copy the header from the input file. the problem is it adds two additional bytes to 3rd and 4th (just after the magic number). i can't figure out why. // … | |
Hi All, Im in the process of creating a task logging system for where i work, and at the moment im in the process creating a ajaz function where it will return a list of all users depending on what team the user has selected from the 1 dropdownlist but … | |
Hi, I want to browse compete drive/folders and lists of file from server using ASP.NET 2.0 web application. Displayed files when clicked, should get open in a new window or in same window. Please help me with a demo project, if any available. Thanks in Advance. | |
I will be interviewed Monday or somewhere along the school week, to take an IB Computer Science course. I told the teacher that the programming class I had was a bit too essay and told her I had experience in C++, C# , VB, and python (basic). But I will … | |
Hi guys, I'm wondering if anyone can help. I have surryussface flu and I just can't seem to concentrate at all. I need to be able to select a colour from a list like the attached image. I've managed to code it right up to the part where it can … | |
Hi all, I want to show Form2 when button1 of Form1 is clicked. how would i do it. this is what i was trying to do.But it is not working But it gives me an error ; The event 'System.Windows.Forms.Control.Click' can only appear on the left hand side of += … | |
Hi, i am creating a windows application in c# while making an exe i want to add setup of sqlexpress. how i can add this so it will install when package is install. I have add prerequisties in properties to add windows installer,.net framework,sqlserver but it seems to be not … | |
Hi! I am coding a quite simple php form where many of the input forms are going to be filled with numbers. Is there a simple way I could get the numbers separated by thousands? Like the form showing 100 000 instead of 100000? Thanks in advance! | |
Help please Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING on line 48 [CODE]'mysql_host' => $_CONF['db']['localhost'], 'mysql_user' => $_CONF['db']['xxxxxxx'], 'mysql_pass' => $_CONF['db']['xxxxxxx'], 'mysql_name' => $_CONF['db']['xxxxxxx'], 'mysql_prefix' => (isset($_CONF['db']['prefix']) ? $_CONF['db']['prefix'] :'' ), );[/CODE] | |
I have a similar issue with this code: [CODE]//Läsa in rätter för att kunna radera de oönskade via checkbox.. function ReadProductsForEdit($ratter){ $link = mysql_connect("localhost", "fruit", "potatoe"); mysql_select_db("db"); $result = mysql_query("SELECT * FROM meny"); echo '<form method="post" action="iframe_index.php">'; echo '<br><br><table width="500px">'; echo '<tr><td class="nr"><b>Nr</b></td><td class="ratt"><b>Rätt</b></td><td class="beskr"><b>Beskrivning</b></td></tr>'; while ($row = mysql_fetch_array($result)){ echo … | |
![]() | Hi guys, I want to export the record according date range with visual basic. And the date range will be using 2 date time picker to choose. Can anyone give an idea how to do it? Thank you. ![]() |
I am designing a project geared towards business and is built in C language. The design of the various interface screens are currently in XML/CSS. The target platform is a PC running linux or windows. To compile the software, I first run a source-to-source compiler which converts the XML/CSS into … | |
Hi this is my first post, but I've lurked for a while usually finding answers to my questions in other threads, I couldn't find this one so I broke my posting cherry to ask. I know I'm missing something, probably really simple, but possibly I'm doing this completely wrong. I'm … | |
iam building a training set for spam filtering using java,training set data is given as words in text files in one folder,but im unable to debug whats going wrong in java collections [CODE]/* *folder part 1 conatins various text files having name format * **spmsg***.txt and ***legit***.txt e.g 11927legit569.txt ,106127spmsgc26 … | |
HI Id lyk to know how you create web pages that are consistent on different resolutions especially the small ones i mean small monitors. I've used some css absolute positioning on my site stuff really overlaps on smaller screens-bad.thanks | |
I have a person table which specifies common attributes of sub tables teacher, student and staff. A person can be either teacher, student or both. I use the same primary key in sub tables which access the person table as foreign key (teacher_id, student_id is the same as of person_id). … | |
Hi, I have created for an e-Learning Web Application. I am not sure if the concept I have chosen is correct and would appreciate any sort of guidance or assistance to improve the design. Please see attached screenshot of database design. | |
My program works according to what day it is, and it works perfectly, however, I don't know if the date() function is relative to the date of where my website server is located, or is it relative to where the user is? Here is an exact function i'm referring to: … | |
my work is stop here dont know how to do this i want to store numbers of images in mysql. after thar i want to reterive those products images with description and price. how it will be done? secondly if i click on category number 1 those images with detail … | |
hi. i just want to ask how can i populate a listview n vb.net that has a is limited by a date from and date to. i have a datetimepicker for start date and datetimepicker for end date and i want do list all the entry of my database in … | |
I m having a problem in showing chart with datatable. I want to show my chart as shown in below image. | |
Hi web developer, I want to know how do you guys fix your width in IE8/IE7?Because I got 1 table and let say example 4 columns.I only got 1 column temporary, it will auto populate the whole table eventhough I have defined my width in td. My condition is illustrated … | |
i need to add explanation to my file i have a little filesystem in my program (so i dont want to use database for files) how can i add and call explanation to myfile i have some ideas but thats last resort couse its not not efficient and hard to … | |
Well I just got a new latop with windows 7 and downloaded textpad 5 to do my java homework. At first I had issues just trying to compile but then found out that i needed to point textpad to javac.exe for it to compile. Now my problem is i cant … | |
Hello, It seems like every time I start a new project with classes I have trouble with this. I am getting an error "undefined reference to 'Item::Item()' I'm sure I am overlooking a simple mistake. I have been looking at this for an hour and I cannot seem to find … | |
I have to calculate the number of days between two dates the hard way. I know there is already a way to do this with an existing package and such but I have to do it within a single method "daysBetween" without altering any other part of the code. The … | |
In my c++ class we are assigned to make a piglatin translator. I haven't had much experience with c++, but I've done quite a bit of programming in other languages. My main question would be what functions are available in c++ to handle strings and change them? I have a … | |
I've created two dialogs in which Dialog1 is the parent of Dialog2. After navigating to dialog2 if i press close button in Dialog2, Dialog2 is closed but Dialog1 is displayed. Again i've to press the close button in Dialog1 to close the application (i know this happens coz. the close … | |
I am building a Leasing Company Property web site, and one option they'd like is to have "Similar Properties" recommended to the visitor. The array contains "Bedroom Type" data (studio, 1 bedroom, 2 bedroom, 3 bedroom). A sample array is: Array ( [0] => Studio [1] => 1BR ) I … ![]() | |
The Rugby World Cup Organizing Committee has decided to embark on a project to automate their score board keeping for rugby world cup games results. This program would be tested and used in the current World Cup and then later could be used in the major rugby tournaments around the … | |
Well I'm making a program where multiple images will be used but I don't know how to make the images transparent, since Delphi is only allowing me to use .jpg images instead of transparent .png images. It ends up giving my images a white sqaure block around them and ruins … | |
i have ADO connection in MS Access, when i tries to execute con.execute command, MS-Access gives error like MS Access encounter serious problem and needs to be closed. any help or suggestion. thanks in advance | |
Hello, what's the best way to sort a string to ints & chars. For example: "John Doe M 36" to John Doe (char[]) M (char) 36 (int) I researched about istreamstring sin(), but I'm not yet fully familiar with it, any tips. Thanks! | |
Hey All, I am after a HTML select file that has all the UK towns and cities in it does anyone know of one? Dan | |
Hi im trying to make a program that passes an array to a method. the method then finds the smallest number in the array and passes that number back to the main where its printed out. I am getting an error saying: "error: number cannot be resolved to a variable". … | |
I am trying to get this to work and am stuck. I run a JUnit test and get a few failures. Can someone show me the way to make this work? [CODE] /** * int numberOf(String s, String characters) * * Returns the number of times any of the chars … | |
I thought I knew this but I don't. Currently I use RegCreateKeyEx to create a key, and then I call RegSetValueEx. Now what happens is that I create another key (folder in the regedit GUI), and I set the default value for that key (folder). But how do I add … | |
hello so i have this problem that i can't solve and i need ur help. im making a program that makes the user move the fish and there is a shark at the end that he tries to avoid. here is the code [CODE] kik="b.jpg" kif="kf.jpg" kis="sss.jpg" #these are pictures … | |
#! /usr/bin/python import socket import struct import sys import os import string #MADDX = '225.100.100.100' MADDX = '224.0.0.103' RAW = False #! /usr/bin/python import socket import struct import sys MADDX = '224.0.0.103' ADDR = '' #bind to address? leave blank for any DATA="414e542d534541524348204d4441502f312e310d0a3436" #the Hello ID request import binascii SDATA … | |
ok so here is my code so far: [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PracticeReview { class Program { static void Main(string[] args) { const double TAX_RATE = 0.0675; const int SPEED = 80; const char HIGHEST_GRADE = 'A'; Console.Read(); TAX_RATE = 0.0675; SPEED = 80; HIGHEST_GRADE … | |
VS 2005 I just started to realized the power of SSIS packages meaning I am very new. Anyways I built a package that pulls from one of my stored procs and creates a flat file out of it and then sends to an FTP folder Okay now the problem is … | |
Hi i need to make logic..in ecommerce web.. When i add any item to cart so Items Session start... but the problem is if i add same any again to cart so when i will be implemented? i know i need to use multidimentional arrary...becuase of item id and price.... … | |
i am devloping one web application where am faceing problem, i want to use the value enter by user in textfield into one sql query in that program, and am unable to do that can anyone please provide me code for this?? ![]() | |
Hi, I have the data file. txt (3.96 MB) and I want to make each 50 Character on the one line. For EX: In put data : [CODE]GTGAGCCAGAACTCATCTTCTTTGCTCGAAACCTGGCGCCAAGTTGTTGCCGATCTC........ [/CODE] [CODE] out put with 50 character on one line: GTGAGCCAGAACTCATCTTCTTTGCTCGAAACCTGGCGCCAAGTTGTTGCC TGAGCCAGAACTCATCTTCTTTGCTCGAAACCTGGCGCCAAGTTGTTGCCG GAGCCAGAACTCATCTTCTTTGCTCGAAACCTGGCGCCAAGTTGTTGCCGA AGCCAGAACTCATCTTCTTTGCTCGAAACCTGGCGCCAAGTTGTTGCCGAT GCCAGAACTCATCTTCTTTGCTCGAAACCTGGCGCCAAGTTGTTGCCGATC CCAGAACTCATCTTCTTTGCTCGAAACCTGGCGCCAAGTTGTTGCCGATCT CAGAACTCATCTTCTTTGCTCGAAACCTGGCGCCAAGTTGTTGCCGATCTC [/CODE] Below is my script … | |
I've use to create this in Turboc++ 3.0 and there are four linker error how could i fix this? [CODE]#include<stdio.h> #include<graphics.h> #include<conio.h> main() { int gd=DETECT,gm,col=0; initgraph(&gd,&gm,"c:\tc\bgi"); while(!kbhit()) { setcolor(15); circle(col,100,50); col++; if(col>=600) col=0; cleardevice(); } }[/CODE] | |
I'm trying to store these arrays into the matrix [CODE]double X[5][3][/CODE] so I could classify them with 1 Nearest Neighbour: [CODE=C]double brick_v[3]={ent_brick,en_brick,con_brick}; double metal_v[3]={ent_metal,en_metal,con_metal}; double skin_v[3]={ent_skin,en_skin,con_skin}; double wood_v[3]={ent_wood,en_wood,con_wood}; double grass_v[3]={ent_grass,en_grass,con_grass};[/CODE] I would be very grateful if someone would show me how you can do this in C++. | |
Not asking for code, but I'm wondering if anyone can give me some advice and pointers for writing a code that reverses an inputted int, without using the string reverse. | |
A friend of mine made this script to backup files from all my ubuntu boxes using lftp to an ftp server i setup on my local windows 7 machine using apache and abilityftp server. However it is only backing up some config files(see attached screen), none of the actual directories … |
The End.