199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for harinath_2007

HI, Looking for a solution to add my jar file to windows startup folder programatically by itself. Batch scripting may do the task but i dont want to use the batch. The jar itself should be added to windows startup folder programatically when it is clicked for the first time.

Member Avatar for herby_tech
0
128
Member Avatar for arupface

irb(main):001:0> time=Time.new => 2013-01-12 11:22:54 +0530 irb(main):002:0> puts time.to_s 2013-01-12 11:22:54 +0530 => nil irb(main):003:0> puts time.ctime Sat Jan 12 11:22:54 2013 => nil irb(main):004:0> puts time.local_time NoMethodError: undefined method `local_time' for 2013-01-12 11:22:54 +0530:Time from (irb):4 from C:/Ruby193/bin/irb:12:in `<main>' irb(main):005:0> puts time.localtime 2013-01-12 11:22:54 +0530 => nil irb(main):006:0> puts …

Member Avatar for L7Sqr
0
112
Member Avatar for gigillo

Hi all, my name is Luigi and i'm working on little windows app to send trought serial port some hex value from file. With following routine i get the total contens of thext file in a list box. Sub ToolStripMenuItem1Click(sender As Object, e As EventArgs) openFileDialog1.ShowDialog textBox1.Visible = True listBox1.Visible …

Member Avatar for Roxy-
0
383
Member Avatar for showman13

Good Morning, This may seem like a very basic and simple question from someone that has been doing programming as long as I have, but it is something that has always eluded me, and I've never taken the time to ask, so here it is... When I am doing queries, …

Member Avatar for showman13
0
126
Member Avatar for BrackishWater

How do I configure the date format independently for each of my date fields? For example, let's say I have a CustomerOrder class with more than 1 java.util.Date fields in it. I need to be able to render like this: <customerOrder> <orderDate>2013-01-04T20:50:42.769Z</orderDate> <user>Bob</user> <state>CO</state> <estShipDate>2013-01-04</estShipDate> </customerOrder> So one of the …

Member Avatar for BrackishWater
0
185
Member Avatar for chophouse

My Python environment: Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:57:17) [MSC v.1600 64 bit (AMD64)] on win32 I have a script that has been running for months. It's a cron job and suddenly it started throwing this error: *pymysql.err.Error: (<class 'TypeError'>, TypeError("'int' does not support the buffer interface",))* I don't …

Member Avatar for chophouse
0
631
Member Avatar for ro7_ad

i want to convert this program to read it in c-free (C++) plllllllzzzz i need this now !! thanx all #include<stdio.h> #include<math.> using namespace std; float x[20], y[20]; void get_corners(int n, float x[], float y[]){ int tempx,tempy; for(int i=0; i<n; i++) { cout<<"Enter (x, y) for point "<<i<<endl; cin>>tempx; x[i]=tempx; …

Member Avatar for NathanOliver
0
453
Member Avatar for ambageo

