132,726 Archived Topics
Remove Filter ![]() | |
Sir, I need a java program (ie), if we mark a part of an image, the portion with same intensity in that image should also be segmented and saved separately .. Thanks in advance.. ![]() | |
Hey there,I'm looking for assistance with my simple code here. Why do my integers ( x,v,z,d,e,f,g,h ) suddenly change when the program reaches the " printf("The decimal value is... " part? Is there something I'm missing? [CODE] #include <stdio.h> #include <stdlib.h> #include <string.h> int main() { int Binary[7],x,v,z,d,e,f,g,h; Binary[0]=x; Binary[1]=v; … Software Development c++ | |
I have an assignment to get the area and perimeter of a rectangle. I have to set the width and length to 1 initially and use set and get functions. I have the following code but am not getting the correct answers for area and perimeter. Any suggestions? Rectangle.h [code] … Software Development c++ | |
I'm writing a program that takes records(first and last name,id and mark), reads them from a file and inserts the information in StudentRecord structures. For some reason,when I go to list the information, the first and last name strings in each structures are all the same. The first and last … | |
Here is a snippet from my _layout.cshtml file from one of the projects I am involved with... [CODE]<link href="@Url.Content("~/Content/themes/ohl/jquery.ui.all.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/themes/ohl/jquery.ui.selectmenu.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/themes/ohl/jquery-ui-1.8.16.custom.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/themes/ohl/jquery.checkbox.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/themes/ohl/jquery.safari-checkbox.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/themes/ohl/jquery.autocomplete.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/PagedList.css")" rel="stylesheet" … Software Development asp.net javascript-jquery software-architecture ui-ux | |
using System; using WebApplication1.mdws; using System.IO; using System.Text; namespace WebApplication1 { public class MdwsDao { QuerySvc _svc; public MdwsDao() { _svc = new QuerySvc(); _svc.CookieContainer = new System.Net.CookieContainer(); } public void connectAsJohn() { _svc.visitSite("foo", "523", "523", "SMITH,JOHN", "3050134", "999999999", ""); } public string[] ddr(string vistaFile, string vistaFields, string flags, string … Software Development | |
now i'm writing a method which is checking the ip already exist or not [CODE]private boolean EXISTIP(String s) { boolean result = true; try{ for (int i = 0; i < Client_list.length; i++) { if (Client_list[i][0].equals(s)) { return true; } else { result = false; } } }catch(Exception e){ return … Software Development java | |
Hi, im new to all this programming stuff and i am a total novice, so please treat me as such. By this friday (27th), i need to program a user interface for a driving simulator, including a picture box(or similar) with images to show basic direction or something, a gas, … Software Development c# user-interface | |
If I go to [url]http://localhost/somefolder/somepicture.bmp[/url] I cant see if in my navigator. Now If I go to C:/somefolder/somepicture.bmp It works perfectly. This is completely driving me crazy. I really have no other methods that I could try to get this to work. Ask questions and Ill try to give answers..... … | |
So here is my assignment: Write a java program to read a name from user . The name is typed all in one line. The name may include 3 or 2 or 1 part from: firstname middlename lastname You should create an email id from the name and print it. … Software Development java | |
Hi All, I need a help converting CP437 ([url]http://en.wikipedia.org/wiki/.nfo[/url]) to UTF-8. Its like this online converter.. [url]http://kanjidict.stc.cx/recode.php[/url] EG: I need this â–„ converted to [CODE]▄[/CODE] & #9604; with a space because this software converts it already Look for samples on the internet but cant find any.. Im total noob so … Software Development vb.net | |
Java: I have a bunch of stuff drawn to the blank space of a JApplet app. I need to add a JButton at a specific location. I don't know how. What's the easiest way to do this? Software Development java | |
Hey guys I'm working on some app for school that will be easier for my class to do homework and so on... Well first of all i got app to convert Degrees, Minutes and Seconds to DECIMAL. But now i need to get DECIMAL back to Degress, Minutes and Seconds, … Software Development vb.net | |
[CODE] #include<stdlib.h> #include<conio.h> #include<stdio.h> #include<iostream.h> struct pro { int no; int btime; int atime; int stime; int etime; int wtime; int ttime; int rtime; }proc[100],junk; void sort(int n) { pro temp; for(int i=0;i<n;i++) for(int j=0;j<n;j++) { if(proc[j].atime>proc[j+1].atime) { temp=proc[j]; proc[j]=proc[j+1]; proc[j+1]=temp; } } } pro min(int n,int & t) { … Software Development algorithm c++ motherboards-cpu-ram | |
I have to make a project, where the user can see the student's fee records. He can also modify, delete and add a new record. But i am getting problem while running it. Anyone can please help me :( here is my program #include<stdio.h> #include<conio.h> #include<string.h> #include<stdlib.h> int main() { … Software Development c | |
I'm need to use the Goldbach Conjecture to write a program that gets an even number greater than 2 from the user, that checks to make sure it's even and greater than two, and then finds two prime numbers that sum to the user's number. I've tried so many different … Software Development python | |
Hi guys I need to find next highest no in a field that is a stick ref it has chars at front and 0 padded How so I strip off front chars and 0's to get actual highest no number in the table field? Am using LINQ against entity framework … | |
i have 1 listbox that contain : cloth, jeans, bra (directly from database) and 1 disabled textbox. The purpose is, when user click cloth or jeans or bra in listbox, textbox should show the price automatically, how can i do that?? this is my code to add item in list … Software Development vb.net | |
[QUOTE]I was given this project as a part of my school assignment, please note that I have very limited knowledge of the language, and my teacher won't allow using anything other than what is used in the following code (Crappy 12th grade curriculum:yawn:)... Here is my complete code, its in … | |
Hello guys, I am stuck again with a new problem. I need help with 3 things: 1. Timer 2. State Pattern 3. Disabling the button on JFrame lets go with the easiest one in the list, the Disabling of button one. I have an app with buttons, and I need … Software Development java java-swing | |
I'm trying to right a statement that depends on 2 JButtons not being enabled I know how to tell if they are enabled like this [CODE] if(myJButton.isEnabled()) { } [/CODE] But is their also a simple way to check if a JButton is not Enabled Software Development java | |
Hello, I have a strange problem. I am trying to use the tesseract library in my own project. First, I have used it in a new project, just to test it, and everything has gone fine. After that, I have integrated in a bigger project in the same way as … | |
Hi, I'm having a problem with using the streamWriter to write to a unicode file. Code as follows: [CODE] for(int i = 1; i < 1018; ++i) { std::wostringstream integer; integer << L"IDS_STRING" << i << L"\t"; wstring thisString = integer.str(); thisString = thisString + L"\"Spare String\""; wchar_t* SpareString = … Software Development c++ | |
if(strcmp(s.name, stdname)==0) is this statment is correct? i am having an error while executing this statment.. i have givn its headerfile Software Development c | |
I have to parse different fields of PAT table in this file... the file looks like this in hex editor... 47 40 00 10 00 00 B0 0D 00 00 C3 00 00 00 01 E0 21 63 0D 38 1E ...... ....... my code is [CODE] /*parse1.c*/ [B][COLOR="Green"] #include … Software Development c file-stream file-system | |
What is the difference between [ICODE]inheritance[/ICODE] and [ICODE]object orientation[/ICODE] ? Software Development java | |
Hi there, I have this coursework to do and I don't know why my code is not working. Could you help, please? Many thanks. Task 1 You are to develop a UDP server, and Client, capable of transferring a file (worth up to 60% of total available marks for this … Software Development client-server java tcp-udp | |
Hi everyone. First time poster, brand new to java but I like it. I'm comfortable with the very basics but as we move forward I'm starting to struggle. My prof is not very good about explaining things so I've been teaching it to myself mostly. My most recent assignment involves … Software Development java | |
Hey there. At the moment to close a form (like to go back to a previous form) i use this.hide(); But ive read things that some statements "Dont realy close the form, and it still runs or whatever" Is this the rigt way to close one of my forms? And … Software Development java | |
Hi,everyone My project is scanner for example. Then This is my code... [CODE]Dim htmlele As HtmlElementCollection htmlele = WebBrowser1.document.GetElementsByTagName("h3") For Each htm As HtmlElement In htmlele Dim chld As HtmlElementCollection = htm.GetElementsByTagName("a") For Each ch As HtmlElement In chld ListBox1.Items.Add(ch.GetAttribute("href")) Label1.Text = ListBox1.Items.Count & " Bulundu." Next Next[/CODE] but here … Software Development vb.net | |
I am trying to launch a process using CreateProcess() I have to modify the Path environment variable as well as add some environment variables of my own. What I am doing is I get the parent's environment block using GetEnvironmentStrings(). I basically copy the parent env block and only modify … Software Development c++ | |
Hello DaniWeb, it has been a while since I have asked a question here so I thought now would be a great time to do so. I am creating an application that loops through the file names of a specific directory, in this case, the System32 folder. I want the … Software Development display file-system vb.net | |
How to delete a node in a Singly Linked List using a pointer that points to the node? (Assume that you cannot traverse the list to find the previous node) -- With Regards Vishnu Software Development c linked-list | |
Hello there, I am using winform for printing a receipt created in vs2008.I have buttons that is printing my receipt.I have used pagesetupdialog,printdialog etc in my form programatically.What I want is to have icons of these controls which I have used the way they are availale in msword.I have got … Software Development vb.net | |
Hi All, I am currently working in a project that needs Telerik Controls in it. But this concept is entirely new to me. Please guide me with its use and implementation in a Project. I need to know even the A B C's of the concept . Thank you in … | |
I am trying do it the script to put out data after compare two file. I make the script to do that but the result was not enough. in put 1: [CODE]Num posi base 1 14183 ATC 2 26657 GGG 3 49403 GCA 4 57244 GCA 5 58068 GCT 6 … Software Development perl | |
Hi, I have three roles engineer,supuvisor and manager for my website and I have three master pages engineer.master , supervisor.master and mgr.master and i have some specific aspx pages for engineer,supervisor and manager. I want to use engineer.master page for an aspx page if engineer user is logged in and … | |
Hello, I am pretty new to programming and needed some help with one of my programs. I am trying to have the user input how many numbers they want to plug in then they plug in x amount of numbers until they reach whatever they input. After that I am … Software Development java java-swing | |
I am having a difficulty in this login form that I have made. The same as the premade template login in VB 2008 which I am using right now. Here's what happens when I run the program Log in form open > Log in successful > Main window appears *The … Software Development vb.net | |
I read a LOT of tutorials on bitmaps. I learned that RGBQuad is for 32 bit bitmaps and RGBTripple is for 24 bit bitmaps.. I'm planning on getting pixel information from a bitmap that can be of 3 types. 24bit, 32bit, 32bit with alpha (Transparent). Thing is, I don't know … Software Development c++ | |
I have a hard coded connection string that DOES work just fine- [CODE]Public urlMySQLDatabase1 As String = "Server=170.200.80.90;port=3300;Database=DatabaseName;Uid=UserID;Pwd=Password;"[/CODE] However, I want the server and port to be dependent on the values in a textbox. I thought something like this would work but it won't connect- [CODE]Public urlMySQLDatabase1 As String = … Software Development vb.net | |
I remember someone telling me that there is the heap, the stack and something else. methods are stored in ..something.. and variables somewhere - and even if they're not currently storing anything in the memory location - it's still "reserved"? 1. Does that mean it doesn't matter if I do … Software Development java | |
[CODE] import javax.swing.*; import java.util.*; import java.text.*; class myjavalo{ public static void main (String []args) { String orderStr1, orderStr2, orderStr3; int order1, order2, order3, choice; int i = 0; int menuCat,Entree, SideDish, Drink; System.out.println("\tItem" + "\t\t\tSales Count" + "\t\t\tTotal"); do{ Entree = Integer.parseInt (JOptionPane.showInputDialog (null, "Your Options Are:1 - Tofu … Software Development java java-swing | |
Okay, so I've used this without even knowing 100% about what it is. I know what it does so I've always just called it the "type of object" but I want to know what this is really called. For example, I create a class and I want it to be … Software Development | |
What would be the best approach to create the following: A groupbox that contains several labels a groupbox with an array of 8 labels in it Then the main form would have 4 of these groupboxs (object?) and I would need the ability to change the color and text of … Software Development vb.net | |
HI this is pradeep, i m vb.net learner,my English not good dont mind what i need is i what to get all information within the parenthesis of Sin(). for example , i have created one one textbox in my user interface. i wanted users to enter some trigonometric expresiions like … Software Development user-interface vb.net | |
i have an mdi form. always display this error on closing. i have this code on its closing button [CODE] Private Sub mdiprfct_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing If MessageBox.Show("Are you sure want to quit? ", "Confirmation", MessageBoxButtons.YesNo, MessageBoxIcon.Question) = Windows.Forms.DialogResult.No Then e.Cancel = True End … Software Development vb.net | |
I need to count the number of records in an SQL database and compare it to a text file that contains a records number. Although I know how to access a SQL database in C#, I do not know how to count the number of records, or how to access … Software Development sql | |
HI everyone, like my last post stated I am new to programming so be patient with me. I am having a hell of a time writing this program and I was hoping some of you might be able to give me some quick pointers on the structure I should use. … | |
I am writing a program about giving change. But I am having issues with getting remainders for decimal numbers. For instance I am giving $46.63 change I want to know how many $20.00 bills it has, I would have to divide it by 20. 46.63 / 20 = 2.3315 My … Software Development c++ |
The End.