199,114 Archived Topics
Remove Filter ![]() | |
Hello guys. I have more Windows Forms Application, and i want to set which Form to start when i enter in my application. For example ... first i created the first form, [B]Form1[/B], and this appears when i run my program. After, i created [B]Form2[/B] ... i want, like when … | |
New to Java. I am trying to display the contents of my ArrayList. In the ArrayList are objects based off the Class PalletLocations. If I loop through the ArrayList I just get the object name/location (not sure what it is). For example "wms.PalletLocations@30fc1f". [CODE]ArrayList<PalletLocations> palletLocList = new ArrayList<PalletLocations>(); PalletLocations palLoc … | |
When I created new project I went to [I]Solution Explorer[/I] and in [I]Properties[/I] I double clicked on [I]Resources.resx[/I]. Here I clicked on [I]Add Resource[/I] and [I]Add Existing File[/I]. Selected images been added and I can use them for darg&drop on form. My problem is I need to create sort of … | |
I'm having problems with some JS I'm working with. I'm trying to make a dynamic coverage calculator. Here is the URL of the JS engine I'm using: [url]http://www.lutanho.net/diagram/diagram.js[/url] Here is the code for the input frame: [CODE]<SCRIPT Language="JavaScript"> function Draw() { parent.rd=document.inputform.rd.value; parent.frames[1].location.href="db_display.html"; parent.thrw=document.inputform.product.value; } </SCRIPT>[/CODE] Now here is the … | |
I have this program I have to write that calculates the volume of a pool and then displays the results along with how much water is needed to fill the pool and the cost to fill the pool if the cost is .77 cents per cubic foot plus a one … | |
What I want to achieve is getting below url through submission. [url]http://www.example.com/team1-vs-team2.html[/url] For that, I need two drop down list. Both for team (team1, team2) Both team1 and team2 are fetched from single field of table database. i.e. there is no difference between any drop down list. Now, once user … | |
Hi everyone, first time here! Well I was interested in programming and thought that I might start programming first with Java. I am a complete newbie at Programming and so I thought that starting with Java will be good. What do you guys think about Java? Also I was wondering … | |
My assignment is to Write an application that reads a non-negative integer and prints the factorial of the integer using the for loop. I am hopelessly lost and don't even know where to begin with this. Does anyone have any advise to get me started? Thank you | |
[CODE]import java.io.*; public class ftp { public ftp() { URL url = new URL("ftp://username:password@ftp.whatever.com/file.zip;type=i"); URLConnection con = url.openConnection(); BufferedInputStream in = new BufferedInputStream(con.getInputStream()); FileOutputStream out = new FileOutputStream("C:\\file.zip"); int i = 0; byte[] bytesIn = new byte[1024]; while ((i = in.read(bytesIn)) >= 0) { out.write(bytesIn, 0, i); } out.close(); in.close(); … | |
Hello, I am doing a homework assignment and I am getting an "illegal character" error and I don't understand. The assignment is to use an array to calculate three mortgage payments based on three differnt rates and terms in years. Thanks in advance Y'all. [CODE] /* calculator program to fully … | |
Hi guys, I'm doing a project that assesses programmers potential, i've done a great deal of it. The abilities involved like Logic & Problem solving, ability to abstract etc. I'm having some trouble with putting questions together based on these abilities, i've read through other examples of peoples questions, and … | |
Hi guys, How to convert HTML syntax to RTF format using any existing library or dll?? any help appreciated. Thanks | |
When I write a code, I put time related codes in the beginning and at the end to see how many seconds it takes. Is it possible to write it as a module, and refer to it when i write a code just with a single line of code? [CODE]import … | |
I'm trying to call a linked server, SS2000 that has NText field and instert that data into an nvarchar(120) field on SS2008. If I execute the SPROC from SS Management Studio, it works fine. If I try to call the SPROC from my web application, I don't get any errors, … | |
[QUOTE=Ancient Dragon;278809]create a bool flag before the loop starts and set it to false. when a swap is made change the flag to true. on next loop iteration if the flag is still false then no swaps were performed during the previous loop iteration. and please next time use code … | |
I am new to MySQL and navicat as well. I have been creating a database in Access and now adding records. I added about 50 records earlier and then saved them to my flashdrive to import the new data in navicat using the import wizard. The reason I have to … | |
What are good name conventions for classes. How for example should the name be different between a base class and a derived class or an abstract class and a concrete class? | |
hello... i am a graduating student now and me and my partner is currently developing our thesis entitled "high tech coin saver". This device is just like a digital coin saver. It automatically counts every coin whenever the user put one, it is limited on counting coins, and it can … | |
Hey everyone, I'm starting a new job on Monday, and I asked if there were any topics I should re-familiarize myself with. Along with the typical data structures, they also mentioned STL. I'm not sure that we ever used STL during my college work (like most classes I assume, we … | |
hellow all i have problem that i have deployed setup for windows application.before instling this application i have to install the .net frame work is there any way in vs 2005 to create such setup when i install my application on any system it shoueld install .net frame too. thx … | |
How do I obtain the characterindex that the cursor is currently pointing at in a richTextBox. | |
I need help. Directions: Write a program called powersOf2.cpp and save it in your programs directory. This program should ask the user to input an integer value. It will then raise 2 to all the powers from 0 up to and including the user entered value. For example, if the … | |
I'm working on an assignment for Computer Science 121. The assignment is to write a program that prompts a user to input an integer and then outputs both the individual digits of the number and the sum of the digits. For example, it should output the individual digits of 3456 … ![]() | |
i have a format for printing and printin must be done in that format only also the page setup shud be shown i tried this code but not gettin anything with the format so plz help Try Dim con As New SqlConnection("conn str") Dim cm As New SqlCommand cm.Connection = … | |
Hi, Can someone help me with this issue?? I am trying to get html element from a stream this is the stream: [CODE]Dim request As WebRequest = HttpWebRequest.Create("http://www.mysite.com/") Dim response As WebResponse = request.GetResponse() Dim stream As Stream = response.GetResponseStream()[/CODE] How can I get the html elements from it? (I … | |
Hey! I've got a little problem I have no idea where to begin with. I've got a string and I need to check the insides of it. The string should be formatted like <letter><number>, for example "A1" or "F4". The letters can only be from A to F and numbers … | |
Hi I am quite new to PHP. All of today I have been working on a PHP user login script. I got it working fine, then I added some HTML to make it look better. The page shows up, but when i write my username and password in it just … | |
Hi Everyone. I have a page were I need to give the viewer the option to add their choice to a shortlist. Is it possible to do this in a pure PHP / MySQL environment? Regards | |
Hey guys I need your help I have created a database called mails with table called contact_mails . The main job of this database is to save the peoples mails and their names and the when i want to contact them i get the emails directly from my database . … ![]() | |
Hi there, hoping you can help me with a conundrum I have... What ive made so far is a page header image with 4 buttons to the side of that, which when clicked will change to a diff image (sprite image, triggered by some javascript I found on the net … | |
Hello advance, developer. Can you give me an open source CMS link. I need a tax calculator like [url]www.taxmatebd.com[/url] Please, Help me to find one php script or CMS link like above website. Thanks Samrat | |
I'm trying to make a javascript game which counts mouse click for ten seconds. The problem is that the script ignores the onclick event somehow.Here is the code. [CODE] <html> <head> <script type="text/javascript"> var c=0; var t; var timer_is_on=0; function timedCount() { document.getElementById('but').value=c; c=c+1; t=setTimeout("timedCount()",1000); if (c>10) {alert('over'); c=0;} } … | |
![]() | Hi i have been making a small login suite purely out of fun. i am using xml to record the passwords set by a user, i have coded most of it but i am baffeled by this error! here is my work so far; [code=c] private void al(String password, string … |
Hello everyone, I am facing a problem with C# code. The problem is I have developed a form with DataGridView Control. In that grid view at the last cell of each row I have positioned a DataGridViewCheckBoxColumn. Now I wish to set some data in the DataGridViewTextBoxColumn of each row … | |
Hello, I'm just a beginner (student). Now still undergo C programming class to upgrade my knowledge in C. I was asked to complete a simple program to get the output of C program in the text file as shown below. This program is to help user to consider a range … | |
Hello everyone, I have a Joomla website which are using VirtueMart. I want to watch the submit of a product (which is using AJAX) and when the request is succesful and complete then send a new XHR request to upload another part of the website. How do you think I … | |
Hello everyone, I am wondering if someone already get remote reporting from Tradedoubler by using the reportkey. I tried with cURL to get the report, but i received only the login page. So i don't know if this means that the key isn't ok or if i need to simulate … | |
Greetings, i am pretty new to C (a few weeks experience)and i can program some complex programs and small database apps yet i don't know how to program guis in C. Are there any tutorials to program guis for windows in C? (not C++). many thanx if u cn find … | |
If I declared a static variable in a header file, and the header file is included in a couple of .c files. Is there any problem? Thanks | |
Hi, i'm looking to interface C++ programs with matlab image processing and AT commands that are used for sms..The project i'm creating involves a user sending an sms which acts as a trigger, the program should read the data from the sms(it's stored in memory),it should then start a matlab … | |
Hi: For the longest time, I have been using the IDE "JCreator". I made previous games on it in the past for school, and when it would come to me implementing a background image in my game, I would make a background class, and have the image in my project's … | |
I am making a program with list of classes. I have this situation that I'm not aware of how to use: [CODE=c] class clsMyClass { private: unsigned int id, nodStart, nodStop; float pipeLen, pipeDiam; public: void AddElement(clsConducte element); [/CODE] In another part of program I will have a variable list … | |
hello to everyone! im new in C# can somebody help me with my simple problem.. I have 2 forms. First Form named Main_Menu and it has toolStrip named File,Add,Edit,Search under File theres a sub menu Login. _________________________________________________________________________________________ Second Form named Login Login form was connected in SQL Server _________________________________________________________________________________________ So … | |
Hey guys, what I want to do is have a page that only displays if javascript is enabled(or similar) in the sense that it tells users that js is not enabled and how to enable, what were doing is creating web forms and would only like them viewable if js … | |
Hey guys. Okay so here is a new assignment I have...at the moment I am not sure how to go about taking a vector representing a set and converting it into a tree. Also won't I need to create a new tree for every set? Any help or hints would … | |
Aslam o Alikum, My name is Saqib. I want to use inline and external assembly code in my c# project. but I cannot understand the method. please tell me the syntax of using inline assembly code. Tell me that how can i use external assembly functions in files with the … | |
I have been making some changes to an application that uses an ASP.NET Membership services database for authentication. I can access the database locally using windows authentication, and using my SA user. However, after moving the application to the prod. server, I can't access the DB at all. I wrote … | |
Please can anyone explain me what is meant by smarty codes or templates and what is role of smarty in PHP. | |
Can anayone help me how to retrieve the picture in Sql 2005?i need a simple a code plz help huhu, | |
For some reason, I'm having an issue getting the following code to work. I can't get it to post to my db. I'm sure I'm missing something simple but I'm an amateur, so what else would you expect. Here is the code: <?php $connect = mysql_connect('localhost', 'bestseni_dev', 'masterkey'); if (!$connect) … |
The End.