199,114 Archived Topics
Remove Filter ![]() | |
I need help with .net c# screen scrape. I can't seem to find an example in c# that works. I have this one in VB that wors but feel like an idiot bc I can't convert it correctly... <%@ Import Namespace="System.Net" %> <script language="VB" runat="server"> Sub Page_Load(sender as Object, e … | |
HOW CAN I STYLE THE ANCHOR TAG IN ECHO? if(isset($_SESSION['valid'])) { include("config.php"); $result = mysqli_query($conn, "select * from users"); echo "<a href='view.php'>View and Manage Users</a>"; echo "<br/>"; echo "<a href='viewdept.php'>View and Manage Departments</a>"; echo "<br/>"; echo "<a href='viewrep.php'>View and Manage Reports</a>"; echo "<br/><br/>"; echo "<b>Login List:</b><br/>"; echo "<table width='35%'>"; echo … | |
I've been here before but I'm looking to find a single-pass method to input the LRS `[[0,0,0],[0,0,0],[1,1,1]]` and get a basic 3x4 (at least) matrix in return: [ [1,0,0,0], [0,1,0,0], [0,0,1,0] ] ^ matrix is NOT transposed (I'll never understand why we use column-major) anyone got anything on this?? > … | |
Hello all! I am working through a book here and it says that there is a class-template "basic_string" that is used in the namespace std as `typedef basic_string<char> string;` to create an alias for the "string" type. However, I know that there is a header file `<string>` for the declaration … | |
I am inserting a record via Campaign Monitor API; as I am passing below array; why I am getting error: Array( [EmailAddress] => tljljljl@example.com [Name] => Trial test [CustomFields] => Array ( [0] => Array ( [Key] => First name [Value] => trial ) [1] => Array ( [Key] => … | |
Im having problems getting this to work.. What I need to do is scan a directory, and search for all images that belong to the member. Here's the basic process: 1. A member uploads a photo 2. If accepted, the photo is automatically renamed by appending the member's name as … ![]() | |
Hello Daniweb Community, I'm wanting to slice a square image into 9 pieces like below  the code I'm currently using is this Private Function CropBitmap(ByRef bmp As Bitmap, ByVal cropX As Integer, ByVal cropY As Integer, ByVal cropWidth As Integer, ByVal cropHeight As Integer) As Bitmap Dim rect … | |
Hi, In a form, I have 4 select boxes(default), and two text boxes(default). If I click the first (static values) based on that next second(new) select box will come (it has been done by ajax), based on the new select box, I display checkboxes based on the select box values, … | |
I am trying to get the text (not value) of a selected item in a select box <option> and display it elsewhere on the page. I have to admit im totally new to this so im going to need an explanation on plugging in a JQuery file... Thanks! | |
Hi, I've been working on a project when suddenly an error occured when I clicked a control and shows a error picture on the control. I'ved attached a picture for reference. I continued working ignoring the error which led me to my previous problem which is still unsolved [Unusual behavious … | |
Hello, I have an instance called "Instance". From the button event I try to create 2 Instances of "Instance". I want those 2 Instances to be completely separate from eachother in terms of the variables that exists inside "Instance". So for example you can see the List variable: "instanceValues" However, … | |
I would like to know how to create a custom link on any of my website page to launch directly this modal contact form. thanks in advance. [Click Here](http://www.elated.com/articles/slick-ajax-contact-form-jquery-php/) | |
There are totally 6 bam files. In that: 1,2,3 are one group 4,5,6 are in other group do.call([cfg.tool_cmd("cuffdiff"), "-p", str(cfg.project["analysis"]["threads"]), "-b", str(cfg.project["genome"]["fasta"]), "-u", cfg.project["experiment"]["merged"], "-L", "%s,%s" % (str(cfg.project["phenotype"][0])[2:8],str(cfg.project["phenotype"][1])[2:7]), "-o", output_folder] + [cfg.project["samples"][0]["files"]["bam"]] + [cfg.project["samples"][1]["files"]["bam"]] In this call: [cfg.project["samples"][0]["files"]["bam"]] should take 1,2,3 (first group) bam files. [cfg.project["samples"][1]["files"]["bam"]] should take 4,5,6 (Second … | |
analysis: clip_adapters: false differential_expression: comparisons: - condition1: embryo condition2: larva metadata: phenotype metadata: phenotype: embryo: - SAMN00990702-1 - SAMN00990702-2 - SAMN00990702-3 larva: - SAMN00990703-1 - SAMN00990703-2 - SAMN00990703-3 samples: - files: bam: pipeline/SAMN00990702-1/mappings/accepted_hits.bam name: SAMN00990702-1 output_folder: pipeline/SAMN00990702-1 - files: bam: pipeline/SAMN00990702-2/mappings/accepted_hits.bam name: SAMN00990702-2 output_folder: pipeline/SAMN00990702-2 - files: bam: pipeline/SAMN00990702-3/mappings/accepted_hits.bam name: … | |
I have (roughly) the following code: read -p "What is your variable: " WHATIS cat > ./test.txt <<EOF This should be a bunch of lines I want this "variable" to be imbedded it is ${WHATIS} EOF I keep getting the literal output of "${WHATIS}. I did this ages ago but … | |
$username = $_POST['username']; $password = $_POST['pass']; $query = "SELECT id,name,username,password,status FROM users WHERE username = " . $dbh->quote($username); $result = $dbh->query($query); $userData = $result->fetch(PDO::FETCH_ASSOC); $userName = $userData['username']; $hash = $userData['password']; $status = $userData['status']; if($username == $userName) { if(password_verify($password, $hash)) { if($status == 'Request') { echo "<script>alert(\"You have not been activated. … ![]() | |
I'm trying by clicking on a `button` to toggle a class on a parent element which is 5 levels higher, so I though that this would do the trick: $('.btn-list').click(function() { $(this).parents('.mix-serie').toggleClass('animate') }); But unfortunately it didn't, but if I just add a class, $('.btn-list').click(function() { $(this).parents('.mix-serie').addClass('animate') }); it does! … | |
HI to all frndz! I have started learning Java and in a case study I have got some errors I have written a class address book and an error is occurring due to following code snipet persons.add(p); and the error message is: "Address Book has tried to run an unchecked … | |
I want to pass array value directly into the js fucntion which in loop and wanted to retrieve its query string id of selected employee here is code as i said in loop i wanted to pass array value while($row = mysql_fetch_array($res)){ echo "<tr>". "<td> <p><button onclick=func({$row[0]}) >View</button></p> </td>" ."</tr>"; … | |
which platform should i use for effective game development? | |
What is the programming language used in games like GTA 5 or Call of duty? and which software do they use to render graphics? | |
Can somebody help me to convert markdown to html using python language. I'm not a programmer but i want to understand some basic things in programming, and now i'm trying to make this conversion. Can somebody show me for example how to convert this: https://gist.githubusercontent.com/Irene26/6da8be01b46f07bf2a48/raw/6ef8e49a7c50e0aa1ae7465f6069f0a262b0ad84/gistfile1.txt to look like this: https://gist.githubusercontent.com/Irene26/a05c52826fcd680cbd74/raw/22a44879753b137e28d25affefa21912dfdb6912/gistfile1.txt … | |
Hello Programmers! I am trying to write a recursive implementation of the quicksort algorithm in C++. I believe you all know what it is so I shall not go into the details. However, I run this, but it never ends. Going through it with a debugger shows that my partitioning … | |
hey guys Im here again :P Here is my code for bank account class.. #include<iostream> #include<iomanip> using namespace std; class account { private: int account_balance; public: account(int acc) //constructor { if(acc>=0) { account_balance=acc; } else { account_balance=0; cout<<"initial balance is invalid"<<endl; } } int credit(int ammount) //credit member function { … | |
I built one Sync code. I am using eclipse for the same. Actually my code is working fine in eclipse. But when I run it in Tizen OS device. I am using beecrypt library for the same. I have one line auto_ptr<Mac>(Mac::getInstance("HmacSHA256")); Actually, it is throwing exception on this line. … | |
Hi, Dynamically I show the checkbox based on selected select box values. By slecting checkboxes I will display the related values in a selectbox. While selecting a single checkbox, I can easily display related values into select box. While selecting more than one checkbox I want to display the related … | |
Hi Daniwebbers, can someone help me How to figure out the depth of a dynamic hash (hash of hashes) in perl. If it has consistent structure, we can traverse through while/foreach and find out the depth. Could anyone point me the right and best way to figure it out. my … | |
I found this https://github.com/inorganik/CountUp.js As my knowledge of javascript is very weak, i am asking for your help to store the counter result local, then display it on the user`s browser... var options = { useEasing : true, useGrouping : true, separator : ',', decimal : '.', prefix : '', … | |
# Which book are best for Algorithm and Data structure # | |
Hi, I am trying to load a page which has a ng-table in a page with jquery my function to load the subpage in the main page is like this: function loadSubPage(id){ var random = Math.random()*1000000; $("#aanvullingGegevens").load("gui/aanvragen/gekende_patient.php?patientID="+id+"&random="+random); } and this is my sub-page <script type="text/javascript" src="scripts/angular/angular.js" ></script> <script type="text/javascript" src="scripts/angular/ng-table.js" … | |
Does anyone currently use Xamarin framework for development? Its supposed to enable you develop cross platform with c# but some C# code i use in a console app that works properly doesnt work in Xamarin. Wandering if anyone has got that sorta issue. | |
Hey everyone, First of all I am a one-week self taught when it comes to web service so pardon if this is a duh! question. I was given a sample Web Service and aske dto re-create it a new one from scratch. I have been able to understand and apply … | |
i want to get sum of jtable column n that value display in a jtextfield. so what is the code for that? | |
I have array Array ( [0] => 1,2,3,4,5 [1] => 1,2 [2] => 1,2 ) how to remove duplicate elements and i want to single array like Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5) | |
I'm using this code right now: // JavaScript Document $(document).scroll(function(){ if($(document).scrollTop() >= 470) { $('div.slide-in-section1').effect('slide'); } }); And of course I did realize that whenever you scroll just a little more it will keep re-running this bit of code. But I figured I had a fix, which was this: // … | |
hello my friends i have posted this article before but it stil didn't work so so i tried many time different way but i dont see the reason why my menu is not working. in my main page `template.php` here is the content <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> <head> … | |
Hello once again! I have searched in vain for a solution to this issue however, any threads that I've seen online were regarding copying a specific state of a dynamic image and were unresolved...or were more like what I was looking for and it was unresolved. My current form uses … | |
I'm trying to print out form input using getElementById but it doesn't seem to work. Please help. <?php $strhtml = 'DomDoc.html'; // create the DOMDocument object, and load HTML from a string $dochtml = new DOMDocument(); $dochtml->loadHTML($strhtml); // get the element with id="dv1" $elm = $dochtml->getElementById('name'); // get the tag … ![]() | |
//The purpose of the program is to simulate dialing a phone number and having it convert to a numeric format with a hyphen. //We're not allowed to set the characters to a string or to use arrays, I'm having trouble entering an if statement that would return -1 if I … ![]() | |
I have array like this stdClass Object ( [0] => stdClass Object ( [field_id] => 10 [value] => 46426 [value_integer] => 0 ) [1] => stdClass Object ( [field_id] => 9 [value] => 1987 [value_integer] => 0 ) [2] => stdClass Object ( [field_id] => 8 [value] => 558/65 [value_integer] … ![]() | |
I have one project named P2PTicTac. I have one file named layout.java. and one with CLient.java. I have made simple GridView in layout file with 9 buttons in 3*3 Grid. I have run two threads in client.java. One for reading the data from server and one for writing data to … | |
How to create simple photo Album in wordpress **Photo Albums Requirements** `albums.php` to listout Albums `gallery.php` to listout images inside selected album 1. Set Album cover 2. hover effects for album (http://tympanus.net/Development/HoverEffectIdeas/) 3. fields to create Albums 4. fields to upload images | |
I'm Wordpress beginner. Trying to create plugin "Business Directory Plugin". Need Help to complete code. How to get information about business listing? How to get following information, 1. Business Name 2. Business Category 3. Business Description 4. Business Phone Number 5. Business Address 6. Business Email 7. Business Website, if … | |
How would i make a request to the etsy api? I want the grid_cell div to show the results for something typed into the search bar. The grid_cell div should display an image for whatever the user searches for. [Click Here](http://jsfiddle.net/jmann1622/wbL1t04t/) | |
can anyone please tell me what's wrong with my code? I have made this code but the compiler is giving the error that all member functions are non-class type. I can't fix this. Here is my code: #include<iostream> #include<string> using namespace std; /*class Invoice which demonstrates capabilties */ class invoice … | |
I'm creating a wizard page in eclipse using SWT libraries. So far I have succeeded in creating the page but with only one issue:- SWT composite doesn't get selected. My wizard page contains a scrolledComposite containing multiple composites in a grid fashion. Each composite contains a browser just like a … | |
Hi all, Been trying to do this for a while, I have a .js script which utilises node.js and socket.io. I'm trying to make it so that when I have the page localhost:3000 open and I type !follow in an IRC chat it will change the web page. **Index.html:** <!doctype … | |
<div class="panel-body"> <div class=" col-xs-12 col-sm-12 col-md-12 col-lg-12"> <form class="form-inline" role="form" action="leadentry.php" method="POST"> <div class="form-group form-groupp"> <label>Business Name</label> <input class="form-control" type="text" name ="business_name" placeholder=""> </div><br> <div class="form-group form-groupp"> <label>Contact person</label> <input class="form-control" type="text" name="contact_person" placeholder=""> <div class="person" id="TextBox_person > <button id="add_person" type="button" value="Add more" class="btn btn-default btn-sm" placeholder=""> <span class="glyphicon … | |
Hello everyone. I am modeling a simple dictionary application using the presentation-business logic-data layer pattern. I already have the design but am not sure it is correct: My presentatioon layer is a simple GUI where users insert their queries. They have a form for entering new words and their definitiom … |
The End.