199,114 Archived Topics
Remove Filter ![]() | |
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> { … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … ![]() | |
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 ![]() | |
**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" … | |
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. | |
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 | |
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 … | |
how to stimulat Ctrl+alt+i and Ctrl+alt+n keyboard key press in vb.net? | |
**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" … | |
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, … | |
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() … | |
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 … | |
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? … | |
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 … | |
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> … | |
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. … | |
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 … | |
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" … | |
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. | |
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> | | … | |
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 … | |
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: … ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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) … | |
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 … | |
i have the following sql query i seem to be having this error "Incorrect syntax near the keyword 'INSERT'" | |
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 … | |
<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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 | |
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! | |
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: … | |
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 … | |
![]() | 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. |
Is C++ worth learning for webapps? I know python and it works well, so would it even be worth it to learn c++? |
The End.