199,114 Archived Topics
Remove Filter ![]() | |
Just recently started learning SDL and have this problem, this program should properly display my background and message on the screen, but instead its just a black screen. Did the Blit, did the Flip, maybe im missing something? Heres the code: P.S i know i might forgot to add some … | |
Hi, I am using a $get function to get a variable from the URL as my page subtitle. It works fine except if the variable has an apostrophe in it. Then the title has a backslash in front of the apostrophe (probably to escape that apostrophe). Not sure how to … | |
Hello, i have used ireport tool for creating jrxml template for creating chart(XYLine chart). and i used this jrxml file in java code to create chart. Here i passed csv file as data source. Now i can freely change color,title,subtitle,font ect from java code . what i want is how … | |
Hi Guys, Can Anybody tell me where i am wrong. The event can't be fired on clicking button6[CODE] private void button6_Click(object sender, EventArgs e) { this .button7.Click +=new EventHandler(button7_Click); } private void button7_Click(object sender,EventArgs e) { MessageBox.Show("Button7 Clicked when ur pressing button6"); }[/CODE] | |
im trying to calculate the average and std for x, y, and z column for about 50 excel files that i saved in a folder. each excel files has x values in the first column, y in the second, and z in the third column. im using this script, but … | |
I am having problem regarding fixing my php content page with some css. I have a page which is 980px with..I want to put an image with 70 in height and 141 in width. But i want this image to be right align...I currently have the following css but when … | |
this method return "[B]StackOverflowException[/B]" error for some inputs;like "12" where is Infinite loop point? [CODE] public void cycle(int f){ int i, j; if (f == 0) return; else { for (i = f; i >= 0; i--) { for (j = 0; j <= 10; j++) { if (i == … | |
hi, i am making a program that kills a process [CODE]system("taskkill /im explorer.exe");[/CODE] and i need to restart the process using CreateProcess. [CODE]CreateProcess(NULL,("C:\\WINDOWS\\explorer.exe"), NULL, NULL, TRUE, CREATE_NO_WINDOW, NULL, NULL, &siStartupInfo, &piProcessInfo);[/CODE] but i keep getting these errors: 27 `siStartupInfo' undeclared (first use this function) and 27 `piProcessInfo' undeclared (first use … | |
I've found some similar posts on opening different files with the same file stream but they are difficult to understand. I'm trying to figure out for a larger project why I can't use the same file stream as in this example and what an alternative solution may be. And yes … | |
I have field date_of_birth.... If I want to calculate age "select floor((to_days(curdate())-to_days(date_of_birth))/5) as age from table" So I can use the above one... instead of executivg this at every time I want, Is it possible to create a field named age with above structure so If I store the date_of_birth, … | |
[CODE] function func1(str) { document.getElementById("txtHint").innerHTML='<Br>Graph type: <select id="sel" name="sel" onchange="func2(str)"><option value="1">1</option><option value="2"> 2</option></select>'; } function func2(x) { some codes.... } [/CODE] In Above coding, i want to pass the "str" variable to "func2" in onchange . but above code is not working. Can anyone Please help me..? | |
I'm new to python ,please tell me the way to write a program using python , to convert any decimal number into octal number(base 8) (using python 2.7) | |
Good day! I am having a little problem regarding clearing sessions. I have a link named LOGOUT in php.. when this link is click, I want to clear and detroy all sessions and redirect the user to index.php page. thank you for helping! | |
hello. Can you recomend me any good OpenGL models type? I would like a type wich would have good editors for that model type and it would be possible to use "skeletal animation" with it. | |
hi ... can someone help me on connecting MSsql 2000 to vb6 ...i've been searching google but they always point me to this site .. [url]http://www.connectionstrings.com/[/url] i dunno how to set up this strings in vb since im new to vb... :( please help | |
![]() | I am using netbeans to do "Library book search system"in EJB. I have a html page in which I want to display the list of books that match with the entered keyword. I get the keyword from the user and send it to a servlet through an ajax funtion which … ![]() |
Anyone know what is the root cause unable to open the connection in php? [CODE]CDbConnection failed to open the DB connection.[/CODE] I m having trouble connecting to mssql server connection..in yiiframework | |
does anybody know to decode this url: [URL="http://frodo.wi.mit.edu/primer3/"]http://frodo.wi.mit.edu/primer3/[/URL] [ICODE]<form action="/cgi-bin/primer3-web-cgi-bin-0.4.0/primer3_results.cgi" method="post" enctype="x-www-form-urlencoded"> [/ICODE] i tried this: [ICODE] [url]http://frodo.wi.mit.edu/cgi-bin/primer3-web-cgi-bin-0.4.0/primer3_results.cgi?PRIMER_MISPRIMING_LIBRARY=&SEQUENCE=CATTAAAAGAAATATGCTTGCAATTAAAAAAAAAAAAAGCCAACTATTTCTGAGGCCAGTCTCGGTGTCCAGGAGTCTTCAAGGCAA&MUST_XLATE_PICK_LEFT=1&MUST_XLATE_PICK_HYB_PROBE=&MUST_XLATE_PICK_RIGHT=1&PRIMER_LEFT_INPUT=&PRIMER_INTERNAL_OLIGO_INPUT=&PRIMER_RIGHT_INPUT=&PRIMER_SEQUENCE_ID=&EXCLUDED_REGION=&PRIMER_PRODUCT_SIZE_RANGE=150-250+100-300+301-400+401-500+501-600+601-700+701-850+851-1000&PRIMER_NUM_RETURN=5&PRIMER_MAX_END_STABILITY=9.0&PRIMER_MAX_MISPRIMING=12.00&PRIMER_PAIR_MAX_MISPRIMING=24.00&PRIMER_MAX_TEMPLATE_MISPRIMING=12.00&PRIMER_PAIR_MAX_TEMPLATE_MISPRIMING=24.00&PRIMER_MIN_SIZE=18&PRIMER_OPT_SIZE=20&PRIMER_MAX_SIZE=27&PRIMER_MIN_TM=57.0&PRIMER_OPT_TM=60.0&PRIMER_MAX_TM=63.0&PRIMER_MAX_DIFF_TM=100.0&PRIMER_TM_SANTALUCIA=1&PRIMER_PRODUCT_MIN_TM=&PRIMER_PRODUCT_OPT_TM=&PRIMER_PRODUCT_MAX_TM=&PRIMER_MIN_GC=20.0&PRIMER_OPT_GC_PERCENT=&PRIMER_MAX_GC=80.0&PRIMER_SELF_ANY=8.00&PRIMER_SELF_END=3.00&PRIMER_NUM_NS_ACCEPTED=0&PRIMER_MAX_POLY_X=5&PRIMER_INSIDE_PENALTY=&PRIMER_OUTSIDE_PENALTY=&PRIMER_FIRST_BASE_INDEX=1&PRIMER_GC_CLAMP=0&PRIMER_SALT_CONC=50.0&PRIMER_SALT_CORRECTIONS=0&PRIMER_DIVALENT_CONC=0.0&PRIMER_DNTP_CONC=0.0&PRIMER_DNA_CONC=50.0&PRIMER_LIBERAL_BAS=1&MUST_XLATE_PRINT_INPUT=1&PRIMER_LIB_AMBIGUITY_CODES_CONSENSUS=0&PRIMER_LOWERCASE_MASKING=1&PRIMER_SEQUENCE_QUALITY=+&PRIMER_MIN_QUALITY=0&PRIMER_MIN_END_QUALITY=0&PRIMER_QUALITY_RANGE_MIN=0&PRIMER_QUALITY_RANGE_MAX=100&PRIMER_WT_TM_LT=1.0&PRIMER_WT_TM_GT=1.0&PRIMER_WT_SIZE_LT=1.0&PRIMER_WT_SIZE_GT=1.0&PRIMER_WT_GC_PERCENT_LT=0.0&PRIMER_WT_GC_PERCENT_GT=0.0&PRIMER_WT_COMPL_ANY=0.0&PRIMER_WT_COMPL_END=0.0&PRIMER_WT_NUM_NS=0.0&PRIMER_WT_REP_SIM=0.0&PRIMER_WT_SEQ_QUAL=0.0&PRIMER_WT_END_QUAL=0.0&PRIMER_WT_POS_PENALTY=0.0&PRIMER_WT_END_STABILITY=0.0&PRIMER_WT_TEMPLATE_MISPRIMING=0.0&PRIMER_PAIR_WT_PRODUCT_SIZE_LT=0.0&PRIMER_PAIR_WT_PRODUCT_SIZE_GT=0.0&PRIMER_PAIR_WT_PRODUCT_TM_LT=0.0&PRIMER_PAIR_WT_PRODUCT_TM_GT=0.0&PRIMER_PAIR_WT_DIFF_TM=0.0&PRIMER_PAIR_WT_COMPL_ANY=0.0&PRIMER_PAIR_WT_COMPL_END=0.0&PRIMER_PAIR_WT_REP_SIM=0.0&PRIMER_PAIR_WT_PR_PENALTY=1.0&PRIMER_PAIR_WT_IO_PENALTY=0.0&PRIMER_PAIR_WT_TEMPLATE_MISPRIMING=0.0&PRIMER_INTERNAL_OLIGO_EXCLUDED_REGION=&PRIMER_INTERNAL_OLIGO_MIN_SIZE=18&PRIMER_INTERNAL_OLIGO_OPT_SIZE=20&PRIMER_INTERNAL_OLIGO_MAX_SIZE=27&PRIMER_INTERNAL_OLIGO_MIN_TM=57.0&PRIMER_INTERNAL_OLIGO_OPT_TM=60.0&PRIMER_INTERNAL_OLIGO_MAX_TM=63.0&PRIMER_INTERNAL_OLIGO_MIN_GC=20.0&PRIMER_INTERNAL_OLIGO_OPT_GC_PERCENT=&PRIMER_INTERNAL_OLIGO_MAX_GC=80.0&PRIMER_INTERNAL_OLIGO_SELF_ANY=12.00&PRIMER_INTERNAL_OLIGO_SELF_END=12.00&PRIMER_INTERNAL_OLIGO_NUM_NS=0&PRIMER_INTERNAL_OLIGO_MAX_POLY_X=5&PRIMER_INTERNAL_OLIGO_MISHYB_LIBRARY=&PRIMER_INTERNAL_OLIGO_MAX_MISHYB=12.00&PRIMER_INTERNAL_OLIGO_MIN_QUALITY=0&PRIMER_INTERNAL_OLIGO_SALT_CONC=50.0&PRIMER_INTERNAL_OLIGO_DNA_CONC=50.0&PRIMER_INTERNAL_OLIGO_DIVALENT_CONC=0.0&PRIMER_INTERNAL_OLIGO_DNTP_CONC=0.0&PRIMER_IO_WT_TM_LT=1.0&PRIMER_IO_WT_TM_GT=1.0&PRIMER_IO_WT_SIZE_LT=1.0&PRIMER_IO_WT_SIZE_GT=1.0&PRIMER_IO_WT_GC_PERCENT_LT=0.0&PRIMER_IO_WT_GC_PERCENT_GT=0.0&PRIMER_IO_WT_COMPL_ANY=0.0&PRIMER_IO_WT_NUM_NS=0.0&PRIMER_IO_WT_REP_SIM=0.0&PRIMER_IO_WT_SEQ_QUAL=0.0[/url] [/ICODE] apparently it doesnt work :( i'm trying to use it for my jsp project any help would be appreciated :) thanks | |
Good day everyone! I just like to ask is there a way to run my application automatically, right after the installation. A Ton of Thank you in advance. | |
Hello, I'm using .NET C# there. I have a textbox. I assigned it a MouseClick event. Normally the event is fired when I click the control. But if I set the textbox's [[B]Enabled=false[/B]] or [[B]ReadOnly=true[/B]] properties, the MouseClick event is not fired. How can I fix it? Thanks. | |
[code] //A c++ program that calculate and print parking charges #include <iostream> using namespace std; #include <iomanip> const double minimumFee = 7.00; const double hourlyFee = 1.75; const int numOfCustomers = 2; const int numOfMinsPerHour = 60; void inputAndValidate(int,int,int,int); void convertToMinutes(int&,int&,int&,int&); void convertBackToTime(int&); double calcCharge(int&,int&,double); int entranceMinutes,exitMinutes,entranceTimeInMins,exitTimeInMins ; int minutesParked,parkedMinutes,entranceHour,exitHour,parkedTime … | |
Hello there, I need some help with a query .. Table gamedate cutofftime 2011-08-25 13:55 I want to list games that are today +7 days but today games where the cutoff time has passed should not be displayed. Can anyone help me with this query please. Thank you for any … | |
Hi there, I am new to Java and have a question about user input. In my book they use Keyboard.readInt() etc A tutorial I watch does Scanner input = new Scanner(system.in) I also saw a few videos doing, well I don't remember exactly but something like... I remember they imported … | |
//A c++ program that calculate and print parking charges #include <iostream> using namespace std; #include <iomanip> const double minimumFee = 7.00; const double hourlyFee = 1.75; const int numOfCustomers = 2; const int numOfMinsPerHour = 60; void inputAndValidate(int,int,int,int); void convertToMinutes(int&,int&,int&,int&); void convertBackToTime(int&); double calcCharge(int&,int&,double); int entranceMinutes,exitMinutes,entranceTimeInMins,exitTimeInMins ; int minutesParked,parkedMinutes,entranceHour,exitHour,parkedTime ; … | |
I need help building a script to pull a random image from an rss feed and echo it out.... I just need something that searches the rss feed and pulls a random image from it! Thanks I was trying to work with this script but it only pulls text also … | |
Hello, I want to build a system that allows me to print a document (from a input field) and it prints at my home. Basically, if I'm out I have an input box that if I upload a file to it, it will print for when I get home. Same … | |
Hi I want to use an id reference that had just been created in a different table I have an insert query that adds a new user to the users table the t_id is auto generated I want to use the t_id value in a new query that runs after … | |
Im making a program the that uses wild cards on files example /home/My*/n?w/*txt im trying to make a binary tree of paths because base on the example the My* can be MyDocu MyHome etc, at the n?w can be new naw etc and get all the txt files i dont … | |
Hi, on our webpage, we display text taken from the DB, that includes html character codes like <br/>. Obviously, this display as <br/> on the page, but we'd like to actually see the newline. Its probably stored like this in the DB because we did an escape on the text … | |
Dear All, I have function where I read from a mysql table a set of value. Part of my codes is like this. The problem why I need to use fully php here is this a ajax called page. [CODE]echo "<tr id='gridRow'> <td >$count</td> <td> <input type='checkbox' onClick=selectAndUpdate('$row1[size]')></td> <td> {$row1[SerialNo]}</td> … | |
Hello, May be the there is a very simple solution for my problem, but I am stuck on this for 2 days already. May be I had been looking at the wrong places...I would really appreciate any kinds of helps....feeling really frustrated right now. You see, for my project at … | |
I want to create a tool tip which has fix rectangular size and show custom font's... Any tips or link or any material to start with? | |
![]() | Hi folks. I'm playing about with jQuery at the moment but I really don't have any js knowledge so I am going mostly by guess work. I ordered 2 js books yesterday though so I should be able to at least start learning the basics in a few days. I … ![]() |
I learned that a boolean does not need all the memory space it is provided in order to display true or false (1 or 0), but since the lowest space computers can work with is byte it was expressed as that. I also read that there are ways to store … | |
Hi this program accepts the string from the input. I cannot understand the highlighted format specifier. Please help me understand. [CODE]#include "stdafx.h" using namespace std; int _tmain(int argc, _TCHAR* argv[]) { char str[15]; scanf("[B]%[^\n][/B]",str); str[0]=toupper(str[0]); str[15]='\0'; printf("%s",str); putchar(123); getch(); return 0; }[/CODE] | |
I have developed c# application which is not having any database.I have saved the application with data in rich textboxes in my custom file format.When i click on the saved application,I can open my application but,i was unable to open with the data saved in it. How to load the … | |
Hi i'm pretty new to c++, but i've been programming in java for a while, i've tried to do a simple drag and drop program that when a file is dropped in the main screen it gets the file path and write it in a TextBox, but i doesn't work, … | |
I m using windows vista, and i have set l&F of my app "classic look and feel", which is fixed, as windows seven doesnt have classic theme , will java "classic look and feel" work on windows 7? If not then how can we make it work? :) | |
[/B]Write a program to read age and gender of 45 Students enrolled in an Art Class. Display the total number of students whose age is between 8 and 12. | |
I am running a stored procedure and presenting the data back to users in a simple datagridview. I'm unable to figure out a way to filter my data through the SQL side, so I wanted to see if I could filter data through the datagridview. Basically my sql query returns … | |
Hey, I need to know how to add my program to the environment variable PATH without messing up my PATH in the process... Of course I plan to use Environment.GetEnvironmentVariables() and set... Anyone have some experience with this? | |
for example i have 2000 picture box and i have a array the lenght of 2000. and my picturebox names is like pb1,pb2 .... pb1999, pb2000 so if my arrays 1393th item is not null i want to change 1393th pictureboxs color. is there any easy way? i know i … | |
Okay... Im still on a big learning curve with Java / JQuery etc... I have easyslider and jcarousel running fine on the page... but I also want to add in jquery.ticker but im getting conflicts with the code - but when I remove: [code]<script src="js/jquery.ticker.js" type="text/javascript"></script> <script src="js/site.js" type="text/javascript"></script>[/code] It … | |
iam inserting the emp details to TABLE, values are updating to ATABLE but iam not getting updated values in view (java sript in jsp file) please suggest me how to solve this problem | |
I started reading Programming Windows API 5th Edition by Charles Pretzold and I compiled and ran the first program and it worked fine but this one doesn't work and I have been messing with it and I don't know what do anymore, the problem is line 22 when I run … | |
[CODE]newUserCommand.CommandText = "INSERT INTO users(username, password, security) VALUES('" & newUserNameBox.Text & "';'" & newPassWordBox.Text & "';" & newUserSecurityBox.Text & ";'"[/CODE] I cannot find where the syntax error is but vstudio tells me the error is in a unclosed quotation after ; | |
Hello, I have a table that looks like this: [CODE] +----+-------------+-------+-------+-----+ | ID | Player Name | Col 1 | Col 2 | ... | +----+-------------+-------+-------+-----+ | 01 | Some Guy | 2 | 3 | ... | +----+-------------+-------+-------+-----+ [/CODE] the ... represents a (technically) unknown amount of columns. What … | |
Hi I am trying to submit a date value from a DateTimePicker1 using short date format 05/02/2011 I get an error on submission .NetSqlClient Data Provider:conversion failed when converting date and/or time from charecter to string this is my insert [CODE]cmd1 = conn.CreateCommand cmd1.CommandText = "INSERT INTO tenant(firstName, lastName, Email, … | |
Here is, basically, how my application works: When windows starts, my app starts. Whenever my app is running, it hides the desktop, taskbar, etc... When a button is clicked in my application ("Start program"), then my application will set its visible property at false and another application will start. Everything … |
The End.