199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Acidburn

Hello guys, I'm trying to develop a application that calls another exe from my code base. The method to execute is pasted below... [CODE] private void mymethod(FileInfo file) { ProcessStartInfo startInfo = new ProcessStartInfo("jsmin.exe"); startInfo.Arguments = "<fulljslint.js >jslint.js"; Process p = new Process(); p.StartInfo = startInfo; p.Start(); p.WaitForExit(); }[/CODE] The …

Member Avatar for nick.crane
0
2K
Member Avatar for Kayla1809

Modify the Inventory Program to include an Add button, a Delete button, and a Modify button on the GUI. These buttons should allow the user to perform the corresponding actions on the item name, the number of units in stock, and the price of each unit. An item added to …

Member Avatar for mKorbel
0
102
Member Avatar for tanu963

I'm having trouble while creating FaceBook style Wall. I'm not getting how to create database and post status or images or link to database Please help me to create FaceBook style Wall Following is my wall page code [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> …

Member Avatar for Stefano Mtangoo
0
275
Member Avatar for federerforehand

I got dinged points for these: Instructor wants 1. The class is divided into multiple methods, mentioned a Constructor instead? 2. The toString method is included in the Card class to return the face and suit. What did I do wrong? How do I fix it? I am pretty lost …

Member Avatar for adarshcu
0
138
Member Avatar for Rajucb

sir i have using asp.net to create login form by using c# language. i have created one table i,e Registration table. in that username and password are the atributes. the problem is while am going to register new user the given data is not inserted into table and while am …

Member Avatar for hericles
0
107
Member Avatar for jacob21

Hi I am new to asp.net/c#.i am trying to send email. Its working fine in some servers but getting below error on one server. Acc. to my understanding its due to config file.Is it possible 2 config file in single project. Need suggestions. Compilation Error Description: An error occurred during …

Member Avatar for jacob21
0
130
Member Avatar for mayreeh

please someone give me a code to delete a file in a folder, ie one code to be used on a variety of file deletion

Member Avatar for Stefano Mtangoo
0
112
Member Avatar for uBup

Hello! I am making a page where users can create a profile, but I fail everytime I try to make a update profile page. It won't take my codes, and it doesn't show errors (i have error reporting on). I have very short of time to finish this project, and …

Member Avatar for Stefano Mtangoo
0
277
Member Avatar for nickg21

Hey everyone, I'm fairly new to ASP.Net and VB, but I have been learning pretty well. I have created a loop to go through one "View" section of a MultiView step form, and find which checkboxes have been checked. Depending on the boxes checked, I am trying to create new …

Member Avatar for crishlay
0
221
Member Avatar for daniel36

i need to develop page to show the data in multiple pages.page numbers should be shown at the bottom. on click on page no. the website will show data of that page like google search.probably it is called penigation.

Member Avatar for Stefano Mtangoo
0
89
Member Avatar for midgarsorm

Hello I'm using visual studio I need help making a program where a txt file will be read. my program should read all the test scores in the line and will stop when -1 is entered example input file joshua 90 89 -1 michael 76 80 89 -1 Shawn 78 …

Member Avatar for midgarsorm
0
112
Member Avatar for davy_yg

contact_us.php [CODE] <form action="contact.php" method="POST"> <table border="0" cellpadding="2"> <tr> <td>Name : </td> <td><input name="nama" type="text" value="" size="30" /></td> </tr> <tr> <td>E-mail: </td> <td><input name="email" type="text" value="" size="20" /></td> </tr> <tr> <td>Your message : </td> <td><textarea name="comments" cols=30 rows=6></textarea></td> </tr> <tr> <td></td> <td><input name="send message" type="button" value="send message" /> </table> </form> …

Member Avatar for Stefano Mtangoo
0
140
Member Avatar for ananth3125

hi, i had created a form with datagrid view , in that a table is linked with MS Access database , i need the coding steps in vb.net

Member Avatar for ananth3125
0
145
Member Avatar for normanallen

I have been using Visual Studio C++ 2010 Express to do some work, which has now succeeded after a lot of trouble. I wanted to go one step further but it seemed that I would need the full 2010 .NET software to achieve this. I downloaded Microsoft Visual Studio 2010, …

Member Avatar for normanallen
0
193
Member Avatar for xfbs

Hello everyone, I have just written some code that measures a system's [URL="http://en.wikipedia.org/wiki/FLOPS"]FLOPS[/URL], but before I wrap it in a class and make a GUI for it, I would like to know what you guys think of it, if you can see any bugs and/or if you got any suggestions …

Member Avatar for vijayan121
0
2K
Member Avatar for rpv_sen

Dear Friends i am having n textbox. I want to validate the text box, So please any can help me to solve my issue. I have also enclosed the screen shot of the design

Member Avatar for rpv_sen
0
143
Member Avatar for grh1107

Hey, Im having trouble writing a function that will take a limited running average from a file. the running average works just fine, its just when i try to limit the input, i just come out to inf. could it possibly be that im using a static double for the …

Member Avatar for vijayan121
0
224
Member Avatar for mjmythili

Hii friends, I am interested in learning DirectX. Can u plz suggest me which book to follow. I want to develop some games in DirectX. Which book shall i follow?

Member Avatar for alanlawson123
0
123
Member Avatar for uhgarrett24

I have completed the attached project. I used Visual Studio 2010 to do this project. I can view the website just fine when I am in VS 2010, but when I upload the files to a web server and try to view to main page, I get error messages. Please …

Member Avatar for crishlay
0
85
Member Avatar for JNicoleKMC5

Ok, I am def a beginner in writing code (use to be ok, but haven't done it in soooo long, so I am very rusty). Let me give a little background about the program I am trying to write before I get to my question so that it makes a …

Member Avatar for vijayan121
0
170
Member Avatar for mrjimoy_05

How can I replace the text of a label control contained in a formview? I've tried to use the code below: [CODE]Protected Sub FormViewNews_DataBound(sender As Object, e As System.EventArgs) Handles FormViewNews.DataBound Dim pagerRow As FormViewRow = FormViewNews.BottomPagerRow Dim Active As Label = CType(pagerRow.Cells(2).FindControl("OFMLabel"), Label) If Active = "False" Then Active …

Member Avatar for crishlay
0
164
Member Avatar for karisma

Can ne1 pls help with how to subtract two large integers stored as an array. i need to do the same for calculating the jacobi symbol. thanks :)

Member Avatar for WaltP
0
420
Member Avatar for riya_developer
Member Avatar for crishlay
0
292
Member Avatar for karthik82vk

Hi, I am creating a web application and i am using sqlserver 2005 as back end. I have a page with a radiobuttonlist, a textbox and a submit button. The user needs to select one option and enters values in the textbox. Once he submits the appliation need to insert …

Member Avatar for crishlay
0
175
Member Avatar for Unethikal

I need help on sorting strings, particularly complicated ones.I had to read in data from a text file Textfile.txt Xiao Wang 135798642 Lucie Chan 122344566 Rich Morlan 123456789 Amir Khan 975312468 Pierre Guertin 533665789 Marie Tye 987654321 I managed to put them into an array using this user-defined function (not …

Member Avatar for raptr_dflo
0
217
Member Avatar for compulove

I wrote a code for a user to enter in their username and authorization, database and datasets and some other information all to be verified within the code. The code works fine but the problem I am having is basic formatting making it run cleaner and checking for all user …

Member Avatar for crishlay
0
149
Member Avatar for solomon_13000

I attempted to get the records from the MySQL database and display it on a Grid View but nothing appeared. The code is below: [ICODE] using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using MySql.Data.MySqlClient; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) …

Member Avatar for crishlay
0
448
Member Avatar for fanfunstar

Anyone can help me with this algorithm? 1 set up stack in and print it 2 while stack in is not empty repeat 2.1 max = in.pop 2.2 while there are still element in stack in repeat 2.2.1 value = in.pop 2.2.2 if value > max 2.2.2.1 temp.push(max) 2.2.2.2 max …

Member Avatar for raptr_dflo
0
2K
Member Avatar for mayreeh

below is my code.. bt cant delete the file, help please...y cant it delete? function deleteFile($id_file) { $infoFile = $this->getFileInfo($id_file); $folderPath = $this->folderPath($infoFile["id_folder"]); if (substr($infoFile["file_name"], 0, 3) == ".ht") { $this->error = 6; return false; } if (!file_exists($this->root . "files" . $folderPath . SEP . $infoFile["file_name"])) { $q = "UPDATE …

Member Avatar for mayreeh
0
125
Member Avatar for indrajeet6

[B]Hi I would like some helpful hints on how to make a program to: 1)Create a Binary tree 2)Traverse said tree in Preorder form. Thank You [/B]

Member Avatar for suyash_iiit
0
207
Member Avatar for AndyPants

hello, im working on a file transfer program but a cant figure out how to make the main function work, i have spent hours on Google trying to find a solution... but i cant. Now, as you probably have guessed: the main function is to transfer files over the internet, …

Member Avatar for GeekByChoiCe
0
2K
Member Avatar for drelix01

I have a Simple file browser on my php, and everytime I enter Open index.php file in my localhost, the file appears, but when I upload them in my server, the file cannot be seen, I made all the file permissions to 777 and still no luck... I think i …

Member Avatar for drelix01
0
119
Member Avatar for fairy1992224

I had managed to let users upload the image and save into the database and the folder. I need to generate thumbnail from the image and save into the database and the folder as well. But there is some error with generating thumbnail. Can someone help with me with it? …

Member Avatar for hericles
0
173
Member Avatar for Daigan

Hi, so I'm new with Java and the programming thing. Here's my problem. I need to do an errortrap without using a loop and creating a method solely for errortrapping so I figured i need to use try and catch statements but I'm not sure how. Basically my problem is …

Member Avatar for Daigan
0
127
Member Avatar for markdean.expres

Guys I have been creating a program that copies and moves files from folder to folder; I am using this sort of code; fileToCopy.CopyTo("path here...") or FileToMove.MoveTo("path here...") My problem is, when I am copying or moving a large file, It's taking so much time and my program is hanging …

Member Avatar for GeekByChoiCe
0
175
Member Avatar for Arun Vir Singh

Hi, i want the difference of time between clicking two buttons in a label. i tried most of the things but not working for me. could anyone provide me the exact coding for this. There are multiple coding already there for those buttons however i want to use it to …

Member Avatar for WaltP
0
137
Member Avatar for tallygal

Here is what I have to do. this code needs to be modified to be able to enable the user to select a file in which to store grades. The application should allow the user to write any number of grades into that file and it should write one grade …

Member Avatar for tallygal
0
232
Member Avatar for shenanigans902

Hi, I keep getting the error message "Missing return statement" after my if else controls. I have return controls, I'm just not sure if I can implement multiple returns. For example, I am trying to create a method in which the middle value of a sequence of numbers is returned, …

Member Avatar for thines01
0
1K
Member Avatar for MeSam0804

hi, I wanted to get the directories in a specific path and I wrote that by threading programming but when I call [CODE]waithandle.waitall(mywaithandles)[/CODE] , I get the unhandled exception of type 'System.ArgumentNullException' occurred in mscorlib.dll Additional information: Value cannot be null. error. Can anyone help me what to do ? …

Member Avatar for MeSam0804
0
316
Member Avatar for akingcool

Hi, I am a complete newbie when it comes to programming, the only real knowledge I have was when I created a program 3 years ago in Visual Basic. I guess I know the theory behind programming concepts but have no idea what to do in Java. Not sure if …

Member Avatar for akingcool
0
419
Member Avatar for dolfan55aj

I'm trying to do an analysis of buildHeap vs. inserting an array of n values one at a time into a heap. I have a random case, best, and worst case. I was wondering if anyone knows what would actually be in an array to make the best and worst …

Member Avatar for raptr_dflo
0
379
Member Avatar for MachDelta

Another newbie question here. What's the difference between these two? [CODE]cin.ignore(cin.rdbuf()->in_avail(), '\n'); cin.ignore(numeric_limits<streamsize>::max(), '\n');[/CODE] I understand that the former will ignore only the characters [I]left[/I] in the stream buffer, while the latter tries to ignore characters equal to the [I]size[/I] of the buffer. So the end result should, normally, be …

Member Avatar for MachDelta
0
133
Member Avatar for akingcool

Hi, I am trying to make an array to read txt files. I have hard coded it to 3 for the array but I would prefer for it to be able to read the txt files to see how big the array should be. I have implemented some code to …

Member Avatar for akingcool
0
190
Member Avatar for FinaL111

I have a question regarding the use of malloc and realloc: for this, "part", of my assignment, I have to read in every word from a text file and count the number of times it appears in a text file. The definition of a word in this assignment is very …

Member Avatar for NerdyChick27
0
325
Member Avatar for Kerok

I need to write a program where the user input their name, the program will tell them 'Hello,' and then show the user's name backwards. This is what I have: [CODE]INCLUDE Irvine32.inc .data pleaseEnter BYTE 'Please enter your name: ', 0 StringName BYTE 30 DUP(0) yourName BYTE 'Hello, ', 0 …

Member Avatar for Kerok
0
979
Member Avatar for myrongainz

[CODE]string rev; for(int i =1; i<=(int)user.length();i+=2) { rev = user.length[i+1]; rev = user.length[i]; } [/CODE] this is a part of my code where "user" is the user inputted text. I'm trying to get the output to do this. input - square output - er au qs I've been stuck on …

Member Avatar for myrongainz
0
134
Member Avatar for subone

Hi guys, I want to find the sum of numbers(inclusive) between TWO integers inputted by user. Example: if user enters 1 and 4, then it outputs: Sum = 10 I just started my code: [CODE]public static void main(String[] args) { int number1 = 0,number2 = 0,Sum = 0; Scanner input …

Member Avatar for aspire1
0
305
Member Avatar for mehnihma

I don't know what am I doing wrong, When I input number of courses it won't loop again just once? What is wrong with the code? Thanks [CODE] // EX 3 import java.util.*; // program uses class Scanner public class ComputeGpa { public static void main(String args[]) { // create …

Member Avatar for stultuske
0
125
Member Avatar for NerdyChick27

I have an assignment with a slightly strange implementation of priority queues using a binary tree. I'm really having trouble trying to understand how to make my insert function work when the parameters are as follows [CODE]void insert(tree t, void* item)[/CODE] where item is the data going to be inserted. …

Member Avatar for NerdyChick27
0
213
Member Avatar for kipslem

Hello, could anyone please help me with this? I have a form with 4 comboboxes. The comboboxes are SBUName, Maindepartment, Team and Staff. When the High level combobox which in this case is the SBUName is selected then the preceding lower level comboboxes will all be populated with data (by …

Member Avatar for kipslem
0
198

The End.