199,114 Archived Topics
Remove Filter ![]() | |
Hello, I am trying some code I found on the net for a fade in/ fade out slideshow. It is working fine on FF, Chrome and Safari on Windows. On Chrome Mac, the slides appearing one below the other, on IE8 on Windows, the text under the slide, does not … | |
I have created one report in crystal report... i want to filter that report in vb6 with different conditions... i have created selection formula, like, str = "isnull({Prescriptions.RecDateR})" Report.RecordSelectionFormula = str but while running this it gives error that " SERVER HAS NOT YET BEEN OPNED"... if i remove the … | |
Here is a tricky one that im having issues with... I have a page called events.php that has a include to query sql and pull events from the database after todays date and include the artist information from a include file. here is the code. The events page has a … | |
I just created 5 Rich text boxes in runtime through a subroutine as: Dim c As Control c = New RichTextBox() With c .Name = "VersesRTB" & VerseCount .Location = New Point(70, y) .Height = 100 .Width = 580 .Font = New Font("Microsoft Sans Serif", 12) End With It successfully … | |
Hello, after I have friendet my class to "<" operator it dosn't work after i use sort over an vector of class instances it does nothing: class + main : class RAngle{ public: int x,y,l; RAngle(){ } RAngle(int i,int j,int k){ x=i,y=j,l=k; } bool operator<(const RAngle& rhs)const { if(l < … | |
Hi, I am building a database for an institution. However, I will love the database to intimate the operator of birthdays of those in the database using vb 2008 and sql server. My query for the sql server goes thus: select Surname, Other_Names, Mobile_Phone from Parishioner_Adults where WHERE day(Date_of_Birth) =day((GETDATE()+15)) … | |
Hi, There has been a doubt on DataTable.Select method. I do not get an expected result when i query a datatable, if there is an 'AND' condition, i do not get a resultant data back into rows again. The code i have done is // clone to get the structure … | |
Sorry if this is not the right place to post this but i really need help I'm trying to upload a file to a remote server by using vbscript below is a code : Dim fso, f, myFile Set fso = CreateObject("Scripting.FileSystemObject") myFile =$URL Set f = fso.GetFile (myFile) Dim … | |
Anybody please help me to put delay in vb.net without freezing form | |
Someone looking at my code today told me that I didn't need to delete a pointer I declared in one place because I didn't create it using the "new" operator and went on to say that you only have to delete them when you use the "new" operator to declare … | |
<?php mysql_pconnect("localhost","root",""); mysql_select_db("AppDevelopMenu") or die( '1'); $sql1=mysql_query("select Question from questions where QId ='1'"); if(!$sql1) echo '2'; else{ $question=mysql_fetch_assoc($sql1) ; $outputq[]=$question; $sql=mysql_query("select OptionId,OptionContent from options where QId ='1'"); if(!$sql) { echo '3'; } else { while($row=mysql_fetch_assoc($sql)) $outputq[]=$row; print(json_encode($outputq)); } } mysql_close(); ?> i have to modify this code to read json … ![]() | |
Good Afternoon, I'm having problems with the termination of C++ program that deals with else if statements within a while loop. Below is the code that I have so far. while (choice != 'y') { //get the choice cout<<"What is your choice? ('a' to 'd', or 'A' to 'D') =>"<<endl; … | |
Hi all, Im new to android and eclipse. When i create a new android project it provides a string call "hello" and the value is "Hello world, Test1Activity" as my project name is Test1. So when i run it the string is shown.No prob there. But if i modify the … | |
so i have a table called image: ->image_id, user_id, img, name and i want to del one row where image_id = 3; $del = mysql_query("DELETE image WHERE image_id = '$image_id_g'"); i want to del whole row not just image_id. iam not sure if this will del whole row | |
I want to validate time format by putting time picker on my form, then i search for it in Internet and i found it [here](http://trentrichardson.com/examples/timepicker/). I follow the steps, but it is did't work. In my page i just want to receipt time (hh:mm). i need it to validate the … | |
![]() | I'm making a math problem generator in visual c#, using a series of random number generators to create a unique math problem each time with some protocols implemented(later to use this for harder difficulties). There are different types of math to be used but right now I'm working on a … ![]() |
Why does the below crash? My pointer is still alive and is constructed in the main so it should not die until main returns :S I was using this with createthread a while back but my Mingw4.5 never supported it. I just upgraded to 4.7 but now this crashes and … | |
I have a problem. im trying to have it(it being this program ive writen), to when i press it, for example w for a piece of code to be preformed. My code is as follows. int loopprocess = 0; int score = 0; int keycomand = getch(); while (loopprocess == … | |
Hi! I am trying to create an application in C# that will take a list of IPs from a text file and display whether or not a ping is returned from each IP. I was wondering if it was possible, with a loop or something similar, to create two labels … | |
![]() | Hi, i'm trying to get the following data from within the html tages <td class="colRight">CWCH60</td> where CWCH60 is the data which changes and needs to be extracted. I have tried the following Regex patterns [^td|<|>|/|class|\s|^="colRight"][A-Z|a-z|0-9]*[^</td>] [^<td][^\s][^class][^="colRight">][A-Z|a-z|0-9]*[^</td>] [^td\sclass=""colRight">][A-Z][a-z][0-9] all work fine in an online regex builder/tester but return WCH60 when executed. … ![]() |
Continuing with the Head First C# programming eBook. This is a windows form application. Followed the text: <i>__ Chapter 2 The IDE is great at writing visual code for you. But don’t take our word for it. Open up Visual Studio, create a new Windows Forms Application project, and see … | |
Hi, I'm a beginner programmer and I'm developing this web app, nothing major; the hardest part was writting to text file (not really hard...) Anyways, my company policy doesn't allow us to install server softwares on computers. So now, I can't run the PHP code I wrote!! **I am wondering … ![]() | |
i like to assign html codes to String variable Dim code As String code= " <meta http-equiv="Content-Type" content="text/html; charset=windows-1254"> " i think i am getting this error because of double Quotation marks "character constant must contain exactly one character." how can i assign it to a string? | |
So, I wrote this snake game in C++ using SFML 2.0 RC and everything was working perfectly until I tried to implement frame independent movement. I understand how to do it, but I can't seem to make it work with my snake game. If the SCALE define is set to … | |
hello i want to display data from multiple tables with multiple rows using repeater control in asp.net using c#? how its possible tell me as soon as possible ...??? | |
I have a header file that I include into my main.cpp file. I want to set some flags when this file is included. std::cout.flags(std::ios::boolalpha); I want to set that automatically how can I do this? I tried: #ifdef DEFINES_HPP_INCLUDED std::cout.flags(std::ios::boolalpha); #endif //Gives me the error: //error: 'cout' in namespace 'std' … | |
I have a comparison of 2 variables in a script, and am not getting the desired results, and wondered what the simplest comparison would be to obtain those results... $username='TestName'; $user='testname'; if ($username==$user){ print "This is the result I want." ; }else{ print "This isn't the result I want." ; … | |
Write a LC-3 assembly language program to compute + - * / of complex numbers input form keyboard with the requirement below: number/ real parts / imaginary parts are signed integers give all prompts b4 inputting. outputting / 16 bits faceing to zero /mistakes. I can write a program to … | |
Hello, I have a problem with c++ windows form. I read a number of elements from first textbox and from second I have to read a height of these elements (i.e. n=5, heights = 150, 160, 170, 180, 190). I made it first in console app and works perfect, but … | |
Hello, I am building a blog - just to shapen my skills. Since leaving college I feel like I have been loosing my programming edge. I work in IT and I primarily work on Oracle databases as a developer. Here is what I am building - a blog. I have … | |
Hi, I'm at a conference that is using a form in a website that I developed, and for some reason the form is not accepting the value of the checkbox when it is selected. It used to work fine, and apparently I did something within the past few days that … | |
![]() | Good evening I'm looking for yet more assistance, and hope someone is able to point me in the right direction. I'm trying to produce a format for our tipping competition, whereby people who fail to complete their entries are shown a) without a result in the profit column, and b) … ![]() |
struct pieces { string ap, bp, cp, dp, ep, fp, gp, hp, ip, jp, lr, rr, lk, rk, lb, rb, q, k; } b, w; Code 1>c:\users\will\documents\visual studio 2010\projects\chess\chess\pieces.h(3): error C2146: syntax error : missing ';' before identifier 'ap' 1>c:\users\will\documents\visual studio 2010\projects\chess\chess\pieces.h(3): error C4430: missing type specifier - int assumed. … | |
I have a script where text is inserted into a scrolledText widget, using Pmw megawidgets. A tag is assigned to the text, and when you click on it, the text is hidden, that is, it changes color to the background color. To unhide it you click it again. What I … | |
Hello Everyone, I am using a Javascript Library called [Turn.js](http://www.turnjs.com/) and basically, I am building an ebook reader, now the problem is that I need to load external pages, these pages have their own animation and css layouts per page, plus the image is made for an iPad so vertically … | |
I'm trying to understand recursion and stack overflows. First, why does this not cause a stack overflow? Is it because the function returns every time and that the stack isn't populated upon each call? void Meh() { } int main() { while (true) Meh(); } Two, What is the difference … | |
I was creating a database for my sister showing which Goalkeepers have the most clean sheets during the Soccer European Championships. I know that if I want to just display the Goalkeepers in order of amount of clean sheets then my SQL code would read: SELECT * FROM gk ORDER … | |
Hello, I have a repeater that has multiple controls in them such as checkboxes, dropdownlists and textboxes. In my case I have a repeater with two items in it. The first items list works fine, but the second has two textboxes returning the initial value that was bound on page … | |
Hey all I need a bit of help if someone can! im writing(trying to!) a small application for a friend who owns a computer repair shop. Its a 'booking in' application. Someone brings a computer/device in and whover is on the front desk takes some details. Name, Street, Town, Postcode … | |
I wanna make some kind of funny application where I write in a textbox "Hay man" then press a button the text change to "man Hay" and so on even with increasing words on the textbox So I need to know how to: 1) make VB see that this is … | |
<xml> <head> <info> <content> <source attribute1="RSC1985s5c1" attribute2="6(17)"> data1 </source> <cite/> <case/> ( <target attribute1="LRC1985s5c1" attribute1="6(17)1"> 3e/191 </target> ) </content> <content> <source attribute1="RSC1985s5c1" attribute2="6(17)"> data2 </source> <cite/> <case/> ( <target attribute1="LRC1985s5c4" attribute2="6(17)1"> 4e/54 </target> ) </content> </info> </head> </xml> What i want is to merge the content of nodes in to … | |
Hi I have a one form with code that has lots of subs and was wondering if i can shift some of these subs to a class or module to make the main form coding less clutered. Thanks | |
1st - this code here prints random image from database. but i need help print random images but no repeating images. 2nd queestion is that how can i use this code to print image name. too. $Q = "SELECT (SELECT image_short_name FROM user WHERE username = '$user') as `image_short_name`" .",`image_id`,`image`" … | |
Okay, my head is swimming as I've been trying to figure out what I'm doing wrong here. I am certain it's something stupid and I've tried different ways of putting it all in, but still no luck. Basically, I am trying to make it so I can put in our … | |
i want to get image_id. which is store in database long blob. iam send a image id from different page to this page. and i am using _GET to revice the image_id on this page. $image_id = $_GET['img']; but it say Undefined index: img is there a different way to … | |
echo" //i need this echo; <form class='form' action='zoom.php?img=<?php echo intval($_GET['img']);?>' method='post'> //i dont need echo in here "; i also tired action='zoom.php?img= intval($_GET['img'])' action='zoom.php?img=$_GET['img'])' but no luck it give me syntar error every time | |
erm i learn new thing, its a bad idea to use "using directive" inside a class declaration, because this can leads to ambiguous functions/statements inside the main program. using namespace std; the question is, is it okay to use "using declaration" inside a class declaration? such as : using std::cout; … | |
I need to use forms, widgets etc. in my program which already takes care of creating a window and such. So the question is, would it be okay to use Windows lib to add the needed features, such as a form with a few widgets without any errors, memory leaks … | |
Hi everyone,I'm tryind to do something about sound on linux.I basically record some sound and try to encyrpt it using algorithm.However,I encountered some sort of pointer problem.Both RSA algorithm and recording&listenin sound works properly. Here is my code: /* * rsa.c * * Created on: 24 May 2012 * Author: … | |
Hi I am trying my hand at GUI using Python and Tkinter. I know there are probably better options out there but I only have access to Tkinter here at work. My question is this. I have written this: #!/usr/local/bin/python2.6 from Tkinter import * import os root = Tk() root.title("EIMA … |
The End.