64,152 Solved Topics
Remove Filter ![]() | |
![]() | Does any one know of any modules which could help me in comparing lists. I have the following problem. There are lists with names and there are lists with associated weights. For example, a = ['a', 'b', 'c', 'd'] w_a = [0.25, 0.25, 0.25, 0.25] b = ['a', 'c'] w_b … ![]() |
Hi all I am kind of new to vb.net, and am wondering if anyone could tell me how I can remove the first line of text from a multiline textbox. Let's say I load a text file with 50 lines into a multiline textbox. How do I delete the first … | |
please i want to make a contact details program with Visual basic that will allow save contact details. like : Names, Address, phone numbers, E-mails, Address, Company and i don't know where to start from. | |
Hello. I am presently tearing a HibernateTravelApp tutorial ([url]http://www.netbeans.org/kb/61/web/hibernate-vwp.html[/url]) apart to see how it works and I was looking at the traveldb that ships with netbeans and I am having trouble understanding how the tables interact because the name table only has one row with names and I don't see … | |
Hi there! My application is going very well... however, I have a couple questions... mainly, graphical stuff. [LIST] [*]How do I make it so the application runs in full screen? (I know I can do it by changing the preferences in the command line, but that's the ghetto way...) [*]How … | |
Hello all, I'm trying to create a simple program that creates a text file with some text inside of it. First off, I've managed to create the text file with a few lines of text. My Issue is that I need to use Quotes "" inside of my text file(main.cfg) … | |
I want to draw some text on a JFrame (later it'll change to a JPanel), but not have the text necessarily be horizontal. I've found some decent examples online that have worked well, but they've all been 500+ lines long. I'm hoping it can be done in a way that's … | |
Hey everyone, Here's a question that should be pretty simple that I haven't found the answer to: if I'm using a function that takes some characters in quotes, what do I do if I want quotes to be some of those characters? I.e, if my code says if c in … | |
[code=java] public class book { private double basePrice = 0; private double vat = 0; private double discount = 0; private double sellPrice; public book() { setBasePrice(0); setVat(0); setDiscount(0); } public book(double basePrice, double discount, double vat) { setBasePrice(basePrice); setVat(discount); setDiscount(vat); } public double getBasePrice() { return basePrice; } public … | |
Hello there! I greet you all, I have a question on Database. First of all I'm completely new In Database realm and know a little . Just definition and little about it. Can anyone tell me how to do database programming (Specifically MySQL) in both server and embeded sever mode, … | |
I have a problem using the PHP mail function using a very simple form. I have been uploading the files to our webserver and the form works fine and redirects to the correct page, however, the test email I send never arrives. Can anyone help with this? [code] //This is … | |
hi!! i made a program to count the max sales in a store, that has for example 10 employees. for this, i used an struct to have the code of the employee and the sales he made. the point of the code is to show a list of the employees … | |
hiya - i'm making a new game and want to know how to make a simple rounded race track. i've done everything else but want to know what to use. I've tried g.fillRoundRect(left.x,left.y,left.width,left.height,left.arcWidth,left.arcHeight); but an error pops up can anyone help - i want to make a simple race track … | |
Hey everyone, I'm completely new to C# so I'm sorry if I don't make sense. I need to capture the x and y position of the mouse cursor within a group box (or some other frame). How can I do that? | |
Hello all... How would I set up a href on something that needs to include information. For instance, when you click the link, I want the client to go to a certain page where the County is the County they picked and the State is the State they picked. How … | |
I get the following error message: Compile error: Can't assign to read-only property when trying to assign Multiselect to my FileListBox(File1). I used the following code: File1.ReadOnly = False File1.MultiSelect = 2 Do anybody know what is wrong! best regards Kristian | |
I am working with a MDI in my program. I use .cpp to compile although I program primarily with api's. I'm not sure whether that places me in C++ or Windows threads. Since using .cpp I have to obey C++ rules so I'll list my thread in the C++ area. … | |
Well I am creating a series of sites just to try and improve my skills with web design. My problem is I will have a series of thumbnails going in a line at the top hand of the screen. These thumbnails link to my other sites, however when you hover … | |
I have a javascript that looks up some details on googlemaps for me, then returns them to a php script that does the web bit I actually need doing. I actually works by filling in a form and submitting it, so that php can handle the data. However I now … | |
Hi thanks for looking. It's quite straight forward really. As opposed to allowing all possible divs to be displayed I would like to make them all collapse and then only expand the one that the user clicked on. Simple right? OK so here is my code right now, which allows … ![]() | |
Hi, I am having a problem with Visual Basic 6 in that in various screens (Options, Project Options and "New Project" (to name a few)) it is using FixedSys font instead of what it would normally use (Tahoma or MS Sans Serif if I remember right?). How would I go … | |
Hello all, I have been working with PHP now for a couple years and am new to this forum. While I love PHP and programming in general, I hate debugging. It takes me hours to solve just one bug anytime I do something, anything new. I read and read the … | |
can any one write me the program to dowmload imges using java. i have wriitten a program using URL class it is able download index.html pages but not able to download images. my source code: [code] import java.net.*; import java.io.*; public class url { public static void main(String[] args) { … | |
i am begginer in java. i need to know that is it necessary to use applets or componetnts or frames to download image from the specified url in java programming. can't we use simple java program to download images. | |
Hi all . It is my first post ,please sorry if I do any mistake ,I am new in the programming field and want to learn programming language .so can you tell me that how I should start the python .or I would to say you that from where I … | |
Hello all, Can any one explain me whats the main different between them two data structures. I have been like working on them quite lot now. When do we use tuples and when do we use list. Any specific explains are much appreciated. Thanks a lot ssharish | |
Hi folks.. I want to display the crystal report according to the date that user select...If User changes the date means it should change the report according to that... In my applocation two date picker and one button is ter ,if user select from date and to date means it … | |
Hey everybody, I'm a little stuck on this simple program I'm trying to run. Right now it takes in a list of words and makes a single string out of them, but what I really want to do is make each word into its own new string, or maybe create … | |
Are there any standard C++ libraries that support multithreading other than windows.h? | |
I all. I am trying to make a program that connects 2 mobile phones, and send a string to the server mobile, and then sends the thread back. I have tested it in netbeans, and it looks like it discoveres the device. but then I get an error: Address: 0123456789AF … | |
Hi I have made a program that uses a GUI for most of its functions but as soon as i change it to an exe using py2exe all the buttons turn all square and everythin looks like it came from windows 98 rather than XP. Is there any way to … | |
hi all, I am facing small problem in access database . I am using MS-Access database in our application and i secure it by setting password to my database. But now i want to acces that database through coding in my vb application but it is generating error. So can … | |
Is it possible to open a hyperlink and display the data in a label or text box? I have a table in Access where the data type of a record is a hyperlink. I would like to open that hyperlink and display the data in a label or text box. … | |
Hi, I am using a dialog box where user selects a .txt file from the local drive. The selected file along with the folder path is displayed in a textbox on the form. The user can now edit the textbox. On click on 'Proceed' button, I am saving that path. … | |
I'm creating a multiplayer game using winsock, but I've been having several problems with winsock. I've been searching for an alternative to it, but I haven't found anything. If anyone could point me to something I could use in place of winsock (a free something), I would greatly appreciate it. | |
ok, so, we have to make a program that displays the date 100 days from today, the day you were born, and the date 10,000 days after your birth date. I've done all that, but i want to take it a step further, i want the user to be able … | |
Hi I was just wondering if there was any way to open up an ASPX file in IE? I have tried navigatin to the folder in my file system and selected 'open with' but I get the following: [COLOR="Red"]A name was started with an invalid character. Error processing resource 'file:///C:/Users/[I]username[/I]/Documents/Visual … | |
Hi, I have a web application employing a servlet that processes database requests from user input params and forwards the total count of the resultset to my display jsp using request.setAttribute(...). I retrieve the value of total count in my display jsp using request.getAttribut(...) and the value returns correctly. However, … | |
I recently completed a small console app that accepts input from the user and places it in a floating point array, which was implemented through a for loop. I have not spent much time studying error handling and was wondering if anyone could refer me to a useful error-handling tutorial. … | |
hello All, I am trying to write a multi threaded program in C++ , but it suddenly exits and i can not understand what happens , it actually do not get any error message or exceptions error , just get out of the program. need your help, thanks . [code=c++] … | |
I wanted to add a loading screen to my program. My code is [code] Private Sub Timer1_Timer() Dim x As Integer x = 1 If Me.ProgressBar1 >= 10 Or x >= 10 Then Unload Me MDIForm1.Show Timer1.Enabled = False Else x = x + 1 x = Me.ProgressBar1 End If … | |
Hi there! Let me start by saying this-- I have no experience with regular expressions. Simply put, I want a function that turns an array [eg: func(array)] into... an array, but add ONE space on both values. Meaning: [code=Python] array = ['red','blue'] #returns ['red','blue'] array = func(array) # returns [' … | |
Hello, Is there a way to create new email accounts using php? There must be right? Many sites will give you a mailbox as soon as you register. How do they do it? | |
How do you keep multiple javascripts from interacting and effecting each other? thanks | |
Hello there, I'm trying to compile a project in Visual Studio 2005 and the compiler finds errors in the file fstream.h. Some of them are: c:\program files\microsoft visual studio\vc98\include\fstream.h(88) : error C2872: 'streambuf' : ambiguous symbol c:\program files\microsoft visual studio\vc98\include\fstream.h(89) : error C2872: 'streampos' : ambiguous symbol c:\program files\microsoft visual … | |
Hello everyone - firstly apologies... long post ahead. I was wondering if someone could please help me out a little. I just can't figure this out! I am trying to call a javascript function which exists in the same page from within InnerHTML in another script and I can't seem … | |
Hi All, new to this, and i havnt done much python programming, i have written a program to write data to a text file. each time i use the program, it appends the data to the file and leaves two lines between the sets of data however, i want to … | |
Could someone give me a detailed explanation or give me a resource that explains something like how if I created my own custom 3D model that had 8 vertices would that be the same as saying 8 polygons because I always here talk about things like game developing companies throw … | |
I recently searched google for a code snippet for creating a ftp uploader and i found this code-> [code]Dim ftp As New Chilkat.Ftp2() Dim success As Boolean ' Any string unlocks the component for the 1st 30-days. success = ftp.UnlockComponent("Anything for 30-day trial") If (success <> true) Then MsgBox(ftp.LastErrorText) Exit … | |
we have this assignment to make a webpage where the user can add/insert/delete /save data to a database. the program is already finished and i had it up and running perfectly. like, all the functions work. but when i transfered it to another computer, it would not display any data … |
The End.