132,726 Archived Topics
Remove Filter ![]() | |
Hello, currently, what i want to do is, add a column in a table "default" during runtime. Well, I've got that covered already. The problem is, the column names are actually taken from the users input through a textbox or drop down list and of course, if the same column … Software Development vb.net | |
Hello, On lines 70 & 75, the word [B]col[/B] is marked as a syntax error. When I hover my mouse over, it tells me that [B]Error: expression must have pointer-to-object type.[/B] Why am I getting this error and how do I fix it? This program prompts & reads the file … Software Development c++ | |
hey all, i wan't ask, how to make specific report in vb6 using datareport i can make report, but show all of record in my database not a specific record help me plizzz... Software Development visual-basic | |
This is just a part of a program When my code asks me Enter diamond size ("short", "average", or "tall"): how do i make it so that if i don't put anything and press enter it asks me exactly same questions again?? i tried putting input.length() == 0 or input.equals("") … Software Development java | |
This is my code: it works,but when the user answers correctly until question 7,the question 8, 9 , 10 will be skipped and goes to result instantly,can someone tell me whats wrong?i been looking it trhough for hours >.< thanks [CODE]void hangman (void) { int wrong =0; int answer; char … Software Development c | |
im expermenting with c# and XNA and was just wondering that is possible im trying to do this is there way to change the name of the proptery or field so i can declare to something the built in xna will recognize? [CODE]rectangle.Location.Above top;[/CODE] or [CODE]xTile.Dimensions.Location.Origin.Above top;[/CODE] Software Development | |
hi guys,im trying to create a menu which allow user to select their choice. When a choice is selected, a function designed for that choice will be called. However,it seems that i cant use 'if else' to call them, is there anyway to solve it?im sure i did it wrongly...if … Software Development c | |
Hi all, I'm having some troubles practicing linked-lists: the problem calls to implement string as a linked-list of chars. So I created a new class - mystring and defined building function, show(), and also destructor. The build and show works correctly. I get the exact same string I sent as … Software Development c++ linked-list ubuntu | |
The idea is to get a sentence of words and then scramble the middle letters of each word without altering the position of the word in the sentance. So for example, the user inputs: Programming is very interesting! the output should be: Pogrmarmnig is vrey itenrseitng! So far, i have … Software Development c++ ![]() | |
I would like to retrieve the ID number for that row that was just inserted into the database. [CODE]Dim Enrollment As New Enrollments With Enrollment .Student_ID = CInt(lvwStudents.FocusedItem.Text) .Enrollment_Date = CDate(dtpDate.Text) End With EnrollmentBAL.Save(Enrollment) [/CODE] I have this code to save it from the database, what I want to do … Software Development vb.net | |
My problem is after I created 5 rows of text boxes, I want to add random numbers to all of the text boxes in one time when I click the button. Does anybody know how to solve this problem?? Here are my coding to create text box dynamically: [CODE] Private … Software Development vb.net | |
Hi. I'm using Visual Studio 2005 so I didn't know where to put this topic. This is my problem. I made a qucik search program so when I browse for a text file, it adds that text file to a listbox1. And then when you search result will be placed … Software Development file-system vb.net visual-studio | |
Sorry the subject is hard to read I had to fit it all in there briefly but so in this external function getNumAccidents I need to read in the user-input number of accidents for each NYC borough to be stored in their respective array places, but also validate the input … Software Development c++ | |
Alright, I understand some of the basics of big O notation, but I have a test coming up in a few days and I need a bit of help. I understand that if you have a loop that iterates i*=2 then it would run lg(n+1) as log base 2 and … | |
How to get HARDWARE properties in VB Express 2010 like video card name and memory type? Hi, need some help with the above problem, i'm a noob with programming so any help will be ultra cool. Software Development vb.net video-card visual-basic | |
HI, I recently joined the forums (today) and i would officially like to say hi. [COLOR="Green"]HI[/COLOR] For my question: [COLOR="Red"][B]Are there any books,websites or tutorials that use a moderate vocabulary that teach C++?[/B][/COLOR] Thanks for the help in advance. BTW is there a rules page? _______________________________ Bye Software Development c++ | |
With a lot of help from ihatehippies I got threads working yesterday. Now I need to stop 'em! More specifically I want to stop a second thread starting until the first has finished.. This is what I have in my threading class at the moment: [CODE]class ProcessThread(Thread): """Test Worker Thread … Software Development python | |
Hey, I have a problem taking input from the terminal. I need to read an integer first, then a string. But when I press enter after entering the integer, the string doesn't take any input. Yes, I did try using a fflush(stdin) between the 2 inputs, still doesn't work. I … Software Development c | |
I'm trying to make encryption program but when i run the program it gives me this error: Debug Assertion Failed! Program:...nts\visual studio 2010\projects\encrypter\debug\encrypter.exe File:c:\program files\microsoft visual studio 10.0\vc\include\xstring Line:1441 Expression: string subscript out of range For information on how your program can cause assertion failure, see the Visual C++ documentation … Software Development c++ encryption visual-studio | |
[QUOTE]i am trying to implement a fitness function for GA. i got a code written in python. i don't have any idea about python. can someone help me to convert it into java the code is here [/QUOTE] [CODE]# there are many ways to do an eigenvalue decomp, this is … | |
Hello EveryBody i want to change a file extention property in visual basic 6 Example; i have a File test.txt or test.jpg what we want ? and we use a command botton and two textbox Text1.text = "C:\test.txt" 'Textbox 1 is my file path Text2.text = ".pdf" or ".psd" ' … Software Development file-system pdf visual-basic | |
i Write a program to check whether a matrix is an identity matrix but i do not know how to find it plz help me this my code [CODE]package javaapplication162; import java.util.Scanner; public class JavaApplication162 { public static void main(String[] args) { Scanner input = new Scanner (System.in) ; int … Software Development java | |
Hi guys!I'm currently making a database project and I want to update an access database. I connected the database using this sql command 'select*from word' And I tryied to update the database using this code ds.tables('word').rows(0).item(1)=”cat” Dim cb as new oledb.oledbcommandbuilder(da) da.update(ds,”word”) da is a data adapter ds is a … Software Development microsoft-access vb.net | |
Hi all, first post here, please excuse the newbieness!! I am a complete and total beginner to web development in all forms other than mediocre HTML and CSS. Please be gentle and use small words!! :-) I have recently installed Microsoft's Visual Web Developer 2010 Express in order to have … | |
Hello, I'm a python beginner and glad I joined this forum :). I'm wanting to make a simple program where the window is hidden for x seconds/minutes and is then shown again. My problem is that using time.sleep() causes the Hide() function to not run until after time.sleep() is complete. … | |
From A C++ beginner. I have written a class that splits the first list into 2.I used iterators to accomplish it. Now I am supposed to create a new method that splits the input chain ∗this, destroys the input chain and uses its nodes to construct the chains a and … Software Development c++ linked-list | |
hello ! basically i am working on .net , but now i want to learn java , is there any software like visual studio for .net .if yes then please can any one tell me or provide me any helpful link. Best Regards M.Waqas Aslam Software Development java visual-studio | |
hello :) i'm using MFC SDI, & i'm less familiar to it. i need to know, 1: i have found a way of printing a string as [CODE]pDC->DrawText( " Task still pending!!! ", &rect , DT_PATH_ELLIPSIS );[/CODE] but i want to know, how can i print a 2D-Array in MFC … Software Development c++ | |
What (if anything) is the difference between these two? [CODE]String[] sa = {"ABC"}; String[] sa = new String [] {"ABC"};[/CODE] Software Development java | |
[B]2. Write a statement or a set of statements to accomplish each of the following:[/B] a. Sum the odd integer between 1 and 99 using a while statement. Assume that variables sum and count have been declared as Integers. b. Sum the squares of the even integers between 1 and … Software Development vb.net | |
Hello, I need some help please.. I need to write a recursive predicate in Prolog that subtracts two numbers until number 2 is higher than the result. I have completed the logic in C++: [code] #include <iostream> using namespace std; int mod3(int a, int b) { int intResult = a-b; … Software Development | |
Hi All, I am trying to convert the following C++ code to C#. pExportDir = (PIMAGE_EXPORT_DIRECTORY)GetPtrFromRVA(exportsStartRVA, pNTHeader, pImageBase); [CODE]template <class T> LPVOID GetPtrFromRVA( DWORD rva, T* pNTHeader, PBYTE imageBase ) // 'T' = PIMAGE_NT_HEADERS { PIMAGE_SECTION_HEADER pSectionHdr; INT delta; INT delta2; pSectionHdr = GetEnclosingSectionHeader( rva, pNTHeader ); if ( !pSectionHdr … | |
I'm creating a program which has data in the linklist. I'm trying to print out the element in the linklist from head to tail and tail to end, but for some reason, I run into some compiler error. I don't know why it won't let me call the hasPrevious and … Software Development java linked-list | |
Hi all, I want to store the result of a SQL query into some kind of container. Typically, a result consists of several columns, each of which has different types - depending on the query. E.g., 'select productname, price, stock_count from...' leads to 3 result columns: char, float and int. … Software Development c++ | |
[b]I want this code to call generic catch block whenever any special character(eg. !,@,#,$,%,&,*, etc) is enetered in numerator or denominator. So what code should I add to this. Any help would be appreciated. Thanks. [/b] [code=c] #include <iostream> using namespace std; int main() { try // generic catch block … Software Development c++ | |
I am looking at a source code There is a class called A and it has a parameter in its _init_ function called. Class A self.id = id There is another class called B and has a parameter in its __init__ function called Class B self.ide = ide There's an … Software Development ide microsoft-access python | |
I have created a project for clinic in vb.net... So I have one exe file for it.... But I want VBnet installer and Crystalreport runtime installer to be packaged along with it... As to when the user will click the exe file the VB.Net installer shud first install then the … Software Development vb.net | |
I have a created a currency converter in 2 forms in Visual Basic for a made up currency which has pounds shillings and pence. I have 3 textboxes for them to enter the amount of each and a button to calculate the amount of UK Stirling using conversion rates given … Software Development visual-basic | |
How can I obtain the first row value. ex. Table ID NAME AGE 1 peter 14 2 Jogn 13 3 Luke 6 If i click peter I will get 1. I can get the clicked value but I do not know how to get the first item in the selected … Software Development vb.net | |
I have a simple vb.net app and I'm trying to update a one row Access table with data from some textboxes. This is a learning exercise for me as I am coming back from not programming for almost 10 years, and know there are lots of other ways to manage … Software Development microsoft-access open-source vb.net | |
Hey guys! I need a little help with Crystal Reports!The Report keeps repeating the details.I tried to group it by the reference number but it keeps displaying it four times!Also how can I order the report by reference number?Please help me its the last thing for me to finish my … Software Development vb.net visual-studio | |
The problem is that it will show 2 the same result but with different employee fname. How to have something like this . "Employee.employee_id has employee.fname " It will show also lots of result if I will not use distinct. Select distinct TRANSACTION.TRANSACTION_ID ,CUSTOMER.FNAME ,CUSTOMER.LNAME,PET.PNAME,Employee.Emp_ID,Employee.fname,TRANSACTION.DATESTART,TRANSACTION.DATEEND from(TRANSACTION) INNER JOIN CUSTOMER ON … | |
hi every one i just need some general ideas about a booking system. I have already done login and registration processes. And i am gna have customer registration and booking aswel which i can add,delete or update. its a vb.net application with sql server 2008. Can you give me any … Software Development vb.net | |
Hello Friends, I am messed up with the below query [CODE] Try Dim myCommand As OleDbCommand myCommand = New OleDbCommand("select sum(tmt.total) as Total from Appointment appt, TreatmentMaster tmt where appt.patientid='" + txtPatIDBill.Text + "' and [tmt].[treatid]=[appt].[treatmentid] and (Format([appt.ApptDate], 'Short Date')) between '" + dtpFromBill.Value.Date + "' and '" + dtpToBill.Value.Date … | |
Is it possible to reload a form of the running application from one computer when I executed a function from my other computer with the same application? co'z I want to see the changes of data on my datagrid view Software Development vb.net | |
Hi, Can anyone help me in showing multiple items from listview to my crystal report. Or something like after searching some items, the results are the one to be displayed in crystal report. I don't have any codes yet. I'm using OLE DB Connection. Any help would be appreciated. Thank … | |
Hi everyone, I am working on a problem as follows: Write a program that draws a circle with radius 100 and center (200, 200). Ask the user to specify the x- and y-coordinates of a point. Draw the point as a small circle. If the point lies inside the circle, … Software Development java java-swing | |
Hi Guys, I'm looking the syntax for a input mask that will allow me to input 1.23, 12.34, 123.45 into the JFormattedTextField i found something like ###.## but that doesn't work but something like ###-## wud work. just wondering if anyone knows how to do this with a mask or … | |
by the way. this is now my problem. THIS IS FOR TIME IN... [CODE]Private Sub cmdIN_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdIN.Click lblempno.Text = txtempno.Text lblIN.Text = lbltime.Text & lbldate.Text MsgBox("Log in successful!", vbInformation) lv = ListView1.Items.Add(lbltime.Text) txtempno.Text = "" txtempno.Focus() End Sub[/CODE] THIS IS FOR TIME … Software Development vb.net | |
I am getting ready to write a programming competition on Tuesday (the Canadian Computing Competition) and I remember that last year it said that only standard libraries can be used. I was having trouble deciding which libraries are standard. I ended up using windows.h and when I suddenly realized that … |
The End.