199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for RoryGren

Hi All I'm sure I'm missing something very small - and embarrassing! I'm being lazy - I could have entered the data manually, but wanted to automate it. I have a small csv file containing swimming meets, dates and locations along the following lines: May-13;;;; 17;other;Level 1 Program 1;Arboretum; 24;other;All …

Member Avatar for RoryGren
0
253
Member Avatar for JamesCherrill

I'm suffering from a complete brainfreeze here; maybe some NetBeans user can un-block me without making me look like a complete idiot? Thanks. I usually use Eclipse, but for this particular project it has to be NetBeans. I have two projects defined. One is the main project with packages - …

Member Avatar for JamesCherrill
0
280
Member Avatar for Reliable

I've been through Code Academy and LearnStreet Beginners courses. I am currently workign on the beginner's projects in Code Garage to practice. It seems, though, that there are some methods needed to complete the projects that werne't covered in the lessons. Anyone else use this site and notice this? Also, …

Member Avatar for RoryGren
0
109
Member Avatar for OsaMasw

Hello guys , how are you doing ? I want to create a unified search for many services I have, they are on multiple servers, and each one with its own database and contents. I've tried to connect to those database by using IP address but it refuse to connect …

Member Avatar for OsaMasw
0
117
Member Avatar for game06

i want to use JavaFunctions.java into login.jsp file. my plan is to store all my java functions in one file and i can use them later. ex check for string or number etc functions... first my folder tree. webside_01 >.settings >build >src >newServlet JavaFunctions.java website_01_Servlet.java >WebContent >META-INF >WEB-INF index.jsp login.jsp …

Member Avatar for stultuske
0
308
Member Avatar for owenransen

