199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Sinaru

You can use the following class to align text such as paragraphs to be centered, right, or left on a console. Also it supports some more methods. I have written this so it will be helpful for some and also for me. I'm not that pro so have wasted a …

Member Avatar for Sinaru
0
173
Member Avatar for hanvyj

Hello, I am pretty new to C# (but I have used java) I want to use my c# class in a c++ project, this means I will need to make a COM object, It seems reasonably easy [URL="http://msdn.microsoft.com/en-us/library/aa645738%28v=VS.71%29.aspx"]I have been using this[/URL] mainly as a template. My program was a …

Member Avatar for hanvyj
0
150
Member Avatar for ashu2401

Hi, I was recently asked this question in an interview and I was wondering if any of you could help me find a better solution to this problem. The question goes like this: There is a function foo which takes two arguments: an array "a" of type int and another …

Member Avatar for arkoenig
0
329
Member Avatar for Katana24

Quick query here guys - I have a program that reads from a file and counts the number of lines in the code. This works fine but when I go to print the contents of the file to the screen or to a Dialog box the number of lines that …

Member Avatar for ~s.o.s~
0
106
Member Avatar for andydeans

hi, i get this error on one of my pages, however if i move the session start code to check if user is logged in down a few lines below some query code for searching the site it works fine. why would moving the session start down a bit on …

Member Avatar for andydeans
0
254
Member Avatar for Charles1718

Hi, i'm new about PHP, and i try to insert the PHP Upload script in the php mail, but somehow i don't get it to work! :) [B]this actually goes to header:[/B] [CODE]<?php if(isset($_POST['submit'])) { $errors = array(); $allowed_filetypes = array('.pdf','.zip','.rar'); $max_filesize = 52428800; $upload_path = './uploads_SS/'; $filename = $_FILES['userfile']['name']; …

Member Avatar for abogadooo
0
2K
Member Avatar for DaveTran

I have 3 methods [CODE] MethodA() MethodB() MethodC() [/CODE] All 3 methods [U]must[/U] be run at least once per frame/update. MethodA generates a integer count, let's call it 'intCount'. If the count is 0 then MethodB and MethodC don't need to be called. All 3 methods will continue to be …

Member Avatar for Geekitygeek
0
99
Member Avatar for rv_mup08

Please i need help what is the missing Code here... THis is like a Simple POS [B]this is the CODE:[/B] Dim total As Double Dim item_price As Double Private Sub cboFruits_Click() Me.txtQuantity.SetFocus End Sub Private Sub cboFruits_DropDown() Me.cmdAdd.Default = True End Sub Private Sub cmdAdd_Click() item_price = 0 With Me.cboFruits …

0
77
Member Avatar for jackparsana

I want to know about the tool strip Control. Can i Use Tool strip button in all the Win form. Like, I put the delete button in all the window form, but I want to put only one button in the tool strip and remove buttons in all the window …

Member Avatar for jackparsana
0
150
Member Avatar for martin5211

Hello everybody, I worked long hours this evening trying to unthread the whole thing and still not working... I don't know why. The page display the results using normal code in JSP (no jstl tags). When using jstl tags the page results in blank screen, no posts. Here is the …

Member Avatar for martin5211
0
2K
Member Avatar for mbano

i have a simple system,when i logout the system logout but the problem is, when i click back, it turn to main page. please guys help

Member Avatar for EvolutionFallen
0
58
Member Avatar for josiefrut

Hi, guys. badly need your help. still a newbie in programming. seems like i cannot display some data on the browser from the database. i was able to create a login page. but when i tried adding another servlet and tried calling its jsp, error message appears: HTTP STATUS 500 …

Member Avatar for nohup
0
143
Member Avatar for Cool&Awesome

Hi Everyone!:) Searched net up'n down and also related threads but can't figure this one. I have this: RewriteRule ^(\w+)$ index.php?pageid=$1[icode] for the purpose of pretty urls. Now, as long as pageid is a single word, everything's nice, but if there are dashes (kinda-like-this) it simply doesn't work, that is, …

Member Avatar for Cool&Awesome
0
116
Member Avatar for hanvyj

I am trying to make a COM object so I can use my C# object in a C++ project. I have been following [URL="http://msdn.microsoft.com/en-us/library/aa645738%28v=VS.71%29.aspx"]this example[/URL], to the point where everything is almost identical, but however much I try I can't get it to work. Here is my C# program: [CODE]// …

Member Avatar for hanvyj
0
495
Member Avatar for ThrasherK

I have been working on a program that starts with the user entering an id (as in account id) and then a main menu pops up where they can choose between balance check, withdraw, deposit, and exit. The program is never supposed to end. It is supposed to keep looping …

Member Avatar for Duki
0
209
Member Avatar for tariqi

i have 5 dropdown list and i want the gridview to get refined with each selection.this is what i used but its not working: a button click event that that gets a dataview to filter records then bind these records to the gridview.this routine then checks each dropdown list to …

