199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kamilacbe

HI, I have a class1 and Class2 which is generic class and when i create object for class2 which should be able to acces class1 method which is MethodA() please advise.Thanks in advance namespace generics1 { public class B { public void methodA() { } } public class A<T> { …

Member Avatar for Suzie999
0
152
Member Avatar for dennis254

Hi, I have a DataGridView with a table loaded onto it. I have nine textboxes which will serve as a search feature for the DataGridView. What I want is that once text is entered, it goes through the relevant column filtering data as per what is inputed. This works perfectly …

Member Avatar for dennis254
0
3K
Member Avatar for UKnod

I have written some code to make an outlook addin, which is working great. Except that the to field from outlook is displaying the contact na,e instead of the actual real address. IE it is displaying geoff instead of someone@gmail.com unfortunatly I want the who address not just the shortened …

Member Avatar for UKnod
0
115
Member Avatar for KnifeDarky

Hello, I am making a program, when I click picturebox, some text appears on the form. So I got that part right, I am clicking picturebox and text is appearing, but the problem is, that I dont know how to clear that text one by one after certain amount of …

Member Avatar for KnifeDarky
0
155
Member Avatar for Slavi

It's been a few days since I had the time to dig into java, now I went to eclipse and all I see is errors .. Here is a picture. Any ideas how to fix it? That is just weird because it says no build path was found while i've …

Member Avatar for Wei_3
0
118
Member Avatar for oanahmed

Hi! I was doing my exercise of C Language. In the exercise I was encountered by a question in which author says you to perdict the correct answer; I was uable to perdict it, so I compiled it to get the answer, the source code is this: #include <stdio.h> int …

Member Avatar for cayman
0
246
Member Avatar for vishalonne

Hello How can I get minimum number of coins for a given amount. I have fixed denominations of cents - 25, 10, 5 and 1 If I have 0.67 then what will be the minimum numbers coins I need Thank you all in advance for valueable advices and suggestions

Member Avatar for cayman
0
185
Member Avatar for dukumanis

**form.php** <html> <head> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> <script> $(document).ready(function() { $("#datepicker").datepicker({ dateFormat: "dd/mm/yy" }); $("#datepicker2").datepicker({ dateFormat: "dd/mm/yy" }); }); </script> </head> <body> <form method="post" action="conn.php"> Name <input type="textbox1" name="Name[]" value=""><br> Start date <input type="textbox6" name="Startdate[]" id="datepicker"><br> End date <input type="textbox7" name="Enddate[]" id="datepicker2"><br> Item <input type="textbox8" …

Member Avatar for peeyush.budhia
0
482
Member Avatar for Nadeem Jee

Dear friend i want to be a developer. please tell me where form i can get easy and friendly tutorials of ASP.NET with c# and MVC. Thanks in advance.

Member Avatar for Nadeem Jee
0
96
Member Avatar for jaspertan

HI Sirs need to pass Textbox Value to another page table. I tried to used post and get in laravel but it doesnt resolve. can anyone help me? Thanks in advance

Member Avatar for jaspertan
0
744
Member Avatar for RonKevinT.Manuela

i wanted to list down files found on a folder..so far it works but I also want it to be a link..one click and file will be downloaded.. <?php // directory path can be either absolute or relative $dirPath = '../kcfinder/upload/files'; // open the specified directory and check if it's …

Member Avatar for RonKevinT.Manuela
0
293
Member Avatar for xn hunk
Member Avatar for Michael_9
0
469
Member Avatar for JustinCase58

**Hi I am new here, I am learning Python, but I am mess up on this script and it keep asking the same input question... please help thanks.. ps how do you do What you name in pygames??? Justin** #SET UP GAME import random # named veriables s="Strengh" hp="Hit points" …

Member Avatar for Jack_9
0
154
Member Avatar for xuexue

Hi! I am using Data Grid View to display the data from my database. This code works properly. It displays the data. This code is inserted in the Form_Load of the form. Dim cmdCount, cmdGet As New iDB2Command Dim daGet As New iDB2DataAdapter Dim dsGet As New DataSet Dim sqlCount, …

Member Avatar for Michael_9
0
740
Member Avatar for Michael_9

Me being a master noob and making a triangles color change with a console. link to program its shwelf[Click Here](http://www.mediafire.com/download/fwlqbb471ewwsw0/Debug.rar) Public Class main Inherits Windows.Forms.Form Protected gfx As Drawing.Graphics Protected thePoints() As Drawing.Point Public Sub New() InitializeComponent() Console.WriteLine("Form seems to be functioning so far.") End Sub Private Sub InitializeComponent() Me.SuspendLayout() …

0
270
Member Avatar for frankie198

I only started learning Python a few days ago, so as a beginner, what IDE should I be using? Should I just start with IDLE, then move on to something else when I'm more advanced? I've been using Pycharm for the past few days, I didn't know if that's an …

Member Avatar for Jack_9
0
856
Member Avatar for L-D

Hi, Having a problem getting this copy to show up, neither one shows up. There must be something I overlooked...! I'm really a html guy! Thanks! LD <!-- Start Body Area --> <div id="bodyArea"> <div class="left"> <span class="headLeft"><?php echo $this->ABOUT_US_TXT; ?>:</span> <p class="categories"> <?php Welcome!<br /> Interested in recipes, 'eh? …

Member Avatar for JorgeM
0
241
Member Avatar for Priti_P

Hello, I want to disable tab event from input box on form for that i tried: <script language="JavaScript"> // disable tab event on form $(window).keydown(function(event){ if(event.keyCode == 9 ) { alert("tab is clicked") // it alerts but execute get vanished quickly event.preventDefault(); return false; } }); </script> and document.querySelector('input').addEventListener('keydown', function …

Member Avatar for AleMonteiro
0
157
Member Avatar for Priti_P

Hello, I have created input bonxes and filled values inside it. and made it read only using below code: <? foreach($certificated_data as $c) { ?> <tr id=<?echo $tr_id; ?> > <td> <input type ="textbox" name="certificate[<?=$tr_id?>]['name']" id="name-<?=$tr_id?>" value="<?=$c['Name'] ?>" readonly="readonly" /> </td> <td> <input type ="textbox" name="certificate[<?=$tr_id?>]['date']" id="date-<?=$tr_id?>" value="<?=$c['year'] ?>" readonly="readonly"/></td> …

Member Avatar for AleMonteiro
0
327
Member Avatar for weekendrockstar

After very little success in using JQuery .post methods I wanted to try asking this here before giving up. I am serving a couple JS based games on a site using PHP as members can log into the site and through sessions/cookies remain logged and play games under their account. …

Member Avatar for AleMonteiro
0
223
Member Avatar for Kris_3

Hi again, so guys I want to add some color to my text but all the explanations I find are some links to complicated ways of doing it with almost no explanation of the operators functions and so on. Could you show me an easy way to make for example …

Member Avatar for Kris_3
0
182
Member Avatar for Saboor880

Hello to all! I am using compiler Dev C++ but i am facing a problem in with it. Sometimes it happens that if i try to run one program , it displays the output of another program instead of required program. For example I have two programs named as "Pointer" …

Member Avatar for Schol-R-LEA
0
172
Member Avatar for amithunter

how can we fetch the system time regulerly irrespect to the another part of the program? how it's possible to do so actually its a validation in a game,but i dont have an idea how can be implement.

Member Avatar for L7Sqr
0
95
Member Avatar for chr.s

Hi, I'm still very new to MySQL and I'm having some issues trying to generate the right set of results. I have two tables, that follow the structure as below: mod_site_content +----+-----------+--------------+ | id | pagetitle | content | +----+-----------+--------------+ | 1 | home | <p> ... </p> | | …

Member Avatar for chr.s
0
179
Member Avatar for Miffy

Hi, Please help me write this C code as i am clueless and helpless in C programming Write a C program, which allows the user to enter a valid filename and then prints the file content to screen, two lines at a time. The program should pause after displaying the …

Member Avatar for Hiroshe
0
248
Member Avatar for Joemeister

Let me explain what I want to do: I want to change a expression like this: x * (2 + 3) - (y + 1) to this: 5 * (2 + 3) - (6 + 1) using this: instVar('x', 5); instVar('y', 6); The problem is I get the following output: …

Member Avatar for iamthwee
0
166
Member Avatar for Jack_9

I haven;t even started learning perl yet, I know languages like java, c and python, but is perl even worth learning? I mean it's a preety old language (what am Isaying age dosen't matter, think of how much C is still used) but the thing that I meant is that …

Member Avatar for Hiroshe
0
303
Member Avatar for chris99

I am trying to create a window with a custom background after playing with the different styles, to practice declarations and destroying objects for future reference. Whenever I try to compile the code I get the following errors: "undefined reference to CreateSolidBrush@4" and "undefined reference to DestroyObject@4". Where in my …

Member Avatar for chris99
0
244
Member Avatar for Indians

i want to upload the employee profile picture into mysql database using php. i tried this coding. image uploaded successful but when i fetch that image on browser it shows me text character like this (ÿØÿàJFIFHHÿáLExifMM*bj(1r). one more problem is below 20kb size images only uploaded into mysql. how to …

Member Avatar for mattster
0
3K
Member Avatar for sai_5

i am writing an automation script in Perl which logs into the server and executes various commands and functions.This Perl script mostly uses "send expect statements and for loops " to run the commands. This Perl script is a back end script which i have written. i have to build …

Member Avatar for Taywin
0
200
Member Avatar for brent.banaag

Please help me. The following program builds and compiles just fine however when I try to execute it it stops before getting any output, displaying "The instruction at "0x77c48a0b" referenced memory at "0x00000014". The memory could not be "read"". I also get the following when the debugger reaches the point …

Member Avatar for Moschops
0
165
Member Avatar for Mike Askew

IQueryable<CustomObject> obj = (from table in db.TableName orderby table.ObjectId descending select new CustomObject { //Properties mapped here }).Skip((pageNumber - 1) * pageSize).Take(pageSize); The above is a stripped down version of the query I am running. It is missing about 10 joins and then just the bulk mapping of the object, …

Member Avatar for Mike Askew
0
201
Member Avatar for henryz_box

This thread was started in [Click Here](http://www.daniweb.com/software-development/java/threads/482431/adding-controls-to-a-background-label-and-structuring-the-source-code), and I created this thread in hopes of making it easier to find. I have been working on a program that creates several controls dynamically in a LayeredPane.The code to add all the controls to the Pane has gotten really long. Is there …

Member Avatar for henryz_box
0
332
Member Avatar for PM312

Hi, i am trying to extract values based on range of dates. Why i am getting this error Invalidcastexception was unhandeled **Conversion from string "SELECT * FROM TBLRequest where T" to type 'Long' is not valid.** for below string **FlexString = "SELECT * FROM TBLRequest where TBLRequest.PrDate >='" &** **Date.Parse(TxtDateFrom.Text) …

Member Avatar for danielgr
0
389
Member Avatar for stokie-rich

Hey guys I really need some help if you can ASAP, my website is now done and this is the last thing that needs to be sorted.... I seriously need some help. I have added in 80 questions into the database. The website is a learning aid for users like …

Member Avatar for stokie-rich
0
339
Member Avatar for Sizwe_1

i have the following sql query i seem to be having this error "Incorrect syntax near the keyword 'INSERT'"

Member Avatar for Sizwe_1
0
214
Member Avatar for aniperiye

Hi, i have a encrypted video in hard disk.how to decrypt that video file and without storing it into anywhere direct play in windows media player or vlc embedded in my windows application. is there any method to play a video from a memory stream? after my decryption function i …

Member Avatar for Mike_Gr
0
169
Member Avatar for infoitmanoj

<script> var mins = 0.10; var secs = mins * 60; function countdown() { setTimeout('Decrement()',1000); } function Decrement() { if (document.getElementById) { minutes = document.getElementById("minutes"); seconds = document.getElementById("seconds"); // if less than a minute remaining if (seconds < 59) { seconds.value = secs; } else { minutes.value = getminutes(); seconds.value …

Member Avatar for infoitmanoj
0
158
Member Avatar for Tinnin

Hi All, I'm not sure if this is a technical issue, preference or a question about best form. I have a 'users' table and a 'contacts' table. 'users' and 'contacts' have no direct relation. Both contain an email address for each record in their own table. I want to send …

Member Avatar for Tinnin
0
354
Member Avatar for safi.najjar1

Hello guys this is the first time I see this message while i'm trying to register a new account: the message : __php_incomplete_class could not be converted to string I try var_dumb($_SESSION) and i get this: object(__PHP_Incomplete_Class)[1] public '__PHP_Incomplete_Class_Name' => string 'Customer' (length=8) public 'id' => string '3' (length=1) public …

Member Avatar for veedeoo
0
1K
Member Avatar for divyakrishnan

Hi I want to assign a smarty array to Javascript array I used the following code <script type="text/javascript"> var arr = {/literal}{$a.ins_status|@json_encode}{literal}; alert(arr); </script> But the arrray is showing as Null

Member Avatar for veedeoo
0
2K
Member Avatar for singersongrita

I learned how you can use the switch statement to make the program go through the stuff inside and choose the one that matches the condition set. Isnt that basically what "if" statements do? so does this mean we can completely replace 'if' with 'switch'? because it seems way more …

Member Avatar for happygeek
0
157
Member Avatar for Jack_9

I just recently found out about how to link python to a MySQL database using the MySQLdb library. The syntax is actually alot like phps but I was wondering and I'm preety sure you can, but can you use the same database on a website written in php, and an …

Member Avatar for hericles
0
82
Member Avatar for xuexue

Hi! Could you help me initialize or load the data into a Data Grid View Control using iDB2 Connection? I've tried this code I've seen from the net but it does not seem to work :( I am initializing the connection using form_load and not in the Properties Window. Imports …

Member Avatar for cgeier
0
328
Member Avatar for jaspertan

Hi to all Im doing a project in which the user need to fill up and submit after the user submit it will create table with values from textbox thanks Jasper

Member Avatar for jaspertan
0
175
Member Avatar for Jack_9

Hi, i'm developing an app with python where I need to link it to MySQL? Can somebody tell me how I would do that? Anything would be gladly appreciated!

Member Avatar for Jack_9
0
151
Member Avatar for iConqueror

Im am having abit of trouble with a while loop. I have this method which determines wether or not the entered year is a leap year, the while loop is intended to keep asking the user for another year until he/shes wishes to exit the program. Here is my method: …

Member Avatar for JOSheaIV
0
352
Member Avatar for ddanbe

I know this may seem a bit like nitpicking, but would it make any difference to use public int foo() { if (myInt == 1) return 2; if (myInt == 2) return 1; return 0; } or public int bar() { if (myInt == 1) return 2; else if (myInt …

Member Avatar for JOSheaIV
0
144
Member Avatar for iamthwee

Hi guys, I'm a bit stuck, I'm using the twitterbootstrap modal window 3.0 but I want to get it working with ajax. So for example you click submit then it queries the database and returns the info in the modal window. I can provide the code if needed.

Member Avatar for veedeoo
0
458
Member Avatar for Jack_9

Is C++ worth learning for webapps? I know python and it works well, so would it even be worth it to learn c++?

Member Avatar for Jack_9
0
161

The End.