132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Traicey

Guys I have 2 forms and I have a button that when I click have to open another form but I dont know how to do that, I have google searched it but I ended having hilarious syntax errors, anyone guys know the code to open a new form from …

Software Development c++
Member Avatar for Traicey
0
63
Member Avatar for sam1

Hi, i have two textboxes one for month(2digits) and one for year(4digits). i want to validate them so users cannot input dates in past. what would be a better way of doin this. ps. it is for winforms thanks

Software Development vb.net
Member Avatar for Jx_Man
0
111
Member Avatar for Scruffstone

Hi All, I'm new here so apologies if there's something not quite done right in my first post on here. I'm fairly new to Perl but this is the first bit I've tried to write at home on my own. I want to have a .pl file that runs in …

Software Development file-system html-css perl windows-server
Member Avatar for Scruffstone
0
150
Member Avatar for richo.mw

Hi There, I am experiencing a very weird problem with a visual basic.net program I am creating. The app uses an access database. Note: I am an Australian user so use date format dd/mm/yyyy Problem: my frmMain has a list box that retrieves a list of date values from the …

Software Development vb.net visual-basic visual-studio
Member Avatar for richo.mw
0
167
Member Avatar for C41R0

[CODE] . . . . button1.setIcon(pic1); button1.setToolTipText("Open File"); toolBar.add(button1); button2.setIcon(pic2); button2.setToolTipText("Save File"); toolBar.add(button2); button3.setIcon(pic3); button3.setToolTipText("Help File"); toolBar.add(button3); gbc1 = new GridBagConstraints(); // c.insets = new Insets(2, 2, 2, 2);; gbc1.weighty = 1.0; gbc1.weightx = 1.0; gbc1.gridx = 0; gbc1.gridy = 0; // gbc.weightx = 30.0; // gbc.weighty = 30.0; // …

Software Development java
Member Avatar for C41R0
0
93
Member Avatar for joesmithf1

[COLOR=black]Hi I have been pulling my hair out trying to figure this out. Please help!!! Here is my project description: By using a pointer to pointers **A and **B and the function calloc() allocate the memory for the 4x4 matrices A[][] and B[][]. By using the pointers *a and *b …

Software Development c++
Member Avatar for Necrolis
0
145
Member Avatar for ambarisha.kn

Hi, How to do arithmetic and relational operations using Standard Template Library.(STLs). Could any one please guide me regarding this. I am new to Standard Template Library.

Software Development c++
Member Avatar for mitrmkar
0
279
Member Avatar for lahom

