199,114 Archived Topics
Remove Filter ![]() | |
Hey, I was hoping someone can help me convert a piece of php code, im not really sure where to start pack( 'v', $test ); The pack php function above takes in an integer and converts it to an unsigned long. V - unsigned long (always 32 bit, little endian … | |
Hey Guys, I've got a question that's gotten me stumped. Granted, i've been away from MySQL and daniweb for well over 18months, i've picked up pretty much where i left off back then, and am just filling in the blanks as i go along. **My question is:** i have a … | |
Hi! I'm having an issue with maven I can't figure out. I have two local projects, project1 and project2. Project1 has project2 as a dependecy as you would have any dependecy in maven declared. Everytime I make a change in project2 I have to install it into the local repository … | |
Shall i create a cgi script with main function command line Argument ? If i can , How can i pass the data to this command line arguments ? And shall i pass Array of data from JavaScript to cgi-script which is created in c++. How many ways are available … | |
![]() | can someone explain these. And the difference between abstract and interfaces? These confuse me. Ta Also if you're asked to write a bit of code what tasks can i expect and can i assume i'll be given any resources or just pen and paper? |
I keep getting "None of the 6 overloads could convert all arguments". I only get this problem in visual studio though. When I compile with g++ or codeblocks, it works perfectly fine. The code I'm calling my templates with is: `MemDeSerialize(ListOfItems, SerializedData, size_t(Data[2]));` The definitions: template<typename T> void MemDeSerialize(T& Destination, … | |
#include<stdio.h> #include<conio.h> #include<stdlib.h> main() { char ch1[20],ch2[20],*temp[10]; int i,j,count,k,p,q,len1,len2; printf("Enter the string\n"); scanf("%s",ch1); printf("Enter the string to be found\n"); scanf("%s",ch2); for(i=0;ch1[i]!='\0';i++); len1=i; for(j=0;ch2[j]!='\0';j++); len2=j; k=0; count=0; for(i=0;i<len1;i++) { if(ch1[i]==ch2[0]) { temp = &ch1[i]; k++; } } for(i=0;i<k;i++) { for(p=0;p<len1;p++) { for(q=0;q<k;q++) { if(*ch1[p]==*temp[q]) { for(j=0;j<len2;j++) { if(ch2[j]==ch1[p]) p++; if(ch2[j+1]=='\0') { … | |
Ok, I know this has been asked before but I'm a new user to VB and don't know where to start. A Mate of mine is creating a Custom Minecraft Launcher useing VB for me. We have 2 text boxes Username and Password and what I want it to do … | |
Hi, I am new to Oracle. I have installed Oracle 11g R2 standard edition (server software, 2GB download from Oracle). I found that the 'Environment Variable PATH' has not been set. Which of these directory should I use for the PATH value:- 1. Oracle base, 2. Software location or 3. … | |
I need to implement an algorithm for automatic modulation recognition using matlab. I am planning to do this by using pattern recognition, I have read about the decision tree approach, it says to "ideniify the constant envelope signals (CW, FM, FSK). PSK sigals are not considered as constant envelope signals, … | |
![]() | Hi I'm having issues with **get_magic_quotes_gpc()** function. I download this **Ajax File and Image Manager** from this site: http://www.phpletter.com/DOWNLOAD/ I install it on tinymce & fckeditor to test it out. They both work. I try to link the images and it didn't work and I also realizes the links are … ![]() |
![]() | so I got two probelms with asp.net routing, I got these these routing values in my _AppStart RouteTable.Routes.MapWebPageRoute("{rcPageName}", "~/Default.cshtml", new { rcPageName = "default"}); RouteTable.Routes.MapWebPageRoute("Tutorials/PHP/{rcPageName}", "~/Default.cshtml", new { rcPageName = "PHPTutorial"}); RouteTable.Routes.MapWebPageRoute("Tutorials/VB/{rcPageName}", "~/Default.cshtml", new { rcPageName = "VBTutorial" }); RouteTable.Routes.MapWebPageRoute("Tutorials/CSharp/{rcPageName}", "~/Default.cshtml", new { rcPageName = "C-SharpTutorial" }); RouteTable.Routes.MapWebPageRoute("Tutorials/HTML/{rcPageName}", "~/Default.cshtml", new … |
sir i want do on small application like face book,can you people help me please,how can i proceed.......please give me instructions... | |
I have been working on Java game development for a few years.Obviously questions are going to be raised during the development period.I have come to notice that simple programming questions do not get answered by simple programming answers which are emphasised in lowering the morale of the questionaire and it … | |
Hi All: I have this code below that uses an open common dialog box to dispay 5 horse pictures. Does anyone have the code to display the pictures on the Form only by passing the horse picture names as parameters when I call the subprocedure in the mnuViewNext and mnuViewPrevious … | |
Hi all !! I am planning to do a masters in computer science from a US university. I am not sure which field I should specialize in. I have my interests, but job prospects are also important to consider, which I have little idea of. I am listing the specializations … | |
What code would i need to use in order to download a file from a webserver and then save it to a predefined folder? Then if a newer version of the file is available, Rename the old file and download the new one. Thansk for the help | |
![]() | I want to handle 404 error if script can't load some resouce after document is ready. Here is code: (function( $ ){ $.fn.onair=function(){ var tid = setInterval( function () { if ( document.readyState !== 'complete' ){ return; alert("salam") } else if(document.readyState=='complete'){ if (document.onerror){ //ajax $.ajax({ statusCode: { 404: function() { … |
when i use this code to save my datatable to the databaseit works well on the initial save save but when I access the database fill the datatable and then I delete some rows from the datatable and the "SAVE" the changes are not carried on to the database.How come … | |
Hello guys, I made a simple program that Add, Saves, Edit & Retrieves Data from a MS Access DB... Dim arrImage() As Byte Dim strImage As String If Not IsNothing(Me.ImageBox.Image) Then Me.ImageBox.Image.Save(myMs, Me.ImageBox.Image.RawFormat) arrImage = myMs.GetBuffer strImage = "?" Else arrImage = Nothing strImage = "NULL" End If myqry = … | |
Hello all, basically I would want to select a specific field and update it. However when I click Update, I would want to see the data that I selected not just a blank field. I am using a View( I joined 2 tables), so is it possible to update the … | |
I have one div which contain UL and LI. In this I want to generate dynamic Id of that LI. right now I given static id of this . Now In this I want to generate my li's ID like given below. Now I'm bit confused how will I get … | |
Hello, I'm struggling to make a join between tables work on a non-standard schema. I know the proper way of doing it would be migrating the schema and using the ActiveRecord convention but as long as I'm using this to consume data for testing purposes, that's not an option. The … | |
Hi Coders, I am really in need of your help...... *Table of contents* are available with *action buttons*, When i click on a particular action button say for examble *edit*,the *id* of that *particular row* should be passed to the *edit space*,so that i can pull all other values from … | |
Hiii... I am a beginner to c#. I want to know how to get date from the console window in c#. As i want that on the console window user is asked to enter the date in (dd/mm/yy) format. And then i can extract the day in a variable iDay, … | |
I want to show names of the employee in drop down list fetched from database depending on type of team checked by the user (Teams like Hr,PD,PI) are in the form of checkboxes .how can i do this? the code m using is:- `<li><input type="checkbox" name="box[]" value="Ac&Admin" onClick="dropdown(0)" />Ac&Admin</li> <li><input … | |
Hi guys, I having problem with the gridview. In the gridview there will be a columnn that contains Textbox and dropdownlist. I need to enable to disable control based on the datatype in the database for example Text, it will display the textbox control or date datatype it will display … | |
Hi, I have created a label template in Word and written a macro to print all records (see code below printAllRecords() and attachments) from an Excel datasource. The problem is when I press F2 (defined function key to print all records in my macro), it prints the 1st page once … | |
Well, I'm still a noob when it comes to PHP (or anything), so I'll just give an example. If you go here: http://www.gmodules.com/ig/ifr?synd=googlemodules&w=500&h=350&mid=0&url=http://hosting.gmodules.com/ig/gadgets/file/102166312438248764726/calendar-personalized.xml you'll see the XML gadget displaying nicely in the browser window. Of course, if you load only the gadget in the browser (http://hosting.gmodules.com/ig/gadgets/file/102166312438248764726/calendar-personalized.xml) the page will display … | |
I can't insert data to database through this code.Data alredy exist part is working but after that data not insert to the database. This is the PHP code. <?php error_reporting(E_ERROR|E_WARNING); session_start(); if(isset($_POST['add'])){ $no=$_POST['txtno']; $refer=$_POST['txtrefer']; $amount=$_POST['txtamount']; $state=$_POST['txtstate']; $dblink = mysql_connect("localhost", "root", "") or die('Not able to connect to server : ' … | |
Hi, I have load data method as follows: public List<SalesOrderHeader> Load_SaleOrderRelatedInfo() { try { using (var context = new AdventureWorksEntities()) { return context.SalesOrderHeaders.Include("SalesOrderDetails").OrderBy(so => so.SalesOrderNumber).ToList(); } } catch (Exception ex) { throw ex; } } and method for data binding: public static DataTable Binding_SaleOrderInfoRelated() { using (var services = new … | |
![]() | For Windows Mac Linux etc How Do I make awesome applications and what do i meed to know when designing them? like what skills do you need? |
i am making a application using java swing drag and drop property how can i add a calender without coding | |
Ok so I have a script that I am writing and I have encounted a problem. I can not get the information from a dropbox to submit into mysql data base here is my script. <form action="work.php" method="post"> <table> <tr> <td>Email:</td> <td><input type="text" name="Email" tabindex="1" /> </td> </tr> <tr> <td>Messgae:</td> … | |
How to create template and database for following structure in wordpress? **index.php** main wrapper width 90% 5%-5% margin left and right left column 65% of main wrapper(article) right column 35% of main wrapper(only image) **about.php** main wrapper width 90% 5%-5% margin left and right left column 35% of main wrapper(only … | |
Hello, I am new to java, and I need help with images. I am trying to move an image up the screen while still allowing another image to move using the arrow keys. If I use `thread.sleep` to move the image, I cant move my other image at the same … | |
BEGIN { via["AIRTEL_WHITE"] = 0 via["AIRTEL_WAP"] = 0 via["_321_44"] = 0 via["_321_555"] = 0 count=0 } { for(var in via) { if($5 ~ /var/) { count++ via[var] = via[var]++; } #print $5 } } END{ for(var in via) { if(via[var] != 0) { print var "->" via[var] } } print … | |
Given the trace program below. I basically need to store a 1 or a 0 to the corresponding `a[r[i]]` the problem is I need to be able to keep track of the index of vectors zero and one to check the last index that was used for each vector. For … | |
Hi Friends Iam newbie to vb.net .iam creating a registration form.iam also creating database table in sql server.now how to store record in that table.how to do this? regards apking | |
![]() | hello i want to add search functionality to my website . my task is to get input from user then check it if its domain like google.com then (do work 1).... else if keyword like news etc then search database so i made search.php mysql_query("SELECT * FROM `table` WHERE `title` … |
I have a heat map application on OpenLayers (using XAMPP 1.8.0 and MySQL) where user enters two date and time intervals and selects whether he/she would like to view all the data between those two datetimes or view them based on hourly/daily/weekly/monthly intervals. However, when I type in two date … | |
Hello, anyone can help me with parsing an html table data to be saved directly in an excel file from the same parsing app? | |
Hello. I want to make a File->Open menu functionality to this program. In JMenuBar I think I create everything correctly but it doesn't display when I run it. How do I display it and make the Open functionality work? package oimg; import java.io.*; import java.net.*; import java.awt.*; import java.awt.event.*; import … | |
Does anyone know of a header file for windows with a function that enables the execution of code once every specified number of milliseconds, something that can be used like this: if ( delay(5) ){ // do something every 5 milliseconds } If it's in microseconds is even better. If … | |
Hey, I'm a C++ programmer, but I'm beginning to learn Java, and from what I see so far the two languages are very similar. The main difference I hear is that C++ has pointers and Java doesn't, but from my understanding Java does have pointers in a sense, the user … | |
a simple question, i just can't get around at the moment - if i may if unsigned char *s = 42006f, how can I split/select the hex value into its pairs i.e 42/00/6f using portable ansi c. thanks!! | |
I was wondering if a function of the form public String GetString { get { return stringValue } } is faster than a fucntion of the form public void GetString(out String value) { value = stringValue; } :) | |
Hi I am trying to add a new feature to a website to find any results within a given readius. I found a script online that will calculate this for me but I am having trouble combining this with the current query. Can anyone see where I am going wrong? … | |
Hi, I am trying to do a calculator for celcius to farenheit and viceversa. However I cannot understand why my program does not work. After reading the scanner it does anything and I really do not know why. Could anybody give me a hand here is what i have gotten … | |
Hello, I'm trying to read the header information of a .wav file and I'm kind of stuck. Basically, the header information is located at different offsets in the file. So for example: (0-4) = ChunkID (4-8) = ChunkSize (8-12) = Format .. .. .. .. .. .. From this: https://ccrma.stanford.edu/courses/422/projects/WaveFormat/ … |
The End.