Hi! I'm having a project where I must give 2 integers and divide them. I must use the NumberFormatException to make sure that those two numbers are only integers( and display a message when they aren't) and the ArithmeticException to make sure that the can be divided (and display amessage …

Member Avatar for ambageo
0
125
Member Avatar for islam-morad

Hello Floks, I have been working on a database design for my company which is in the filed of calibration. I have came up with thae attached design and i need you to give me feedback.

Member Avatar for drjohn
0
514
Member Avatar for daniel36

I am having the form.php file- <html> <head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script src="form.js"></script> </head> <? mysql_connect('localhost','root',''); mysql_select_db('test'); $query="SELECT * FROM user"; $result=mysql_query($query); ?> <div id="contact_form"> <form name="contact" action=""> <fieldset> <label for="txn_unit" id="txn_unit">Txn Unit</label> <SELECT name="name" id="name"> <OPTION value="">SELECT</OPTION> <? while($row=mysql_fetch_assoc($result)) { ?> <OPTION value="<? echo $row['id']; ?>"><? echo $row['first_name']; ?></OPTION> <? …

Member Avatar for nabcoengineer
0
155
Member Avatar for nitin1

can anyone please help me in the sort function ? i have read that there are 3 way to use sort(). 1. use sort(v.begin(),v.end()) and second is sort(v.begin(),v.begin()+n, cmp) then in cmp i can have 2 varaitions, 2.a : cmp as the function (it is okay with me) 2.b. here …

Member Avatar for NathanOliver
0
226
Member Avatar for pspwxp fan

Hi Daniweb, Sorry if this sounds incredibly noobish, but i was just pondering seriously upon it. If the processer can handle only one instruction at a time, how does the computer seem to be doing like a hundred things at a time? It is performing the OS functions, it is …

Member Avatar for cmps
0
102
Member Avatar for ziziBA

hey i dont have any experience in android applications can anybody help me in this project?

Member Avatar for ziziBA
0
338
Member Avatar for nullifyQQ

I have 2 classes. AddressBook and SingleAddress. AddressBook is supposed to contain SingleAddress. I'm omitting the #include and some of the extra functions. Here's SingleAddress.h class SingleAddress { private: string lastName,firstName,strAdd,city,country,email; int postCode,homeNum,mobileNum; public: SingleAddress( string s1,string s2,string s3, string s4,string s5,string s6, int i1,int i2,int i3); string toString(); }; …

Member Avatar for Nick Evan
0
940
Member Avatar for Dolby779

Hello all, recently got a piece of coursework I completely know nothing of. It is shown below: Your task is to write a file archive utility similar to that of the Unix tar program. This program will be a command line program (i.e. there will be no graphical user interface). …

Member Avatar for Nick Evan
0
415
Member Avatar for asteriskLMNOP

Please bear with me, this is my first post So, I have this superclass called A. And I've 2 subclasses A1 and A2. A has attribute name. A has function toString(). A1 inherits name, and has attribute hair. A1 has a method toString() which goes: string A1::toString(){ string stringA= A::toString(); …

Member Avatar for ravenous
0
1K
Member Avatar for rishif2

Hello experts i am using following code in order to truncate a ms access table Dim con As New ADODB.Connection Dim rec As New ADODB.Recordset con.Provider = "Microsoft.Jet.OLEDB.4.0" con.Open App.Path & "\db.mdb" Dim query As String query = "truncate table tbl" rec.Open query, con, 2, 3 con.close but its producing …

Member Avatar for AndreRet
0
2K
Member Avatar for lavanya uppala

Hi sirs I have a problem with Menus and Sub menus.Main menu create horizontally but sub menu alo displayed in Horizontally.I want to Display the horizontal Main menus and vertical sub menus. I am using ASP.net Thanks in Advance.....

Member Avatar for rituu221
0
2K
Member Avatar for vizz

How to Convert number from digits to words into two languages **English language** and **Marathi language** Is it possible using php? Can anybody help me?

Member Avatar for vizz
0
588
Member Avatar for labibah

I have a file login.php <?php session_start(); include_once "../lib/opendb.php"; include_once "products_make.php"; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ $email= $_GET['email']; $pswd= $_GET['pswd']; if ($email=="admin") { $arr['id']=0; $arr['judge_name']="Administrator"; $_SESSION['gVars']=$arr; if ( $pswd == "2755") { $arr['status']="admin"; } else { …

Member Avatar for labibah
0
144
Member Avatar for petrakid

I am using jquery.filedrop.js to create a HTML5 drop box for users. Currently I have it working about 2/3s the way I want it to. The company does yearly conferences, and I have a file path 'file/path/to/conferencefiles' where I save media (docs, images, vids, etc) based on the YEAR of …

Member Avatar for unikorndesigns
0
919
Member Avatar for Mits14

hello, i found an interesting source that would help me extract 2007 excel file and save it to SQL server 2005 using ASP.Net but i have encountered an error and i don't know how to solve it. i used the vb file. And i got the error at this part …

Member Avatar for Mits14
0
317
Member Avatar for Bassznapper

Hey, I've looked at several web software, they have stuff like that {$title} or {$user}? What do I need to use this one. Tpl file, and what is this in general?

Member Avatar for cmps
0
101
Member Avatar for mattboy64

I'm almost finished coding the last of my C program on stock inventory but in the last two functions (one being my main function and the other a void function) the compiler gives an error stating that there a Parse Issue and that an expected identifier or "(" is missing …

Member Avatar for Adak
0
223
Member Avatar for acepeda

Hey guys! Im having a little problem with my datetimepicker!Im making a personal payroll system,where I want to add employee's daily hours!for example: Employee name:Marcus Veron IdPayroll:032012 Date|Hours 19/07/2012 | 8 20/07/2012 | 8 21/07/2012 | 7 Well im having problem quering the date field...cause in my datetimepicker i have …

Member Avatar for tinstaafl
0
134
Member Avatar for monching

Greetings! How to remove the **X** button in the upper right corner of VB forms?

Member Avatar for Ancient Dragon
0
141
Member Avatar for cristian.stilpeanu.3

Hi, please help me how i mask my extension to my url website. I heard it's a code that can help me. My url website: www.name.ro/index.php?s=page1 And i want just this to show: www.name.ro on all pages. Thank you!

Member Avatar for cristian.stilpeanu.1
0
141
Member Avatar for dashing.adamhughes

Hi all, I have a class with a variety of methods, for example: class Foo(obj): def meth_a: ... def meth_b: ... In reality, Foo may have 50 or more methods. And for various reasons, I cannot subclass Foo. I'm using Foo in a composition class with some added functionality. Let's …

Member Avatar for dashing.adamhughes
0
359
Member Avatar for sunnyy221

hi friends is there any way to get remainder for **flaoating variables** in C programming??

Member Avatar for anjerodesu
0
76
Member Avatar for 2beprogrammer

I am interested in some idea how to search term from a URL file such as google. Example if I look for a term call "LOVE". How can I find all the URL associated with that term? I do know how to connect to the URL, but I am not …

Member Avatar for 2beprogrammer
0
97
Member Avatar for Hendo

Hello all, Okay, I've been beating my head for a couple of days over this one and I'm running out of time. I'm writing an app that reads an XML file, then uses the data in the XML file as variable values. Here's a sample XML file: <!--Test.xml--> <Test> <turn>right</turn> …

Member Avatar for Hendo
0
180
Member Avatar for mehnihma

Hi Can you help me with parsing XML elements I am trying to get values from XML and write it to csv file, so far I can read everything but inner elements in XML are confusing to me, so If you can give ideas how to solve this? I have …

Member Avatar for mehnihma
0
265
Member Avatar for hwoarang69

i cant find the syntax error in this query. it look fine to me. error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like, dislike, num_replys, num_view, date) VALUES('1', '2', '3','4','5','' at line …

Member Avatar for diafol
0
105
Member Avatar for YaLeon

the task is : A. Write a method public boolean single (int [] values) receiving a full array values ​​with numbers, and returns true if the array is an organ that appears only once in the array, and false otherwise. For example, for the array {3, 1, 4, 1, 4, …

Member Avatar for tux4life
0
178
Member Avatar for mattboy64

I'm coding an inventory program in C and I need the variable "stock1" in more than two seperate functions I'm not sure as to how they're supposed to be manipulated and read by the seperate functions nor do I understand how to declare them If I declare them as global …

Member Avatar for mattboy64
0
225
Member Avatar for StefanRafa0

Hello guys i want to know how i can get the words in C++ like (a,b,c,d,f.....) im making dice game and when player will put word instead of number to tell him "You need to enter number!" #include <iostream> #include <ctime> using namespace std; int main() { int dice; int …

Member Avatar for Lucaci Andrew
0
259
Member Avatar for GraficRegret

Is there a way to remove files from the filemanager through php? What I mean is, you can upload files to the server and specify the folder you want it in using an upload algorithm, however I have not seen any way to reverse the proccess, can I delete those …

Member Avatar for GraficRegret
0
152
Member Avatar for cmabill

I could receive the email but my php has some problem which maks the receving email looks strange, and can't use reply function on outlook. anyone could help me improve it. thank you. this contact.php <body> <?php $field_firstname = $_POST['firstname'];" ".$_POST['lastname']; $field_emailaddress= $_POST['emailaddress']; $field_telepohone = $_POST['telephone']; $field_country = $_POST['country']; $field_business …

Member Avatar for diafol
0
284
Member Avatar for Roshan92

I am creating a simulation of a virtual video player (something like a very basic version of RealPlayer or Window Media Player). All the codes given below are error free. This is the main class: VideoPlayer.java This is the video player GUI (this frame is not resizable and the X …

Member Avatar for Starstreak
0
219
Member Avatar for Vincentas

Hi everyone, I have a website I put together for a photographer and I create a little jquery gallery on the site that works quite simply when you add a new image it automatically creates a thumbnail image to go with it. Only problem is the client contacts me all …

Member Avatar for diafol
0
189
Member Avatar for showman13

Good Morning... I seem to be having a problem getting the data that I want from a single query... I have a table that contains various information on record processing it has an auto increment field called period_id also a field called max_pl_trans What I need to be able to …

Member Avatar for showman13
0
153
Member Avatar for clouds_n_things

Im writing an address book to use from terminal, how would I return the users contact info from the end-users input from the dictionary I created?

Member Avatar for clouds_n_things
0
191
Member Avatar for nuttyspice

Hi all, I have looked everywhere (obviously) to find the snipet of code required to show results from a dropdown list. I just need something simple that works. Here is my code so far: <?php $sql="SELECT * FROM licensing ORDER BY id DESC"; $result=mysql_query($sql); $options=""; while ($row=mysql_fetch_array($result)) { $id=$row["id"]; $url=$row["l_url"]; …

Member Avatar for EvolutionFallen
0
117
Member Avatar for arupface

There is `text label` on a webpage, and I am trying to click on that to open a pop-up window,but not getting opened. here is the `HTML` code: <td width="40%"> <div id="EmpId.outline"> <input type="hidden" name="EmpId" value="" id="popupEmpId"> <input type="text" name="EmpCode" value="" readonly="readonly" class="textMedium250" id="popupEmpCode" autocomplete="off"> <a href="#f2"><label onclick="checkForPopup('EmpPopupDiv','Select a Emp',640,true,refreshConditionOptions);"> + Search for a Emp</label> </a> …

Member Avatar for Taywin
0
177
Member Avatar for Rahul47

We all have been on facebook and also appreciate its beauty. Now here is the point. I am developing an application in VB.NET which also implements the functionality of account management. I have added a menustrip to handle various operation of account and now I want to add a menu …

Member Avatar for Rahul47
0
98
Member Avatar for general2012

please help .i have written this programme just to enter data to a linked list.but it isnt working.cant understand where the problem is.how can i make this work and how can i make this programme evev better #include<stdio.h> #include<stdlib.h> #define NULL 0 struct linked{ char data[20]; struct linked *next; //pointer …

Member Avatar for general2012
0
113
Member Avatar for trishtren

hey, Im having a problem adding a javafx Canvas node to the scrollpane node. Im using the **.setcontent(canvas)** method of the scrollpane and there are no syntax errors. The Scrollpane does expand in width (hbar appears longer) but it still looks empty. I know the canvas is working correctly as …

Member Avatar for trishtren
0
1K
Member Avatar for riahc3

Man that was a mouthful! Basically I have a page which when I click on a button, a jQuery (iframe) window comes up. Here there is a combobox that should be filled with values I read from a database. Ive been reading two pages: http://openenergymonitor.org/emon/node/107 http://stackoverflow.com/questions/8019489/simple-ajax-jquery-script-how-can-i-get-information-for-each-of-the-rows-in-the But Im having problems …

Member Avatar for riahc3
0
954
Member Avatar for earlxph8

Hello, is there any simple or basic example on how to code basic php forms and print them out from the webpage? thanks.

Member Avatar for earlxph8
0
288
Member Avatar for cmabill

I want to use below code for my google map, which is posted on internet and easy to understand, but it doesn't works. I hae get API key but when I replace the original key, I don't know which part of code I need to modified. how to get a …

Member Avatar for riahc3
0
289

The End.