199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mohitnarang01

Hi, I am in urgent need for converting sql procedure to postgre sql procedure.Please help me ASAP. CREATE FUNCTION sp_get_id_des (IN cellid INT, IN mcc VARCHAR(3), IN mnc VARCHAR(3), IN nwtype INT, IN mlac INT , IN mrac INT ) returns SETOF record AS' declare pscnt int ; declare cscnt …

0
196
Member Avatar for mani508

hello i want to display lable value but not show lable value.here my code <asp:Label ID="username" runat="server"><a href="Myaccount.aspx?userid=<%= Session["Id"] %>" style=color:#FF9900 /> </asp:Label> if i remove session["id"] then lable name display but i need session value. like this <asp:Label ID="username" runat="server"><a href="Myaccount.aspx" style=color:#FF9900 /> </asp:Label> this is working fine but …

Member Avatar for mani508
0
93
Member Avatar for fularipk

Hello friends, I am working with jsp and oracle database and The problem is after inserting 3 enteries(rows) through form filling into database next enteries are not going in databse.So please suggest me something.

Member Avatar for anand01
0
168
Member Avatar for rossi1114

Hey, Guys and gulls i need help with the following asap. I'm trying to code a checkers board in java and populate it with checkers and then paint this onto a JPanel. I then add the JPanel to my JFrame. I am able to draw my checkers board and populate …

Member Avatar for jalpesh_007
0
207
Member Avatar for chophouse

This is part of another script, too long for here, but isolating this part, my dilemma is that this works when manually invoked from IDLE, but not when run as a cron job. from datetime import datetime import os # check to see if a log file exists, make one …

Member Avatar for chophouse
0
239
Member Avatar for shers

Hi, I'm a newbie in web development. I'm almost half way through creating a web site. I'd wish to send this website to the client for viewing and testing. I have a database also attached with this web site. How do I send it? Please help. Thanks

Member Avatar for shers
0
83
Member Avatar for bazzer14

Hi, all. I would like to know about convertion from (x, y) to (latitude, longitude)? For Example: In my project(windows form - VB.NET) i have a Panel (control) and have a MouseMove Event then when i moving the mouse it have a location such as: Label1.text = e.X Label2.text = …

Member Avatar for bazzer14
0
397
Member Avatar for TrustyTony

Here you see how one could use recursion together with generators for (inefficient) permutations generator. It is kind of interesting to know how one can do it recursively (of course there exist many ways). Anyway this snippet demonstrates how you can use recursive generator call to feed a for statement. …

0
435
Member Avatar for alemojarro

