64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for daniwaber

Hi everyone, Can you tell me a way to get the file path (filename) of a file when I "open with" it with my program. I mean that if I open a certain file with my software, I should get the file path of the file. Please Help:)

Member Avatar for daniwaber
0
319
Member Avatar for Dorar

[COLOR="red"]This is Reservation program full code written in JAVA <from the web> No Problems are in running process. I'm required to convert it to C language.[/COLOR] -- [COLOR="Green"]1- these are lines that i did not understand it. <could any one explain>[/COLOR] a. private static DataInputStream k = new DataInputStream(System.in); //what …

Member Avatar for Dorar
0
233
Member Avatar for chiiqui

Guys help me please, the equation on 2/3 is giving the waterTemp to 0; how come it is not changing? and also, if the nWaterTemp reached 20.00or somewhere 20.00 to 21.00; it is supposed to print that "THe kettle is now on "Help please [CODE]#include<stdio.h> #include<stdlib.h> #include<cstdlib> #include<time.h> void wait …

Member Avatar for Moschops
0
252
Member Avatar for anand01

Hi all , I need to transfer data from jsp to servlet.. am accessing db from servlet .. I need to tranfer those db content to my jsp page how can I achieve that . thanks in advance

Member Avatar for anand01
0
5K
Member Avatar for bhagawatshinde

Hi, Guys i have an xml file containing near about 6,000 thousands questions in rtf format while inserting these questions into sql server it will give me an error, 2500 records inserted successfully .......... but from that point it will show error, [COLOR="red"]The CLR has been unable to transition from …

Member Avatar for bhagawatshinde
0
181
Member Avatar for bhagawatshinde

Hi, I am create new setup for my project(.exe). While i am click on exe it will throws an error microsoft has encounred a problem we need to close it. System.data.sqlclient.sql what happens , i am installed in another PC it will work fine . I have allready .netfrmawork an …

Member Avatar for bhagawatshinde
0
107
Member Avatar for sunny124

Hi, When i use realloc to re-size my array it is re-sizing it correctly but my some of my data is getting lost. Strange thing is that If I don't use realloc, I can still re-size my array by just increasing the index before inserting the data. In this case …

Member Avatar for Ancient Dragon
0
117
Member Avatar for jhartley3

Problem 4 – makeScarf(scarf) Let’s knit a scarf! With Python today we are knitting recursively. Your main program should be contained in a recursive function called makeScarf() which takes a string: your scarf that will be printed out in the end. You may use other helper functions as needed, but …

Member Avatar for absdef
0
160
Member Avatar for daveoffy

I am working on a "searching" program. But it always returns a "." as the up directory or whatever. And I can't do an if statement to check if its a period or not. The goal is to get the only name of the folder in that directory. There is …

Member Avatar for MonsieurPointer
0
310
Member Avatar for muratgul

hi, u are so good at c, i saw some program that i looked for, but i dont look at result, i need a program, for beginner level of c programming (because i am beginner), converting binary to gray, gray to binary i only know while, if, for, a little …

0
52
Member Avatar for bostonselkirk

Hi all. As a hobby I've been working on making a website with PHP and MySQL, both of which I am new to. I'm having some trouble with the comments system as I can't seem to be able to insert a date into the database. After the "insert", when I …

Member Avatar for pritaeas
0
177
Member Avatar for sathya88

how to send mp3,avi(large) files via socket...small files with size less than 100kb is possible but how to send large file..

Member Avatar for NormR1
0
8K
Member Avatar for DoubleZ

