199,114 Archived Topics
Remove Filter ![]() | |
Hi there! I'm new to MySQL. What security measures should I take to ensure security of my databases? Any keywords? For instance, often times when logging into the DB, you must enter the user and pwd to gain access. How can I make that more secure? It's obviously in plain … | |
What I am trying to do is a prize page that comes up every XX pages surfed. The new page would consist of three muscle cars that the user would click on their choice (hood is down). Choice would appear with hood up, showing engine which would have a changeable … | |
I want to allow other to use a vb.net application I created, I shared the executable file with them and they have Microsoft .NET Framework 4 installed (from the VB 2008 express install) but the executable will not run. I get a "File has stopped working" pop-up and that's all. … | |
A really rooky question here but I'm still trying to understand something. If I'm using WXWidgets I assume the purpose of the GUI is to provide a trigger point from where I can process event s via the event loop. I basically create the gui as I want it and … | |
I have the following code: $filename = "raw_data.txt"; $fp = @fopen("$filename", 'r'); if ($fp){ $array = explode("(.)", fread($fp, filesize($filename))); } for ($i=0; $i<sizeof($array); $i++){ //name1 name2 name3 name4 } So what I want to do is initialize variables with $name and the current $i value Thanks in advance | |
Good day. I would like to ask for a better and clearer explanation for the Find-S algorithm. You see, the one in Machine Learning book was not that clear to me and almost handouts I saw from the net rely on that book as well. Given target = <?, Cold, … | |
Hi there, i need to draw an ERD Diagram and i can only draw the, product,blueprint,hardware,software and i am stuck Please help...i would appreciate it a lot.Many thanks. **Scenario:** You have been asked to create a database design for the BoingX Aircraft Company (BAC), which has two products: TRX-5A and … | |
I am trying to check for the background of an element, here is my code. But it doesn't work: I tried two ways, here is the first: function changeColor(field) { if(field.css('background-color','#ffb100')) { field.css('background-color','white'); } else { field.css('background-color','ffb100'); } } here is the second: function changeColor(field) { if(field.css('background-color') === '#ffb100') { … | |
Hi I have a function that reads a numeric value from a dropdown menu 'onchange'; the thing is, I have a couple of menus like that, and I would love to make my function more generic, so it would not need to be repeated every time for every dropdown menu... … | |
**this is the code!** import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.RenderingHints; import java.awt.Shape; import java.awt.font.FontRenderContext; import java.awt.font.GlyphVector; import java.awt.geom.AffineTransform; import java.awt.geom.Point2D; import javax.swing.JFrame; import javax.swing.JPanel; public class Clock extends JPanel{ public void paint (Graphics g) { Graphics2D g2d = (Graphics2D) g; g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); String s = "12 1 2 … | |
Hey guys, I need help. See, im trying to compare dates. if say, deadline is set and if the user is over the set deadline, it should display a message box saying that he passed his deadline. what i have so far is: If Date.Today > txtDeadline.Text Then Msgbox.Show("You've passed … | |
Hello I am an beginner programmer in: Java,C++,C i was wondering if anyone could help me make a online language conversion tool that can convert from java into C++ Any help will be appreciated | |
int a; scanf("%c",&a); printf("%d",a); i/p:12,13,14,15,16 o/p:1963761201 i/p:65 o/p:1963761206 Please explain to the reason for this output? | |
in the following code how does the compiler comes to know that it has to call the postfix function class Digit { private: int m_nDigit; public: Digit(int nDigit=0) { m_nDigit = nDigit; } Digit& operator++(); // prefix Digit& operator--(); // prefix Digit operator++(int); // postfix Digit operator--(int); // postfix int … | |
hello, I seem to be having an issue. I can not get my Ajax contact form to work on IE. It seems to break the page and everything runs together and all print is layered on top of itself. Any thoughts? | |
I am trying to allow a page to print nicely if a user uses the built in browser print. However the page is too small in IE. The frustrating part is I have no way to debug the page as the css is only applied at the time of printing. … | |
Hi! I understand almost all basic theory in C++ (including templates, inheritance, STL etc.) and I'd like to start understanding C++ in Windows, specifically stuff related to memory, calls, hooks, stuff like that. I don't visualize what do I want to do exactly (probably that's why I'm asking here) but … | |
Please folks I nid ur help, I av a data mismatch error in criteria expression. I av a variable of data type string which I added to my OleDbcommand object the code is below: I used 2 textbox for surname and fname I av a textbox I used for calculation … | |
hey everyone, i am trying to write a code that will calculate the sum of all values in a column of Jtable. the total sum will change when a row is removed or added. i tried many ways. i need help urjently. :)thanks | |
while((c=getch())!=13) { pass[z++]=c; printf("%c",'*'); } I used this while loop to take the input of the password. Everything works fine until no "wrong" key is pressed. the problem is, suppose, if i press a wrong key n i want to delete it (backspace) then even backspace is taken as a … | |
hi guys just wanted to ask for help about creating a for loop that will cover all the textboxes inside a form. There are no panels in my form by the way, all textboxes are in a single form. Now what I want to do is like create a for … | |
i'm learning about networking on a site and there says there are 3 types of sending data: unicast, multicast and broadcast in the unicast case the IP layer encapsulates the IP destination(let's say "derp"). the interesting fact i've read about the unicast is that all machines within the same network … | |
Hey guys! Ok, so my problem is that I'm trying to add something that says "num1 does not equal 'a number'" I want it to read any number I put it, but not anything that isn't a number. If I can figure this part out, it should loop where I … | |
Hi hope someone can help me How can i update a date field to NULL so that i have 0000-00-00 in the date field i have the following code but it's not working i tried a lot of things but nothing wil work if($_POST['geboortedatum'] == "") { $date = NULL; … | |
<?php $fullname=strip_tags($_POST['fullname']); $username=strip_tags($_POST['username']); $repeatpassword = strip_tags($_POST['repeatpassword']); $date=date("Y-m-d"); $submit=$_POST['submit']; ?> <html> <h1>REGISTER !</h1> <form action='register.php' method='POST'> <table border =25 color=black align=center space=5 > <tr> <td>Full Name:</td> <td><input type='text' name='fullname' value='<?php echo $fullname; ?>'></td> </tr> <tr> <td>User Name :</td> <td><input type='text' name='username' value='<?php echo $username; ?>'></td> </tr> <tr> <td>Password :</td> <td><input type='password' … | |
Hi I want to replace a word from text. I can do it with str_replace or str_ireplace. But I need more advance. for Example. my code is as below <?php $search_word=$_POST['gender']; $subject="Men and Women both r part of the world"; echo str_ireplace($search_word, '<span style="background:#0F0">' . $search_word . '</span>', $subject)."<br/>"; echo … ![]() | |
I have a a few callback functions. i need to register them as a list. And callback all the registered functions in a main after a certain task is done. I am new to callback functions. Please shed some insight on this xcallback(register_callbackfunctions); ycallback(register_callbackfunctions); register_callbackfunctions()//not too sure what goes in … | |
![]() | we are getting i/p of 5,00,000 numbers ranging from 0 to 10^9 one by one. all numbers appears twice except one. We have to tell that number in the most efficient way. Any idea or just a hint to get this ? no code, no algo nothing i want. i … |
Hello All, I have shell script which runs on unix box but recently we moved to windows box. I am completely zero in VB script I need you guys help to convert the below script to VB Thanks in advance for the help. CheckQDepth() { arch_log_file=`ls $arch_dir |grep $FNPARAM | … ![]() | |
![]() | Hi, I am generating an automatically email successfully using the code below, where all the email addresses are contained in the variable $to. How do I change the code below to send all of these emails as a bcc so that their email addresses are not disclosed to one another? … |
I am going to work on building a database application. One part of this is parsing pdf files which will feed the data into the database. Will be using SQLite build it C which has wrappers for Perl so there's not problem there. From what I understand, Perl is a … ![]() | |
sorry i'm new at c i want to read these data from txt file. A 7 c 5 y 6 U 9 j 4 Z 3 z 5 0 here is my code while(feof(input)==0){ char c; int num; fscanf(input,"%c%d",&c,&num); printf("%c:%d\n",c,num); } but result in console is not same as txt … | |
I came up with a bit of code that I think will theoretically factor any given integer within the range of integers. I'm posting this thread to ask two questions: First, is there any way that I can do this more efficiently, and second, what is the easiest way to … ![]() | |
from what i have research, there are some barcode scanner which is uSB and are keyboard wedge have built in decoders that can read several barcode types and send them via the keyboard so info scanned appears as if it has been typed. Therefore does it means that, if the … | |
I AM WORKING ON A PROJECT IN WHICH I AM SAVING AN IMAGE IN ACCESS DATABASE,RETRIEVING THE IMAGE,UPDATING THE IMAGE AND THEN WHEN I TRY TO RETRIRVE THE UPDATED IMAGE I GET AN ERROR "PARAMETER IS NOT VALID" SO PLZ POST THE CODE FOR UPDATING PLS REPLY SOON ITS URGENT | |
Hi i have a quick question. If i have a java application are their any third party applications that can help me run it on an html website without porting it to a JApplet. | |
I am fairly newbish at handling databases but I've come to think that it's the most powerful tool for what I want to accomplish. I work as an English teacher and I am trying to create a database that will keep track of the students' language levels. Kind of like … | |
I am creating a program that will do 67,108,864 calculations using Netbeans. But when I run it, there is an error message: java.lang.OutOfMemoryError: Java heap space. I have tried several things to overcome this problem: 1. I changed the setting of VM Options of the Project Properties. I even set … | |
HI, How to use multiple forms in c# windows application? Where i need to fetch the information form "Form2" to "Form1". Here Form2 is used to get information from user and again those informations will be used in Form1. Please suggest me to do this. Thanks a lot, Anjali :) | |
Option Explicit Dim score As Integer Private Sub Command1_Click() Dim Values(3) As ColorConstants Values(0) = vbRed Values(1) = vbBlue Values(2) = vbGreen Dim RandomNumber As ColorConstants RandomNumber = Values(Rnd * 2) Label1.BackColor = RandomNumber Randomize End Sub Private Sub Command2_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As … | |
I want to make a php code with my dropdown menu in html. Can you help me? This is my code in html <form method="POST" action="search.php"> <h2 align="center" style="Verdana"> List of Voters Search </h2> <div align="center"> <table> <table border="0"> <tr><td>Select One:</td><td><select name="dropdown1"> <option value="Firstname">Firstname</option> <option value="Voters_Id">Voter's Id</option> <option value="All">All</option> <input … | |
mov eax, 4 mov ebx, 1 mov ecx, msg1 mov edx, len1 int 80h mov eax, 3 mov ebx, 0 mov ecx, num1 mov edx, 2 int 80h mov eax, 4 mov ebx, 1 mov ecx, msg2 mov edx, len2 int 80h mov eax, 3 mov ebx, 0 mov ecx, … | |
Hello, I am trying to create a form with php that echo data like this: "echo -e “username /npassword” > filename". I created the form and php embedded code but I cant seem to create variables with the text box names. We currently have a automated guest wifi account creation … | |
I have this code and I have been trying to figure it out for a while now but i cant get it to work .My basicproblem is I cant get the paint part or the programme to work properly. I have done several paint programmes in the past but i … | |
Hi there, I'm fairly new to this C++ thing so I hope you can help. I'm writing a program that prints out the coordinates of atoms in a simulation box (30x30x30). I have a fair few header and .cpp files so I'll only paste the bits that are faulty. I … | |
Got a problem that has completely stumped me... am hoping the combined wisdom of the forum could assist... I have a php script that enables a user to follow and unfollow items on a site... Am doing this with a table that captures basically the user's id and the item … ![]() | |
Hi, How add Crystal Report Version 11 in VB6. At present I have been using Crystal Ver 8. I need to upgrade to Crystal Ver 8.5 or above to implement exporting rpt's to pdf. Now, I have installed CRystal report 11 Developer edition in my system and from VB i … | |
In a forest n animals has homes. Each home has m racks, each rack for each of the m products which the animals can buy from the shop. From the shop, only the king can buy and only in the first day of the month. The king needs to know … | |
I am currently trying to load a few script through boost python. I ran into some trouble today while trying to launch idle from it however and I cannot figure out the cause of the issue. This is on a windows 2008 machine, and I am currently running Python 3.3 … | |
I'm building a CMS in PHP and this is my first attempt to use ajax to do something cool. It's making my queryies problematic, however. I'm writing in this forum because my PHP forms worked fine before I did the following: On my index page, I have a header with … |
The End.