I have a combobox in a dialog which I populate in the resource editor with this string: -12;-11;-10;-9;-8;-7;-6;-5;-4;-3;-2;-1;0;1;2;3;4;5;6;7;8;9;10;11;12 If the user chooses a new number from the combobox lots of other things happen in the dialog, then I select the number chosen again, this time programatically. (Some numbers are not …

Member Avatar for owenransen
0
206
Member Avatar for pbj.codez

Howdy Friends; I have just started learning assembly, and am currently working with NASM, in Linux. I am not creating anything close to advanced, yet because I would like to know if I am on the right path with what I am learning. The code that is posted below is …

Member Avatar for Assembly Guy
0
211
Member Avatar for PM312

I have a combobox with 5 coloums of which coloumn 1 is DataGridViewComboBoxColumn I want to populate / add items to DataGridViewComboBoxColumn with data from access database using datatable. i am not getting how to add items to DataGridViewComboBoxColumn. How can i do it. Thanks

Member Avatar for tinstaafl
0
523
Member Avatar for Rogierownage

Hello. I made this program. It's designed to be a version of the game "Game of Life", except text-based and played entirely in cmd. Now, the program is working fine, but I would like to get some suggestions for things I could have done more efficiently, or anything else that …

Member Avatar for c0DEZOMBIE
0
168
Member Avatar for SLMQC

I need to concatenate characters from a text document to create a phrase. I understand the concept of concatenating from text boxes on a form, but not concatenating characters from another file. This isn't my assignment, but it is the concept I need to understand. A text document that reads …

Member Avatar for tinstaafl
0
293
Member Avatar for Varunkrishna

def word_Rep(text,Dic_Word): rc = re.compile('|'.join(map(re.escape, Dic_Word))) def translate(match): return Dic_Word[match.group()] return rc.sub(translate, text) Dic_Word= { #A Words 'a':'ein', 'an':'eine', 'able':'KOmmen', 'about':'gegen', 'above':'Uber', 'absence':'Abwesenheit', 'absent':'abwesend', 'accent':'Betonung', 'accept':'akzeptieren', 'according':'nach', 'acquainted':'kennen', 'across':'uber' } Text_Trans= raw_input("[*]ENTER THE TEXT TO TRANSLATE:") Trans=word_Rep(Text_Trans,Dic_Word) print Trans please refer the above code. What happens here is that ,if …

Member Avatar for Varunkrishna
0
1K
Member Avatar for c0DEZOMBIE

Help needed with a function problem I really cant solve. Why is it that RegOpenKey() returns error success even though it fails. First it fails to return a handle with a valid Registry key/address filling the key paramater with nothing 0 but returns 0 aswell indicating an error_success right? because …

Member Avatar for c0DEZOMBIE
0
469
Member Avatar for gvsamrat
Member Avatar for minitauros
0
72
Member Avatar for zacharysr

I am trying to make a jquery/php chat and i append data to the chat box, but then when the jquery loop trys to get the .last() data it gets the one before the appended data causing it to append the same data over and over again. hHow would i …

Member Avatar for zacharysr
0
397
Member Avatar for geneh23

Hey everyone, So I did some more searching and I found a link that sort of helped me figure this thing out in a sense.. Here's the link https://developers.google.com/maps/articles/phpsqlajax_v3 . When I do all of what the site told me to do, it did give me a map but it …

Member Avatar for geneh23
0
372
Member Avatar for PM312

I have created custom text box for specific purpose i.e to accept alphanumeric values only and the length of text should be 6. If the user put less than six characters the code in below block converts it to 6 characters by filling in zeros . ‘Custom Clss block Protected …

Member Avatar for PM312
0
176
Member Avatar for newbie14

We have a packet capture function which is as below. The issue now each of the hex value of packet I read and concat into a char *hex2Value using this code below. I would like to know is this the most efficienct method to concat all into one single string …

Member Avatar for newbie14
0
242
Member Avatar for GlenRogers

Can someone have a look at some code for me? Here the problem. This is meant to delet an email address form a mysql table then alert the user this has been done. If the address does not exist then it alerts the user to that too. But even if …

Member Avatar for GlenRogers
0
213
Member Avatar for JACOBKELL

I need to convert mysql class of one script to make a support for sqlite,but problem is sqlite dont have username/password thing nor database select as well,which means how some parts need to be removed.If i would convert to mssql one search and replace probaly would do the job.There is …

Member Avatar for cereal
0
240
Member Avatar for martjojo1

Hey all, i'm working on some code and i've got a little problem. $my_file = 'file.php'; $newline = "<?php $root = '"$mylocation"/'; ?>"; file_put_contents($my_file, $newline); As you can see i want to post a line into a file.. The problem is, this file will output: <?php = 'your location'; ?> …

Member Avatar for martjojo1
0
135
Member Avatar for Labdabeta

Hello. I read about the daniweb api competition thing and I have an idea of what I want to create. I have never done anything webby before (aside from using dreamweaver to make websites) and I think its about time that I did! I am hoping that it is possible …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for kumar89hitesh

how to postion tags fix like <p>,<div>. that could not move when i add some contents at same web page.

Member Avatar for annaharris
0
163
Member Avatar for kumar89hitesh

how to positon contents in the asp.net? I have a problem to position contents of web page. i have many div at one page when i positon one div then another div move to another place and i have to position div again and again when i add some content …

Member Avatar for annaharris
0
174
Member Avatar for MasterHacker110

I am a noob at web programming. I am currently writing a test forum. People will be able to create accounts and then login. But my problem is I dont know how a login script works. So I came up with this idea: 1): Every time an user creates an …

Member Avatar for MasterHacker110
0
192
Member Avatar for MasterHacker110

I am trying to create a file that with some values the user entered in the webpage. But my code doesnt create a file. And I have other code that is more or less similar that creates the file: Here is my code: <?php echo "<p> In order to create …

Member Avatar for minitauros
0
213
Member Avatar for josey_matt

Hi, could anybody please tell me what i am doing wrong in this program. The goal is to read the student name and grade from a text file and print it on the screen. This is what i have so far. by the way this is for a school project …

Member Avatar for siddiquedu
0
8K
Member Avatar for MasterHacker110

I have this code that is supose to just display "Hello Hacker!". But when ever I run it it gives a segmentation fault error #include <stdio.h> char code[] = "\xba\x0e\x00\x00\x00\xb9\x4\x90\x04\x08\xbb\x01\x00\x00\x00\xb8\x04\x00\x00\x00\xcd\x80\xbb\x00\x00\x00\x00\xb8\x01\x00\x00\x00\xcd\x80"; int main() { void(*func) (void); func = (void*) code; func(); } I am trying to run it on linux btw. …

Member Avatar for MasterHacker110
0
144
Member Avatar for MasterHacker110

After finding out that php need to be run through a server and not as a normal .html file, I need to send an email to the "person" to make an appointment. Here is my code: <?php echo "<form method='post' action='mailform.php'> Email: <input name='email' type='text'><br> Subject: <input name='subject' type='text'><br> Message:<br> …

Member Avatar for MasterHacker110
0
311
Member Avatar for chrispitt
Member Avatar for Gabe13

Okay so i have to make a signup form and i have pretty much everything finished but i keep getting this error **Warning: mysql_num_rows() expects parameter 1 to be resource**. I keep getting this error on my **$checkUserQuery** & **$checkEmailQuery** and don't know how to fix it. Any Suggestions? <?php …

Member Avatar for broj1
0
239
Member Avatar for loozax

Can someone give me an example on how to reverse an inputted string? example is..when you inputted "shoes" the output would be "seohs",,then it wil determine if the inputted string is a Palindrome or not..

Member Avatar for JamesCherrill
0
716
Member Avatar for chrispitt
Member Avatar for Haquo

Hello all, I was hoping You could help me with this. The code below is for the login screen in my project. the data is selected from UsersList (UserID,FirstName,LastName,UserDOB,UserUsername,UserPassword,UserAdmin) What way can I modify the "cmd" command to check if the value for UserAdmin is true and display a message …

Member Avatar for akvasov
0
2K
Member Avatar for overwraith

I have been having some trouble with this action listener scenareo, and I am doing it exactly like what my java book says to do, and something is still not working. In the action listener the if statement is not working correctly. Here is an example of my code. The …

Member Avatar for overwraith
0
177
Member Avatar for 26bm

Hi, I wrote some code using pygame that has two images. I am trying to figure out how transparency works, so I have tried to display a circle png on a square png. My code looks like this. import pygame from pygame.locals import * #make window pygame.init() screen = pygame.display.set_mode((1270, …

Member Avatar for 26bm
0
604
Member Avatar for dina85

how to make javascript validation onsubmit go first before onclick submit button <form name="daftar" method="post" action="daftar.php" onsubmit="return checkscript()"> <input type="submit" name="Daftar" value="Daftar" id="submit" onClick="return tq()"/> and my js: function checkscript() { if (document.daftar.terms.checked == false) { alert('Sila pastikan anda telah check ruangan persetujuan, untuk menandakan anda setuju dengan syarat-syarat kami.'); …

Member Avatar for dina85
0
102
Member Avatar for PM312

When the readonly property of textbox is set to true then back colour turns to grey. i use below code to change the back colour to white Private Sub TextBox1_ReadOnlyChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.ReadOnlyChanged If TextBox1.ReadOnly = True Then TextBox1.BackColor = Color.White End If End …

Member Avatar for PM312
0
1K
Member Avatar for 9tontruck

I strongly think this is a bug on Eclipse. The problem I have is explained in the image I attached so please take a look. I think I did the all settings correctly. ${NDKROOT}/platforms/android-9/arch-arm/usr/include in Paths and Symbols GNU C/C++ But I keep having "No such file" error when I …

Member Avatar for peter_budo
0
153
Member Avatar for TuteePink

I don't understand this code: T& operator[](int index); const T& operator[](int index) const; And, declared in the private is this: T *ptr; What does this mean?

Member Avatar for mrnutty
0
150
Member Avatar for sidyusuf

Hi, i need to know how can i inherits or pass login form authenticated values to MDI child forms.

Member Avatar for tinstaafl
0
195
Member Avatar for sonia sardana

ParamArray means to allow a subrotine to take a variable no. of arguments. I m just sending the arguments suppose i send 1,2,3,4,5 I want just the addition of these numbers. Sub main() Dim i As Integer i = Console.ReadLine() average(i) Console.ReadLine() End Sub Sub average(ByVal ParamArray b() As Integer) …

Member Avatar for Reverend Jim
0
2K
Member Avatar for SirMahlon

<!DOCTYPE html> <html lang="en"> <head> <title>PHP Test</title> </head> <body> <p>This is an HTML line <p> <?php echo “This is a PHP line”?>;`` phpinfo(); ?> </body></html> am newbie please help me.

Member Avatar for almostbob
0
480
Member Avatar for Iamateur

I came across this question: Which of the following are the valid method of command object? The answer given here is : ExecuteQuery & ExecuteScalar My doubt is why answer can not be ExecuteNonQuery and ExecuteScalar?

Member Avatar for Iamateur
0
202
Member Avatar for sumitrapaul123

Hi, i am creating a text box in listview item. How I create is, I just take the location of the item and create a textbox on that location. OnFocus over, I just take the textbox text and put it in that perticular listview item and hide the textbox. Now …

Member Avatar for sumitrapaul123
0
216
Member Avatar for bsewell

Hi, I would have a subdomain on domain A. Basicly I want to forward this to a particular page on domain B. But it's slightly complicated- I want to mask this so it looks like domain A hosts the actual page than domain B. Eg. Domain A http://something.domainA.com Domain B …

Member Avatar for bsewell
0
788
Member Avatar for ktsangop

Hi everyone, I am a C/C++ winapi developer and have to rewrite a "Dialog based" application in java, so that it will execute as an applet in any browser. My java skills are very few, since my knowledge is limited to past college classes. The application is not a large …

Member Avatar for ktsangop
0
376
Member Avatar for chrispitt
Member Avatar for mr.unknown

i want to install php but i don'y know how plz give me guide and all the things that i need plz provide complete instalation here???

Member Avatar for jkon
0
256
Member Avatar for bhallarahul

I want to create a form in web app where users can enter there name and emailid and dropdown list(whether it is from management, student or guest). For some of the preferences, I would like to open a dialog containing a drop down menu allowing user to pick an option …

Member Avatar for bhallarahul
0
268
Member Avatar for androidz

I made three projects the first one is a windows form, the second one is a class library and the third one is another class library to be the reference of the second and first projects. Inside my second Project which is a class library there are two files a …

Member Avatar for G_Waddell
0
252

The End.