Member Avatar for tariqi
0
102
Member Avatar for DAlexNagy

I am writing a GUI in GKTMM for my own learning experience and to use on a personal project I have at home. The data will be stored in a MySQL database on a server I already have running in my home and which I use for some PHP/JavaScript code …

Member Avatar for DAlexNagy
0
160
Member Avatar for delle

I wrote a little test program to try to figure out some problems I am having in another program I'm working on. Code: [CODE]# include <iostream> # include <string> using namespace std; void ahoy(string nameEntered) { cout << "Ahoy, " << nameEntered << "!" << endl; } int main() { …

Member Avatar for Duki
0
210
Member Avatar for DAlexNagy

I am learning to write C++ code to access data in a MySQL database. My goal is to use a separate class to control the database access so I can use this class elsewhere. To facilitate my learning, I'm working on simple code to connect to a database (success!) and …

Member Avatar for DAlexNagy
0
503
Member Avatar for Arsench

Hi all, I have a table curs_period where inserting some data to send them via email, this table contains data for 1st email [CODE] Id = Auto increment Name = Madrid Period = 01/11 to 01/12 [/CODE] Then I have another data for 2nd email [CODE] Id = Auto increment …

Member Avatar for Arsench
0
67
Member Avatar for sankhamita

Hi all! Please give c code which finds the included header files of another c file

Member Avatar for Adak
0
118
Member Avatar for Dean_Grobler

Hi there guys, I got this assignment where I need to set a session attribute. Although I'm having problems since I cant set attribute that is of type double? I got these hints but since I've worked with doubleValue() or downcasting, the hints didn't help me much.. Hints: -Recall that …

Member Avatar for Dean_Grobler
0
239
Member Avatar for jemimaloh

