199,114 Archived Topics
Remove Filter ![]() | |
Hi, I'm developing a new website and wanted this to fit all screen resolutions type, so intuitively thought that eliminating the use of 'px' totally and using '%' to define dimensions would be better. Is this the right way to achieve what I'm trying to achieve? The strangest thing I … | |
Hello, I keep getting errors saying "Invalid conversion from pointer to integer and I have tried both of the following operators * after the variable as well as & and nothing seems to work. All input is greatly appreciated. Thank you all for your time. void Stack::print( ) { StackPtr … | |
I want to perform Gaussian Elimination on a matrix which is read in as a text file. The format of the text file is as follows: 3 1 3 2 5 0 2 4 4 3 0 9 1 where the first line is the dimension n of the matrix, … | |
Hey All, I'm an avid c++ programmer, fairly new to C#. I understand most the basics and I can get simple tasks complete in C#. I'm looking for any links to tutorials on writting a scripting language in C# if anyone has/knows any. In relation to this question, I seem … | |
Hi All, i was just wondering that can i store the data of a form using html,javascript. firstly i thought of using localstorage or session storage in html but if i save the data in my form others cant see the data if they open that page, and if i … | |
I have created a small web site with a registration page.I want to get after the user fill the registration form and click the submit button , the page must be redirected to the login page.That redirection part is not working.Here is my database connection code to add data to … ![]() | |
Hello people, i have made this .bat few years ago and its working fine for changing gateway getaway 192.168.1.1 @echo off netsh interface ip set dns name="Local Area Connection" source=static addr=192.168.1.1 netsh interface ip set address name="Local Area Connection" source=static addr=192.168.1.11 mask=255.255.255.0 gateway=192.168.1.1 gwmetric=0 exit getaway 192.168.1.5 @echo off netsh … | |
Hi, I'm making a webpage where it allows users to online book like let's say on a hotel, how do I show the users on the site the unfilled slots (dates and time) on the database? I'm using MS Access. | |
Hello This my first programming class and I noticed that someone posted the following Simply Array Process Pseudocode which is in regard to: Input a list of employee names and salaries, and determine the mean (average) salary as well as the number of salaries above and below the mean. My … | |
First off, this is a homework assignment. I am in a Software Engineering class and we're learning how to work with MFC. We're editing a basic calculator app. I don't know how to implement the backspace button (delete a single character from the edit box when the Backspace button is … | |
How to find candidate email Id from a resume (word or pdf file) in asp.net during bulk upload...I am able to extract the email ids using RichEditDocumentServer..But how to get exactly the candidate email id from a CV..Please provide a solution at the earliest.. ![]() | |
How do you get the URL of a Web Page in VB.NET ? Thanks in advance. | |
Hi I attached here a code that i have a problem with. the function CheckStatusCode() suppose to connect to uri and check the http response status. it should display on the screen the status received. usually the status is "OK" (200). but for instance if the page doesn't exist the … | |
Hi everybody, I'd like to know if there is a way to retrieve the id of a youtube video when it plays in a youtube xl page because on youtube xl the url is always "http://youtube.com/xl/" on any video. Thank you in advance. | |
Hello, I'm trying to fill a shape using TexturePaint in java. However when i'm running the codes i'm having the following errors: Exception in thread "main" java.lang.Error: Unresolved compilation problems: ImageIO cannot be resolved IOException cannot be resolved to a type at Textures. import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Rectangle; import … | |
I would like to solved out the SESSION part in ALL files. SESSION is not working properely anymore. In addition, i need to solved out the javascript errors. Objective is to access the *dashboard.php and other pages* from LOGIN.php and CREATEACCOUNT.php **WITH validation and SESSION**. There are two files: login.php … | |
Session is not working. When user do Sign IN or Sign UP, after that on every page (dashboard.php and configure.php) user email should be displayed. It is not displaying any error but it is not working. I have used md5 method for password. I have problem regarding set session. Let … | |
Hi everyone, I need suggestions. A little corporate needs to track its data with 2-3 employees making a daily data entry/updating of few records (20-30). Data must be available to other employees. They want to store data in a SQL Server db that has been already implemented. The whole db … | |
OK, I've exhausted my searching, so if someone can point me to a link with a good example, that would be super. I'm simply trying populate a combobox with data from an Access table (it's a simple contact list with Name and Number). Every example I find and try, I … | |
Hey this bit of code is giving a lot of trouble. I am new to python and have no idea why I am getting an error like this : Traceback (most recent call last): File "D:/Python27/saved/digital_filter.py", line 83, in <module> app=Application(root) File "D:/Python27/saved/digital_filter.py", line 23, in __init__ self.create_widgets() File "D:/Python27/saved/digital_filter.py", … | |
im keep getting ror: expected identifier or '(' before '.' token|error: expected expression before what am i doing wrong? #include <stdio.h> #include <conio.h> #include <stdint.h> int main() { typedef struct { char name[20]; char year[20]; int inout[20]; }movie_rent; movie_rent[20]; int i,sum=0; FILE *myfile; if ((myfile = fopen("mov.txt", "rt")) == NULL) … | |
How to solve java.lang.NoSuchMethodError: main Exception in thread "main" when i run it produce Exception in thread "main" java.lang.NoSuchMethodError:main this is coding import java.awt.; import java.applet.; public class Sepah extends Applet{ public void paint(Graphics g){ g.setColor(Color.green); g.drawLine(100,100,10,140); g.drawLine(100,100,150,120); g.drawLine(290,120,400,130); g.drawLine(410,130,500,100); g.setColor(Color.black); g.drawLine(150,80,220,40); g.drawLine(220,40,290,80); g.setColor(Color.yellow); g.fillRect(150,80,140,140); g.setColor(Color.orange); g.fillRect(170,110,40,40); g.setColor(Color.orange); g.fillRect(230,110,40,40); g.setColor(Color.black); … | |
Hello php community, Could you help me in my research? I just cannot find what I am looking for. I am working on a website with PHP and MySQL. I am trying to get a filter option on my website to fetch the information from database. Here are the filter … ![]() | |
Hi I have a textbox and a button on a html page. On click of button I want to save the value in the textbox to a particular cell of the excel file I have written the following code [code] var ExcelSheet = new ActiveXObject("Excel.Application"); ExcelSheet.Workbooks.Open("D:\\TEST.XLS"); // Make Excel visible … | |
Hi. I'm currently working on my bachelor's thesis in which i'm hoping to assess whether a (simplified) programming exam generates a "better" result if taken in an adjusted computerized environment compared to taking it with only the use of pencil and paper. I have built a web based platform, with … | |
Hey guys!!! Just found this wonderful forum.....Thanks for the guys who run this forum.. I am an Elec. & Telecom engineer... I understand Java Programming & I have more than 90% of the concepts of core-java and good knowledge of jsp,servlets,struts....I have some basic knowledge of oracle.... I have a … | |
this code compiles, but when i run the program, it outputs "floating point exception". to my knowledge this happens when you divide by 0, but ive worked it out on paper, and i am not dividing by 0. its the method implementation for a class. if you need it i … | |
i created while loop in php but it is gone infinite-the c <table width="100%" align="center"> <tr> <td align="center" width="100%"> <table width="95%" border="1px" cellspacing="1" cellpadding="4"> <tr> <?php $count=1; $columns=$no_of_days+2; while($count<=$columns) { if($count=1) { echo "<td colspan='5'>Owner Name</td>"; } if ($count=2) { echo "<td colspan='5'>Unit Name</td>"; } if ($count>2) { $cdate=$count-2; echo … | |
-->>SOmething is Confusing Me or Doesn't provide Me with actual Results I needed... -->>I want to Calculate some Numbers and Its result if It has more than 3 decimal places... -->>I want it to be rounded only to 2 decimal palces... -->>What I dont want is that when I use … | |
I am developing calendar in php.in this i created next and previous button ,but it is not working greate.I used get variable for Next and previous.but only previous button is only working.this is my code- <? if (isset($_GET['nm'])) { if($_GET['nm']==0) { $previous="pm=1"; $next="nm=1"; $month=0; } else { $nm=$_get['nm']+1; $pm=$_GET['nm']-1; $previous="nm=".$pm; … | |
**Hi forum, I've got a question for the pros. I am making a program that has map<String, String> map = new TreeMap<String, String>(); and a Scanner to read a file contains some data which is assigned to map.put(); method. The data is something like this: UK USA Canada Australia etc. … | |
Hi everyone! I'm new to using VB and apparently I'm having a problem with the value being displayed in a textbox Here's the thing: Private Sub btnRemove_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRemove.Click If DGV2.SelectedRows.Count = 0 Then Exit Sub End If DGV2.Rows.Remove(DGV2.SelectedRows(0)) Dim Sum As Decimal … | |
I am trying to read in from a .dat file, which includes a list of names a line of asterisks and a list of numbers, JUST the names in the file into nodes to be used in a linked list. All of the names will be before the line of … | |
hi there. I have a problem in making my amortization. I just only want to know how to change data grid view's command text with where conditions. this what i've got: LoanSampleDBDataSetTableAdapters.loan1TableAdapter.commandText = "Select * from Employees where ID =" & n1 Then error occurs. | |
Hi how can i randomnize the index of this array? var arr = new Array("0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20"); i want to return the index of the array randomnly. Any help? | |
$ratequeri="SELECT type FROM roomreservation ORDER BY room_no DESC LIMIT 1 "; mysql_select_db($database_ast_conn, $ast_conn); $Result111 = mysql_query($ratequeri, $ast_conn) or die(mysql_error()); $omgg=mysql_fetch_array($Result111); $rrate; if($omgg=="Deluxe Floor Room"){$rrate=350;} elseif($omgg=="Executive Club Floor Room"){$rrate=350;} elseif($omgg=="Junior Suite"){$rrate=350;} elseif($omgg=="Executive Suite"){$rrate=350;} elseif($omgg=="Presidential Suite"){$rrate=350;} $insertqueri="INSERT INTO roomreservation (rate) VALUES ('$rrate') "; mysql_select_db($database_ast_conn, $ast_conn); $Result1111 = mysql_query($insertqueri, $ast_conn) or die(mysql_error()); ///////////////////////// … | |
![]() | Hi, I would like to export data from datagridview into excel? Can show me some example to do it? Appreaciate it! |
is this code correct? Dim newform As New Form2 newform.Show() Me.Close() | |
this code gives the correct result upto size 6 (i'v run this a few times, and 6 seems to be the boundary), although the intermediate steps are all insane! then onwards, from size 7, it returns minimum value 0 /*minimum of an array using recursion*/ #include<stdio.h> #include<stdlib.h> int findMin(int* arr,int … | |
im junir for vb 2010, im tring to make small program, which when select picture in opendialog,( give path of image into text box(txtGrupAddNewArtWrokUploadImage.Text) ) copy to folder(ArtWork) which in application installed folder. i try to filecopy command using give target path like"c:\temp\image.jpg" command is working but when i chenge … | |
Hello, I am interested in working with web design and designing websites, I have made a website using the trials of adobe dreamweaver CS6 and adobe fireworks CS6, however I cannot afford to buy these softwares, I need a free web design program for HTML editing, like dreamweaver, and a … | |
Hello, I have downloaded the plugin maskedinput from: [Click Here](https://github.com/digitalBush/jquery.maskedinput) Trying to use it on a site I am developing with codeigniter and foundation framework, the index.html file that comes with it works well on my site, I get this error: TypeError: $(...).mask is not a function The jquery files … | |
Just wondering here what is a efficent way to communicate between a Windows Form project and a console application. So far im using Visual Studio 2012 and the System.IO.Pipes namespace,to send bytes between the application. In the windows form(as client) Dim pipes As NamedPipeClientStream pipes = New NamedPipeClientStream("A Digital Whirlwind … | |
Where can i download the various header files for dev c? sys/types.h sys/socket.h netinet/in.h arpa/inet.h and also structure sockadder and it's derivatives | |
I have inherited a web site that was designed in php and perl. the code was poorly designed but it has evolved into a very complex system. I am thinking about refactoring the code to make it more readable and more efficient because there is a lot of redundancy and … | |
I want to create antivirus in vb.net can any one tell me how to start creating antivirus as i am new one to .net it's an urjent please help | |
Hello, I am running a script with JQuery's $.POST the code is PHP though.It's just a basic login script that that loads from the main login page.The script itself runs fine till the end when I try to direct the user into the control panel with the header() function and … ![]() | |
Hello, I have a question. I'm not sure I am using the right terms or anything here, but, I have seen people develop their "projects" (classes etc..) and then creating a .dll file (or .lib) and then importing the files when they need them. But I cannot seem to get … | |
I dont guess anyone could help me out on setting up my products tables could they? I did search and read through these posts: http://www.daniweb.com/web-development/databases/threads/123850/e-commerce-data-design-issue http://www.daniweb.com/web-development/databases/threads/132796/database-schema-for-a-store But I'm still not sure, Currently my site will only have 3 separate products, each with their own set of attributes. How should I … | |
I have over 10 text files, each file has exactly 2671 floats e.g. 1.232124234 #line 1 2.324234323 #line 2 . . 1.324234234 # line 2671 I would like to the add together the floats on each line with the float on the corresponding line for each of the 10 files, … |
The End.