199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for trishtren

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 …

Member Avatar for keith.pastorek
0
1K
Member Avatar for tyson.crouch

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 …

Member Avatar for tyson.crouch
0
125
Member Avatar for SasseMan

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 …

Member Avatar for peter_budo
0
150
Member Avatar for infantheartlyje

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 …

Member Avatar for Ancient Dragon
0
597
Member Avatar for iamthwee

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?

Member Avatar for Morta
0
145
Member Avatar for triumphost

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, …

Member Avatar for mike_2000_17
0
186
Member Avatar for milindchawre

#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') { …

Member Avatar for deceptikon
0
126
Member Avatar for Stealthbird97

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 …

Member Avatar for Reverend Jim
0
192
Member Avatar for sujimon

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. …

Member Avatar for SQLpower
0
316
Member Avatar for dewdropz

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, …

Member Avatar for Taywin
0
460
Member Avatar for LastMitch

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 …

Member Avatar for LastMitch
0
269
Member Avatar for CriticalError

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 …

0
128
Member Avatar for Narasinhareddy

sir i want do on small application like face book,can you people help me please,how can i proceed.......please give me instructions...

Member Avatar for SQLpower
0
65
Member Avatar for phsims

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 …

Member Avatar for JamesCherrill
0
206
Member Avatar for VBRAY

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 …

Member Avatar for Maligui
0
357
Member Avatar for hypernova

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 …

Member Avatar for danieljacob344
0
327
Member Avatar for Stealthbird97

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

Member Avatar for Maligui
0
129
Member Avatar for ziyaddinsadigov

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() { …

Member Avatar for Taywin
0
511
Member Avatar for tendaimare

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 …

Member Avatar for Maligui
0
268
Member Avatar for drelix01

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 = …

Member Avatar for Maligui
0
1K
Member Avatar for SQLpower

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 …

Member Avatar for SQLpower
0
144
Member Avatar for wasim kazi

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 …

Member Avatar for wasim kazi
0
1K
Member Avatar for troca

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 …

Member Avatar for troca
0
185
Member Avatar for passioncoder

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 …

Member Avatar for passioncoder
0
1K
Member Avatar for hackit

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, …

Member Avatar for Mike Askew
0
2K
Member Avatar for Linna

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 …

Member Avatar for pritaeas
0
123
Member Avatar for mancode1007

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 …

Member Avatar for pritaeas
0
88
Member Avatar for amitash

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 …

Member Avatar for AndreRet
0
848
Member Avatar for RobotFX

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 …

Member Avatar for pritaeas
0
177
Member Avatar for vindyauwu

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 : ' …

Member Avatar for vindyauwu
0
175
Member Avatar for manhthaodn

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 …

Member Avatar for Mike Askew
0
602
Member Avatar for napninjanx

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?

0
87
Member Avatar for vivekanand.rai.31

i am making a application using java swing drag and drop property how can i add a calender without coding

Member Avatar for softswing
0
151
Member Avatar for memccool

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> …

Member Avatar for broj1
0
298
Member Avatar for vizz

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 …

Member Avatar for vizz
0
195
Member Avatar for agwx2

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 …

Member Avatar for agwx2
0
293
Member Avatar for uvray90

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 …

Member Avatar for uvray90
0
231
Member Avatar for userIT

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 …

Member Avatar for userIT
0
184
Member Avatar for apking

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

Member Avatar for khia02
0
4K
Member Avatar for nova37

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` …

Member Avatar for gabrielcastillo
0
217
Member Avatar for koveras vehcna

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 …

Member Avatar for koveras vehcna
0
340
Member Avatar for Ritesh_4

Hello, anyone can help me with parsing an html table data to be saved directly in an excel file from the same parsing app?

Member Avatar for Taywin
0
225
Member Avatar for XerX

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 …

Member Avatar for NormR1
0
607
Member Avatar for dot_binary

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 …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for CoolGamer48

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 …

Member Avatar for stultuske
0
907
Member Avatar for dinohead

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!!

Member Avatar for WaltP
0
115
Member Avatar for Donnovan

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; } :)

Member Avatar for Donnovan
0
137
Member Avatar for pjh1985

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? …

Member Avatar for Taywin
0
140
Member Avatar for buzmay

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 …

Member Avatar for JamesCherrill
0
178
Member Avatar for phorce

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/ …

Member Avatar for np complete
0
280

The End.