199,114 Archived Topics
Remove Filter ![]() | |
I am using a status bar in a program that i am working on for VB.net 2003, i am trying to have some text scroll or marquee across the screen from right to left, can someone please help me with the code. | |
I'm very new to this topic so not so good. I'm trying to right this to be right recursive: [B]Question (1)[/B] A ---> A + B A ---> C B ---> B + C B ---> C C ---> (A) C ---> integer Would it be something like this: A … | |
ok im doing a tetris game and i want the piece to move left when i click 'a' and right when i click 'd' and turn clockwise when i click 'w' and turn counterclockwise when i click 's'. heres what i have public class Movement extends JPanel implements KeyListener { … | |
I have a general question about Diagram in VC++ 2008. If I want to draw a diagram out of a serie of numbers for the coordinates X and Y in a Diagram. Is there any classes/ built in methods for this. - Is this very difficult things to do in … | |
hi , i have a program which i am stock in , its about traffic light . i did the display part but i cant do the timeing and changing the color of the traffic signal . if one signale is green there should be a timer which has time … | |
I keep getting this error: [QUOTE] debug/moc_funccntrlparams.o: In function `qt_noop()': /home/f07/xxx/QT/include/QtCore/qglobal.h:1425: multiple definition of `FuncCntrlParams::type_pairPotList' debug/interpotcntrlparams.o:/net/home/f07/xxx/workspace/tramontoGUI/interpotcntrlparams.cpp:95: first defined here [/QUOTE] But I'm not defining type_pairPotList any where in the interpotcntrlparams.cpp file. This is what my code looks like at line 95 in interpotcntrlparams.cpp. [CODE] #include "funccntrlparams.h" . . //line 91 … | |
I'm writing a program creating a card game of war. I (think) that I have the majority of it done, but I cannot seem to figure out how to split a deck into two separate hands in a Hand class. My code is in components, I have a Deck, Card, … | |
hey any body know more about this script to convert CSV to XML [code] <?php /** * Converts a CSV file to a simple XML file * * @param string $file * @param string $container * @param string $rows * @return string */ error_reporting(E_ALL ^ E_NOTICE); ini_set("display_errors", true); function csv2xml($file, … | |
Well I made it through my first semester of an MSCS. Almost. This summer I want to build a game. I am trying to understand a little bit of the history of Windows graphics and am a bit confused. There's WinAPI. There's OpenGL. There's DirectX. As I understand it, OpenGL … | |
Hi All, I am using RWZoneSimple object and RWTime object to check whether a given Date is falling under DST (Daylight Saving Time) or not when my server (HP-UX system) is in Non DST time (by having TZ=US/Arizona). I have created RWZoneSimple with the date that falls in DST ("05302008"// … | |
okay, i know i might be boring with my questions but could someone tell me how can i read an array of floats mixed with ints and then print them out same as they were on input...? typecasting thing again? anyone knows a good book i could use to stop … | |
I want recursively fill members of one structure, it looks like this: [code=cplusplsus] struct OPTIONS{ string sDirectoryName; vector<string> vExtensions; int uOperationId; } structCurrentDir; [/code] after filling all members I need to push this structure to another vector: [icode]vDirectories.push_back(structCurrentDir); [/icode] But then I need reset all members and I have problem. … | |
Hey, I need a little bit of help figuring out how to find the minimum and maximum of a particular data in a file. Should I treat the file I'm opening as an Array in order to find it or is there a certian function that can do this? | |
HI I was having a look into classes and i noticed i saw a lot of things like [code] class fruitcake(object): pass [/code] my question is what is the point of the "object" being in the class arguments as it is a Built In Function and i couldn't work out … | |
I am a newbie in perl and I need to produce a script in perl to work and achieve the following: 1) Look into the file /etc/defaultrouter , and store the value in it 2) If the value is a number, go to LIST and print out the second column … | |
I wote this code to this and it works the problem is that my csv file does not have the headers ID, Description , Category in the top of the file. I wrote this code [code] <?php $list = array ( "ID,Category,Description,,,,,,,,,,,,,,,,,," ); $file = fopen("DS20080507.csv","r+", 1000); foreach ($list as … | |
hi, Please tell me what the below mentined code is doing? If i pass String s as `my name is "xyz. and " i am writing `. what should be the output. Thanks in advance void parse(Block<String>& f, String s) { int inquote = 0; int nf = 0; int … | |
I am currently creating a quote form for my company website, and wanted to make it a little more friendly than the usual "thank you everyone who fills out that form over there, and who I really don't care about..." I've tried two variations of the code and I've included … | |
helo there, i need some help on some image/photo slide show display. i would like to do a photo carousel function similar as the [URL="http://www.flickr.com/photos/69864550@N00/320622773/"]http://www.flickr.com/photos/69864550@N00/320622773/[/URL] . the function i would like to do is on tis flickr.com web at the right hand side for tat photo stream [url]http://i263.photobucket.com/albums/i...2008/image.jpg[/url] let say … | |
ei, can anyone could teach me or give some codes on how to create a password verification when opening the database using (msaccess) dao 3.51... thanx | |
Hello everyone! I've worked on this program for about 8 hours so far. I've posted for help in my classroom, and no one has answered. I've passed it in although only one was compiled, but I'm determined to find out why the second did not compile. It's with the infamous … | |
mm.., hello. First, i'm kinda new to this... kinda, anyway, i'm supposed to write a prog that handles large numbers, like 200 digits long, by storing them in a string of characters. it's supposed to have a class with functions for all the mathematical operations, reading, and writing, maybe into … | |
How can I convert char* to a char value? can someone reply me asap | |
i need to write a piece of code so that when the counter reaches 500 hundred the user is directed to a limit hit page. or if it is under 500 hundred it directs the user to the page they wanted to go to. i have used if statement to … | |
I am a confused student who isn't sure what he should or shouldn't take in university. I love programming from what I have done; i know a good portion of php/html/sql/javascript. I really enjoy it more than other stuff like messing around with hardware, networking, security etc. As of right … | |
[code] // The "DTfiveint" class. import java.io.*; public class DTfiveint { public static void main (String[] args) throws IOException { BufferedReader five = new BufferedReader (new FileReader ("five.txt")); int multiply[] = new int [5]; for (int i = 0 ; i < multiply.length ; i++) { multiply [i] = Integer.parseInt … | |
Hi to all I am very new for this forum. and I am intrested to work on VB. Is there any practical approach to learn VB.Do anybody have the material ont his. | |
Could someone tell me how to make an iframe resize based on the content without having to refresh the parent frame. I have found some things that require java script in the frame document however i'm not sure how to integrate this, as the document my iframe links to is … | |
how can I do this?? can someone help me [code] char * abc = "as,df,ert:we,rt,yu:ee,rr,tt"; Class x { char * a,*b,*c; } vector<x> vtr; I want to extract data from abc like, while(there is a ":") { x.a= as; x.b=df; x.c=ert; vtr.push_back(x); }[/code] | |
greetings! anybody know how to set the system date value. like for example today date is 11/22/2007 i want to set this date into a new value one month ahead it should be 12/22/2007. THANK YOU IN ADVANCE | |
Hello all, I'm new to hash tables etc. and for some schoolwork I need to make one. The hash table and hashfunction itself aren't the problem. The "problem " I wish to solve lies in the display function of my code. I like to write a function so that it … | |
I am facing problem with vb 6.0 and crystal report 12.0 | |
dear friends, I am using MS access as back end and vb.net as front end. in one of my table i have a auto increment field.(for ex:orderid). Please tell me how can i insert new row to the table with auto increment field. Thanking you, | |
1.Dim d As String 2.d = Format(Now(), "dddd, yyyy mmmm dd") 3. MsgBox (d) 4.If Dir("c:/", Photos & d) = "" Then 5.rspCreate = MsgBox("Directory doesn't exist, do you wish to create it?", vbYesNo) 6.If rspCreate = vbYes Then 7. MkDir "My Documents/swapna" 8. End If i want to create … | |
Hey guys, I'm working with a database at the minute (not my own), and the two tables are as follows: ---------------------- Customer ---------------------- CustomerID Agent 1 55a 2 97t 3 87f 4 44g 5 63l 6 21s ---------------------- ----------------------------------- Details ----------------------------------- ID DetailName DetailValue 1 FirstName John 1 LastName Smith … | |
hi i want refresh the jsp page every seconds using AJAX in script. any one have a code for that. | |
[B]I need code for login verification form, which gets the username and password from the user and verify it in database(sql server) ,if its correct means connect to next form. [/B] help me plsss durai | |
Hey guys, I recently started an online Python course as I had some interest in it, this is the second assignment I have received (first one was a purely text based Python solver), and I have become really stuck as I haven't found much on GUI. Basically its about class … | |
Hi, [code]Label6.Caption = rcsetFran.Fields("franchiseid")[/code] generates an error"Method item of object Fields failed". If i do [code]Label6.Caption = rcsetFran(0)[/code] then doesn't accept '0', i need to give '1'. In this case i can't return first column in the table. 1 returns second column. How can i solve this problem. Thanks | |
[url]www.sampelsite.com/workCategories.php?region=Florida&city=Hollywood&type=condo&button=Search%21#[/url] In turn the mysql select statatement I have is: SELECT * FROM item WHERE category = colname AND city = cityName OR type = typeProp ORDER BY price This is not filtering the data just right, cause I need to bring back, let's say all items under "Florida" if … | |
I have made the code of php to Dreamweaver. that codes are containing of date and day. But Seems Dreamweaver can't identify the code of php... This is my php code that I put into Dreamweaver: <? print(Date("l F d, Y")); ?> Anyone knows what is the code of making … | |
Hi. My flash form that uses a php mail script is sending the text formatting along with the data making it impossible to read. How can I strip all the formatting and just have the data left over in a readable format? Here is how the email looks: Name : … | |
I currently have a database that is just one table with products and is using the myisam engine for the fulltext capabilities on two columns. The question I have is that this database has about 390,000 rows with a lot of duplicate entries namely manufacturer, price. I have been searching … | |
Hello everyone! I am learning sound programming on Linux. In my app I am using ffmpeg to decode the audio, and then ALSA to pass it on to speakers. So far everything is fine - the packets are retrieved, stored in a queue. After that, the packets are read from … | |
![]() | Help! I can't get in to Access 2007. It's not a database password, but an password for Access itself. I can't even create a blank database. All it does is prompt me for a username and password. I've tried all 10 usernames and passwords of mind but they don't work. … |
I want to split a string into token depending on different delimiters. e.g. char * temp = "asfs:ggd,oper:eger,ropptujnsdn:hfhgw"; and firstly I want to split data by using "," (lets call a block). and then each block should again split using ":" and save each token's value. then finally I want … | |
I ran into a roadblock developing my code for an assignment to sort a linked list as it is entered (insertion sort). We've had sketchy classes lately so the idea of linked lists is really rough for me at the moment because it's a little hard to understand. This assignment … | |
I have a login page where I have my own label and texboxes which take input username and password, and there is a function in which there is a SP which validates username and password stored in the database. My code in Login.aspx.cs is such that I call that function … | |
Hi, Following is my code : i=3 j=3 while [ $i -le $count1 ] do i=`expr $i + 3` head -n 60 file1.imp >> s27.txt [COLOR="Red"]while [ $j -le 60 ] [/COLOR] do head -n 3 file2.imp >> s27.imp ./prog1 s27.txt > result.txt if grep OUT result.txt then head -n … | |
hi i have an application where the user need to save his information. the first time he saves...a save dialog appears and the process goes as normal . but here is my question.. if he add any modification to his info and press the save button again ...i dont want … |
The End.