43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for joseph.lyons.754

Hey Guys, What i want it to do : 1. Combobox is displayed with a list of countys ie Limerick Dublin Cork 2. Choose County brings up second Combobox with countys towns and villages. 3. Hit search brings up relevant towns and vilages from the county chosen. What it does: …

Software Development java mysql sql
Member Avatar for joseph.lyons.754
0
291
Member Avatar for 3e0jUn

I've been looking for a way to parse a simple XML-like language for use as a type of data storage. I've been through stuff like JSON, XML, etc but I don't want to use them because they are quite slow. I just need a simple way to parse this: [stuff] …

Software Development json python storage xml
Member Avatar for james.lu.75491856
0
433
Member Avatar for pc20912

I am beginner for Vb.Net, My project used some external files (Ex. Word, Excel, PDF, and JPG). Where should I copy these files..? in Same folder Project already saved (D:\TTC) or not. If different path, what is it. (Ex, When I click Button1, Names.docx file must be opened) I want …

Software Development pdf vb.net
Member Avatar for Begginnerdev
0
225
Member Avatar for MasterHacker110

I read somewhere that when you develop a kernel in c++, that the new, delete and static_cast keywords require timing references... I was unable to find the site again but my question is, why does these keywords require timing references?

Software Development c++
Member Avatar for MasterHacker110
0
215
Member Avatar for benwadee

I will donate $10 on paypal for a few python assignments to be completed

Software Development python
Member Avatar for TrustyTony
-1
146
Member Avatar for triumphost

I want to use it because it says it supports all the C++11 features and I'm hoping that includes Regex as well since gcc isn't near finishing anytime soon.. However, many other websites are saying that clang requires Mingw/gcc to be used in the first place. It doesn't make any …

Software Development c++ ide regex
Member Avatar for triumphost
0
702
Member Avatar for lewashby

In the following program everything works fine when I enter 5 or 8, but if I enter 4 or 7 the program crashes with a Segmentation fault error. I'm just trying to add zeros until the number of characters in string is evenly divisible by 3 and I'm doing so …

Software Development c++
Member Avatar for lewashby
0
172
Member Avatar for mikewyatt

I have a JLayered pane that has a large sized JLable that is showing an image that is used to show a background image. This is on the default layer. Inside I have many items such as lables, textfields, tables and other such things. These are set for the pallet …

Software Development java
Member Avatar for mikewyatt
0
165
Member Avatar for rotten69

Hi everyone, I consider myself as a java beginner because I haven't been involved in a lot of projects. I'm opening this thread to raise awareness that we don't have java projects thread primarily for beginners and it could help advanced java programmers in terms of practising their java knowledge. …

Software Development java
Member Avatar for renato.francia
4
870
Member Avatar for EXTRA_RICE

I have to print the invoice in my datagrid using datareport but i dont have the total amount of all the selected items.i have uploaded a picture. I hope u could help me..thanx

Software Development visual-basic
Member Avatar for EXTRA_RICE
0
1K
Member Avatar for SaRa Ahmad

can anyone help me of how i can copy a file from user computer to a server that can anyone open the file??? my case is : i have a text field to read a path and command button to save a path and i have another command to view …

Software Development visual-basic
Member Avatar for wcttech
0
125
Member Avatar for ram619

Hello, in this code snippet I am not able to understand line 8 and 10. Here at line 8, char* is getting typecasted as int* then again, getting typecasted as char*. Please explain. #include<stdio.h> int main() { int arr[3] = {2,3,4}; char *p; p = arr; p = (char*)((int*) (p)); …

Software Development c
Member Avatar for Razahcy
0
220
Member Avatar for hanvyj

Hi, I need to be able to automatically process emails sent to an outlook account. I would use outlook, but we can't run a user logged in 24/7 on our server so I need to manage them as a service. Is this something that I could do in C#? So …

Software Development
Member Avatar for hanvyj
0
111
Member Avatar for iFrolox

