199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sszz

Hi.I have an image(A) and encrypted image(B) .I want to find correlation coefficient for(Horizontal,Vertical,Diagonal) A(~1)and for B(~0)is there any function in matlab for this ?I know corr2 is for calculating the correlation coefficient for two images.but for one image?

Member Avatar for phorce
0
159
Member Avatar for james.lu.75491856

I'm creating my own handler, but what kind of object is request? I can just have the documentation for it and look at that, but I don't know where to.

Member Avatar for james.lu.75491856
0
129
Member Avatar for best4earn

can any body share me a plugin or code for wordpress. I want any one can not access my signup form direct or indirect. Only admin can admin can add members through registration form . I want to restrict my existing signup form

Member Avatar for best4earn
0
111
Member Avatar for newbie14

We are able to capture the whole packet hex values. The issue now from the hex values we want to dissect the level 3 protocol, application level protocol and also if the url value is present in the packet. How best to achieve this in C?

Member Avatar for newbie14
0
1K
Member Avatar for Tcll

alright... so here's a quick demonstraition of what I'm trying to do: def calcInfluence(Coords): #apply to verts from global location Ix,Iy,Iz = 0.0,0.0,0.0 for (Px,Py,Pz),(Lx,Ly,Lz),(Rx,Ry,Rz),(Sx,Sy,Sz),W in Coords: #P = Point of transformation (base of the bone) #L,R,S = Loc,Rot,Sca #W = Weight Ix += Lx*W Vy += Ly*W Iz += …

Member Avatar for Tcll
0
105
Member Avatar for abhi_1

My task: In a website(my university website) when results are generated using my code automatically the roll number's will be incremented and results wil be stored in my database.i need to supply values for a textbox in the university website from my code.,im able to find the html input tag …

Member Avatar for Ketsuekiame
0
303
Member Avatar for PriteshP23

I would like to get Type, Id and Height values in database table. It is not working. There is no error message. Objective is to get RESPECTIVE "Type" from Catalaog which has same Reference from Installed. Well, I have 850 Mb XML file and i just would like to present …

Member Avatar for PriteshP23
0
273
Member Avatar for ehpratah

Good Day everyone i'm having a hardtime figuring out how to make this certain idea of mine to work basically im trying to capture the checkbox value and its label but im not getting anyluck..and also im having problem explaning what im trying to do so i decided to attached …

Member Avatar for JorgeM
0
288
Member Avatar for atiqur_29

im very newbie in both php and ajax & i was trying to create a form where if i insert the contact id then the rest of the form field will automatically filled by retriving data from database. to get help from a tuitorial, this what i already done but …

Member Avatar for minitauros
0
2K
Member Avatar for GreaterThanYouAndMeCombine

well our professor said to make a program able to solve specific mathematical problems by using VB 6 well iwas studying Vb6 but i can't get a clue on how to make the equation inputtted to be the one used as a formula (like for example type equation here: (x^2/2 …

Member Avatar for Reverend Jim
0
140
Member Avatar for murali2489

Hi All, In MY GUI app, inside JFrame, i need to put two rows 8 column components first and then below i need to put one button in the center . I created one Jpanel having 2*8 grid layout and placed the components for two rows there and have put …

Member Avatar for murali2489
0
257
Member Avatar for devianleong

Hi, how can I group sessions value? Example I have session 1,2,2,3,3,3,4 .Now I want to get sessions 1,2,3,4 only

Member Avatar for devianleong
0
156
Member Avatar for themaj

My current VB.net project involves a 2003 Access db and I have now upgraded one of my machines to Access 2007. Before I upgrade the other I'm wondering whether there are any significant issues with my present VB.NET code that might render it 'broken'. Are there any connection issues I …

Member Avatar for Begginnerdev
0
256
Member Avatar for mavtcr

I want to print adress from a database containing lot of records. I have done it through report. But the problem is, All the address is printed in a single column. I want it to print in four or five columns in the paper so that I can save a …

Member Avatar for ss125
0
860
Member Avatar for thuku

Hi, I have a wordpress site, which has 2 back ends for the admin to administer content. -The wordpress admin login -a php content management software. My question is, how can I add this php cms to a wordpress dashboard? What options are available and how can I do it.

Member Avatar for thuku
0
191
Member Avatar for Ahmed.C

Hi. So i was just wondering if there is a way to get the filepath only when a user selects a file using an openfiledialog. E.g. Rather than C:\Test.txt it should be C:\ Really would appreciate the help

Member Avatar for Ahmed.C
0
2K
Member Avatar for dean.ong.14

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\registration\r­egistration.php on line 66 i already tried mysqli_error() and does not fix this problem <html> <head> <title>Registration Form</title> </head> <body> <form method='post' action='registration.php'> <table width='400' border='5' align='center'> <tr> <td><h1>Registration Form</h1></td> </tr> <tr> <td>User Name:</td> <td><input type='text' name='name'/></td> </tr> <tr> …

Member Avatar for dean.ong.14
0
1K
Member Avatar for manel1989

