199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for PhilEaton

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 …

Member Avatar for PhilEaton
0
144
Member Avatar for wheels031799

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 …

Member Avatar for wheels031799
0
148
Member Avatar for bmfinn

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

Member Avatar for bmfinn
0
165
Member Avatar for daino

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 …

Member Avatar for daino
0
261
Member Avatar for persianprez

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

Member Avatar for Atli
0
1K
Member Avatar for chixm8_49

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

Member Avatar for Taywin
0
2K
Member Avatar for pure_honey

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 …

0
206
Member Avatar for PhilEaton

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

Member Avatar for Taywin
0
277
Member Avatar for katties

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

Member Avatar for Taywin
0
112
Member Avatar for eirene08

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

Member Avatar for Taywin
0
579
Member Avatar for jerviejeb

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 …

Member Avatar for jerviejeb
0
331
Member Avatar for Venaplex

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

Member Avatar for nmaillet
0
114
Member Avatar for ripplex

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?

Member Avatar for ripplex
0
95
Member Avatar for manishanibhwani

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 …

Member Avatar for admin1982
0
164
Member Avatar for biomedpro

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?

Member Avatar for biomedpro
0
72
Member Avatar for divin757

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

Member Avatar for divin757
0
220
Member Avatar for neithan

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 …

Member Avatar for np complete
0
264
Member Avatar for skillzbabs

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 …

Member Avatar for Reverend Jim
0
264
Member Avatar for kraykezia

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

Member Avatar for NormR1
0
262
Member Avatar for Vish0203

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 …

Member Avatar for Vish0203
0
125
Member Avatar for king03

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 …

Member Avatar for ckchaudhary
0
203
Member Avatar for dospy

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 …

Member Avatar for Taywin
0
119
Member Avatar for andrewisthebomb

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 …

Member Avatar for NormR1
0
1K
Member Avatar for johndohmen1963

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

Member Avatar for johndohmen1963
0
88
Member Avatar for coolsid01

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

Member Avatar for coolsid01
0
241
Member Avatar for arctushar

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 …

Member Avatar for diafol
0
115
Member Avatar for infrapt

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 …

Member Avatar for infrapt
0
3K
Member Avatar for I_m_rude

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 …

Member Avatar for Ancient Dragon
0
103
Member Avatar for mynamekbk

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

Member Avatar for Kwetal
0
260
Member Avatar for stephen_UK

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

Member Avatar for Tapioca77
0
511
Member Avatar for daino

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 …

Member Avatar for Kwetal
0
263
Member Avatar for aratnon

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 …

Member Avatar for deceptikon
0
242
Member Avatar for TheEroteme

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 …

Member Avatar for Kwetal
0
180
Member Avatar for starsunited

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 …

Member Avatar for davilotte
0
2K
Member Avatar for rutuja8

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

Member Avatar for rutuja8
0
162
Member Avatar for Yarra

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.

Member Avatar for NormR1
0
265
Member Avatar for szticks

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 …

Member Avatar for szticks
0
125
Member Avatar for paryudi

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 …

Member Avatar for JamesCherrill
0
683
Member Avatar for kanjali

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

Member Avatar for pavithra R
0
2K
Member Avatar for angel06

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 …

Member Avatar for angel06
0
197
Member Avatar for bjoy21

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 …

Member Avatar for bjoy21
0
1K
Member Avatar for zukushikimimemo

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

0
97
Member Avatar for davidbernardino

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 …

Member Avatar for Riu 2009
0
1K
Member Avatar for john.mcdonnell.777

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 …

Member Avatar for JamesCherrill
0
248
Member Avatar for lmd141

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 …

Member Avatar for ravenous
0
258
Member Avatar for mktrx

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 …

Member Avatar for iamthwee
0
290
Member Avatar for priyakumar

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 …

Member Avatar for AndreRet
0
6K
Member Avatar for t888eddy

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 …

Member Avatar for t888eddy
0
226
Member Avatar for lukerobi

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 …

Member Avatar for lukerobi
0
415
Member Avatar for freakthemighty

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 …

Member Avatar for freakthemighty
0
370

The End.