Whenever I load the object there are these random symbols around the data. public void Save() { try { System.out.println("Where would you like to Save?"); File thefile = new File(Input.next()); FileOutputStream fout = new FileOutputStream(thefile); ObjectOutputStream oos = new ObjectOutputStream(fout); oos.writeObject(list.getRoot()); oos.flush(); oos.close(); fout.flush(); fout.close(); } catch (Exception e1) { …

Member Avatar for alemojarro
0
98
Member Avatar for Mechizedek

Please i need to generate report for my application and i don't know how to go about it.pls i will appreciate if u can help thanks

Member Avatar for kentuckyjoe
0
179
Member Avatar for poloblue

Good Afternoon, I'm having trouble with an assignments that deals with arrays. I'm stuck in the part that says Decide whether the value entered by the user at (2) is in the array numbers[SIZE] or not. So far I have this code #include <iostream> #include <fstream> #include <string> #include <cstring> …

Member Avatar for poloblue
0
140
Member Avatar for VernonDozier

I've been studying up on virtual destructors and how they work and I wrote this little program. I've been adding and removing the word "virtual" on lines 9, 16, and 23 to see what happens. #include <iostream> using namespace std; class a { public: a(){cout << "a::a()" << endl;} virtual …

Member Avatar for VernonDozier
0
220
Member Avatar for jarid.lawson

Please note, this was a request from my job. I am a SQL developer, and I've had just over 2 weeks experience with C#. I have a main thread running on another forum, but I could use as many eyes on this as possible. I have so far only had …

Member Avatar for jarid.lawson
0
187
Member Avatar for Ella Jones

I am creating a recipe program that will allow the user to save recipes in an external file, retrieve them and work out a new value for ingrediants depending on how many people they want this time. However within my code errors keep appearing and I cannot work out why …

Member Avatar for hericles
0
1K
Member Avatar for richlacey

Hi there guys, not sure if anyone can help me here. I am creating a basic members site with small gallery and I wish to lockdown the URL somehow. e.g. http://domainname.com/memberFiles/8/gallery/gallery_config.php At the moment all of the other pages are locked down via a session id variable, but I need …

Member Avatar for richlacey
0
206
Member Avatar for binningen

I'm having trouble opening a file using fopen in C++. I'm using XCode 4. Here's my code: FILE *f; f = fopen("test.txt", "r"); if (f == NULL) std::cout << "Error: NULL file"; When I run this, the error message gets printed. test.txt is stored in the same directory as my …

Member Avatar for binningen
0
1K
Member Avatar for zilonox

Okay, I know some of you are looking at that title and thinking I'm quite daft because obviously I have to have a dataadapter if I have a bindingsource. And you're right, there is a dataadapter, but it's not exposed to me. I've taken over a winforms project (attached to …

Member Avatar for zilonox
0
2K
Member Avatar for azapovjednik

Hello, I want to make a connection to MSSQL 2008 database, using Visual Studio 2010, ASP.NET C# web site I wrote this connection string in web.config file: <connectionStrings> <add name="konekcija" connectionString="data source=.\SQLEXPRESS;Initial Catalog=Movies;Integrated Security=True;" providerName="System.Data.SqlClient" /> </connectionStrings> Now I need to call that connection on a code behind the page... …

Member Avatar for azapovjednik
0
166
Member Avatar for osiron

I'm trying to create a program where I want to generate all permutations [1,2,3,4] and I recursively generate all the permutations of [1,2,3]: [1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2], [3,2,1] and then put 4 back into the sequence of numbers. For example, with [1,2,3], we get [4,1,2,3], [1,4,2,3], [1,2,4,3], and [1,2,3,4]. …

Member Avatar for osiron
0
184
Member Avatar for Aiedail

My code does not work in certain versions of IE and I want to include a conditional comment that includes a different navigation file so that links to pure html5 content wont be there. is there a way to remove the include of the menu.php and then i can just …

Member Avatar for Aiedail
0
250
Member Avatar for pritaeas

I'm looking for a short jQuery snippet to count how many divs I can have horizontally in my browser window. Basically, I'm using a fluid layout, like this: <div id="wrapper"> <div id="content"> <div class="foo" /> <div class="foo" /> Wrapper is 100% width, and foo about 250px wide. What's the simplest …

Member Avatar for pritaeas
0
219
Member Avatar for triumphost

I just learned C++ style casting and the 4 types of casts. I'm not sure if I'm abusing it though. Examples: typedef long (*stringFromString)(int, char*) __cdecl; //TO: typedef long static_cast<*stringFromString>((int, char*)) __cdecl; SmartSetup((char*)World.c_str(), (char*)",f5", 765, 503,(char*)""); //TO: SmartSetup(static_cast<char*>(World.c_str()), static_cast<char*>(",f5"), 765, 503, static_cast<char*>("")); memcpy(&INH, (void*)((DWORD)Buffer + IDH.e_lfanew), sizeof(INH)); TO: memcpy(&INH, static_cast<void*>(static_cast<DWORD>(Buffer) …

Member Avatar for mike_2000_17
0
669
Member Avatar for ranjitgupta
Member Avatar for firdousahmad
0
131
Member Avatar for lj81

Hi I am currently writing a pool game in java and am very close to finishing it. I am having a problem with the rule of the black ball being potted out of sequence. I need all balls to be potted first before the black ball is potted if all …

Member Avatar for lj81
0
153
Member Avatar for prashanthmukund

I am a newbie to python. I am just working on a program to count number of letters in each words of a sentence. That includes punctuation too. If the sentence is "This is it!" my program should give "4 2 3". First I thought I can convert this string …

Member Avatar for Lucaci Andrew
0
404
Member Avatar for smileybowen

This script works perfectly in IE but not at all in Firefox or Safari. I'm a newborn in the javascript world. I read some other posts and tried using Firebug but that didn't help and I tried the error console and that didn't help me either. Please take pity on …

Member Avatar for bart12
0
279
Member Avatar for sgunnery

Hi Guys [B]I must ask everyone bear with me regarding my idea it needs a bit of explaining before it makes sense[/B] to start this is totally a project in my own time for my own learning and development in programming it is being done for my employer but I …

Member Avatar for sgunnery
0
205
Member Avatar for Goomba79

Hello, I need to start a when a button is clicked on my form in a windows application i'd use timer.start() but i dont seem to have this option with my webform any idea how i can have the timer idle on page load and start it on button click? …

Member Avatar for Goomba79
0
224
Member Avatar for pinky khan

I am trying to modifying a website made in html to php.All php pages are working fine individualyy but not loading in frames.PLz help.....

Member Avatar for pinky khan
0
1K
Member Avatar for pandeysk_13

hello world, i am trying this from last 2 days but unsuccessful . i am trying to make a project in visual basic 2010 which is connected with ms access 2010 database. the database having 4 tables i.e. tblsession, tblcourse, tbllevel, tblstudentregistration. tblsession data: column name column data sessionID -- …

Member Avatar for G_Waddell
0
709
Member Avatar for tubby123

Hey, Is there any difference between the 2 syntax, ie, str = "This is a test"; and strcpy(str,"This is a test"); I think, both of them, malloc some random 200 addresses, and give the starting location of the 200 chunk to the pointer variable 'ptr'. #include<stdio.h> char* str; int main(void) …

Member Avatar for Perry31
0
109
Member Avatar for m1234ike

Hello Daniweb, I need to write a program to change the extension of all the files in a folder from a certain extension to another. My code is shown below, however, I have one problem: i.e. Say we want to change all files with the extension "*.tx" to "*.txt" but …

Member Avatar for Reverend Jim
0
1K
Member Avatar for dany12

I have wrote this class in php from scratch there is no copy paste or anything like that I tried to create a base class for my projects and know I don't know if this is good Here is my code and I don't know how to use it I …

Member Avatar for dany12
0
378
Member Avatar for Kingcoder210

I am really confused! My program doesnt work if I dont have visual studio here in my pc. To test it I have uninstalled visual studio. But my program doesnt work though flash player is present there(I have used flash animation in first form). To be more sure about it …

Member Avatar for Reverend Jim
0
515
Member Avatar for hasstechit
Member Avatar for anand01
0
95
Member Avatar for Goomba79

Hello everyone.... I would like to display data from my database in a chart. I don't seem to be able to figure out how to get it working though! I have tried the following code to bind the chart to my dataset but no joy! con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = …

Member Avatar for Goomba79
0
140
Member Avatar for ShiftLeft

Source code **NASM** on **Ubuntu 12.04** This demonstrates Input/Output algos using syscall and how they can be implemented in a fairly condensed loop. These routine do not conform to any specific call convention and without modification won't interface with higher level languages. My code is stand alone assembly and doesn't …

0
102
Member Avatar for praveendasika

Hi all, I need some help in how to achieve this functionality....the problem is ... I have some data in my database.On clicking 'generate invoice' , It should gather the data from the sql server and publish it to a document which the user can send it to a company.Basically …

Member Avatar for bhagawatshinde
0
209
Member Avatar for bibiki

hey there, I am trying to set up tomcat on my computer (I am so new to this, I am not even sure I am explaining my problem correctly.) I was told to install XAMPP. I did using the installer that appache's web site offers. It says that the installer …

Member Avatar for mahadeb
0
2K
Member Avatar for sush jack

import java.awt.*; import java.awt.image.BufferedImage; import javax.imageio.ImageIO; import javax.swing.*; import java.io.*; public class one extends JFrame { public one() { JPanel p = new JPanel(); JLabel l = new JLabel(); setTitle("ScrollText"); setSize(600, 400); setLayout(new BorderLayout()); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setVisible(true); BufferedImage image; p.add(l); add(p); try { File file = new File("D://Photos//foto(222).jpg"); image = ImageIO.read(file); …

Member Avatar for NormR1
0
11K
Member Avatar for triumphost

I have just came across a class for the first time ever that does not have variables in any of it's declarations but has them in the implementation. Why is this class behaviour allowed? What are the benefits of not putting variable names? class Testing { public: Testing(int, int, int); …

Member Avatar for deceptikon
0
130
Member Avatar for dany12

Are thyere any security issues that can affect data integrity or theft by other party and si there a solution to avoid this using the cool efects of jquery and json?

Member Avatar for pritaeas
0
133
Member Avatar for vijayram

Hi,everybody, i have this code,what is the problem.button clcik nothing to display, i want to button click display label and textbox. $(document).ready(function(){ $("#planbar").click(function() { var html=""; var i=0; var display=" "; /*var numitem = $(this).val; if(numitem>5) numitem=5; alert(numitem); for(i=1;i<=numitem;i++) {*/ html+="<div><b>Planbar</b> </div>" + "<div class='field'>" + "<span style='width:115px;float-left;text-align:right'>Where:</div>" "<div>" ; …

Member Avatar for suneel.gupta
0
98
Member Avatar for hisan

below is mycode though i have set keepalive, socket connection gets closed after sometime. sb_sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM,socket.SOL_TCP) sb_sock.setsockopt( socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1) sb_sock.connect((msg_host, host_port)) reg_msg="REG 0000 "+finder_id+"\r" sb_sock.send(reg_msg)

Member Avatar for hisan
0
525
Member Avatar for sigit_p

Hi all,.. Need help for my script, i want to make update form for my database so i make script as follows update.php <form id="form1" name="Update" method="post" action="add.php"> <table border="0" cellspacing="10"> <tr> <td>Asm Manual Id:</td> <td><input type="text" name="id"></td> </tr> <tr> <td>Asm Manual name:</td> <td><input type="text" name="sheetname"></td> </tr> <tr> <td>Image URL(Link):</td> …

Member Avatar for sigit_p
0
281
Member Avatar for ebanbury

Hi I have the following prepared statement for an UPDATE query: However I'm getting the following error message: Fatal error: Call to a member function bind_param() on a non-object in /home/dreamsin/public_html/DEV/edit_condo_review.php on line 467 All my columns are correct and match up and exist and I've used this prepared statement …

Member Avatar for ebanbury
0
237
Member Avatar for RonKevin

#include<iostream.h> #include<conio.h> int lg, a; void gi() { cout<< "Enter Lowest Grade:"; cin>>lg; cout<< "Enter Average:"; cin>>a; clrscr(); } void display() { cout<< "Lowest Grade:"<<lg<<"\n"; cout<< "Average Grade:"<<a<<"\n"; } void eval() { char ch; if(lg>=85 && a>=92) cout<<"Remarks: Full SCHOLAR"; if(lg>=85 && a>=90 && a<=91.99) cout<<"Remarks: Half SCHOLAR"; if(lg>=80 && …

Member Avatar for RonKevin
0
265
Member Avatar for jameohkl

Hello, sirs! I have got a SQL Database on one computer and there is another computer in a local network. I want the other computer have access to SQL-Database by real time, but not able to modify it. And one more thing, is there any possibility to convert SQL-Database to …

Member Avatar for jameohkl
0
171
Member Avatar for RazorRamon

I need some help. I'm loading a .php file using jquery. the php is a mysql query that pulls all the cities from Alaska. The problem is that I wrote my query a certain way and it seems jquery changes it when it loads it. state_alaska.php include 'config.php'; include 'opendb.php'; …

Member Avatar for pritaeas
0
235
Member Avatar for itgrowsind

I just started c# and I am having trouble with the (get; set;) the program I am trying to work on is employee class that has two objects of two employee's with both having a string first name and string last name. With a monthly wage for both employee's could …

Member Avatar for Mike Askew
0
160

The End.