Hello, I`m just starting to get into the basics of C++ and I have to create a following program - basically the user has to input an integer and a digit of their choice and the program has to check whether the square of that integer contains that specific digit …

Member Avatar for DoubleZ
0
2K
Member Avatar for hujiba

I'm new at this so sorry if my vocabulary and stuff is totally off. With the following syntax, my goal is to call the choose_number function, which, when given two arguments (integers), returns one of those two at random. I run it multiple times with a for loop but it …

Member Avatar for doug65536
0
170
Member Avatar for aadi_capri

hello every1 i would appreciate if any1 cud help me with setting an image to label what i want is a label with no text jst an image display on the label... thanks in advance!

Member Avatar for aadi_capri
0
114
Member Avatar for m1n1m3

Hi! I have a function that i like to move 2 image objects around. (it works with 1) But im getting errors while im trying to pass multiple object id-s. I believe example will tell you more. [CODE] <script> function Init() { document.getElementById('pilt_kivi').style.left = x + 'px'; document.getElementById('pilt_kivi').style.top = y …

Member Avatar for m1n1m3
0
241
Member Avatar for dwayned

Hi Guys, I have imported an excel document into MySQL to tidy up and make better use of the data but I am having problems running an update. All tables used as examples below; [U]Tables[/U] asset_register phone sim team The asset_register contains the following cols; [CODE] id INT, serialNo VARCHAR, …

Member Avatar for dwayned
0
17K
Member Avatar for SagarSe7en

Hello Friends! Want to Post something i know might be very weird but this is how it goes. In Java we use [CODE]RS.getString("FirstName");[/CODE] to get the value of the column FirstName from the database. If the valueis not detected then it shows null in the Text Box. [CODE]RS.getInt("StudentID");[/CODE] to get …

Member Avatar for SagarSe7en
0
392
Member Avatar for tapandesai007

I have one Access Database and in one of the column I need to store image file, how can I do that? Can anyone help me. I know how to do this is MS SQL Server Database but not about Access Database.

Member Avatar for tapandesai007
0
138
Member Avatar for manutd4life

Hello every1, i create a mdiparent form and a form1, all i wanted to do is to close the mdichild form(form1) with a close in the menustrip. Sorry i cant explain this clearly When i want to close the opened childform with menustrip (i create a button close in the …

Member Avatar for skyusb
0
484
Member Avatar for walid86

Hi, i have these two methods which work as designed, but the original image still shows behind... These methods are to resize an image, one is increase and one is decrease size. Upon [B]smallerByToolStripMenuItem_Click[/B] the image is resized, but the original shows behind it. Upon [B]largerByToolStripMenuItem_Click[/B] the image is also …

Member Avatar for walid86
0
160
Member Avatar for ktab

How may I filter a bindingsource between 2 numbers? Obviously "column_name BETWEEN Num1 AND Num2" does not work, since between is nor supported. Any ideas?

Member Avatar for ktab
0
2K
Member Avatar for zachattack05

I have an issue where two text labels are on the same horizontal line on a form. The label to the left expands to the right and down and is anchored to the bottom left of the form. The label on the right is anchored to the bottom right of …

Member Avatar for Momerath
0
559
Member Avatar for janice91

Dear Experts, I am new to the LinkedList concept and trying out coding a LinkedList problem which require me to do Insert newInteger based on the Index, Remove Index and Change oldInteger to newInteger based on Index. Please kindly advice what i should code in my [code] public void insert(int …

Member Avatar for Taywin
-1
187
Member Avatar for raviaaaa

After installing tomcat 6.0 server into my machine iam not able to find "start up and shut down" files under bin directory pls tell how to solve this issue

Member Avatar for Taywin
1
187
Member Avatar for cak

Hi!!This is Chetana... I m TE IT student. I need some good topics 4 the mini-projects in dbms considering vb as front end and oracle as back end(apart from the library,railway,hotel management etc ). Plz help...:S

Member Avatar for chetan gaikwad
0
535
Member Avatar for garu525

Good day to all, I'm doing a project about inverse permutations from an array of permutations. It's my first time coding on permutations so I don't have any experience on this. So I came up with a solution to just swap the array and the element number as the inverted …

Member Avatar for mbundgaard
0
943
Member Avatar for Ruchi224

Hello..I am developing a windows application in vb.net and getting an error of system.nullreference exception. I am trying to insert data in the database, insertion occurs in the first go. But, when i stop the porgram and re-run, i get the exception. Can anybody please help me with this ? …

Member Avatar for Ruchi224
0
330
Member Avatar for Cifale

Hi all, I am working on a Chart showing the activity per customer for the last 12 months + the current month (I work in a technical support team). Basically, my SQL query is providing me with the right result most of the time. It looks like this: Sep 10 …

Member Avatar for lolafuertes
0
125
Member Avatar for aadi_capri

hello every1, i am new to vb.net and was wondering how can i trigger a label_click event on the press of a key. thanx in advance!

Member Avatar for aadi_capri
0
196
Member Avatar for felix001

Im using pexpect to output some terminal commands, but im facing the following issue. The code is [CODE]porttype = "Gi" print expectSw.sendline ("sh int counters errors | i %.*/1 ") % porttype expectSw.expect ('.*#') print expectSw.after[/CODE] But when I run the code i get ... [CODE]Traceback (most recent call last): …

Member Avatar for felix001
0
571
Member Avatar for ankit.pandey3

[CODE]import javax.swing.*; import java.awt.event.*; import java.awt.*; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import java.util.TimerTask; /** * @author Adrian BER (beradrian@yahoo.com) */ public class PopupAnkit extends JPanel implements ActionListener{ private JToggleButton invokePopupButton; private JFrame popupWindow; Statement stmt=null; ResultSet rs=null; // int tempCount=0; public static int count=0; /** * Constructor. …

Member Avatar for ~s.o.s~
0
418
Member Avatar for thenewbiecoder

I'm just starting to learn c++ and need to know how would you read the first line from a file and write to a new file? thanks

Member Avatar for WaltP
0
258
Member Avatar for gayathriselvam

I hav given the name of file as class name and saved it as .java by creating a folder in c drive.when i try to compile it shows the following exception.pls help me to resolve from this problem C:\Program Files\Java\jdk1.7.0\bin>javac HelloWorldApp.java javac: file not found: HelloWorldApp.java Usage: javac <options> <source …

Member Avatar for leiger
0
196
Member Avatar for syjytg

Write an expression whose value is the result of converting the str value associated with s to an int value. I tried typing int('s') in python2.7, and I got an error.

Member Avatar for syjytg
0
745
Member Avatar for majorawsome

Alright. So with c# we have SINGULAR class inheritance, correct? But we can have infinite Interfaces. I don't get this because when I inheret like so (I'm doing this right, Right?) [CODE] class Player : Zombie_Game.Variables { } [/CODE] and in my Variables class I have this... [CODE] class Variables …

Member Avatar for majorawsome
0
156
Member Avatar for Alviery

this is my problem! I have to create a console application that asks for numbers of quarters, dimes, nickesl,and pennies. I have to use the Scanner class that read in the integer values for each coin. Calculate total values in cents. Calculate number of dollars and remaining cents. [CODE]import java.util.Scanner; …

Member Avatar for Taywin
0
225
Member Avatar for iamthesgt

This is homework. Here is the problem: Produce a list of employee last name, first name and department name. Use appropriate, user friendly column aliases. This is from the tables [ICODE]DEMO.EMPLOYEE[/ICODE] and [ICODE]DEMO.DEPARTMENT[/ICODE]. The relevant column names are [ICODE]LAST_NAME, FIRST_NAME, DEPARTMENT_ID[/ICODE] (from [ICODE]DEMO.EMPLOYEE[/ICODE]) and [ICODE]DEPARTMENT_ID, NAME[/ICODE] from [ICODE]DEMO.DEPARTMENT[/ICODE]. As you …

Member Avatar for iamthesgt
0
192
Member Avatar for Kevingon

Hi, I'm trying to set custom fonts, I can do it without problem with this code: [CODE] InputStream is = this.getClass().getResourceAsStream("/src/someFontName.ttf"); Font f=null; try { f = Font.createFont(Font.TRUETYPE_FONT,is).deriveFont(15f); } catch (FontFormatException ex) { Logger.getLogger(PanelLiquidacion.class.getName()).log(Level.SEVERE, null, ex); } catch (IOException ex) { Logger.getLogger(PanelLiquidacion.class.getName()).log(Level.SEVERE, null, ex); } txtPlace=new JTextField();txtPlace.setBounds(185,10,310,20); if(f!=null){ txtPlace.setFont(f); lblPlace.setFont(f); …

Member Avatar for Kevingon
1
686
Member Avatar for lbgladson

I have an assignment Enhance the CashRegister class so that it keeps track of the total number of items in a sale. Count all recorded purchases and supply a method int getItemCount() that returns the number of items of the current purchase. Remember to reset the count ast the end …

Member Avatar for Taywin
0
3K
Member Avatar for lucas.ploeg

Hi, I have a program that generates an outputstream with XML-data. With a socket connection, I have to read multiple XML-files from the inputstream. To read only one XML-file from the inputstream is not a problem, the fact that there are more than one and I have to split up …

Member Avatar for JamesCherrill
0
3K
Member Avatar for mysitemanager

Hi, I'm trying to populate an asp:menu from a database on my master page and keep getting the error: Object reference not set to an instance of an object Here's my code on the master page: [CODE] <asp:Label runat="server" ID="errLabel" /> <asp:Menu ID="Categories" runat="server" CssClass="menu" EnableViewState="false" Orientation="Vertical" DataSourceID="categoryListSrc"></asp:Menu> <asp:XmlDataSource ID="categoryListSrc" …

Member Avatar for dnanetwork
0
184
Member Avatar for gmonroyg

Hi guys, i'm trying to test my asp.net app. it works fine when in visual studio 2010 ide, connecting to Mysql database and running. but, when testing in IIS the published app get the message exception "no database selected". it's everything running local, windows xp, mysql 5.x, IIS 5.1 my …

Member Avatar for gmonroyg
0
1K
Member Avatar for Syrne

Hi guys (again), I have a new issue. I am trying to bubble sort my array of objects to display in alphabetical order. Here's the code: [B] Subscriber class:[/B] [CODE]package assignmentone; import java.util.Scanner; import java.util.StringTokenizer; import java.util.Random; /** * * @author Bill */ public class Subscriber { //Field declarations private …

Member Avatar for Taywin
0
2K
Member Avatar for railrover

Hi all, I'm having problems getting my mobile device (Windows Mobile 6.1) to see my VB.NET application as genuine. Here are the steps I am taking - can anybody see why there is a problem? I use makecert.exe to create a new root certificate.... makecert -n "CN=McLernonsMARS" -r -sv McLernonsMARS.pvk …

Member Avatar for railrover
0
187
Member Avatar for KE50

Hi, I have been trying to get my way round the DOJO charting using the declarative (html) method. 1. I have a ItemFileReadStore for the data source 2. I know the data store has data as I am outputting it to a grid as well. The only thing that appears …

Member Avatar for KE50
0
109
Member Avatar for mitchiexlolz

[CODE][TEX] I want to make a manu bar that is same as the menu Bar present in Microsoft office 2007. How is it possible? Thanks for the help!:) [/TEX][/CODE]

Member Avatar for khentz
0
149
Member Avatar for Pwnerz0r

I am trying to create my login system but I have got a problem with reconizing the value from a file. getline(fstream) recognizes it and puts it in a char(reg_confirm), but I can't set a different function for a different value. it should go like this: if (value == "0") …

Member Avatar for Eagletalon
0
179
Member Avatar for programmer12

Hi, I am trying to modify these codes to where I can use my PHP /MySql Database. I have an event section in the database that list the month year and day of the event as well as the title of event and description. As of now I have all …

Member Avatar for mrtreb20
0
168
Member Avatar for kccute

Hellow everyone Could somebody show me some code Searching/Finding record on a Database Access. example when i type in textbox1 the last name and first name all the record will be displayed on datagrid and when no record is found it will generate message that the record dont exist. Plss …

Member Avatar for kccute
0
167

The End.