hi i have created adialog based application where each of them call the other using DoModal(). my question is : if Dialog A is in some position on the screen and then called Dialog B...i want for Dialog B to take the same exactly position as Dialog A .(to be …

Software Development c++
Member Avatar for mitrmkar
0
335
Member Avatar for grommet2481

Im trying to align my screen ouput. At the moment Ive been using setw and \t. They don't seem to line up correctly. I dont know why the first one hasn't got the got the correct alignment or y its different from all the others. My program is pretty complecated(well …

Software Development c++
Member Avatar for Sky Diploma
0
92
Member Avatar for Mackjan

This function arranges a list of number. If we try z= [4, 4, 2 ] the result will be after some steps 4,3,2,1 but my list is z = [ 1, 1] and I want if a cycle of number coming up again and again the main program will discover …

Software Development python
Member Avatar for Mackjan
0
84
Member Avatar for herms14

guys I just would like to ask a question. how do i enter 100 random numbers in a array? please help me...im just a newbie programmer...thanks guys

Software Development c++
Member Avatar for scut_lmj
0
239
Member Avatar for somename

Hi. i'm trying to copy a binary already with a predefined permissions. I got this code: [CODE] FILE *f1, *f2; char cp; f1 = fopen("file1","rb"); f2 = fopen("file2","wb"); while(!feof(f1)) { cp = fgetc(f1); if(!feof(f1)) fputc(cp, f2); fclose(f1); fclose(f2);[/CODE] but this just copy a file. But what i'm trying to do …

Software Development c
Member Avatar for somename
0
131
Member Avatar for Bouras

Hey... I present myself.. Youssef, 17 years old and i'm currently on my second year of the IB Program ... Computer IB HL i took. As some of you might know our IA = Internal Assessement is a Java Database and now mine is due wednesday... [PART I] and i …

Member Avatar for sillyboy
0
250
Member Avatar for cyberjoe

Hi to all! What is the worlds biggest .NET open source project? is it NASAs World Wind project? Regards, cyberjoe

Software Development asp.net open-source
Member Avatar for utkarsh.cse
0
87
Member Avatar for FreezeBlink

Iterating over a list, possibly deleting elements. It's the bane of my existence. Suppose, for instance, we have a list of numbers, and want to iterate over it and delete each and every odd one. Sounds simple, right? Sorta. It's trivial, but the code you end up with is pretty …

Software Development python
Member Avatar for jrcagle
0
118
Member Avatar for sarabhjeet

Hi All, first of all thanks to all for helping me out till now, whenever i got stucked somewhere that time u all helped me out.I need some more help of u all.I am using python 2.5 along with wxpython,and i need to increase the visibility of the dialogs and …

Software Development python
Member Avatar for sarabhjeet
0
89
Member Avatar for asianguyjtran

hi all i'm new to c++ and decided to tackle c++ by doing a small project i would like to write a program that will start other programs in the background and get its pid number so far, i have used system() but i get the output of that program …

Software Development c++
Member Avatar for asianguyjtran
0
100
Member Avatar for msaenz

Greetings, I am trying to do a reconnect type of thing for when sqlserver disconnects me i check and reconnect to execute a query. here is some code that i wrote, I really don't know what to use since there is not isconnected method or reconnect method in pymssql. Any …

Software Development mssql python session
Member Avatar for jrcagle
0
2K
Member Avatar for bf2loser

can someone show me some code to convert rankine temperature to kelvin? rankine is in the same scale as fahrenheit, but it starts at absolute zero. so 0R = -459.67F, heres is what I have convert to kelvin [code=python] def __init__(self, value=0): Fah=value-459.69 Cel=(Fah-32)*5/9.0 value=Cel-273.15 Temperature.__init__(self, value) [/code] convert back …

Software Development python
Member Avatar for jrcagle
0
1K
Member Avatar for colliincon

Hi I have this coding Set recc = dbase.OpenRecordset(True, "Gate") nfilenum = FreeFile Open "C:\Rentention Program\20080517.daf" For Input As nfilenum With recc .MoveFirst Do Until .EOF Do While Not EOF(nfilenum) If EOF(nfilenum) = True Then GoTo ws: Open "C:\Rentention Program\20080517.daf" For Input As nfilenum Else End If Line Input #nfilenum, …

Software Development visual-basic
Member Avatar for selvaganapathy
0
170
Member Avatar for Catherinedally

I'm stuck with a problem and can't work it out. I'm needing a visual basic . net program written. What I've worked out is... Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim linecount As Integer Dim asteriskcount As Integer Dim asterisk As String Dim spacecount …

Software Development visual-basic
Member Avatar for selvaganapathy
0
236
Member Avatar for k2k

can anyone tell me how I can print the first or the last character from a sh file ? i have done research on regular expression and the grep... i couldn't find any cmd that i can use to achieve this task. Thanks a lot.

Software Development shell-scripting
Member Avatar for ghostdog74
0
142
Member Avatar for faust_g

The following code works fine with "Release" config, but gets this odd "HEAP_CORRUPTION_DETECTED" error when I try to execute in the "Debug" config. I am using visual studio 2005, default settings. Also, I looked into deleting multi-dimensional objects, and it appears I am doing it correctly here ([url]http://www.daniweb.com/forums/thread6511.html)[/url]. Pretty simple …

Software Development c++ visual-studio
Member Avatar for faust_g
0
351
Member Avatar for TheWhite

1.) Update Checking. 2.) Score/Record keeping. 3.) Submitting score online. Update Checking: Currently, my program connects to a URL and checks if a new version is available. If one is, it simply opens up a dialog saying a new version is out and to go download it... Is there a …

Software Development gaming java session
Member Avatar for TheWhite
0
197
Member Avatar for booly_joon

Hi I have been pulling my hair out trying to figure this out. Please help!!! Here is my project description: By using a pointer to pointers **A and **B and the function calloc() allocate the memory for the 4x4 matrices A[][] and B[][]. By using the pointers *a and *b …