hi! i want to concatenate a string with an integer that's why i used this code : ++k; char f[50]; sprintf(f,"%d",k); strcat ( f,"N"); but what i got is this ( for example :**1N**) and what i want is some thing like this : **N1** Could you please help me …

Member Avatar for Ketsuekiame
0
211
Member Avatar for GeekPlease

Good day folks, I hope you can help me with this one, I want to create a game. Can you tell me where to start, what softwares I need to study and what particular knowledge I should have. I'm not new to programming so do you think it will be …

Member Avatar for kal_crazy
0
213
Member Avatar for kal_crazy

I can not get a sum from a function and return to main to check whether the sum is greater than the money added in and input more money. int vending::MakeSelection(int ItemPrice[], int NumItems[], int sum){ int response; do{ cout << "Item:"; cin >> response; if(response == 1){ for(int i …

Member Avatar for kal_crazy
0
445
Member Avatar for Fangling

Hi i have a datatable which looks like: Modulecode AdminNo EG1001 111411H 111380Y 192029B EG1002 110970R 102938X ... populated in a dgv. How to i get: Modulecode NumofStudents AdminNo EG1001 3 111411H 111380Y 192029B <<<<<<<<<<Blank>>>>>>>>>>>>>>>>>>>>>> EG1002 2 110970R 102938X <<<<<<<<>>>>>>>>>>>>>>>>>>>>>> . . . My codes are: ''Connections Dim connect As …

Member Avatar for ss125
0
134
Member Avatar for Sanjay_6

Hi guys... I want to install xdebug for profiling and debugging php application. But something i miss so that phpinfo file not shows xdebug.some basic info about my php confihuration PHP Version 5.4.7 Apache 2.4 what steps i have followed: i have download latest version of `xdebug.dll` and move this …

Member Avatar for Sanjay_6
0
316
Member Avatar for somjit{}

for a basic ascii checker code of less than 10 lines , i want to print out stuff immediately , instead of after a newline. i understand that stdout is a bufferedstream , and so it will by default wait for a '\n'. i was looking at [this](http://stackoverflow.com/questions/1716296/why-does-printf-not-flush-after-the-call-unless-a-newline-is-in-the-format-strin) page for …

Member Avatar for rubberman
0
2K
Member Avatar for nmakes

I've got a problem understanding inheritance. #include <iostream.h> class A { public: int x; }; class S1: public A { public: int x; }; class S2: public S1 { public: int x; }; int main() { S2 obj; cout << obj.x; return 0; } In the code above, I basically …

Member Avatar for Ancient Dragon
0
227
Member Avatar for Galbatorix

Hi, I have ben having problems making an instance of sqldatareader. I keep getting a squigly line under my datareader object with a message saying that unreachable code detected. Here is my code: using System; using System.Windows.Forms; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Albergo.Classes { …

Member Avatar for Galbatorix
0
152
Member Avatar for erinkay528

Here is my assignment. I would like someone to walk thru some of this with me if you have time today. This is my last assignment and I just dont understand parallel arrays and how to recall information. If someone could help me get started that would be a big …

Member Avatar for Ketsuekiame
0
520
Member Avatar for crestaldin

[COLOR="navy"]I am trying to write a code to count the frequency of characters in a String; For example if I have String str = new String("This is a test"); I want to count the number of occurrence of each character in the string.(assuming the code is case insensitive) This is …

Member Avatar for JamesCherrill
0
435
Member Avatar for nmakes

I am getting garbage values for this program.. Please help. /* =============== == Program 8 == =============== Q. Write a program to enter and print student's details (Personal, Academics and Skills) using multiple inheritance */ #include <iostream.h> #include <string.h> #include <stdio.h> #include <conio.h> class skills { public: char hobby[]; char …

Member Avatar for nmakes
0
250
Member Avatar for aVar++

I have two files this is the file included: <?php if (@mysql_connect("localhost","****", "**************") || @mysql_select_db("a_database")) { echo "Connected"; } else { die("Not connected."); } ?> Then this is the main file: <?php require "connect.inc.php"; $query = "SELECT `food`, `calories` FROM `food` ORDER BY `id`"; if ($query_run = mysql_query($query)) { echo …

Member Avatar for cereal
0
196
Member Avatar for devourer17

I've a text file : Random.txt which comprises of Jade 12MS234 Male 18 Rocky 12MS324 Male 18 Marx 12MS632 Male 18 Now in my program i've a class class stud ( char name[10] char reg[10] char gender[10] int age ) Now I've to write a code in c++, where i've …

Member Avatar for Moschops
0
463
Member Avatar for titas.datta

Hi! I have written a code to subtract 2 large integers stored in arrays! But the problem is, its not working when the minuend is smaller than the subtrahend, i.e, when the answer would be negative. I am taking 2 char arrays as parameters, converting them to int arrays, working …

Member Avatar for Ketsuekiame
0
408
Member Avatar for downtown1933

I am having some trouble posting to website..I've tried posting to many different websites and get the same result.. An error message referencing the js on the page, asking if i want to continue.. Then the response i get is the form I am posting to, with all fields correctly …

Member Avatar for Ketsuekiame
0
301
Member Avatar for nerden

I am trying to write an application to do various things, one of the elements is going to require a service, The service is called myService.vb and is part of the main solution containing frmMenu which has a button (btnRegister). Is it possible to programaticaly register this service? Alternative question: …

Member Avatar for nerden
0
346
Member Avatar for yuvjeeth

Hi Everyone, I would like to know if there is any way to change the color of a part of text in rich textbox when the user types it automatically like the way in vb.net IDE (Classes have blue etc.). Thanks in advance, Yuvjeeth

Member Avatar for ddanbe
0
503
Member Avatar for Prem_1

How to compute current ratio in C++ with using header file? Calculate in c++ program with *3* different file. **- 2 file (cpp file) - 1 file (header file)** Information: formula---> **Current ratio = current asset / current liabilities** Please correct me If I'm wrong. I just start study C++ …

Member Avatar for deceptikon
0
667
Member Avatar for best4earn

1 . How to make a captcha code unhack able ? I have make a captcha with numeric & alphabits in 4 digits , if i use captcha in signup & login form than how much chances to hack web ? I already used md5 hash and salt in my …

Member Avatar for jkon
0
153
Member Avatar for lewashby

(Linux System) Everytime I try to log into MySQL or create a database I get "Access denied for user@localhost". I just recently installed mysql using apt-get install and I don't recal creating a password or anything for it when I installed it. Any ideas?

Member Avatar for 1stDAN
0
172
Member Avatar for andre.gartner.56

I'm having quite a few errors on this one. This is my first attempt on "free" coding outside tutorials. I do believe it only has to do with bad use of brackets from my side, but i'm a beginner. Line 14 - Illegal start of expression Line 18 - Class, …

Member Avatar for JamesCherrill
0
159
Member Avatar for Fiorentino01^

Hi, I recently made some short videos with my Canon digital camera.The reason for it is to embed one or more in my web site. I searched on the Internet but I did not find much help, a lot of the posts suggest to download some software.I don't think is …

Member Avatar for Fiorentino01^
0
209
Member Avatar for fhau013

hello ! can you please help me with my independent study. im making library management system with visual studio C# and mysql. what mysql connector needed for C# and how to connect them?? thank you in advance :)

Member Avatar for ddanbe
0
93
Member Avatar for monching

Hello guys, I have my problem in saving date to mysql. Dim conn As MySqlConnection Dim myCommand As New MySqlCommand Dim commandB As MySqlCommandBuilder Dim data As MySqlDataAdapter Dim query As String = "SELECT * FROM events e;" Dim myconnstring As String Dim comm As String Dim vers As String …

Member Avatar for shashikumar s g
0
3K
Member Avatar for best4earn

i want to add some restriction to my form . i want to generate a code my self , with out putting that code form can't be submited successful . Give me some ideas to take step , how to build a script such like that

Member Avatar for best4earn
0
78
Member Avatar for manuel.ramirez.9619

Hi! I´m making a really big program of mail sending. However my last problem is the scrolling... The scroll bar don´t react to the mouse wheel and only functions when focusing in the bar , And that´s not user-friendly. how Can I achieve to make the scroll bar react with …

Member Avatar for james.lu.75491856
0
373
Member Avatar for Tcll

IMO, VS2010 with PythonTools 1.5 is the best IDE. it may not be as glamorous as Eclipse or PyScripter, but it certainly has more functionality and accuracy than either of them. -intellisense (PyScripter does a better job than Eclipse) -split file scrolling (not sure about PyScripter, but Eclipse doesn't have …

Member Avatar for Tcll
0
658
Member Avatar for xxmp

I am making a website but the files are into folder a->b->c/bla.jsp is there any library that is free or a way that i can change the showing url to be more user friendly? Thank you

Member Avatar for xxmp
0
187
Member Avatar for Reverend Jim

Several people have asked about storing binary data in a database. I coded up an example today that uses an ADODB.Stream to copy the binary data but after some fiddling I found a more direct way. If you are using MS SQL Server, the easiest way I have found is …

0
2K
Member Avatar for jd217

I'm getting a syntax error that's confusing me beyond belief. I'm using MinGW on Windows XP(32-bit), and Notepad++ for a text editor. "Syntax error before unexpected token '('" Originally, I thought it may have been something in the code I was trying to compile, so I wrote a simple "hello …

Member Avatar for jd217
0
1K
Member Avatar for christinetom

Hi everyone.. :), me again. I've never used Linked Lists.. They don't make sense to me. I kind of understand them though. There's plently of online explanations explaining what they are but they all go down the same path. I'm trying to undertstand how one Note (via the next pointer) …

Member Avatar for christinetom
0
275
Member Avatar for phorce

I'm attempting to implement the Factory Pattern. I have a class called "Window" which has a class member function which determines which object is being called and then assigns the particular object pointer. I have written the following code: class Hamming { public: Hamming() { } Hamming(int theSize) { // …

Member Avatar for deceptikon
0
190
Member Avatar for chloie

hi I have the codes for the save,delete and update button but I need the codes for first,prev,last and next can you please help. please

Member Avatar for Reverend Jim
0
512

The End.