199,114 Archived Topics
Remove Filter ![]() | |
Hi all I've been trawling the net trying to find out how MySQL would handle partitioning if I don't specify any values for RANGE. My code is as follows: [CODE=MySQL]PARTITION BY RANGE(vehicle_id) PARTITIONS 10()[/CODE] The table will most likely end up having roughly 50 000+ records. Can anyone perhaps give … | |
Hy, could anyone please told me how can i move controls on a windows form when i click for example, on a button? When i click on a button i want to increase the height of my form and move a textbox and label a little down... Please help.Thanks | |
Hi experts.,:) I have tried to send mail using silverlight application and now i am very much tired because of can't get it correctly.... I wrote a Web Service for sending mail as like below. [CODE] using System.Web.Mail; MailMessage msg = new MailMessage(); msg.From = emailFrom; msg.To = emailTo; msg.Subject … | |
Hi Could somebody help me with my homework. Use functions and structures. Strings in input file 'AND', 'OR' ja 'NOT' must be replaced with symbols '&', 'v' ja '-' and saved into output file. Example of input: C = A AND B D = A OR C E = NOT … | |
Hi, Is there any nice java API available for converting pdf to text file. | |
Hello, I was working with my C++ homework, and I wanted to combine a couple of projects. Now I've never done anything with project-projects before... it's all been one-file console applications in single "*.cpp" files. Well, I tried my hand at combining two projects into one project file, so I … | |
helo juz want to ask if i write like this cout<< ' \n 1-package a \n2- package b " ; then what should i put in cin?? | |
Hi, I am having a few issues trying to get this to work. When I click the link delete i want the record to be deleted from MySQL if 2 parameters are true. The following is the delete link: [url]http://domain.com/records.php?url=21313[/url] So the first parameter is "url" the second will be … | |
Hello All I have on prog. in C which displays the text file in reverse order. I was in thinking that for text file reverse order means displaying text from end of file to beginning of file. in the same image will be rotated in 180 degree i.e. reverse the … | |
i reading a book about aglets, in this book, there is a piece of code demonstration Master/slave aglets and they say: [CODE] sayItAgletRemoteProxy = sayItAgletLocalProxy.dispatch(new URL("atp://localhost:9000")); // unfortunately this remote proxy is invalid in version 1.1b1. The aglet book is based // on version 1.02. See ch 7. p. 121. … | |
Hello every one, I have small problem. Can any one tell me how to get the url from an anchor tag dynamically. That is when i click on link the next coming url i need to send to a script can any one help me... My problem is when i … | |
I'm working through an exercise to create a short program to calculate E using the series 1 + 1/1! +1/2! + 1/3! + ... The summation has to stop when value of a term is less than a value entered by the user. The code I have to produce the … | |
I have a database of invoices that have multiple attachments(which are stored in a different table) per each invoice. I have it returning the row of invoices just fine. But now I want a way to click the "view" link to call a php script to open up a jquery … | |
anybody knw how to build system inventory that multiuser..1 server and 1 more is client using lan connection..i dont no keyword to search in google.. | |
Public Declare Function SystemParametersInfo Lib "user32.dll" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long x = SystemParametersInfo(97, 1, CStr(1), 0) 'Disable Ctrl+Alt+Del Keys combination 'Use as in --->>> If KeyAscii >= vbKeyA And KeyAscii <= vbKeyZ Or KeyAscii … | |
Hey, Just a quick question. My webpage is all working fine in IE9, new Firefox, Safari, Opera, and Chrome, but in IE7 it's flagging errors to do with the Facebook share buttons (javascript). When you click them nothing shows up. I was wondering if you could tell me what I … | |
I tried to find the square root of a negative number while writing a function to solve quadratic equations but the interpreter said something , it said math domain error, what does this mean. Even though I've been able to solve the quadratic equation using complex numbers and i will … | |
I am currently working on a banking system that has 3 classes. customer, savingsAccount and transaction. I have created the 3 classes but am having problems with the saveAcnt object in the customer class. I need to link it with the savingsAccount class. Any help would be appreciated. Also I … | |
Hello, I'm attempting to run my first program in vb.net and everything works BUT the array. Ive asked several experienced people and they have no clue what might be the problem. Here is the archive: [url]http://dl.dropbox.com/u/6072059/ArtificialLife.rar[/url] password: vbproject The problem occurs in the Maps.vb file on line 17 when the … | |
char exe_str[]="find E:\sid -name 'sid.txt' -print"; How do i make find command here interactive... 1st. Accept the Drive letter from user 2nd Accept the file name from user thanks.. | |
How to create control array in swings............... | |
Hello , Please what does the second typedef statement do, [code] struct listnode{ char data; struct listnode *nextPtr; }; typedef struct listnode Listnode; typedef ListNode *ListNodePtr; [/code] what is the difference between [code] ListNodePtr *sPtr; and ListNodePtr startPtr; [/code] Please explain what the second Line of Code would do please … | |
Write a program that finds the greatest sum of three adjacent numbers in any direction (up, down, left, right, or diagonally) in a 20x20 grid of numbers. All input data must be obtained from the stdin prompt. You can feed in the data from a file by using input redirection. … | |
[code] string s = "0082002100071254 INR 008200 XYZAPQRDEFGHIJK 0.00 Cr 03100"; string[] arraytempline2 = s.split(','); MessageBox.Show("Length of Line : " + arraytempline2.Length); [/code] After spliting its giving the length as 1 But i want to seperate the above string And According to me its length should be 6 But i … | |
Hi, i got some problems with remove and split: i have the outputs, as below: {1 2} 3 How to remove the syimbol {} and split the 3 ?for example. it will become 1 2 3 anyone know? Please help me.. | |
The code below is from my form.. I declared a string GLOBALLY.. Then upon FormLoad, It inserts values for the string... When I do button click, the string is blank.. Why is it blank? Shouldnt the Values from FormLoad Event be in it? : [CODE] public ref class Form1 : … | |
i want to write a program that changes all the 'a' charachters to 'v' but the problem instead prints all the message as vvvvvvvvv here is the code [CODE] class operation { public String encode (String args) { StringBuilder mago = new StringBuilder(); char a, b; b='a'; for (int i=0; … | |
I created the following tables and inserted few values. create table books(bookid integer primary key, booktitle varchar(20), year integer, publisherid integer foreign key references publisher(publisherid), price integer, number integer) create table publisher(publisherid integer primary key, publishername varchar(20)) create table author(authorid integer primary key, authorname varchar(20)) create table bookauthor(bookid integer foreign … | |
Hi everyone...., i need some suggestion whether it is possible to perform actions for each click of a single JButton. What i mean to say that for each click of a single JButton is it possible to perform actions for each time the JButton is clicked? Please give me some … | |
I'm trying to implement an observer pattern that keeps track of uppercase letters in a line of text the user enters. Whenever there is an uppercase letter the observers are notified. It compiles fine and when I run it and enter a line of text with no uppercase letters it's … | |
hi.. i want to develop a GUI for the Grid in my company.. so pls someone provide me with a code for job submission in grid.. job submission module includes submission of a job, status of job, cancelling and retrieving output of a job.. if not a complete code, atleas … | |
Okay so this has been bugging me for quite sometime. I thought if I skipped it and came back maybe I might figure it out but I guess not. The basic idea is to let the user generate their own content into a list box, text box, and the content … | |
Hi , I want to confirm a delete function using javascript .. In detail I want to display a list using php Mysql as follows No + Name + ---------------------------------- 1. + Raj + Delete 2. + Raj2 + Delete ---------------------------------- When user clicks on Delete button that will leads … | |
I'm using a webBrowser control. After it is finished loading, I want to be able to determine what portion of the browser actually contains controls. For example, let's say the web page has a <CENTER> tag that centers the entire page within the browser. I'd like to be able to … | |
can anyone tell me what's the wrong in the code.............when i run this........the updation is not working [CODE] string sq1; SqlCommand cmd1; SqlDataReader rd1; SqlConnection cn; cn = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=J:\\Rcar\\motion\\db_image.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"); cn.Open(); sq1= "SELECT * FROM Customers"; cmd1 = new SqlCommand(sq1,cn); rd1 = cmd1.ExecuteReader(); //while (rd1.Read()) // … | |
Can someone explain why it wont find the window?? I did everything right, Im pretty sure of it :S Yet it just wont find it. EDIT: Admin delete.. I think I just figured it out.. [CODE] private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) { Form1::Visible = false; Query ^ F = … | |
Hi, Just a quick question, I need to add extra functionality to some code but I have found syntax I am unfamiliar with. I'm pretty much a noob to c++ so it probably quite simple but I have had enormous problems trying to define a search term for google and … | |
Write a C program in to calculate the parking fare for customers who park their cars in a parking lot when the following information is given: A. A character showing the type of vehicle : C for car, B for bus, T for truck. B. An integer between 0 and … | |
Please help its urgent i wrote this program but the output is not right. The program is not inversing the order of the words in the string. for example: input: i love school output: school love i . Please help thanks [CODE]#include<iostream.h> #include<string> using namespace std; main() { std::cout << … | |
I'm trying to auto-download any website's source code by entering its URL I did some search on Google and the forum only found this [URL="http://www.autoitscript.com/forum/topic/70853-inetgetsource-with-post-string/"]AU3[/URL] but its a AU3 file and I do not understand it at all does anyone has a suggestion for me? any website that I should … | |
I'm trying to implement an observer pattern who's subject monitors for uppercase letters in a line of text entered by the user. I havn't had much problem until now i'm getting the error "error C2243: 'type cast' : conversion from 'UpperCaseMonitor *' to 'Observable *' exists, but is inaccessible". I … | |
Hi guys, I want to add an animated taskbar icon to my WPF project. I figured I would just use the Icon property, but I'm fairly new to WPF, and I dont know how to do it. In Winforms I would create a thread like this: [CODE]Private Sub AniIcon() Do … | |
I have an image for the background of the form I'm working on, but I had to increase the size of the form. Is it possible to have it scale the image instead of tiling? I could stretch it in photoshop but I was wondering if this was possible. | |
Okay I finally figured this out... Thanks to getting curious and creating an encryption key for my application. It took me a second to understand it but here is the result. Make sure you declare your variables in the settings tab of the properties to your application. [code] void Form1_Load() … | |
Hi I'm trying to write a query which when 0 is selected it brings back all the district_zones otherwise it just brings back the selected zone. It brings back the selected zone fine, but not all records which are not 0 I know it is my wildcard that is the … | |
I did this code ( this here is just a piece of it), and there's supposedly an incomplete function in there. I'm not sure what how to solve this. I suppose the boolean is wrong? I indicated where the problem is in the code. [code] public class Person { private … | |
Hello, I'm building a site that allows users to post comments like facebook. After say, 10 rows ( or 10 INSERT INTO's )I want the 1st row to be deleted as to control space in the data base. Any key words or links would help. Thanks | |
Hi all, I have the following script for creating scatter plots and I was wondering if there is a way of adding the legends also for each dot in the plot (i.e. Method1, Method2 etc) [code] #!/usr/bin/env python import sys,re,os; import matplotlib as mpl; import matplotlib.pyplot as plt; datafile = … | |
Hello guys, Im tring to make a stopwatch display in JTextField but so far i'am unable too :-(. The stopWatch itself is working perfectly but only in the system output window... I want the time to be displayed in the textfield(or Label) which is within a JFrame. I'll appreciate any … | |
hello, I have build an code for opening a map in thick box but i have problem closing it ,i have to click outside a thickbox please help |
The End.