199,114 Archived Topics
Remove Filter ![]() | |
Im trying to create a dll file where to import in a sub a webbrowser who will open www.youtube.com when form load. I can make this in the software code. but I want to import it in a dll file. Im having troubles with that. I need urgent help | |
Hello All. I am having 2 problems here with my code. I will start off with the video code first. The video code should capture 20 seconds of the screen at 50fps, however, when I generate it, it generates a 1 minute 7 second video, and I am not sure … | |
I have a file with ints like this. 1 2 3 4 5 6 How to read first int from file? How to read second int from file? How to skip first line and but rest in 2d array? This is what I have so far. I am not sure … | |
I'm doing a quiz game using netbeans. I've already done the randomization of questions. The problem is, how do i keep a question from repeating itself? ex: chose correct answer --> questionrandomizer comes in --> next question appears but it's the same question earlier here's my code: package kiddiequiz.scienceforms; import … | |
Hi I am trying to display count of a row using function with get values. Please help me to fix the issue **class** class Users { private $conn; private $db_name= "DATABASE"; public function __construct($db) { $this->conn = $db; } /*Join Two Tables with where condition and order by*/ public function … | |
hi i have just started learning nodejs. i wrote this simple code var http = require("http"); var fs=require('fs'); var wbsocket = ('ws'); http.createServer(function(req, res) { res.write('2working'); }).listen(8889); console.log('listing to port 8080'); and run in cmd node filename.js in cmd doesnt give me any error and when i open webbrowser its … | |
Ok so I have the following code for a table with CSS rules designed to "collapse the table horizontally" on smaller screens... <table> <thead class="thead"> <tr> <th>a</th> <th>b</th> <th>c</th> <th>d</th> <th>e</th> <th>f</th> <th>g</th> </tr> </thead> <tbody> <tr> <td data-label="a">1</td> <td data-label="b">2</td> <td data-label="c">3</td> <td data-label="d">4</td> <td data-label="e">5</td> <td data-label="f">6</td> <td … | |
No ERRORS query is executed perfectly but no data stored what could be wrong? my database is employee with id, first_name, middle_name, last_name fields id is auto number the rest is short text I'm using ms access. Imports System.Data.OleDb Public Class AccountReg Dim dbProvider As String Dim dbSource As String … | |
Hi, I have a tree view in which there are two child nodes with parentID 0 and a main node with no ID. Root Node 0--> Child 1 ------1--> SubChilds ------------3--->SubChild1 ------1--> Subchilds 0--> Child 2 ------2--> SubChilds ------2--> SubChilds The tree structure is as above. The problem is that … | |
hi i want to show images in datagrid here i m having database.. in that i was stored image path.. so I was retrieved database path values and i want to show those images in datagrid how to do this in windows application using c#.. need ur suggestions regards thaha … | |
The code below ensures that my entry is only numeric with 2 decimal. <input type="text" maxlength="10" name="numPrice" value="1.00"> $("input[name='numPrice']").keyup(function(){ if(!(/^\d+(\.{0,1}\d{0,2})?$/.test(this.value)) ){ this.value = this.value.substring(0, this.value.length - 1); } return this; }); However values such as 1&.0 is not rejected by the code above. Did I miss something? | |
Hi, I was learning operator overloading and I noticed a very strange thing. I could access the private variable of another object by using the object reference and the . operator. Both the objects belong to the same class and I can alter the value of a private variable of … | |
I am using Tkinter to make a gui to display the output from a usb camera. It is for a microscopy experiment with the idea being that the gui shows a low resolution live stream, but at the click of a button a high resolution image is taken. I have … | |
Hi, I am newbie.I have seen projects where there are menus or links below it which are accessible as per the profile set for the logged in users.If there are A,B,C,D menus in project then some group of user will have only A and B Menu when logged in..while other … | |
Hello everyone i have a problem with my application `onMarkerClick` it works well till i click the marker second time the application crashes here is the code: mMap.setOnMarkerClickListener(new GoogleMap.OnMarkerClickListener() { @Override public boolean onMarkerClick(Marker marker) { builder.setTitle("Set radius in meters:"); builder.setMessage("Info: The radius is set by default on 500 meters"); … | |
hi this is my code and I am trying to write a simple code to generate total and grand total. I have **id,name,quantity,price,total,grand total** 'total' works perfectly,but I am having problem getting GT to work. here is the code.... the error I am getting is "Input string was not in … | |
Hi Geeks, I have developed an Invoice application with stock maintenance using access database and vb 2005. Everything is fine in the part of transaction wise other reports and all. But I am unable to derive the stock statement and I doesn't know how to derive the stock statement. I … | |
$headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From: testing <test@gmail.com>' . "\r\n"; $subject = "testing"; $content = " //html content question How to use foreach loop inside this ? "; $sent=mail("test@gmail.com",$subject,$content,$headers); | |
Hi, thanks for viewing this thread. How to call MVC controller action method from ASP.NET webform and pass few parameter to the MVC? I have found this solution: http://www.codeproject.com/Articles/37539/Redirect-and-POST-in-ASP-NET and would like to know whether is there any other ways to do it. Just like to explore other solutions. | |
I am trying to add a functionality of uploading image while adding new data but I am not able to achieve it. I will provide my code to you. Could you please help me to achieve it? Following is my code, I have three files namely index.php, script.js, func_events.php index.php … | |
Hello C++ Programmers; I would like to ask about running multiple text file; this text file don't have specific name; This one folder (Text Folder) have only text file (no specific counts); if there is other file like .xlsx or .jpeg or .bat or .etc. will be ignored; once I … | |
I have to display the mortgage payment amount and then list the loan balance and interest paid for each payment over the term of the loan but my output isn't changing. import java.text.DecimalFormat; import javax.swing.JOptionPane; public class MortgagePmt { public static void main(String[] args) { int term; //Term in years … | |
Hi, In a page, By selecting values I display a table using javascript ajax. The table looks like this: S.no name S1 S2 S3 S4 S5 Total 1 A 80 90 78 76 100 424 2 B 50 50 50 50 100 350 ;; . . . it goes like … ![]() | |
My entity class: @Entity @Table(catalog = "emp", name = "person") @XmlAccessorType(XmlAccessType.FIELD) public class Person implements Serializable { private static final long serialVersionUID = 1L; /** */ @Column(name = "ID", nullable = false,length = 50) @Basic(fetch = FetchType.EAGER) @Id @XmlElement String id; /** */ @Column(name = "ADDRESS", length = 50) @Basic(fetch … | |
I am working on a program with the following requirements: Write a program to calculate the average of all scores entered between 0 and 100. Use a sentinel-controlled loop variable to terminate the loop. After values are entered and the average calculated, test the average to determine whether an A, … | |
Hi All, I am trying to write perl code for extract 'C' user defined function from 'diff' format file. I am using the below keyword to identify the function 'starting pharse' (return value). I am not familar about 'C'. Please suggest some addtion return type which missing from the below … | |
Please guide me. Im begginer in Sql. Im working through task tracking system in php. I need know how to display particular username details using query? Since Im getting all userdetails by single username and password.. | |
hi I am trying to build this game. what i have been trying to build for a long time now. it is a multiplication java game that need random numbers to generate it goes like this difficulty level-easy: this difficulty level easy has 3 rounds. the student must be tested … | |
Hello, I'm seeking an onmouseover event to detect when the mouse hovers the top of the webpage. I'm only able to find onmouseover events for the whole page. How to restrict to just the very top of the page? Need only support modern browsers, simplest method possible. Thx! (also asked … | |
Hello, I am using simple web application, But I want to upgrade the PHP version 5.25 to version 5.3 which is mostly recomended thank you | |
I created a 2D array and filled it with random values from 0 to 100 and now i'm trying to find the average and maximum number of all the value inside it. But i'm having serious problems understanding the problem with my functions and how to connect them in the … | |
I keep getting this annoying error followed by a really long message when trying to retrieve and match data from database, here is the code try { string connection = @"Provider=Microsoft.ACE.OLEDB.12.0;" + @"Data Source=c:\Users\PC\Documents\Visual Studio 2013\Projects\WindowsFormsApplication1\WindowsFormsApplication1\Main database.accdb"; string Query = "SELECT * FROM [Firebird m0 Damage] WHERE textBox15= '" + … | |
am stuck on some lines even after reading several tutorials and answers. // set up a row for each record echo "<tr>"; echo "<td><a href='vieworder.php?ID='>" . $row->ID . "</a></td>"; echo "<td>" . $row->Subject . "</td>"; echo "<td>" . $row->Level . "</td>"; echo "<td>" . $row->Deadline . "</td>"; echo "</tr>"; the … | |
Does anyone use FreeImage with VB6?? I have used this combination quite a bit over the years, but am stuck on something that I can't get working. I want to open a jpg image, rotate it by 30 degrees (or whatever) and then paste the resulting image onto another image. … | |
Hi I'm trying to get reviewerid, firstname and last name through a drop down selection box in my html form. The code below is line 26-38 from the attachment. Currentl, it echoes to the browser much of what you see here, rather than pulling the data and displaying it in … ![]() | |
I have a class where there are a few `static final String` variables that have few values that repesent color values. The class is basically used to get the color values. Is it better to convert this to enum? public class Color{ public static final String GRAY50 = "#808080"; public … | |
hi I am getting this an java.lang.array index out of bound exception: 2 error - I am wondering if this is where am getting it. look it over many times, and I know you all are tired of me but am learning. I like the array but it can be … | |
All, I'm trying to call in my first dyanmic JavaScript function OpenDynamicPic the BreedVideoOpen(videopath) function so that the dynakic image appears on the left and a video appear on the right - however I seem to be getting the BreedVideoOpen functions output keeps appearing in the top left of my … | |
Hi, i have form in my jsp , which when submitted ,calls javascript which will inturn submit the form , this is working fine in IE. but when i submit from chrome , i get below error. -version:2.5]] Servlet failed with IOException weblogic.utils.NestedRuntimeException: Cannot parse POST parameters of request: '/integration/r5/wfsworklist/WFTaskUpdate' … | |
Hi, I'm wondering what could cause this type of runtime error: My program basically reads data from different kinds of data files, either a minute data file or a 5 minute data file and then does some analysis. When I run the program on the 1 min data, no problem. … | |
see my MemoryDc and BitmapDC class's: class MemoryDC { private: HDC memoryDC; public: MemoryDC () { HDC hdc=GetDC(GetDesktopWindow()); memoryDC=CreateCompatibleDC(hdc); ReleaseDC(GetDesktopWindow(),hdc); } operator HDC() const { return memoryDC; } ~MemoryDC () { DeleteDC(memoryDC); } }; class BitmapDC { private: MemoryDC hdcbitmap; HGDIOBJ bitmapold; HBITMAP bitmapcurrent; int intwidth; int intheight; void init(int … | |
I have a problem with a project i'm working on, and I was wondering if it was possible to do what i'm thinking. Basically I have a simple mathematical GUI. I want it to take 2 inputs multiply them and output the answer. I am doing this all through the … | |
Hi Everyone, I need some advice...i am building a website for a client and would like to integrate a feature where when he creates a new blog post on the site a link to that post is sent to all his social media platform how would i go about doing … ![]() | |
How to search a string in table i.e. searchstring = "Gandhi Chowk" actual code: if(isset($_POST['companyId'])){ $companyId = $_POST['companyId']; } if(isset($_POST['RouteName'])){ $routeName = '%'.$_POST['routeName'].'%'; } if(isset($_POST['cityName'])){ $cityName = $_POST['cityName']; } // We Will prepare SQL Query $STM = $dbh->prepare("SELECT routeName FROM route WHERE routeName LIKE :route"); // bind paramenters, Named paramenters … | |
Could someone please explain to me the purpose or reasons for using Dispatcher.Invoke? I am getting the error: *The calling thread cannot access this object because a different thread owns it. * and a quick Google search suggested that was due to not using Dispatcher.Invoke (they also said it was … | |
Hi there, I've created a new C# WPF project. The first MainWindow displays a listbox of images within a folder and displays them inside a larger image object. I am trying to get Window1 to open a fullscreen version of the selected image, that changes depending on what image is … | |
Hi everyone, I need help in selecting between date ranges. I have two dateTimepicker and want to retrieve only records selected between selected dateTimepicker.I tried but im getting all records. I'm using SQL server database. Here is my code: selectQuery = "SELECT * FROM EmployeeRegistration WHERE EmpJoinDate BETWEEN '" & … | |
Im making a simple login form for my project and I faced this annoying database connection problem. The problem is I can't connect to "MSACCESS2013" it directs me to my errorhandler but I'm pretty sure my datasource is correct. I already created a datasource and I'm using its connection string. … | |
Hello All i'm new to jsp developing and i'm working on a site contain news page and allows user comments . i already do it but having 2 problems first that i have to refresh after submit comment to show comment second that every time i refresh the comment is … | |
Hello There, Can I someone explain this problem. I dont understand what mean. I have read over and over i still dont get it. Assume you need an application that operates on two kinds of data types D1 and D2. Both D1 and D2 need to be defined with typedef. … |
The End.