Software Development c
Member Avatar for Ancient Dragon
0
80
Member Avatar for Matthew

Hi, im fairly new to C++ and would like help with using random number generators, i have heard of them but cant seem to find there code structure. Any help is greatly appreciated :D

Software Development c++
Member Avatar for tesuji
0
803
Member Avatar for jacobpauls

using System; using System.Runtime.Remoting; using System.Runtime.Remoting.Channels; using System.Runtime.Remoting.Channels.Http; public class Server { public static void Main(string[] args) { // Create the server channel. HttpServerChannel serverChannel = new HttpServerChannel(9090); // Register the server channel. ChannelServices.RegisterChannel(serverChannel); // Expose an object for remote calls. RemotingConfiguration.RegisterWellKnownServiceType( typeof(RemoteObject), "RemoteObject.rem", WellKnownObjectMode.Singleton); // Wait for the user …

Software Development assembly visual-studio
Member Avatar for majestic0110
0
440
Member Avatar for ViRiPuFF

Hi I am trying to run the code below and get Exception From Hresult 0x800A0046 (CTL_E_PermissionDenied) error only on Button 2. Button 1 does what it is supposed to ie remove all files found in the folders that are older than today. Button 2 should remove all files regardless but …

Software Development vb.net
Member Avatar for scififan
0
165
Member Avatar for cellus205

Im pretty new to VB, using .Net 2008, and I am saving two DataGrids, ComboBoxes, and Textbox to a txt file, using "*99*" as a terminator between each, but I am having trouble reading it back into each field. Heres my open file code. [CODE] Private Sub openbtn_Click(ByVal sender As …

Software Development vb.net xml
Member Avatar for cellus205
0
118
Member Avatar for linux0id

Hello everyone! I am using pthreads on Linux with C++ which spawns one thread and (tries to) play music. However, as soon as the program gets to the point where any function tries to use any member in the class, program seg-faults. Here - [ICODE]class audio { public: int play(char …

Software Development audio c++
Member Avatar for linux0id
0
1K
Member Avatar for mruane

I am not sure how to word this question. If I am defining function() to be a user input prompt, does the [code] name_of_prompt = raw_input("") [/code] name of prompt equal the name of fucntion or could it be prompt_funct1? If so, when using if...elif statements to call on other …

Software Development python
Member Avatar for slate
0
299
Member Avatar for nirali35

Hello people, While compiling the code in set of files below, I get the following error: [CODE] Error 1 error C2653: 'Member' : is not a class or namespace name c:\personal\nu\csc 300\project\library\library\book.h 50 Error 2 error C2653: 'Member' : is not a class or namespace name c:\personal\nu\csc 300\project\library\library\book.h 51 [/CODE] …

Software Development c++
Member Avatar for nirali35
0
559
Member Avatar for cellus205

Hows it going everyone. Im trying to compare two tables, and display the rows that are not in both tables in a DataGrid. Im using Visual Basic 2008, and created a query in the TableAdapterManager, but when I try to call the query, it is not displaying the results. Shows …

Software Development vb.net visual-basic
Member Avatar for cellus205
0
139
Member Avatar for ovesh

Hello, I am a java developer (with a few years experience). I have just been assigned my first C# project. So far I have only written UI in java (Swing), coding by hand. I have found this to be easy and manageable. When I opened Visual Studio (not for the …

Software Development java-swing open-source visual-studio
Member Avatar for Ramy Mahrous
0
112
Member Avatar for CodeBoy101

Hi I need to make multiple copies of a file using Dev-C++ can anyone help?

Software Development c++
Member Avatar for CodeBoy101
0
135
Member Avatar for paul1145

[code] Maybe it doesn't exist but any help would be greatly appreciated I'd like to simply save a current playlist to my own directory not WMP1's directory I don't want to mess with WMP1's default directories Private Sub Create_a_PlayList(ByRef songs() As String, ByVal name As String) Dim listCollection As IWMPPlaylistCollection …

Software Development visual-basic
Member Avatar for paul1145
0
229
Member Avatar for CodeBoy101

Normally if I want to concantinate two strings I would use: [CODE]strcat (variable_name, "Constant");[/CODE] But is there a function that let's me use (variable1, variable2) ? Any help is welcome. :)

Software Development c++
Member Avatar for CodeBoy101
0
199
Member Avatar for kaos

Hi, can somebody tell me how i can generate a random number sequence,within a specific range?

Software Development c++
Member Avatar for kaos
0
106
Member Avatar for vb_learner

Hello :) Iam using windows application, I want to know how can I move from textbox1 to textbox2 through the tab control key or enter key..

Software Development vb.net
Member Avatar for Rasb23
0
343
Member Avatar for Alex Edwards

I looked up the method class and thought that it might be useful, but unfortunately Method objects must be public to be invoked. I'm just curious of when I'd actually really need to use the Method class. Maybe to create an array that used a type of algorithm to fire …

Software Development algorithm java
Member Avatar for dkerberwra
0
86
Member Avatar for turnerca902

Hi all, I have a little project that I think would be possible to accomplish using python. I'm a beginner at this sort of thing, so I am posting the basic information in the hopes that someone out there could help me get started or point me in the right …

Software Development python xml
Member Avatar for woooee
0
154
Member Avatar for joshuabraham

undefined reference to WinMain@16 i use dev c++ by the way thanks for any help.

Software Development c++
Member Avatar for William Hemsworth
0
96
Member Avatar for ambarisha.kn

Hi, I dont know much about Standard template library(Vectors, Lists, Deque). I want to do one Program which is as follows. Write a program to create a data bank which holds the operator and operands of arithmatic/relational/bitwise(etc.,) operations. (Use STLs) The no. of operand fields(input and output) is variable depending …

Software Development c++ visual-studio
Member Avatar for ithelp
0
95
Member Avatar for savinki

Hi, Can someone please tell me, Is there any builtin function to convert decimal value to a fixed format? e.g. 6 to 0006 10 to 0010 123 to 0123 4987 to 4987

Software Development c++
Member Avatar for Radical Edward
0
102
Member Avatar for kireol

Hi. I was a developer back in the j2ee 1.2 days. Took a few years off. 5 to be exact. Looking to relearn and get up to date. Looking for a good j2ee book and or tutorial or web site to start getting back up to speed. thanks

Software Development java
Member Avatar for kireol
0
110
Member Avatar for cmrhema

Hi, We have developed a socket program as below, The program works fine, except that it sometimes gives me jumbled messages or same message gets repeated twice. The whole code is produced below. I will let you know what exactly are we doing. This a socket program for tracking vehicle. …

Software Development
Member Avatar for chsarp_vijay
0
180
Member Avatar for mm-marek

Hi, I need to transfer data from file to fields... Can anyone help me? file: [CODE] name surname weight age male/female name surname weight age male/female marek mixa 70 23 M ... [/CODE] kód: [code] typedef struct lidi { char cl_jmeno[16], cl_prijmeni[21], cl_muz_zena[1],cl_vyska[3], cl_vaha[3]; } LIDI; LIDI lidi[6]; [/code] i …

Software Development c
0
78
Member Avatar for funtoosh

I'm implementing a Timer for different cities using GregorianCalendar class of java.I got a Null Pointer Exception in the following code in ---- target.timeElapsed(this) line.After a lot of practices,I don't got it out.Plzz help me to sort it out.. Here's my code---------- import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.*; …

Software Development java java-swing
Member Avatar for funtoosh
0
226
Member Avatar for redprawn_89

Hi guys! i'm using Visual Studio 2005 C#. I like to ask this question about GUI. How can i pass value from one form to another? For example, the user have to key-in the amount of money he/she needs to borrow in form1.cs Then on form2.cs, i need to get …

Software Development gui visual-studio
Member Avatar for Jx_Man
0
137
Member Avatar for bjeff71

I am receiving a successful build msg, but I cannot get my program to run correctly. Hereis the msg. followed by the program:[CODE]init: deps-jar: compile: run: java.lang.NoClassDefFoundError: Inventory5_5 Caused by: java.lang.ClassNotFoundException: Inventory5_5 at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) Exception in thread …

Software Development java java-swing
Member Avatar for Manishbpl
0
163

The End.