Hello, Im trying to compare 2 strings to set a label an specific text depending on the result of the comparison. String 1: 22:10:10 (24h time) String 2: 03:50 (24h time) How could i detect if earlier than "03:50"?

Software Development
Member Avatar for castajiz_2
0
123
Member Avatar for ram619

The output of this code is -1, 4, 4. I am not sure about this -1. Is it because when all bits are set then in decimal it means -1 ? #include<stdio.h> int main() { struct value { int bit1:1; int bit3:4; int bit4:4; }bit={1,4,4}; printf("%d %d %d",bit.bit1, bit.bit3, bit.bit4); …

Software Development c
Member Avatar for Ancient Dragon
0
147
Member Avatar for IsaacMessi10

I need to to this: If the selected option / item is "Enabled" I want to preview a textbox. I've tried this: If ComboBox6.SelectedItem = "Enabled" Then TextBox10.Visible = True Else TextBox10.Visible = False End If And also this: If ComboBox6.Text = "Enabled" Then TextBox10.Visible = True Else TextBox10.Visible = …

Software Development vb.net
Member Avatar for Reverend Jim
0
116
Member Avatar for teppuus

Hello, I am trying to create an MDI application and am having problems with one of the frames. Walking through the errors, the first error points to a list generated by Netbeans code that I think is the null problem. When I look further down the error list, I get …

Software Development java java-netbeans java-swing
Member Avatar for JamesCherrill
0
1K
Member Avatar for dendenny01

I am a beginner in java does not know much about it. But to practise it I have tried to simulate the popular game Hangman using simple methods.Please Guide me with the code In this program the words are given by the user and then they are converted in to …

Software Development java
Member Avatar for JamesCherrill
0
327
Member Avatar for sankubha

I have java tcp socket programming...... In that i need to send a file from client to server .... at the same time i need to chat with that client ...... by what way i can do this ...

Software Development java socket-programming
Member Avatar for kapildeven89
0
180
Member Avatar for vivificus

I'm trying to make a program that has a world map on it and when you click on a continent you get some basic information about that continent in a textbox. However I am trying to figure out how best to do this if all continents were perfectly square it …

Software Development vb.net
Member Avatar for Reverend Jim
0
254
Member Avatar for Dimonai

Hello to all, I'm have been porgramming console applicactions in C# to learn the language. Today I was curious in windows forms, and started a project. After searching in the web/youtube I see people putting all the code on the button code(when doubble click), BUT I saw there the same …

Software Development c c# c++ microsoft oop
Member Avatar for Dimonai
2
2K
Member Avatar for m1m6jbr

hello i'have a problem using multiple form the Form1 is the main form and Form2 , the Form that the user will insert data in, and then these data must appear at Form1 this is my code :) public partial class Form1 : Form { public Form3 ff = new …

Software Development
Member Avatar for ddanbe
0
188
Member Avatar for Klahr_R

I work with VBA and VB6 so I miss some things. I notice in sample code that some folks use if MyString <> "" then and others use if Not MyString = VBNullString Is there a difference, and why? Thank you in advance

Software Development visual-basic
Member Avatar for Klahr_R
1
279
Member Avatar for pythonforlife

Sorry guys, how do you print a message dialog box if a file doesn't exists in python? I am currently using a program to do segmentation of video file and assembling it the files that I need and excluding those I don't. I have completed the tasks but if I …

Software Development python
Member Avatar for bumsfeld
0
460
Member Avatar for lewashby

How could I get the file name and the permissions to a file as a string? This is on a Linux system.

Software Development python
Member Avatar for james.lu.75491856
0
225
Member Avatar for castajiz_2

Hy guys, haven t been here for a while, If anyone can give me a idea or a way or a link on how to retrieve data from a website and store it in my application for further usage. The thing is that this data is being updated every month …

Software Development html-css visual-studio
Member Avatar for Momerath
0
197
Member Avatar for shaifali ranyal

