199,114 Archived Topics
Remove Filter ![]() | |
mov eax,'ZYXW' Now there are 3 problems. in Hexa W=57,X=58,Y=59,Z=5a Debugger shows this as 1515804759 in Decimal. that is when 5958595a taken as a whole. why doesn't it show 87888990 like when they are take separately? 2. Why is it shown as 5a,59,58,57 rather than 57,58........ ? (because W=57 which … | |
<div id="hedar_main"> <div id="hedar1"> <?php include('menu.php')?> </div><!--end of header1 --> </div><!--end of header-main --> </div><!--end of header --> <div class="rightdiv"> <?php include('local_auth.php')?> <?php include('news.php')?> <div class="midal_right"> <center><div class="divimg"><img src="images/home_img1.jpg" /></div></center> <center><div class="divimg"><img src="images/home_img2.jpg" /></div></center> </div><!--end of midal_right --> </div><!--end of rightdiv --> <div id="futter"> <div id="futter_main"> <div id="futter1"> <?php include('footer.php'); … | |
actually i'hd saved the form data in local by using sysphus a jquery plugin and this is my code to save the form data in local storage.is it possible to retrive the all data at once using php Or jquery. can u please help me to retrive the stored data … | |
final Handler myHandler = new Handler(){ @Override public void handleMessage(Message msg) { updateUI((String)msg.obj); } }; Would someone please let me know what the curly brace '{' and its contents mean in this context? what is the purpose? | |
![]() | When I write program in Visual Studio 2010, then error comes that "cannot find or open PDB file". Is their any solution of this problem? |
#include <cstdlib> #include <iostream> #include <graphics.h> int main() { initwindow(1366, 768, "Prim's Algorithm"); int midx,midy; // /**************Node 0 creation***************/ midx = (getmaxx()/12); midy = (getmaxy()/12); rectangle(midx + 30,midy-10,midx - 30,midy+10); midx = (getmaxx()/12)-1; midy = (getmaxy()/12)-8 ; // setcolor(10); outtextxy(midx, midy,"0"); /*******************Right Vertex******************/ setcolor(15); midx = (getmaxx()/12) + 30; midy … | |
1. Create a grid containing 20 numbers (20 buttons: button1, button2, …button20) 2. When the form is loaded, the buttons are supposed to have a specific Back Color. 3. The player can choose only 6 numbers from the grid. 4. Whenever the number is chosen, its back color should be … | |
I have made a application X1 with Visual Studio 2008 (visual basic) .NET Framework 3.5 and deployed on Windows 7 desktop System. Works fine. The Same application X1 i have now made with Visual Studio 2012 (visual basic) .NET Framework 4.5. What must i do to ensure that the application … | |
I tried to rotate an element by changing the CSS using this code: elem.style.-moz-transform:rotate(45deg); It didn't work, and yes, I'm using firefox to test it. How should this be done? | |
Hi guys, Trying to learn more about pandas csv reading. I have a file, with date and time on first row and a lot of data below. I want to be able to slice the data from T1 to T2 and use it for something. fname = "C:\Users\zana.pepaj\Desktop\Temperature.csv" data = … | |
<html> <head> <title>Nutrient</title> </head> <body> <? $filName = "resource.txt"; $objWrite = fopen($filName, "w"); $objConnect = mysql_connect("localhost","u52030177","guillaume") or die("Error Connect to Database"); $objDB = mysql_select_db("u52030177"); $strSQL = "SELECT * FROM Nutrient"; $objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]"); //$link = mysql_connect("localhost","u52030623","u52030623"); //mysql_select_db("u52030623"); mysql_query("SET NAMES UTF8"); //$sql = mysql_query("select * from … | |
I have a text file for ex: ABCD#sh run aaaaaaaaa bbbbbbbbb ccccccccc ABCD#sh int dddddddd eeeeeeee ABCD#sh xvy and so on.... I want to parse the lines between ABCD# and the next ABCD#. And send this parse output to CSV file or excel like aaaaaaaa dddddddd bbbbbbbb eeeeeeee cccccccc Please … | |
Hey, Im looking for the cleanest way to scan through a text file and remove symbols only if they meet certain conditions. So far i have been using the Scanner, but it removes them regardless and i was looking for the best way of providing conditions like those for comments … | |
# copy string into a structure # all i am trying to do here is to copy a string input given by user into an arry decleared inside a structure.but my code is not working. anyone please explain to me why this code isnt working #include<stdio.h> #include<string.h> typedef struct{ int … | |
Hi Can I get some assistance with the following Code: Letter = raw_input("Enter Letter") A = 7 B = 8 C = 9 print Letter I have left the basic info but if the Letter A is entered in the print Letter it results A, I want it to give … | |
<html> <head> <title>Nutrient</title> </head> <body> <? $filName = "resource.txt"; $objWrite = fopen($filName, "w"); $objConnect = mysql_connect("localhost","u52030177","guillaume") or die("Error Connect to Database"); $objDB = mysql_select_db("u52030177"); $strSQL = "SELECT * FROM Nutrient"; $objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]"); //$link = mysql_connect("localhost","u52030623","u52030623"); //mysql_select_db("u52030623"); mysql_query("SET NAMES UTF8"); //$sql = mysql_query("select * from … | |
this part is i am un sure what its doing. while($row = mysql_fetch_array($sql)) { $id = $row["id"]; } why cant i do this? $row = mysql_fetch_assoc($item_query); $id = $row['id']; this is my login in script. full code //BINARY for case sensitive $sql = mysql_query("SELECT user_id FROM user WHERE user_name='$username_p' AND … | |
Hey there, I need help with a query. The typical situation is like this: I expect, say, 1000 rows out of a query that is based, say, on lastName column. One column is, say, firstName. I know I only have like twenty unique names that occur on multiple rows. I … | |
error in ma program it shows the last digit twice. #include<conio.h> #include<stdio.h> int main() { int fib(int); int n,c,a=0,b=1; printf("enter a number: "); scanf("%d",&n); printf("%d %d ",a,b); c=fib(n); printf("%d ",c); getch(); } int fib(int n) { int a=0,i,b=1,sum; for(i=0;i<n-2;i++) { sum=a+b; a=b; b=sum; printf("%d ",sum); } return(sum); } | |
Hello Community, Is there a website that has a database like phpmyadmin that i can access from my website? Please help... | |
I didn't post this in the regular IT jobs folder because this is strictly PHP/MySQL. I am creating an online community (friend/dating/boredom site) which will rival those such as myspace.com and facethejury.com. At current time the whole user database is complete, which includes the ability for users to create profiles … | |
hi,i am new to programming and i got an assignment which is very difficult,i hope anybody can help me here !! You have to make a racing game in C++. There are two players in your program. They play by throwing 3 dices and then moving forward. Your program should … | |
pls help me...i wnt to know how to delete a word from a string...cant make it out..pls help... | |
Hi again everyone. A really newby question coming up because I just don't know how to put this. If I want some software which can be compiled as part of my application / project etc, something which has little or no reliance on external programs (all packed in as part … | |
Trying to display events on my website based on what my clients want to view. I have 3 checkboxes setup to toggle the connected events, but I can't seem to make the onclick handle more than 1 event at a time. Basically, I want to know 1) how to display … | |
Hello all... I want the multiplication of the same matrix but in third, forth, fifth... degree. I have made the C++ program and this is the code: #include <stdio.h> #include <stdlib.h> #include <iostream> using namespace std; #define WIDTH 3 #define HEIGHT 3 void main(){ int a[HEIGHT][WIDTH]; int b[HEIGHT][WIDTH]; int n; … | |
Read text file after change text " text1 " to " text2" Example text file name hhh.txt have content sdasdsa ádsaewf dsasa asdsa text1 asdksls text1 as +>>>> hhh.txt sdasdsa ádsaewf dsasa asdsa text2 asdksls text2 as Thk :) | |
hi, im new in vb6 how to search in datagrid where every keyword you type wil display the record found in database? here's my code in saving pls ned help here....this is our thesis God Bless>thanks. Sub search() 'search if student is registered then With ado .ConnectionString = connectdb .RecordSource … | |
i'm trying to make an autocomplete that will display the name of files in a folder. The autocomplete is ok except the part that it only display for the last file name. your help and suggestions much appreciated! =) code to open the folder and list the excel file names. … | |
Hi all, I have project about send a recieve file in LAN network between 2 PC, code of progressbar in server it good and code of progressbar recieve file in client program I have write but when debug it don't notify fail but it don't run. Please fix it for … | |
Hi All, I need your guidance for a project (using Visual Studio + MFC) I'm doing. I want to create page flipping animation of a book. There should be a book and when I click on a key then the next page should be displayed. You get the idea? Similar … | |
how can i write a program with c#.net to brows my web site automatically? | |
Its not a BETA or RC release, but it is up right now. Unsupported and still under work, phpBB 2.1.2 (Version for phpBB 2.2 testing board) is up right now. It has a sleek smooth new interface with a new profile backend. If your looking forward to a great User … | |
I had a jquery-based code that messed up the slider on my page @ http://formidablehoops.blogspot.com Is there a way to have those two co-exist, or is there a way to toggle my calendar at the bottom with javascript instead? I've removed the code for now, but I think it's a … | |
Hello friends, In drupal 7 I have created a new form in theme.inc as follows: <?php function mymodule_example_form($form, &$form_state) { $form['Looking For']['PropertyCategory'] = array( '#type' => 'select', '#title' => t('Looking For'), '#options' => array( '' => t('Any'), Commercial => t('Commercial'), Residential => t('Residential'), ), ); $form['Type of Property']['PropertyType'] = array( … | |
hey i have a project on logic circuit simulation.i don't know how to include basic gate images in my code,so that it is displayed with the chosen gates output.i have jgrasp c_compiler.so plz help me out. #include<stdio.h> int And(int a, int b); int Or(int a, int b); int Not(int a); … | |
protected void Page_Load(object sender, EventArgs e) { if (Session["UserName"] != null) { if (Session["roles"].ToString() != "Admin") { ScriptManager.RegisterStartupScript(this, this.GetType(), "alert", "alert('Only Admin Can Access this Page');window.location ='HomePageAdmin.aspx';", true); } } else { ScriptManager.RegisterStartupScript(this, this.GetType(), "alert", "alert('Please Login To Proceed');window.location ='HomePageAdmin.aspx';", true); } } protected void btnRegister_Click(object sender, EventArgs e) { … | |
![]() | is it possible to automaticly generate unit tests without the skeleton generator? or is there a way to install the skeleton generator for php versions lower than 5.3? ![]() |
I use ODBC data source to connect vb.net application to MS ACCESS database.When I have to install it in my clients PC,I have to manually make ODBC connection from(Control Panel ->Administrative Tools->Data source(ODBC)). Now what I want to do is,include odbc connection string in vb.net code itself so that I … | |
HI Everyone. I am not new to programming, but I have just started to work with vB. I have been around vB.com and vB.org and neither really have a good how-to on starting your our hacks and using the vB page shell. Maybe, I missed it... But, I want to … ![]() | |
hi! I have a problem regarding this matter. To illustrate: i have class A, which holds a data to be passed to class B to be used in method1 of class B. I also have class C, in which a have the event to trigger method1 in class B. In … | |
so I am new to python and I am trying to generate a 100 numbers from 0 to 10 and find out how many times a three appears. I'm not sure exactly how to get it to work. I basically just want to be able to count how many times … | |
Okay so the break down. I have a simple application. You can create a new vehicle, either a car, sports car, truck, or minivan. That object is then loaded into a listbox. Each one has 4 methods that display the message box (Start, Drive, Park, Wash). So if I create … | |
I need to create layout like [this](http://steveandjacqs.com) It is not scrolling smoothly. I need to travel to 2nd div each time before going to div clicked by navigation **My full code is here** **css** @import url("reset.css"); html, body{ height:100%; width:100%; margin:0; overflow:hidden; background:url(images/4.png) repeat center top; color:#FFFFFF; } a{color:#FFFFFF} #header{float:left; … | |
Hi, Below is my code Socket CSocket,SSocket; sin_ad.sin_family = AF_INET;//sin.sin_family = PF_INET; sin_ad.sin_port = htons((u_short)m_Port); sin_ad.sin_addr.s_addr = INADDR_ANY; int s_len = sizeof(sin_ad); CSocket = accept(SSocket,(struct sockaddr *)&sin_ad, &s_len); ****if (ioctlsocket(CSocket, FIONBIO, &iMode))//iMode is ulong set to 1. { idc_txtbox.put_SelText("Unblocking of Socket failed"); closesocket(ServerSocket); WSACleanup(); }** if (CSocket == INVALID_SOCKET) { … | |
Hello, Im having a problem regarding on Array List. I need to create an Array that gets information, What inside the List are EmployeeID, LastName and FirstName I need to store all EmployeeID,LastName and FirstName. How can i do that? Please Help, thanks in advance. :) | |
1.If cin and cout objects are in the 'iostream' , why do we need to declare it again using 'std' ? 2.are cout,cin,cerr,clog the only ones in the iostream? 3.under which categories do cin,cout and iostream fall? (library,object etc..) 4.can we use the same iostream for both linux and windows? … | |
Dear Friends i want to copy data from one table to another table i know we can do this task using following query INSERT INTO Destination (EnrollNo, CheckIn, CheckOut, DiffTime) SELECT EnrollNo, CheckIn, CheckOut, DiffTime FROM Source but here is problem ... i want to add a new colum with … | |
Hi i have this code to create a photo gallery on my website. [CODE]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="GENERATOR" content="Microsoft FrontPage Express 2.0"> </head> <body bgcolor="#FFFFFF"> <div align="center"><center> <?php $a = '0'; $filepath = "thumb"; $url_path = "main"; $dir = dir($filepath); echo "<table border=\"0\" cellpadding=\"5\" cellspacing=\"5\" width=\"75%\">"; while($entry=$dir->read()) … ![]() |
The End.