132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for MarkGia

I was wondering how can i make a working login form What have i to put for user nae and password Thanks in advanced Mark

Software Development vb.net
Member Avatar for MarkGia
0
496
Member Avatar for earlybirdsean

What programming language is fit for shell scripting? And could you add a sample code of a shell?

Software Development shell-scripting
Member Avatar for cfajohnson
0
196
Member Avatar for baby_c

:( Sorry the topic spelled incorrectly.. I can't edit it noe.. sorry for that Friends again need you so badly.. I'm developing my simple GIS application, actually here's what I developed so far.. [CODE] import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import javax.swing.BoxLayout; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; …

Software Development java java-swing
Member Avatar for baby_c
0
253
Member Avatar for pseudorandom21

Is there a built-in way to convert a string to an operator like + or - ? I get the feeling support for it isn't there but it's worth a try...

Software Development
Member Avatar for ddanbe
0
90
Member Avatar for cppdeveloper

[size="4"][size="3"][font="Tahoma"]These are just some of the Arrays sizes i've used, many of them are inside a loop. [CODE] int ss[80000]={0}; char pres[64000]; int ith[4096][16]={0},ich[4096]={0},pres2[2500][16]={0}; int slf[4096][16]={0},slr[4096]={0},rh=0,crs[4096]={0},cri=0,moo=0,nb=0; int qlf[4096][16]={0},wlf[4096][16]={0},kd=0; int jlf[4096][16]={0},jlr[4096]={0},jrs[4096]={0},jri=0; int klf[4096][16]={0},klr[4096]={0},krs[1204]={0},kri=0; int vlf[4096][16]={0},vlr[4096]={0},vrs[4096]={0},vri=0; int plf[4096][16]={0},plr[4096]={0},prs[4096]={0},pri=0; [/CODE] 80% of the time my program runs properly but every other time it …

Software Development c++
Member Avatar for raptr_dflo
0
164
Member Avatar for caswimmer2011

Hello, I got a MacBook Pro for college and i'm trying to program on it. It's all good except when i use the robot class, i don't see any key codes or key events for keys such as function, option, and command. Can i use those keys when using the …

Software Development java
Member Avatar for harinath_2007
0
3K
Member Avatar for XEN0

Im using Microsoft Visual Studio 2010 Microsoft Acess 2010 This is for practice Lets See First off i was able to get to insert records(Code Below) Now im trying to get the program to prompt a message when the id or field exists on the key down event and not …

Software Development dataset open-source vb.net visual-studio
Member Avatar for XEN0
0
1K
Member Avatar for coroll

Hi all, im trying to separate words in a string using whitespace " ". but it gives ArgumentOutOfRangeExeception : Index and length must refer to a location within the string. Parameter name: length it points to this line : if (textBox3.Text.Substring(i,c)==" ") [CODE] if (textBox3.Text != null) { ArrayList arrayKeyword …

Software Development
Member Avatar for gusano79
0
140
Member Avatar for nuclear

I was watching a tutorial that says that we first need to check if any direction key was pressed, and only then we check which key was pressed, like this: [CODE]while( running == true ) { while( SDL_PollEvent(&event) ) { if ( event.type == SDL_KEYDOWN ) //checking if any key …

Software Development c++
Member Avatar for gusano79
0
283
Member Avatar for wannasee

I wanted to simply on click a button to add those newly created textboxes to an array of textboxes. Starting with those labeled "Address". But I am finding this very difficult. I am able to add those originally on the form into the array very easily. But am unable to …

Software Development vb.net
Member Avatar for wannasee
0
157
Member Avatar for dionisov

Hello, I'm currently trying to figure out how I can get the information in ASE file and put it in my own arrays. Heres an example of ASCII scene export: [CODE]*3DSMAX_ASCIIEXPORT 200 *COMMENT "AsciiExport Version 2,00 - Fri Aug 26 13:58:27 2011" *SCENE { *SCENE_FILENAME "" *SCENE_FIRSTFRAME 0 *SCENE_LASTFRAME 100 …

Software Development c++ image
Member Avatar for dionisov
0
604
Member Avatar for Kezuino

Hello everyone! I'm new here, and I'm trying to find the awnser to my question already for a few hours, I tried to search didn't find anything at all... So now I'm here. I'm trying to make an application where you can search trough a database and then return the …

Software Development
Member Avatar for Momerath
0
184
Member Avatar for shivya jain

[CODE] Sub auto() c.con.Open() Dim j As Integer = 0 Dim cmd As New SqlCommand("select staffid from staff order by staffid", c.con) Dim dr As SqlDataReader() dr = cmd.ExecuteReader() While (dr.read()) txtstaff_id.Text = dr("staffid").ToString() End While j = Convert.ToInt32("txtstaff_id.text").ToString() j = j + 1 txtstaff_id.Text = j.ToString() dr.close() c.con.Close() End …

Software Development vb.net
Member Avatar for kingsonprisonic
0
114
Member Avatar for vaibhav1983

Hi ALL, I am writing a script to retreive entries from a DB. And then I loop through all the entries. Once I am done looping through all the result sets, I have to re-loop over them again. This is done in an infinite loop (Please don't ask why to …

Software Development mysql perl
Member Avatar for d5e5
0
256
Member Avatar for rayden150

Hello, I am an intermediate Python programmer, and I was just wondering how is python used on the web? would it be something similar to php, and what software do I need to use in order to use python on the web because I am very much interested in web …

Software Development python
Member Avatar for aint
0
266
Member Avatar for Mahesha999

Hi there, I am not able to visualize what this code exactly creates in the memory, though I can understand that this is array of pointers: char *dic[][40] = { "atlas", "A volume of maps.", "car", "A motorized vehicle.", "telephone", "A communication device.", "airplane", "A flying machine.", "", "" /* …

Software Development c visual-studio
Member Avatar for Mahesha999
0
143
Member Avatar for jemz

Hi, I have a problem on how to make stored procedure in IBM data studio that will select in the table employee which the lastname starts with a vowel letter.please help me. Thank you in advance and i am hoping for your positive response.

Software Development
Member Avatar for jemz
0
66
Member Avatar for programg

Need help with this problem Required a function of int string(char* s, int size), which returns 1 if the sequence of characters pointed to by sequence consists of only the characters A, B, and C, and otherwise returns 0. size is the size of array input by user.

Software Development c++
Member Avatar for Cross213
0
94
Member Avatar for thompsonSensibl

Hi there, I am [B]stuck[/B] with a problem, and don't know where to start. I am given a series of cities, and their locations in [B]longitude and latitude[/B]. The goal is to find the two cities with the shortest distance. I have an algorithm which, given the geographical locations (longitude …

Software Development algorithm java
Member Avatar for NormR1
0
306
Member Avatar for baby_c

Hello friends.I got some problems with a program I'm developing for a assignment. I want to add a image(background) to my Jframe and add some buttons. I wrote the code. I can load image into the frame but when I create the Jbutton and re-size it to smaller button it's …

Software Development image java java-jsp java-swing
Member Avatar for baby_c
0
27K
Member Avatar for SamY

Hi people, im creating an operating system, 32bit, protected mode, vesa... a complete o/s i need your help in anyway, coding, funding, ideas. i will post my operating system image for you people to sample and you may join me in creating it.... the posting will be done in less …

Software Development assembly operating-system
Member Avatar for Schol-R-LEA
0
272
Member Avatar for zachattack05

The project I have been working on and seeking advice on from this forum for over a year is approaching it's final steps. All that really remains is arranging the controls on the forms into a layout that is both functional and "pretty" (and getting a nice bottle of champagne …

Software Development legal
Member Avatar for pritaeas
0
115
Member Avatar for supriya badam
Member Avatar for mike_2000_17
0
70
Member Avatar for kapojian

hi. i have a main form and log-in form. when i try to log-in and entered a wrong user or password it gives me error and i dont understand why the error is in the main form??? heres my code in my login form.. [CODE] private void Lgbtn_Click(object sender, EventArgs …

Member Avatar for kapojian
0
139
Member Avatar for Arjun_Sarankulu

I have the application In which i am ruuning the procedure which runs the Sql Job and at the other end i need to show the job history in grid whose query is [B]select job_id, step_id, step_name, message, run_date from sysjobhistory where run_date = replace(convert(varchar(10), getdate(), 121),'-','')[/B] the job which …

Software Development
Member Avatar for Narue
0
160
Member Avatar for -acir-

[ICODE] I would like to ask assistance how I can retrieve all the scores every game. And how to add the points by not incrementing game 1 and game 2 and so on.. THank you... [/ICODE] [CODE] /* * To change this template, choose Tools | Templates * and open …

Software Development java
Member Avatar for -acir-
0
217
Member Avatar for purijatin

Hello, The problem is that some how due to garbage collection timings I am having tradeoff's in my performance. The issue can be generalized as: [CODE] public void loop(BlockingQueue<Runnable> queue) { for(Runnable runnable : queue)//line2 { runnable.run();//line4 if(Math.random() > 0.9) System.gc();//line5 } //line7 } [/CODE] Now normally the queue passed …

Software Development java queue
Member Avatar for purijatin
0
131
Member Avatar for warlord902

I am in situation like I have a class which have two different subclasses. [CODE]public class SuperClass{ String st; public String getSt(){ return st; } } class A extends SuperClass{ } class B extends SuperClass{ } [/CODE] Now I have another method that want to access the getSt inherited method …

Software Development java oop
Member Avatar for javaAddict
0
178
Member Avatar for yinp

Hello, I would like to know what is the best way to populate a tree gui which has the following details: My application should reflect a tree structre with about 8000 members but directly under the root there are maximum 15 members.Its clear that each time a user open the …

Software Development api gui java
Member Avatar for JamesCherrill
0
211
Member Avatar for bettybarnes

hi guys just want to ask a simple question about listview im making a POS program.. when i click Enter button the items on textbox and comboboxes should be placed inside my listview here is my screenshot [URL="http://i43.photobucket.com/albums/e355/bettybarnes/pos.jpg"]http://i43.photobucket.com/albums/e355/bettybarnes/pos.jpg[/URL] my problem is i dont know how to put the correct codes …

Software Development listview vb.net
Member Avatar for Ramesh Genwa
0
162
Member Avatar for AndreiM

Hello there! First off, I'm just in school, 10th grade (second year of computer science), so I am not very advanced. I was wondering...How can I write a simple program that does combinations, in a certain way? Let's say I have 5 buttons. I want all combinations of pressed and …

Software Development c++
Member Avatar for AndreiM
0
138
Member Avatar for JoshuaBurleson

In version 3.0 of my address book I'm utilizing tkinter. The only problem thus far I'm having is that I have a very ugly display on a child window that shows the search result for a query. I'm getting {['Email: [email]Shoiukamp0@gmail.com[/email], Phone: (111)555-2222, Address: 122 C---- Ct., Essex, VT']} The …

Software Development display gui python tkinter
Member Avatar for JoshuaBurleson
0
2K
Member Avatar for 1150

Can anyone help? New programmer trying to write Program that prompts user to enter name of file to display on screen. User is given to option to display another file until the user ends program. it is not working and. After compilation when 1 is chosen it scroll the question …

Software Development c
Member Avatar for Adak
0
116
Member Avatar for janice91

Dear experts, Please kindly advise me in how i should write the column operation: The following is the full codes: [CODE]import java.util.*; public class Matrix { public static void main(String[] args) { // declare the necessary variables int N, M; String operator; int index; int sum; int [][]matrix = new …

Software Development java
Member Avatar for javaAddict
0
129
Member Avatar for nalasimbha

Hello, I have a question regarding downcasting of base class pointers. I am providing a sample class design which is similar to my program. [CODE] class A { protected: double num1; public: virtual void fn1() = 0; }; class B:public class A { protected: double num2; public: virtual void fn1(); …

Software Development c++
Member Avatar for jinhao
0
376
Member Avatar for bhagawatshinde

Hi Guys, I want to set background image for the MDI form at the runtime (form load) i tried this, [CODE] this.BackgroundImage = Image.FromFile(Application.StartupPath + "\\Images\\OTS_mockup_slice.jpeg"); [/CODE] but its not working.... any idea Thanks in advance.

Software Development c# image
Member Avatar for bhagawatshinde
0
97
Member Avatar for Samar Sharma

Hi this is samar here I'm developing a application in which i want that when some one press print button the info in the form get printed I'm developing my application in netbeans 7.0.1 pls help

Software Development java printer
Member Avatar for RvSon
0
87
Member Avatar for ktimov1

I have an XML file that is displayed on a DataGridView driven by a dataset. I am having trouble setting up a filter where a user can enter information in a textBox then have the DataGridView filter to find results. The XML File is displayed on the DataGridView using this …

Software Development dataset vb.net xml
Member Avatar for rakesh_pooja
0
553
Member Avatar for hughesadam_87

Hey all, After beating my head against the wall with this, I decided to post. I'm using f2py, a wrapper to call Fortran routines from python. I can't use it because my current version of gcc does not support f2py. According to a posted solution, I have to edit my …

Software Development python
Member Avatar for TrustyTony
0
85
Member Avatar for k2k

Im trying to scp including password in one line... seems not working. [code] echo "pass" | scp --stdin source destination [/code] However this does work though [code]echo "newpass" | passwd --stdin user [/code] same concept, diff result. Any suggestion would be great. Thanks

Software Development shell-scripting
Member Avatar for maninaction
0
546
Member Avatar for king_saqib

hi ti every one i am create the digital guitar by pressing the diffrent key it gives diffrent sound but how to set key

Software Development visual-basic
Member Avatar for WaltP
0
144
Member Avatar for bklynman01

I have began building a piece of software that needs to collect a series of information from the user. This information will all be based on what has already been entered. I would like to create a window that has a "NEXT" button in it. As they enter information, they …

Software Development vb.net
Member Avatar for codeorder
0
315
Member Avatar for mikejs

Hi I have several panels in my app is there a simple way to switch between the panels without dragging them off the screen so I can see the ones bellow if I need to edit the first panel I have to move 8 panels to see it :-( thanks …

Software Development vb.net
Member Avatar for codeorder
0
110
Member Avatar for CSharpUser

Hi folks, I’m struggling with what I thought would be a relatively simple process. In my last thread ([URL="http://www.daniweb.com/software-development/csharp/threads/379458"]http://www.daniweb.com/software-development/csharp/threads/379458[/URL]), I got your help with the placement of parentheses in a Linq to XML query. I thought it was all going to be easy from there. Now I am trying to …

Software Development audio xml
Member Avatar for CSharpUser
0
301
Member Avatar for David321

I'm currently using the fourth edition of Deitels "C++ How to Program", which I borrowed from the library. I'm interested in buying a copy of the textbook myself. If I buy a fifth/sixth edition will there be things that will be confusing? For example, are the concepts introduced in a …

Software Development c++
Member Avatar for David321
0
119
Member Avatar for dougancil

I have an application that I'm trying to finish in VBA, and as I've never written in it, it's a bit challenging to me. I've written some in VB but the syntax isn't the same between the two for some things. Essentially, here's the logic (or lack of) that I'm …

Software Development open-source sql visual-basic
Member Avatar for BitBlt
0
190
Member Avatar for superjj

I have a very stupid question. I use a JToggleButton. now I want to know if the setSelected is true or false. thus an if function, but how to write one because I get errors. thank for your support [CODE]if(Btn2.setSelected() = true){ }[/CODE]

Software Development java
Member Avatar for superjj
0
116
Member Avatar for Upoma

I am developing a desktop based software in Java using IDE Netbeans 7 and database MySQL. Now i want to distribute this software and protect it from piracy.I want to implement online licence verification.That means when user will install the software a number based on hardware configuration will be sent …

Software Development cybersecurity java piracy
Member Avatar for hfx642
0
739
Member Avatar for mikejs

Hi I am using the following to get the system sound question but it doesn't populate ? [CODE] Public Class SystemSoundItem Dim sound As SystemSound, soundName As String End Class Public Property SoundToPlay As SystemSound Set(ByVal value As SystemSound) End Set Get SoundToPlay = SystemSounds.Question End Get End Property[/CODE]

Software Development vb.net
Member Avatar for mikejs
0
366
Member Avatar for sadsdw

Hi friends, I wrote a simple code to write in different files but I don't know where I made mistake. The function is writing the first file and after writing everything in the second file, not in the next files 3,4, 5. Can anyone help me please? Thanks a lot! …

Software Development c++
Member Avatar for sadsdw
0
108

The End.