i want to add scroll bar to scroll this page..this page is user log-in form... to add more fields i have to add scroll bar how can i do so ..pls help package user; import java.awt.Color; import java.awt.Container; import java.awt.Font; import javax.swing.*; public class form extends JFrame package user; import …

Software Development java java-swing
Member Avatar for shaifali ranyal
0
343
Member Avatar for Malymieczek

Hi All, So i have recently started developing an application in XCode for a project that I am working on. The application uses php scripts to connect to a mysql server. The problem I am facing is that when I coded textfields to send the information to the server when …

Software Development ios objective-c
Member Avatar for davidkroj
0
200
Member Avatar for pars99

Are you able to have multi-character switch statement cases? So if this is my code: #include <iostream> using namespace std; int main(){ char choice; cout << "Enter a word >" << endl; cin >> choice; switch (choice) { case 'ball': cout << "You entered ball" << endl; break; case 'bike': …

Software Development c++
Member Avatar for pars99
1
216
Member Avatar for salesman91

Okay,First of all let me introduce myself as newbee to this language. this is my third day with program,I usually Practice at college where Visual studio 2010 is installed. I have VS2012 ultimate. If I sound silly forgive me,but I am really desperate here. 1st Problem,I couldnt create New SQL …

Software Development dataset visual-studio
Member Avatar for salesman91
0
315
Member Avatar for cool_zephyr

I was trying to send an email using javaMail API using my own smtp server to gmail/hotmail/etc..I put the following code to specify smtp server's settings Properties props = new Properties(); props.put("mail.smtp.auth", "true"); props.put("mail.smtp.host", "my smtp host"); props.put("mail.smtp.port", "my smtp host's port"); Session session = Session.getInstance(props, new javax.mail.Authenticator() { protected …

Software Development api email java session
Member Avatar for cool_zephyr
0
280
Member Avatar for lewashby

(Linux) In the following program when the command python permissions.ph is issued I simply get another prompt, but when python3 permissions.py is issued I get the error below. Why does python2 see tkinter but python 3 doesn't? garrett@bedroom ~/Projects/TestArea $ python permissions.py garrett@bedroom ~/Projects/TestArea $ python3 permissions.py Traceback (most recent …

Software Development python tkinter
Member Avatar for vegaseat
0
1K
Member Avatar for pythonforlife

Sorry guys, how do you print a message dialog box if a file doesn't exists in python? I am currently using a program to do segmentation of video file and assembling it the files that I need and excluding those I don't. I have completed the tasks but if I …

Software Development python
Member Avatar for vegaseat
0
226
Member Avatar for charles.dupree.37

Hi, I am stuck trying to figure out how to include a class within a class and how to properly call members of a class from the main(). I cannot figure out what these error messages mean. I would greatly appreciate and insight into my dilemma. Thank You, C.D. Enclosed …

Software Development c++
Member Avatar for rubberman
0
3K
Member Avatar for Shodow

how to select all item in listview? For i = 0 To lvList.Items.Count - 1 lvList.Items(i).Selected = True Next i PrintToolStripMenuItem.PerformClick()

Software Development listview vb.net
Member Avatar for Reverend Jim
0
115
Member Avatar for Angelrawzz

Hi, I am trying to create a function which takes two chars and a char* string. Then run the function and replace each occurence of Char1 with char 2. E.g. String = Apples. Char 1 = A. Char 2 = B. Char 1 is present in string so replace all …

Software Development c++
Member Avatar for deceptikon
0
617
Member Avatar for adil.ghori

Hi everyone, I have created a program with my whole day and night hard work in dev C++ and now im trying the same code in Visual Studio C++ 6.0 ... I'm showing you the code of that program, kindly guide me through this, or correct the problem in getting …

Software Development c++ file-stream visual-studio
Member Avatar for adil.ghori
0
947
Member Avatar for mikewyatt

