132,726 Archived Topics
Remove Filter ![]() | |
is there any way one could do a square root program without sqrt or pwr functions? Any tips? I am not asking for code btw.:) Software Development c++ | |
I am trying extract 5 numbers from a loop that generates 78 numbers randomly. How would i do that? for(i=0; i<=78; i++) { //i am not sure how to extract the numbers from here randomly } //I am also wondering how to take it's average, or am i doing it … Software Development java | |
I'm stuck on this problem for about 2 days now and i still can't find a way on how to bind my data column on the combobox. need help guys i really appriciate your help. And this is the code i have made so far. Private Sub Form_Load() adodc1.ConnectionString = … Software Development visual-basic | |
I know that there are plenty of open source implemenations of AVL trees out there but I was wondering if it is possible to have a AVL that has repeat entries. I want to use one so I can search records by various fields. Eg I would have one for … Software Development c++ open-source | |
i want to search for an item in a datagrid view via a textbox .. so i type something in the textbox like the product name .. and he finds it .. i use visual studio 2010 and access database Software Development vb.net visual-studio | |
I have a vector<purchases> v where purchases is defined as: struct purchases { string name; int amount; string item; }; vector<purchases> v; I need to find the 3 top buyers. ie. the name of the top 3 people with the highest accumulated amount. The problem I have is when I … Software Development c++ | |
Hello, I am working on an arbitrary precision arithmetic library. I already created a version that just stored numbers as "before decimal point [unsigned array]" and "after decimal point [unsigned array]". The issue is that it is both inefficient and incomplete. I would like to incorporate complex numbers into the … Software Development algorithm c++ linked-list | |
How can i capture and transmitt and recieve audio and video using jmf ? Is is possible to provide gui to clients on applet and make authentication mechanism and database connection aur user credential through java servlet? How can i provide feature of adding friends and showing online status of … | |
Hi I have to develope video chatting application for my major project. I have 45 days in hand. How can i use applet in dynamic web project of java servelt for displaying video ? How can i make applet to be used on client's browser. what is the way to … Software Development java video web-browser | |
Hi. In a video chatting application , how can i provide user with the feature of adding friends and showing the list of online friends. Also how can i capture audio and video and transmitt(sender client 1) and recieve (reciever client 2) using jmf and rtp . I have studied … | |
Hi, I am implementing an applicaiton which uses CPU but having a problem about allocating in GPU memory. Above all, my work environment is Windows 7 Visual Studio 2010 NVIDIA Quadro NVS 290 (256MB) When I run a piece of CUDA code: cudaMemGetInfo(&freeMem, &totalMem); I get 256MB of total memory … Software Development c++ display motherboards-cpu-ram | |
Greetings, My name is Micah, I live in the US and I am a recent graduate in the field of Computer Science. I have experience in C++, C# and Java but only basic console programs and minor OOP. I have a little database administration experience. I currently work in the … Software Development c++ career oop open-source | |
Hi all, This is kind of related to another thread I posted in C++, but I thought I'd go the VB.NET route and have a co-worker help with the C++ conversion if needed. I hope I'm getting pretty close with this... Const MinMsiVersion = "3.0" 'Minimum version to support functionality … Software Development vb.net | |
As state previously, I'm a newbie at coding in VB and have much to learn. I'll appreciate your input and knowledge! I'm creating a Order Entry form. I have the database in place with some "test" items in the in the table. I now want to begin creating a new … Software Development vb.net | |
what i want is to put a range in the textboxes like 1-100 and will not accept if it is greater than 100 or a negative number... hoping for your response... Software Development visual-basic | |
![]() | Hi Guys, I was trying to code in C for the following. You are given with 2 files, file1.txt and file2.txt. The contents of the file contain INTERGER values. Add the contents of the file and write them to another file file3.txt. My code is as follows #include <stdio.h> #include … Software Development c file-system mathematics ![]() |
I just dragged a menustrip from the tool box and put in some text like "File" and on the drop down menu is "Event Registration" text. I dont know the codes for the menu strip on how to link it to another form. I've already created a form named Eventregistration.vb … Software Development vb.net | |
im creating a simple calculator and i dont know how to disable letter in the textbox.. can someone help me please...newbie here....BTW im using VB6... Software Development visual-basic | |
Hi all, I will be using the USRP Software Defined Radio to receive satellite signals for a project. I have been looking around, but I can't seem to find any tutorials that can help me do this. I know that the USRP's have an API that interfaces c++, but have … | |
I have a text file containing the following content: 0 12 1 15 2 6 3 4 4 3 5 6 6 12 7 8 8 8 9 9 10 13 There are no spaces between two rows but there is a space between two numbers. I want to read … Software Development c# | |
Hi I have girdview with product id and price when the user select row from gridview the product id shpuld be added to listbox and when the user click on delete button the selected row in the listbox should be removed from the gridview .. here is my code for … Software Development | |
hello, i was only wondering if there were other ways of making a quadratic formula calculator in python. i recently made one my self by making a module i named quadratic which is shown below: def get_coefficients(): a = float(raw_input('a = ')) b = float(raw_input('b = ')) c = float(raw_input('c … Software Development python | |
def binary_search(data,key): found=False low=0 high=len(data)-1 while(not found and low<=high): guess=(high+low)//2 if (key==data[guess]): found=True else: if (key<data[guess]): high=guess-1 else: low=guess+1 if(not found): guess=-1 return guess def test(): seq = [] for i in range(1,1001): seq.append(i) for j in range(1,100): is_pass = (binary_search(seq,j)==j-1) assert is_pass == True, "fail the test when key … Software Development python | |
** //When an item from the list is selected, a checkbox along with the drawn graphics schould appear. but only the graphics appear. Help? *basic** import java.awt.*; import java.applet.*; import java.awt.event.*; import java.awt.Checkbox; public class GetSelectedItemExample extends Applet implements ItemListener { Choice c; CheckboxGroup g1 = new CheckboxGroup(); Checkbox checkBox1 … | |
Hello, I have been having quite a bit of trouble with this one. Can someone please tell me how many swaps it would require to sort the following array? {2, 4, 6, 3, 7, 1} I tried putting my counter in a couple of places and neither one of them … Software Development java | |
Hi, I'm adding day shift column where current month (I'm using datetimepicker for extracting month from it ) but getting this error Conversion failed when converting date and/or time from character string Here is the code Dim str10 As String = "Select COUNT(DayShift) FROM Attendance WHERE AttendanceStatus = 6 AND … Software Development vb.net | |
Hey all! I am trying to write a piece of code that will replace one of my system files on reboot with a new version of that file. Hopefully someone out there has some experience with this as I am stumped at the moment. Using: VB.NET 2012 Using MoveFileEx Public … Software Development api vb.net windows-api | |
Please help, i do not know whats causing the problem... Dim miqty As Double Dim mitc As Double Dim siqty As Double Dim sitc As Double Dim diffqty As Double Dim difftc As Double Dim dvqty As Double Dim dvtc As Double dvqty = dynavqty.Text dvtc = dynavtc.Text Set editSIrs … Software Development visual-basic | |
Here are the errors Binary.cpp: In function `std::istream& operator>>(std::istream&, binary&)': Binary.cpp:24: error: `nodeType*binary::head_ptr' is private Binary.cpp:114: error: within this context Binary.cpp:24: error: `nodeType*binary::head_ptr' is private Binary.cpp:115: error: within this context Binary.cpp:115: error: call of overloaded `list_clear(nodeType*&)' is ambiguous Binary.cpp:28: note: candidates are: void list_clear(nodeType*&) Binary.cpp:56: note: void list_clear(nodeType*) Binary.cpp:24: error: … Software Development c++ linked-list | |
Hi Guys I was just wondering how you stop the combo box from displaying different instances of the same value. In the combo box i have villages and towns names e.g doolin. onli thing is i have many businesses from doolin on the database so when i pull the town … | |
how to downalod windows.h header file Software Development c++ | |
## On Form_load three labels are inserted dynamically to the TableLayoutPanel.On clicking the first label, two labels popup as submenus. Now my isuue is, on clicking the second label, its submenu labels are appearing under the first label instead of second label. Where might be the problem?## Public Class Form1 … | |
trying to make a table tennis game. simple one with two paddles and one ball. so i have two paddel which is a long rectenger. and a ball. ball i have set x+=dx y+=dy this code above will let the ball keep on going right and down. if ball hit … Software Development java | |
!! i was trying to create a simple grading system but my project doesnt work it always shows the last if statement and ignore the other statement...please help here's my code...can someone please tell me what's wrong coz i dont know how to use if/elseif/else statement... newbie here...please help Private … Software Development programming-construct visual-basic | |
hi everyone... my problem is i got 2 command button named command1 and command2..what i want to happen is when command2 is click the function of command1 will work... can someone please help me... Software Development gui visual-basic | |
hi, im using vb6 and i dont know how to work on a commandbutton that will trigger to another form. For example, i have a commandbutton in form1 and when i click it, there will be an effect in form2. Example, form1 1+1 and the answer will go to form2. … Software Development visual-basic | |
Hello Guys .. I want to understant how to share my Database to the other Computer USing IP address.. Anyone can show me the code for connection.. This is my Code, acd.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\POS.mdb;Persist Security Info=False" acd.CursorLocation = adUseClient where can i put the ip in … Software Development open-source visual-basic | |
HI, IF i run my VB.NET Application. IT shows"Unhandled exception has occured.Connection was not closed.The Connection's current state is open". Kindly Suggest How to Solve this Problem. Software Development vb.net | |
Hello, I need help to read entire string line with white spaces. I tried many ways but they didn't work :| If I remove `cin>> company_name;`the run jumps to `std::cout << "Enter the symbol of the company: ";` without completing reading company_name from the user! AND, If I keep `cin>> … Software Development c++ | |
Hey I'm trying to add pairs of numbers into an array by placing them into objects then putting the objects into the arrays but I seem to be having a problem with some part of my code. When I run the following example I just get the following back : … Software Development java | |
I'm coding a contact manager using a doubly linked list that is manipulated by functions using pointers that reads in a contactList.txt file.But when I coded the first function to do a search I got the following error list: Error 8 error C2059: syntax error : ')' C:\Users\Brian\Documents\Visual Studio 2010\Projects\G00290342Manager.c\G00290342Manager.c\ContactManager.cpp … Software Development linked-list visual-studio | |
Well this is my problem..the code below is to display the grade that is associated with the points the user enters. Now, my problem is how can I have a message display an error message when the user enters a number above 500 or my array..any help is greatly appreciated. … Software Development vb.net | |
All, I wonder if anyone has an opinion on this. What's better, this: // Diagonal checks if (board[0][0] == turn) { if (board[1][1] == turn) { if (board[2][2] == turn) { System.out.println(); System.out.println(turn + " IS THE WINNER!!!"); writeBoard(); return true; } } } Or this: // Diagonal checks if … Software Development java | |
Alright. I've just been told that, instead of creating new forms over and over again using *new FormName();* I should simply open 1 form and then hide/show it as I please. The issue now is, that I don't really know where/when I should create these new form instances and how … Software Development | |
I'm trying to use the Import/Export Wizard to import data from an Excel File to the SQL Database. First, know that I'm trying to run it as an "Administrator". I've had issues because it wouldn't let me log in. So I'm trying it this way. I'm following the steps as … | |
Hi ,i am trying to create a program to check my e-mail.It's OK ,but i can't login... I used fiddler to trace the request which were send from my PC and I receive that: POST http://www.example.com/login.php HTTP/1.1 Host: www.example.com Connection: keep-alive Content-Length: 346 Cache-Control: max-age=0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Origin: http://www.example.com User-Agent: … Software Development first-post | |
I am trying to send Data from text boxes in my windows form to specific cells in excel. I am forgetting to do something because i keep getting this error... Error 1 'ExcelWorkbook1.ThisWorkbook' does not contain a definition for 'textBox1' and no extension method 'textBox1' accepting a first argument of … Software Development assembly | |
here I have problem. I need the code for creating an answering machine for the landline phone wherein it automatically connects to voice module immediately after 3 rings. Software Development vb.net | |
I have this email program but it doestn seem to work, the emaik never arive at the reciever, not even in his spam folder from email.mime.text import MIMEText from email.mime.application import MIMEApplication from email.mime.multipart import MIMEMultipart from smtplib import SMTP msg = MIMEMultipart() msg['Subject'] = 'Email From Python jajaja' msg['From'] … | |
Group, In the classes on VB I took were some training on creating Parent and Child Forms. What never was clearly explained is why we would need to use such related forms. I ask this as I'm now working on a group of forms that will be the "order entry" … Software Development vb.net |
The End.