199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Lygris

Alright... So I created a strange little query that takes an abbreviated currency amount and converts it into raw numbers. It you were to enter $2.5k, it would give you "2500" in return. Unfortunately, I'm having an issue passing values into the function. Previously, I was just having an InputBox …

Member Avatar for Lygris
0
119
Member Avatar for dfetter88

Is there a systematic method to analyze the time complexity of a program strictly from output data such as run-time, the number of data swaps, data comparisons, etc? For example... [icode] Data Size | Run Time | Comparisons | Moves --------------------------------------------- 1000 | 0.00 | 15448 | 23965 10000 | …

Member Avatar for Banfa
0
123
Member Avatar for Learner7

Hi, How to add an [B]existing form [/B]of old project to a new project? Which extension type files to be added to work that existing form correctly? I actually need [B]frmContacts.vb[/B](because a lot of textboxes and other controls are there) which I have added now to my New Project. Since …

Member Avatar for Learner7
0
188
Member Avatar for sdhawan

Hi I am getting error Error 1 Cannot implicitly convert type 'object' to 'string'. An explicit conversion exists (are you missing a cast?).Error is at the line string def = hash[elem.Word];.Can anyone help me with this . Thanks [Code] public Hashtable AllWords() { Hashtable hash = new Hashtable(); SimpleFrenchEnglishDictionary arr …

Member Avatar for apegram
0
1K
Member Avatar for daviddoria

I have some white text I am putting over a very light background. Is there anyway to outline the text in black? After some googling it looks like there are some pretty complicated solutions, but I am looking for something like a check box that says "outline". Is there such …

Member Avatar for daviddoria
0
1K
Member Avatar for lich

im my java SE application i have a messagebox prompting asking the user to press OK. i want to make the user wait a certain time and the messagebox will automatically close in a certain time. i read on swing.timer about this. but im bit confused with the implementation. how …

Member Avatar for JamesCherrill
0
163
Member Avatar for gorbulas

Hello I made a program that submits a paragraph to a webpage, using mechanize. Its all working great, except when I view the paragraph, all the newlines have disappeared and it makes all the paragraphs all block up together into one long sentence. But when I open up the page …

Member Avatar for gorbulas
0
97
Member Avatar for kirennian

Bleh, that title seemed a bit too long to me...couldn't really think of a shorter way of wording it though. Right, I'll try and encapsulate the problem as best I can. I'm currently, as per the title, attempting to create a c++/DirectX multiple windowed swap chained system which can handle …

Member Avatar for Ketsuekiame
0
347
Member Avatar for elexender

Hi all, I want to make a string like this: [QUOTE]SELECT * FROM "Alexander de Groot"[/QUOTE]. So i can later execute that sql statment. Im only having a problem creating the string. Let me show you: [CODE]string sTableName; char *SqlTableName; sTableName = DBLookupComboBox1->Text.c_str(); SqlTableName = new char[sTableName.size()+ 20]; strcpy(SqlTableName,"SELECT * …

Member Avatar for elexender
0
106
Member Avatar for anthony07

I have this very weird project that my boss gave me. Given my cws.sql file inside "C:/", i need to create a batch file wherein it will automatically create database cws; and use cws; in MySQL Server. Hope Someone can help me. :'(

Member Avatar for qualitybrains
0
182
Member Avatar for kodak

I have been given a report that is generated by running the following query from a macro ( slightly edited to simplify )and I have not had a great deal of experience with Access. The report is grouped by Data.Type and sorted be Data.Date [ICODE][COLOR="Green"] SELECT DISTINCTROW Data.Type, Data.Date, Data.Code, …

Member Avatar for Reddy_Raghu
0
95
Member Avatar for daviddoria

I set the .Interval of a timer to "10", which I believe means 10 milliseconds. Since there are 1000 ms in 1 second, if I count to 100, I should have 1 second, right? The problem is, if I use a physical stop watch and compare it to my program, …

Member Avatar for kvprajapati
0
271
Member Avatar for xsach

can anyone pls tell me how can i read the contents of a file in reverse order....ie i'm storing the num from 1 to 100 in a file but i wen i read thre content it shouls start from 100 99 to 1..i tried to sort /r but it does …

Member Avatar for utpalendu
0
99
Member Avatar for cswenson1

How, in C++, can i convert a video from 1 format to another? Currently the only way i know how is by using an external exe called FFmpeg and using the function [code=c++]system("ffmpeg -i file.avi file.mp4");[/code]

Member Avatar for Narue
0
1K
Member Avatar for rgby

Basically i want to make an online shop, only with like 5/6 products in it. but i dont want a checkout, i basically want it were the buyer can add something to a cart, enter their name, and 2 other information fields (ie phone number and collection date) and then …

Member Avatar for rgby
0
74
Member Avatar for Siberian

I'm learning JavaScript for software that I'm learning it's SDK. I have a weak understanding of programming and because of that I would like to know the basic JavaScript foundation when coding that applies to no matter what your scripting in this language. A Anyone have any guidelines PDF or …

Member Avatar for Siberian
0
137
Member Avatar for mani_singh

hello to all, i am learning c++ and while looking at some code, i came upon this: *(float*) and *(DWORD*). for example [ICODE]#define adress_1 0x00AA8B20 *(float*) adress_1 = 5000000; [/ICODE] so can you explain what the *(float*) and *(DWORD*) do. and i did try and search on google but didnt …

Member Avatar for strmstn
0
108
Member Avatar for priyarao

hi i am doing code on single linked list in that i hav to save elements of my list to a file and then load it. The file is not loading pls check this code [CODE]#include<stdio.h> #include<stdlib.h> struct llist { int info; struct llist *next; }; typedef struct llist linked_list; …

Member Avatar for technology
0
122
Member Avatar for moni94

Hi. I have this strange idea and I want to know if it's something. It's supposed to be a solution for hosting files/sites or running web services without a server (so that you don't have to use a costly server or have to keep your pc turned on all the …

Member Avatar for jwenting
0
112
Member Avatar for carrythe1

Hi, I am new to this website (and C++) so pls forgive any newb errors / convention mistakes. I have a project that contains both a normal source file (PB.cpp), associated header (PB.h) and a windows form (GUI.h). I'm trying to pass a variable from the form to a function …

Member Avatar for finito
0
168
Member Avatar for kesh1000

hi everyone. i get this error in my porject at runtime.actualy it was working fine. i added the jdbc jar to my project and here what i get at runtime [QUOTE]java.lang.NoClassDefFoundError: de/vogella/mysql/first/test/Main Caused by: java.lang.ClassNotFoundException: de.vogella.mysql.first.test.Main at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown …

Member Avatar for kesh1000
0
191
Member Avatar for SuntechWebsites

I am wondering if there is a way I can create affiliate tracking links that let me know when a user has filled out a form and came from an affiliate site. Heres my situation...on my site I do not charge fees up front. The client fills out a form …

Member Avatar for SuntechWebsites
0
96
Member Avatar for fadi-ft

hey guys, this is me once again moving around data access. my problem now hide in the import process of an excel file that would be inserted into sql db. the problem is the excel file may be updated or changed and i have to periodically import it and perform …

Member Avatar for kvprajapati
0
158
Member Avatar for vbpro

I've created a second form for my project.How can I show it? I find it's different from the VB6.The form.show , visible = true ... are not working now. How can I do this?

Member Avatar for kvprajapati
0
794
Member Avatar for Mr. Blank

Hi, I have a button with an image in it. When I reduced the width of the button, the image was centered in the button which I do not want to happen. I want it to be left-aligned in the button but have no idea how and searching hasn't yielded …

Member Avatar for Mr. Blank
0
95
Member Avatar for sfrider0

I found an application that gets the source from a webpage. That worked fine. I tried converting it to an applet, and it works great in netbeans. The problem is when I try to run it in a browser, it does nothing. As you can see from the code, I …

Member Avatar for sfrider0
0
131
Member Avatar for Mitja Bonca

I would like to know how to pass object array (object[]) between classes with the code bellow, which now sends string only: [CODE]public delegate void MessageDelegate(Object sender, MessageEventArgs e); public class MessageEventArgs : EventArgs { public string Message; public MessageEventArgs(string msg) { this.Message = msg; } } public interface IController …

Member Avatar for nick.crane
0
107
Member Avatar for elliot81

Hi there, so im trying to get something done for my class. Im supposed to implement something where you can enter details of a person, validate them, then store them as a array, and allow you to add more later. What I dont understand is how to store a group …

Member Avatar for kvprajapati
0
132
Member Avatar for raju_boini525

hai all, i want to rewrite url in myproject. the actual url is [URL="http://test.com"]http://test.com/cat_product.php?cid=2[/URL] i want this url change to [URL="http://test.com"]http://test.com/cat_product.php[/URL] how do i write .htaccess file. i tried like this [QUOTE] <FilesMatch "\.(htm|html)$"> SetHandler application/x-httpd-php </FilesMatch> <IfModule mod_rewrite.c> Options +FollowSymlinks RewriteEngine on RewriteRule ^cat_product-([0-9]+)\.php$ cat_product.php?cid=$1 </IfModule>[/QUOTE] but it is …

Member Avatar for raju_boini525
0
144
Member Avatar for dan_t

Hi all, I'm using a while loop and looping through data in a database. When I loop through, instead of looping through once it loops through several times. How can I get it to just loop once per field for each user? [CODE]$query = 'SELECT persinfo.userId, persinfo.url, persinfo.email, men.password FROM …

Member Avatar for rajarajan2017
0
80
Member Avatar for vho123

My task is to create a translation.xslt file that will use the wordlist.xml as input to transform into another XML file(translation.xml). I have attempted some coding but stuck how to do the rest. I am not sure how to create a <total>, he value of <total> is the total number …

Member Avatar for Intekhab_Sheikh
0
128
Member Avatar for Munees

Hi to all, I am new to java script.I want to highlight the search terms in text area.I want to do this by using regular expression.When eve i give the value to regular expression directly it works well.But if i give it frim variable it doesn't work well.My code is …

Member Avatar for fxm
0
117
Member Avatar for umandajayo

Hi all... I am a developing a website using a joomla. I need to display a content but the should filter according to the date. I need only display content which are in between current date and before 30 days. my current mysql quary is SELECT * FROM events WHERE …

Member Avatar for qualitybrains
0
89
Member Avatar for love_dude1984

hi.. im having a problem with a MDI forms..Im building an app where i need to call an MDI form in a MDI form.for ex., if MDI1 is my first MDI form, then i want to call the second MDI form, say MDI2, in the MDI1..that is MDI1 should work …

Member Avatar for love_dude1984
0
91
Member Avatar for KBL

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\xampp\htdocs\phplogin_v2.3\register.php on line 108 Insertion Failed: The Code [CODE]include 'dbc.php'; $err = array(); if($_POST['doRegister'] == 'Register') { /******************* Filtering/Sanitizing Input ***************************** This code filters harmful script code and escapes data of all POST data from the user submitted form. …

Member Avatar for rajarajan2017
0
117
Member Avatar for muralibobby2015

hello...i am using wamp server. i donot know how to rewrite url. i dont have a bit of knowledge to use .htaccess. please tell me how to write. first of all can we change any thing in apache2 folder which is server? and next i was directly placed .htaccess.txt file …

Member Avatar for muralibobby2015
0
163
Member Avatar for Szabi Zsoldos

here I have [CODE] //functions.php <?php session_start(); function loggedin(){ if(@$_SESSION['username']){ @$username = $_SESSION['username']; return true; } elseif(@$_COOKIE['username']) { @$username = $_COOKIE['username']; return true; }else { return false; } } function getuid($username) { $res = mysql_query("SELECT id FROM users WHERE username='$username'"); if(mysql_num_rows($res)) { $row = mysql_fetch_assoc($res); return $row['id']; } } function …

Member Avatar for urtrivedi
0
84
Member Avatar for HaveFun

Hi, I have difficulties to get variable from other class. See class Mod01 and Mod02 below, in class Mod02 I will get ct1=0, but I want ct1=250. Any help will be gratefully. Thank you. --------------------------------------- [code] final class Mod01 extends FullScreen { int ct,coba; String hits; [B][COLOR="Red"]public int test() { …

Member Avatar for Abdel_eid
0
129
Member Avatar for m23

Hi guys, I am using this tutorial: [url]http://www.w3schools.com/ajax/tryit....=tryajax_first[/url] where if you click a button, the the content of my div container is replaced with a message saying thank you for your submission. However, you cannot assign this to a submit button as it just ends up refreshing the page. I …

Member Avatar for parry_kulk
0
101
Member Avatar for Szabi Zsoldos

Hey guys, Could you help me understand how to implement [CODE]mysql_real_escape_string[/CODE] to prevent injection in this code ? [CODE] <?php if(loggedin()){ echo "You are already logged in."; } else { if($_POST['submit']){ if($_POST['username'] && $_POST['password']) { $username = $_POST['username']; $password = $_POST['password']; $password = md5($password); $res = mysql_query("SELECT * FROM users …

Member Avatar for Szabi Zsoldos
0
148
Member Avatar for sugikrish

Hi friends, Is this possible. i want to make link in this list. if you know pls say your suggestion. <select> <option>Report</option> <option><a href="program.php">Billing information</a></option> </select>

Member Avatar for sugikrish
0
79
Member Avatar for jimJohnson

I am going some exercises and just want to make sure I am doing it right. It says for the following...Assume StackType is sent to int and STACK_CAPACITY is set to 5. Give the values of myTop and the contents of the array referred to by myArray in the stack …

Member Avatar for chiwawa10
0
134
Member Avatar for star_lavender

hi.can anyone give some suggestion on this? I need to do for a system that calculate the marks. At first, I had created the radio buttons and textboxes for user to insert the marks, but it seems not so user friendly. So I decide to change them into automatically calculate …

Member Avatar for ancriz03
0
97
Member Avatar for amrideep

i write in a.jsp page [code=java]String s1="amrita"; session.setAttribute("ana",s1);[/code] after some statements i write [icode]out.print=(String)session.getAttribute("ana") //it prints the value[/icode] in page b. jsp [icode]out.print=(String)session.getAttribute("ana") //it prints null[/icode]

Member Avatar for Dharmendra
0
87
Member Avatar for ceyesuma

I am having a proplem checking the stu_uid for a specified stu_password. I am not really sure what error is. When I build the db for the first time and login as a student it says that unknown user name but it is all in the table and passed to …

Member Avatar for ~s.o.s~
0
159
Member Avatar for Reliable

Hello Everyone, I know that you pas variables with the $_GET method, but i am unsure as to how or why. When is this action called for? Thanks for helping me clear up my confusion. David

Member Avatar for rajarajan2017
0
122
Member Avatar for lotrsimp12345

I have added a reference to dll file in VS 2008. Yet I still get an error. Not sure why, do I have to do some other changes to get it to work?

Member Avatar for lotrsimp12345
0
99
Member Avatar for anuragcoder

Hey guys, recently i've tried to compile this command line email program I get the error: cannot find -lobjc ld returned 1 exit status Here's my code. Any Help Appreciated. [CODE] #include <stdio.h> #include <stdlib.h> #include <string.h> #include <winsock.h> #define NETWORK_ERROR -1 #define NETWORK_OK 0 FILE *fp; char buffer[200000]; char …

Member Avatar for Aia
0
127
Member Avatar for m khan

heyyy..i wana develop game in open gl using C++..bt cant gettng any idea... plz gv suggestion...abt car race game oor any other

Member Avatar for jwenting
0
108
Member Avatar for dwel
Member Avatar for vb5prgrmr
0
88

The End.