I have a popup window that instead of the ordinary YES_NO_CANCEL_OPTION I want the user to select from 3 options {A, B, or C} static int Select_Use_Move_Items(int Select_Col){ int n = JOptionPane.showOptionDialog(frame, "Select Option for:\n "A: Remove - Discard one Item\n"+ "B: Transfer one Item to Person\n"+ "C: Transfer one …

Software Development java
Member Avatar for mikewyatt
0
362
Member Avatar for Alxprog

Hi! I'm a newbie in C++ and encountered myself with a problem: how to transfer data from a text file (containing data in "yyyy.mm.dd" and "09:00" format) into a two dimensional array ? What I want:to convert 2003.12.20 into 20031220 and 10:15 or 09:00 or 00:00 convert into 1015 900 …

Software Development c++
Member Avatar for Labdabeta
1
329
Member Avatar for ibpet11

Hello guys, I did appreciate this quick assistance, I have a .csv file and I want the lines in the file to be sorted using value in the first column and the write out the sorted file to another file Take an instance we have: ================================= 36,Line1 APPLE FRUIT 11,Line1 …

Software Development apple file-system vb.net
Member Avatar for ibpet11
0
2K
Member Avatar for tanatos.daniel

I have this function that should open two files and write their content in a third file, separated by "\n". I don't get why it works for code in comments and not for the one below it, although both provide valid text file names. void concatenate() { /*char *file=new char[strlen(" …

Software Development c++ file-system
Member Avatar for tanatos.daniel
0
368
Member Avatar for james.lu.75491856

I want to start a command in command prompt, but os.system() can only do one command, and I want it to start from a url. Example: import os,getpass print "Altline (C) James Lu" print "All rights reserverd." def currentuser(): try: return "Users/" + getpass.getuser() except: print "Cannot detect user, starting …

Software Development python
Member Avatar for Gribouillis
0
204
Member Avatar for Mr.M

Hi Dw I'm trying to create a program that I will use to browse through websites when I'm not connected to the internet and I can download the single page using the code I provide bellow but what I want is to download the entire website with it contents e.g. …

Software Development html-css vb.net
Member Avatar for Mr.M
0
329
Member Avatar for ss125

When i implement the following code in my Global.asax.cs in the session timeout procedure, It prompts me an error... HttpContext.Current.Response.Redirect("login.aspx"); What will be the problem? Note: I want to forward the user to login page when the session is timeout.So i used this. Correct me if i am wrong in …

Software Development asp.net session
Member Avatar for ss125
0
167
Member Avatar for EXTRA_RICE
Member Avatar for EXTRA_RICE
0
328
Member Avatar for cleve23

Hi all, I was trying out this for loop example and i notice that the for loop only works for the printing of x.The printing of y value did not work at all until the loop ends. I am trying to understand how for loop actually works. Am i right …

Software Development java
Member Avatar for cleve23
0
138
Member Avatar for dev90

Answer is NING. how....? i am not getting. can any one explain please....? ‪#‎inclde‬<stdio.h> void main() { printf(2+"GOOD EVENING"+6); getch(); }

Software Development c
Member Avatar for dev90
0
128
Member Avatar for SenseiWuzi

Hi, Basically, what I'm trying to do is that once the user has entered player names into two seperate text boxes, the user will then click the "Play" Button, this button will then change it's text to say "Quit". How would I go about doing so that once the button …

Software Development vb.net
Member Avatar for SenseiWuzi
0
223
Member Avatar for Sevyt

Is there any way to show the highest value from a access db column in a textbox which you put in the load of a form? Found something by searching around, but did not get it to work at all. Maybe because i cannot open a connection in the load …

Member Avatar for Sevyt
0
615
Member Avatar for fuhanspujisaputra

Hi guys, i created Windows Application form my project and there is a problem that i am facing right now. I already had an array of textboxes, and wanted to connect those database textboxes, however, i cannot get the data because the data that i want to connect is int …

Software Development c# open-source
Member Avatar for fuhanspujisaputra
0
992

The End.