64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for sjvr767

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 …

Member Avatar for sjvr767
0
96
Member Avatar for satellites101

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 …

Member Avatar for waynespangler
0
2K
Member Avatar for Isaac Hydrogen

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.

Member Avatar for prasannapower
0
147
Member Avatar for ceyesuma

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 …

Member Avatar for ceyesuma
0
92
Member Avatar for Dekudude

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 …

Member Avatar for Dekudude
0
143
Member Avatar for Poab9200

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) …

Member Avatar for Poab9200
0
150
Member Avatar for VernonDozier

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 …

Member Avatar for VernonDozier
0
1K
Member Avatar for tortoiseman

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 …

Member Avatar for tortoiseman
0
83
Member Avatar for rs_java

[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 …

Member Avatar for jasimp
0
312
Member Avatar for Stefano Mtangoo

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, …

Member Avatar for Stefano Mtangoo
0
133
Member Avatar for lubber123

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 …

Member Avatar for lubber123
0
126
Member Avatar for gispe

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 …

Member Avatar for Salem
0
173
Member Avatar for cambridgegal300

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 …

Member Avatar for Ezzaral
0
665
Member Avatar for Duki

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?

Member Avatar for cVz
0
242
Member Avatar for designingamy

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 …

Member Avatar for designingamy
0
87
Member Avatar for krille

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

Member Avatar for krille
0
173
Member Avatar for toolmanx

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. …

Member Avatar for toolmanx
0
303
Member Avatar for Grantmitch1

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 …

Member Avatar for Grantmitch1
0
91
Member Avatar for dragonflyuk

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 …

Member Avatar for R0bb0b
0
90
Member Avatar for rickya100

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 …

Member Avatar for langsor
0
233
Member Avatar for jonc

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 …

Member Avatar for jonc
0
355
Member Avatar for nixwave

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 …

Member Avatar for nixwave
0
128
Member Avatar for ravikiran032

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) { …

Member Avatar for ~s.o.s~
0
130
Member Avatar for ravikiran032

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.

Member Avatar for sciwizeh
0
150
Member Avatar for baba786

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 …

Member Avatar for sneekula
0
283
Member Avatar for ssharish2005

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

Member Avatar for sneekula
0
511
Member Avatar for jithusdani

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 …

Member Avatar for Jx_Man
0
85
Member Avatar for tortoiseman

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 …

Member Avatar for tortoiseman
0
91
Member Avatar for dmanw100
Member Avatar for kux
0
154
Member Avatar for Dancealot

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 …

Member Avatar for Dancealot
0
309
Member Avatar for lllllIllIlllI

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 …

Member Avatar for lllllIllIlllI
0
903
Member Avatar for guest11

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 …

Member Avatar for guest11
0
83
Member Avatar for iamdaniel123

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. …

Member Avatar for iamdaniel123
0
368
Member Avatar for dinilkarun

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. …

Member Avatar for dinilkarun
0
141
Member Avatar for Evan M

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.

Member Avatar for dmanw100
0
586
Member Avatar for llemes4011

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 …

Member Avatar for llemes4011
0
145
Member Avatar for majestic0110

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 …

Member Avatar for rje7
0
970
Member Avatar for zorro3692

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, …

Member Avatar for zorro3692
0
131
Member Avatar for dmanw100

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. …

Member Avatar for dmanw100
0
102
Member Avatar for ehsan_op

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++] …

Member Avatar for ehsan_op
0
146
Member Avatar for iamnoangel26

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 …

Member Avatar for Jx_Man
0
124
Member Avatar for Dekudude

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 [' …

Member Avatar for Dekudude
0
132
Member Avatar for ryy705

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?

Member Avatar for nikesh.yadav
0
119
Member Avatar for justinmyoung

How do you keep multiple javascripts from interacting and effecting each other? thanks

Member Avatar for justinmyoung
0
104
Member Avatar for floros

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 …

Member Avatar for VernonDozier
0
190
Member Avatar for dello

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 …

Member Avatar for dello
0
2K
Member Avatar for J3STER

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 …

Member Avatar for J3STER
0
106
Member Avatar for cam875

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 …

Member Avatar for cam875
0
89
Member Avatar for scrypt3r

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 …

Member Avatar for scrypt3r
0
202
Member Avatar for anonymous_cutie

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 …

Member Avatar for anonymous_cutie
0
117

The End.