64,152 Solved Topics
Remove Filter ![]() | |
Having a little trouble getting my "pre-loader" to show properly... I would assume, what this script would do is that once xmlhttp is invoked, JS would make a div with an ID called 'preload' and it will persist until we get a 400 response from the server, and then destroy … | |
Hie all, I'm developing a bulk sms website, there are users and resellers for the site. I want to map my to another ip through A record. Problem is how to identify the ip user / reseller ? Please help me. | |
Hi Every Body I have been working on a project Where user has to login and edit contents of his web The thing happening is every page is working fine and there is no error except only in one page & which is freaking me out.....when i hit submit button … | |
Hello. I'm trying to make a simple language in Python. I have many functions, that handle arguments, and execute the commands. Although, the old way I was actually CALLING these functions was to have a dictionary of all the keywords to functions, and then get() it. Is these an easier … | |
Hey everybody.I am going into the second year of a Computer Science degree that I am paying for out of pocket, so can only attend part-time. I have taken a Javascript class, basic web development (HTML, CSS, JS), and will take Visual Basic and a hardware class in the fall. … | |
Given a 7x4 array generate four random numbers from the array with no repetition. I can already generate four random numbers the problem is the repetition part. Here's my code so far int f[4]; int s[4]; for( i = 0; i < 4; i++) { // use as index for … | |
Hi All I am getting an warning on my web page when I uploaded the page on server I just writing a PHP PAge Hit Counter- Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/cbsecpsn/public_html/csnip/form_453570.php:7) in /home/cbsecpsn/public_html/csnip/counter.php on line 2 Warning: session_start() [function.session-start]: … | |
How can I get the path that the file is in? For example, my script is running in ~/Desktop/Projects/Shell but it doesn't know that. How can I get it to know that? Like DIR = DIR_IM_IN? | |
Hi! Just wondering on how to know your level as a programmer. I'm having trouble selecting this while filling up online resume. I am using VB.net as a college student for almost 3 years now. Any idea guys? | |
Hi I have a script which displays a price but currently is not fixed to 2 decimal places so a price such as $2.50 shows as $2.5 which to me looks wrong. The line of code is `amount += parseFloat($(this).metadata().amount);` Looking around I see there is a function `toFixed()` but … | |
Greetings guys can you help me with my problem i have a search textbox and i want to hide some rows on the datagrid that is not equal on the search textbox. can someone give me an idea? Thank you in advance. | |
Hello. I'm new to php and sql. I nee to insert data in multiple tables and rows. the problem, in the first table, I just nedd 1 row, and that's fine, in the scond i need to input data in the minimum of 1 row and max of 6 row's. … | |
Hi I hope someone can shed some light on the problem I am having at the momment with an Excel 2010 Sheet, the workbook has 13 sheets with formulas and I rotate the 2 values using vba there are other things going on like a link to SQL server that … | |
Hi All, I am a control engineer and i am trying to communicate with a sensor I have spoken to the manufacturer but they cannot help with the python side.I am trying to send a message to the sensor which tells it to connect. The sensors config is ip192.168.60.3 port … | |
Hey guys, im new to C++. been learning for only about a week. The most complex program i can make is a calculator! But, i was wondering, how hard would it be to make a text-based zork-like game? Like i said before im new, so any tips and/or tricks to … | |
hi all, I was developing asp.net mvc4 web site. I think I have corrupted some configuration in web site by mistaken. Now I got following error. HTTP Error 401.2 - Unauthorized You are not authorized to view this page due to invalid authentication headers. Most likely causes: No authentication protocol … | |
I can't seem to find an thread that matches my questions so I am starting a new thread... I made an application. I used: VB.net 2010 SAP Crystal Reports Runtime Engine for .NET Framework 4.0 SQL Server Database (.mdf) I don't really know how to setup so I just publish … | |
Please help I'm trying to write a program in C using nested loops which has an output of 1-8 (newline) 2-9 (newline) 3-10 (newline) 4-11(newline) 5-12. I wrote a program but I know it has to be a simplier way and I don't think I used nested loops correctly because … | |
I am trying to read the following xml file into my datagridview <?xml version="1.0" encoding="utf-8" ?> <DEFLECTIONS_TABLE> <Deflections number="1"> <Service_Class>A</Service_Class> <Verticle>600</Verticle> <Horizontal>400</Horizontal> <Service_Class>B</Service_Class> <Verticle>600</Verticle> <Horizontal>400</Horizontal> <Service_Class>C</Service_Class> <Verticle>600</Verticle> <Horizontal>400</Horizontal> <Service_Class>D</Service_Class> <Verticle>800</Verticle> <Horizontal>400</Horizontal> <Service_Class>E</Service_Class> <Verticle>1000</Verticle> <Horizontal>400</Horizontal> <Service_Class>F</Service_Class> <Verticle>1000</Verticle> <Horizontal>400</Horizontal> </Deflections> </DEFLECTIONS_TABLE> I made my windowsform and put a datagridview inside called deflection_datagrid. … | |
Hi, I'm trying to synchronize two processes but I get a deadlock that I can't manage to solve. To be more specific, my program has to do the following: 1. Parent creates a process and waits using sigsuspend. 2. Child creates a process. 3. Grandchild performs an execvp and gets … ![]() | |
I have a simple class that stores attributes: In [1]: class Test(object): ...: a=10 ...: b=20 I have a function that returns attributes using attrgetter, and it accepts these through the args parameter to allow a user to pass various attribute fieldnames in. For example: In [4]: def getstuff(*args): ...: … | |
I'm constructing a very simple query, and want to display the results in a list, in date order, i.e. 2009-12-25 have lunch drink beer fall asleep 2009-12-26. have breakfast drink beer have lunch etc My table is also very simple, 1 column for date and 1 column for event. my … | |
I have a form that takes in information from the user and saves the info and then displays it in the form field.. . . Form: <form method="post" action="/core/process2.php" name="step2_form" target="_blank"> <div class="float_left"> <table class="form_step2"> <tr class="form_step2"> <td class="form_step2 title"><p class="form_text">File Date</p></td> <td class="form_step2 input"><input type="text" class="box_form" name="file_date" value="<?php include($datadir."file_date.txt"); … | |
i am try to create a program that prints the numerical value of EOF... any ideas for the function get the value of EOF using the ASCII table???? ![]() | |
Hello, wondering if someone can help me quickly.. Basically, I have created a array to store all the data in a text file. The pointer of the array is sent to a function, which then populates it. Here is the code: void Data(char* theData) { ifstream txtFile(inputFile.c_str()); if(!txtFile.is_open()) { cerr … | |
I am working on a project, i am using threads over here.. I run a thread and waiting for its isAlive status to become false but my thread is not terminating... Here is the Code Sample. Thread t = new Thread(new ThreadStart(print)); t.start(); while(t.IsAlive) { } console.writeline("Thread is Dead Now"); … | |
can anyone tell me whether we can use const variables for case ...eg I wrote the following code: const int i=2; int j=0; switch(1) { case i:printf("hii"); } now ...this snippet is running properly in turbo c but not in dev cpp... likewise if we use this const variable as … | |
So me and a colleague at work are trying to decide upon a mini-project to do, simply to see how differently we would code it. Has anyone got a good resource for such ideas, or even have some themselves, that are semi-challenging and do-able in about a day? Cheers, | |
hi, I'm writing a website using asp.net and I'm using VB if i want to press a button which loads another page how can i do that ? | |
I want display username in MDIParent form after login. Who can teach me and give coding to me. Hope every expert help me. | |
Can anyone please advise me on which version of Microsoft .NET Framework is needed for an XP SP2 (32bit) machine to run a VB.NET app developed on Microsoft Visual Basic 2010 Express? Feel a tad stupid about not checking :( | |
i have a list and mysql table. my goal is to make the links active if there is a game in its section: this is my code: mysql_select_db("my_db", $con); $result = mysql_query("SELECT * FROM gameChart"); $row = mysql_fetch_array($result); echo "<dl><dt>Writer's Forge</dt>"; if (!$row["secID"] == 1){ echo "<dd>Collaborated Poetry</dd>";} else { … | |
![]() | Hi, The past few weeks, I been creating tables and I usually used **TEXT** but I realized if I have alot of data to type in. If I **echo** the data will it not **echo** if I don't have enough Space usage? I used Godaddy **Space Usage** Type Usage Data … ![]() |
Hi, i've been looking around for help with this problem but google seems to just send a load of crap my way so its finally got to the point where i'm asking specifically for help. Here is the code; void CWebRobotDlg::OnBnClickedDologin() { void* pElem= ElemFromID(L"username", IID_IHTMLInputElement) ; IHTMLInputElement* pTextBoxUser= (IHTMLInputElement*)pElem; … | |
Hi, I've been having trouble posting a code snipet tonight, I keep getting this error: The code snippet in your post is formatted incorrectly. Please use the Code button in the editor toolbar when posting whitespace-sensitive text or curly braces. My code is running fine in wingware IDE with 4 … | |
I need a fresh set of eyes. I'm trying to redo a page from scratch, and simplify things. I've gotten a "beginner-stumping" error. And I'm a beginner, so that makes it harder. It's a page where the user makes a selection from a form with fields generated by a database. … | |
I've written a program that allows you to calculate the definite integral of a function but I feel that it is limited and I want to rewrite it so that the user inputs an equation which is then stored as a string and then that string becomes the equation for … | |
Im getting a "Unknown database 'user_admin'" error and i dont see it here is my code $username = mysql_real_escape_string($_POST["Username"]); $query = "SELECT * FROM user WHERE UserName='$username'"; $result = mysql_query($query); if(mysql_affected_rows() == 0) { //All Checks Out: Create Databases $dbase = "user_" . $_POST["Username"]; mysql_query("CREATE DATABASE $dbase",$con) or die(mysql_error()); mysql_select_db($dbase, … | |
Hy Friends, Have to submit a small routine program. So this is how it goes: There are soaps on the shelves. One soap costs $1 and the next soap costs $1.2 until no money is left in the pocket Each soap is 20% more in price than the previous one. … | |
Hoi At the moment I'm learing Databases. this is some code that I'm using. The question that I have is, can I insert a row without ID. I mean that the database increase the ID number itself. Thanks in advance. command = new OleDbCommand(); command.Connection = connect; command.CommandText = "INSERT … | |
Hi, I need a script that on click of a button. Delete a folder/file. So when I click the button the folder deletes and it is for a install file that I made. | |
hello, I'm trying to write a web application for mobiles using asp.net can anyone support me with a link which tells me how to start ? | |
I am using c# for my project, and i am working on a splash screen. Splash screen checking necessary files, problem is files are checked before showing splash screen. I want to do file checking after splashScreen interface become visible. I am using two methods //----------- Constructor --------------------------------------- splashScreen() { … | |
I was not sure how to name this topic, and I also couldn't think of a term to search for to find the answer, so I apologize now if the answer is already on here. I have a form and this is the code: [CODE]<form action="http://wwtele.com/cgi-sys/formmail.pl" method="post" name="Contact" dir="ltr" lang="en"> … | |
hello, I'm trying to write a web application for mobiles using asp can anyone support me with a link which tells me how to start ? | |
int a=-3,b=2,c=0,d; d=++a&&++b||++c; printf("a=%d,b=%d,c=%d,d=%d",a,b,c,d); why value of 'c' is not incremented in output? | |
I'm adding class through script to `<strong></strong>` ` background-color:transparent;` is OK in chrome and firefox but in IE adds black color around image **menu_bg.png** How to remove black background of image? **script** $("#navlist li a").hover(function() { $(this).parent().find('strong').addClass("hover"); }); **CSS** .hover{ display: inline-block; position:absolute; background: url(images/menu_bg.png) center no-repeat; background-color:transparent; } **HTML** … | |
Hi, i have a j2me game (in chinese): comments, button text, game guide... are in chinese! I want to make them all (chinese words) be translated into English, but Eclipese doesn't display these chinese words!! I downloaded some Chinese font and installed them, nothing change in eclipse editor! The same … | |
Hello, I'm starting on Assembly and i want to know how i can clear the screen in Assembly, because of my OS. When i run it in Bochs, that boot messages are there and i want to clear they, for a better visual of my OS. Thanks, Nathan Paulino Campos |
The End.