hi, this is my hash function, could anyone explain to me why the lines in red are experiencing an "int cannot be deferenced"? Thank you. [CODE]public static int hashFunc3(int key) { int hashVal = 0; [COLOR="Red"]for (int j=0; j<key.length(); j++)[/COLOR] //left to right { [COLOR="Red"]int letter = key.charAt(j) - 96;[/COLOR] …

Member Avatar for jemimaloh
0
158
Member Avatar for miraj0072004

hello friends, how do I simulate an "enter" key press in java? this is to avoid the continuous key pressing during runtime whereas there are so many popups which require an "enter" key press to continue execution

Member Avatar for NormR1
0
450
Member Avatar for jellybeannn

Hi everyone, I am trying to populate a gridview. this is my table structure: Modules - M_ID, M_title (this is where the module info is stored) Module_course_link - MC_ID, M_ID, C_ID (this table links the Modules and Courses table) Courses - C_ID, C_title (this is where the course info is …

Member Avatar for rohand
0
102
Member Avatar for radioman28

Hi, I am a almost thirtysomething, going back to school at night while working full time. I decided that it was time to get an education to enable me to break out of the Cable industry and into the programming scene. I am interested in Computer Science and web programming(maybe). …

Member Avatar for ocmseo
0
668
Member Avatar for Scottyyboyy1988

i have made a program for work which is a logging tool which is just filled with text boxes and combo boxes I am tryin to link to a access table so the info I put in the logging tool goes straight into the access table even if the table …

Member Avatar for kinwang2009
0
84
Member Avatar for robertmacedonia

Hi, I'd like to ask for a little help. I have this program that handles basic voting,but it should be done client-server,i.e. the server offers questions and multiple clients connect to vote,the server stores the answers etc... I haven't even come to that point of storing etc.,cause I'm stuck here …

Member Avatar for robertmacedonia
0
157
Member Avatar for bjeffries

Which is the smarter way to do things.. Should I create a thumbnail script that resizes and crops the images so they are uniform when I create and upload a gallery? Or Should I run a script when the page loads that resizes and crops the images so they are …

Member Avatar for pritaeas
0
163
Member Avatar for viji.cs

[B][COLOR="Green"]How to convert a three dimensional string array into integer?[/COLOR][/B]

Member Avatar for Adak
0
191
Member Avatar for Krs13

Hi In vb i get error 3015 where it says idx(field name) isn't an index in this table. Look in the Indexes Collection of the Tabledef object to determine the valid index names. I have Access97 database and checked that the field i mentioned is indexed(Autonumber). I get error on …

Member Avatar for Krs13
0
453
Member Avatar for kumarantechie

Hi, I am a beginner in linux . i am using matchbox virtual keyboard for an application now i want to change the layout to another langauge . How to do it? Is there any way to change the layout from terminal . Kindly advice me suggestions. Any help appreciated …

Member Avatar for deimusmeister
0
157
Member Avatar for Neosmithk

Hi guys, im new, just joined. i have a serious problem with Java3D... I have just recently completed a large project i have been working on for a long time, a NVE. The problem i am having is when i run in through NetBeans 6.8 i have no issues, but …

Member Avatar for gyuvaraj
0
329
Member Avatar for mahdi68

Hi how can i get lis of phone JSR support on application ? is it possible ? for example it`s support JSR-82 or not ? thanks

Member Avatar for peter_budo
0
96
Member Avatar for GothLolita

Hi everyone! I'm a newbie here. I have a problem: I need to create the address book in python that include name, phone number, email, address, etc...The information in the address book can able to delete or change. I will give more information later! Can you help me? I need …

Member Avatar for techie1991
0
2K
Member Avatar for geo007

hi, i am a teacher. i have a list of students in my MySQL table. How to retrieve their names one by one, and while doing that there will be a text box to put their marks in.

Member Avatar for Nyight
0
193
Member Avatar for prasanthsagar

Hey all I have a mdb file. I need to use this file as a datasource to display in the gridview. Can anyone suggest me how to use a LINQ to add to that gridview. here the purpose of gridview is simply to display some rows....... Regards, Prasanth.

Member Avatar for prasanthsagar
0
98
Member Avatar for Madhusudhan

Hi All, I have specific requirement in web development. I am Programmer Analyst in .Net, would like to know the difference between Firefox and IE6.0. Some of the Javascript will not execute in Firefox !! Does any one have better idea about this !!. Thanks and with regards, Madhusudhan.H.K.

Member Avatar for vijayraghav
0
171
Member Avatar for arthurav

I have a table with content fetched from a html table. I have a modify and delete column. In the modify column I have submit forms which send as hidden input the id of the column. In the delete column I want to have checkboxes that will be linked to …

Member Avatar for arthurav
0
83
Member Avatar for george61

Ok I have a linked list which have to read from binary file and to write in binary files. This is the function about the reading from keyboard: [CODE]short readElement( Node * newE) { int b,e,m; if ( newE == NULL ) return 1; do { printf("\n Registration number:"); scanf("%s", …

Member Avatar for prvnkmr449
0
3K
Member Avatar for jasonc31

I have found the following code and wish to have it do a POST instead of the GET can someone tell me what needs changing so this does a POST ajax.php [code] <?php if (is_numeric($_GET['client_id'])) { include("database.php"); $query="SELECT * FROM `client_addresses` WHERE `client_id` = '". db_input($_GET['client_id']) ."'"; $result=mysql_query($query); ?><select name="client_address"> …

Member Avatar for jasonc31
0
146
Member Avatar for datta.saru@gmai
Member Avatar for yasuodancez
0
330
Member Avatar for castro1688

I'm getting a BSBA Computer Information Systems. Does anyone here have that degree? What type of job do you have or have had. Is this degree pointless compared to a CS degree?

Member Avatar for Rashakil Fol
0
2K
Member Avatar for Szeth

Hello Daniweb, I have a program due this evening and am ready to give up. I can't figure out my compile problems: C:\Users\Chris\Desktop\My Java Programs\Chris_Y_Week_5_IA.java:85: call to super must be first statement in constructor super("mortgagecalcsr7"); ^ C:\Users\Chris\Desktop\My Java Programs\Chris_Y_Week_5_IA.java:573: inner classes cannot have static declarations public static void main(String[] args) …

Member Avatar for Szeth
0
231
Member Avatar for poulami510

Write a C program to find all real roots of a polynomial equation of degree n using Bisection method. Note that you can’t define the function as macro or C-function inside your program file. You have to take the polynomial function and degree from user. Also you can’t define the …

Member Avatar for prvnkmr449
0
116
Member Avatar for ferkevin04

please help me to do with my system. i want my TextEmpID.Text is auto generated evrytime i will add another employee name. Field = "EmployeeID" i'm using ms access as ADODB thanks in advance

Member Avatar for kinwang2009
0
646
Member Avatar for hazeeel

How do I calculate my RMSD(root mean square deviation) score for my PDB protein structures, atom by atom. I wish to calculate it line by line. But I do not know how to go about it? I was thinking of using a for loop but as you can see, I've …

Member Avatar for hazeeel
0
259
Member Avatar for jamesvick

i want to implement this feature : if i have a following sentence : {my name is james vick and iam a {member|user|visitor} on this {forum|website|site} and iam loving it | iam admin and iam a {supervisor|admin|moderator} on this {forum|website|site} and iam loving it} on a click of button i …

Member Avatar for jamesvick
0
162
Member Avatar for gunnarflax

If I would have a simple function like this: [CODE]jQuery.fn.example = function(){ this.remove(); }[/CODE] and call it with an empty selector: [CODE]$().example();[/CODE] What element would then [B]this[/B] be pointing to? Or is there a way to make a function able to be executed through both [B]$.example()[/B], without a selector, and …

Member Avatar for lambing
0
296
Member Avatar for TGeorge824

I'm taking a graphics class, and we have just started using OpenGL. My professor gave us a simple program that draws a purple line, that we were supposed to compile. I took it home and tried to compile it, and i got a lot of undefined symbol errors. Any help …

Member Avatar for mike_2000_17
0
260

The End.