199,114 Archived Topics
Remove Filter ![]() | |
i have my own region class: class region { private: BYTE* Get24BitPixels(HBITMAP pBitmap, WORD *pwWidth, WORD *pwHeight) { // a bitmap object just to get bitmap width and height BITMAP bmpBmp; // pointer to original bitmap info LPBITMAPINFO pbmiInfo; // bitmap info will hold the new 24bit bitmap info BITMAPINFO … | |
Dear All, I am facing a weird problem, similar codings give different result. Why is this happening? I am saving both files as .php file. Please guide me. I really having headache with this form. Code 1: Working Fine (Non-bootstrap) <html> <head> TestPage <link rel="stylesheet" href="http://gsmtecharena.com/Testing/bootstrap/3.3.5/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="http://http://gsmtecharena.com/Testing/bootstrap/3.3.5/js/bootstrap.min.js"></script> … | |
Sir could you please tell me what are the things to consider when developing a dynamic or e-commerce type of website. I just want to understand more about websites. the risk and how do I prevent them. I know bit in sql injection,hackers and spammers but not that much.. please … | |
public class MainActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); ParseObject.registerSubclass(MyFirstClass.class); Parse.initialize(this, "Id", "Id"); Button button = (Button)findViewById(R.id.button1); button.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) { callSearch(); } }); ParseUser user = new ParseUser(); user.setUsername("username"); user.setPassword("password"); /*user.signUpInBackground(new SignUpCallback() { @Override public void done(ParseException arg0) { … | |
Looking for complete code snippets to read through and try to understand. Post them below and I'll post back with what I think it does. | |
Hi, could somebody help me how to write a function that sort elements in two dynamic stacks(contained in an external file) by the quicksort method?I think I have written the other functions correctly but I find hard time on this one.Please help me if you can, I will appreciate it … | |
Hey everyone, I have the following list in my code public class order { private float amount; public float getAmount() { return this.amount; } } and in main function I have the following list List<List<Order>> ordersList I want to iterate the list through Streams in java 8 in order to … | |
Hello! I’m trying to write a small program to make a sort of animation using ncurses. I have an external file, a header file, and a main file so far. Header file contains a class with a constructor that is initialized in my cpp file, a void function that is … | |
Hi, I'm trying to write code that will allow me to assign values to lists of strings. I then want to compare user input to the lists and create a scoring system based on what has been typed in. For example if the input contains letters in list1 then the … | |
Is this awfully low at 13 , would you know what this number should it be. Is this the hosting company doing this? This message is to alert you that you have exceeded your concurrent MySQL connection limit. Current MySQL Connections: 13 Thanks so much .. ![]() | |
Hello, I am currently working on modifying particular script I have in place. Specifically, I would like to transition the "open" (services_button) and "close" (services__cancel) buttons into a singular toggle element. Here is the script that I am attmepting to modify. Thank You in advance for the assistance. <script> (function() … | |
I am trying to make my bootstrap carousel dynamic in codeiginter here is what i have so far Model Fucntion function get_all_images(){ $query = $this->db->query("SELECT * FROM property AS p INNER JOIN property_images AS pi ON p.ID = pi.image_id GROUP BY p.ID ORDER BY p.ID"); return $query->result_array(); } My Controller: … | |
Hi all. I am having some trouble implementing my add-data.php as explained in this [tutorial](http://www.codingcage.com/2015/06/multiple-insert-update-delete-crud.html) My situation is that I should be able to do CRUD of data but from/to multiple tables. Following the tutorial, so far I have done the display/index.php, generate.php and the form part of add-data.php. Now, … | |
I've been away from programming for a bit, and I never really learned pointers that well. What I'm trying to do now is code from a model. Here's a link to the model: [Click Here](http://s1042.photobucket.com/user/AlanTuring11/media/123_zpsx47kycfm.png.html?filters[user]=144321721&filters[recent]=1&sort=1&o=0) My problem is that my output is not changing when I enter events. The program … | |
My issue is much. I have a csv file, and want to select where Arrival or Departure and must be the same "date and time" have the same value. I can only read from csv file but can't go further import pandas as pd df = pd.read_csv("data.csv") row = next(df.iterrows())[1] … | |
I am able to read 4byte data using byteBuf.getInt() and same way till 8 bytes I am using getLong. I am not able to read 16 byte data. when I googled I understand that java BigDecimal will support 16 byte data. Could any one please help on reading 16 byte … | |
Two political parties are contesting in the elections in the N number of states in the country ,each party wins some seats every year in each state.after the country elections are over we have the result of both the parties within an array. the two parties considered equal win the … Programming c | |
I tried this code and it did not do what I expected. byte byt = byte.MaxValue; BitArray bitArray = new BitArray(byt); Debug.WriteLine("bitarray " + bitArray.Get(0).ToString()); Debug.WriteLine("bitarray " + bitArray.Get(5).ToString()); What I expected was the opposite of what I got, which was the following. bitarray False bitarray False I thought `byte … | |
HI , I am creating a social media site, but getting stumped on updating the status comment boxes. Currently, when a user post a comment to a status it updates in REAL-TIME (ajax) on their page, however, it does not on the clients side. How can I build a comment … | |
There is a lot of people who thinking that one day PHP will die then Why Maximum web development is going in PHP ? | |
Hi everyone I am new with you. I study in the university, they teaching us many programming languages. I wont you to help me to found the best to focus on. thank you by the way I am good in java ... | |
HI guys, as mentioned in my revious post, I'll redo my wordCount application using the GridBagLayout approach. The functionality of the application hasn't changed at all: I've only removed the various Jpanels and, for simplicity, used only the JFrame and attached all the comonents to the JFrame. I've had a … | |
hi! i want to place the contents of a dictionary into a csv file. Can someone help me with this? i already have the code in reading the csv file [CODE] import csv reader = csv.reader(open("c:\sample.dat")) for row in reader: print row [/CODE] i want the first element of the … | |
1) i fetch data from database suppose $data contains all the data of table A from $data first two goes to below div <div> //bgcolor green echo $data['a']; echo $data['a']; </div> next 2 data to below div <div>//bgcolor yellow echo $data['a']; echo $data['a']; </div> again next two data to <div> … ![]() | |
Hi I want to stop direct download of videos file from my webiste folder. .htaccess is not working in godaddy windows server Please help me. eg: http://www.domain.com/folder/video.mp4 If paste the URL in the browser. it should not download the file from the server. | |
hi everyone oh gosh imma know allyuh probably get fed up of me. I am building this game, well it is the same game as in my last post. I decided to delete everything and do it over just to figure out my logical error and boi when i really … Programming java | |
OK, I have an HTML page that contains two scrolling divs. The two divs I have are: content-hoo-m content-hoo-s In both divs I have anchored links, for example <a href="#1">Link 1</a> <a href="#2">Link 2</a> <a href="#3">Link 3</a> <a href="#4">Link 4</a> These link to anchors in content-hoo-s. But when you click … | |
Helo, I have a confussion and I need to get it solved in core php we used to create a url parameter through which we would be able to get values from the url so hwo this could be happend in codigniter for example <a href="index.php?add=1">Add page</a> //setting up a … | |
i had an idea to create an epub editor that I can use on android or on desktop using java. can someone tell me where would be a good place to start? I already have ebooks on learning java. | |
I am attemping to calculate the cost by issuing the query below however it always return no value: //Re-calculate the cost price $f15 = "SELECT sum(cost) FROM ingredients WHERE item_id_fk = :targetID"; $e16 = $this->l1->prepare($f15); $e16->bindParam(':targetID', $g4); $e16->execute(); $g5 = $e16->fetch(PDO::FETCH_NUM); error_log(print_r($g5[0], TRUE)); Did I miss out something? Your help … ![]() | |
Hi, I am dealing with the shape drawing functions in C# and I am trying to resize DrawingGroup after drawing some shapes on it. Here is my code: DrawingGroup drawingGroup = new DrawingGroup(); Pen redPen = new Pen( Brushes.Red, 2 ); DrawingContext drawingContext = drawingGroup.Open() drawingContext.DrawRectangle( null, redPen, rect); double … | |
At first, here's my source code: [code] #include <SDL.h> int main(int argc, char* argv[]) { //initialize SDL and the video system. if (SDL_Init( SDL_INIT_VIDEO)<0) return -1; //signal SDL to change the text of the main window to SDL "Hello World". SDL_WM_SetCaption("Hello world","Hello World"); //Create an SDL_Surface object, which represents, the … | |
**Task** Your task is to write a program that will draw graphs and output them as a full colour image in the .ppm file format and display them using a suitable external image viewer (IrfanView). The program will use code generated sine waves, and harmonics of these, to calculate and … | |
<nav> <div id="main"> <div id="one"> A </div> <div id="two"> B </div> <div id="three"> C </div> <div id="four"> D </div> <div id="five"> E </div> </div> </nav> <style> #main { min-height: 175px; height: 27.5%; width: 100%; background-color: #222; position: fixed; bottom: 0; left: 0; } #navBackground { width: 100%; } nav div … | |
Hiya all, I really need your help with understanding. But first, please avoid offering wordpress or so as a solution. I have a couple of templates (more to come) done from scratch to meet a specific business type (very specific). My problem if a customer selects one template, how do … | |
HI, I am trying to do questions generation system in PHP. I need some idea form all of you, how to shuffle questions and answers from table based on standard, section, subject,difficulty of question (Easy, Medium, High),No of module (Like, choose the best anser, true or false, Explanation ), and … | |
Below shown code after fetching data from database not listing the result? <?php $answer = $listcareer['bigcontent']; $bigcontent = substr($answer,0,10); print_r($bigcontent); exit(); ?> ![]() | |
Hello, I have created a quiz system where I tried to create a condition which is just simple one if time is up then correct answer will be shown up and the button would be disabled but I am confused and unable to make some logic about I need you … | |
hi guys, i have a site which is protected using php and stored username and passwords in mysql database. is there a script which will protect a directory and run off the mysql database username and password as opposed to just a standard htaccess file? help urgently need for this … | |
Hi, I have a stupid problem with jquery, On my htmlpage I have a div with id intakegesprekDates and when I try to add an element to it with jquery like this ` $("#intakegesprekDates").append("<div class='row form-group'><label>Datum gesprek</label>"+ "<div class='col-md-2'><input type='text' class='form-control' id='txtIntakeGesprek' name='txtIntakeGesprek'></input></div></div>"); ` My elements are shown in te … | |
Hi all i need a help to develop[e sequance diagram in Rational Rose or Visual Paradigm ,have use case ready.If this this is the wright place to discuss it,please let me know and i post my use case.I am new to sequance diagrams.Thanks | |
Hello guys. I successfully loaded local files in Spring Web MVC Application, such as javascript files, css files or image files. They were working fine untill yesterday. All the pictures are not being rendered in JSP view. An error is shown similar to that of title. Here is my configuration. … | |
For the VB Studio 2010 software I developed, I'd like to include source code, a class maybe, written in VB (not c++) that allows me to get (and change) ID3 V1 and V2 tagging data from MP3 files. I've been looking for months and have found .exe's and someone else's … | |
![]() | If I doubleclick on a DirectoryListBox, Delphi returns the directory above the clicked one. A second doubleclick on the same directory returns the wanted directory. How do I select the intended directory in one doubleclick? In the OnDblClick event I use Dir:=DirectoryListBox1.Directory. What am I doing wrong? Anybody? Regards Bo ![]() |
I was wondering if anyone could help me out with a problem I've had for a few days. This is a code snippet of a program I'm writing to move and delete email attachments from one or more selected emails. Everything works great except the program won't edit the body … | |
Hi, I am new to this concept. I have data in my table in different languages like, English, French, Chineese, Serbian....) I want to display that languages in MPDF, how they are in table,. How to do that in MPDF? Which PDF format is best? FPDF or MPDF or TCPDF … ![]() | |
So, I've some free time in December and want to make a web-app that lets people login, put books they've read, review the books they've read etc. But, I'm not sure how and where to start? What Languages/Frameworks to use? Any help would be appreciated. Thanks! ![]() | |
Hi, Can you guys reccomend me some good oracle sql journals? Thanks |
The End.