64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for pee2002

Hi there! I made a backup of my database (MandoTECA) using the following code: [code]CREATE PROCEDURE [dbo].[CreateBackup] @uri nvarchar(MAX) AS BACKUP DATABASE MandoTECA --TO DISK = 'C:\Users\Pedro\Desktop\MandoTECA.Bak' TO DISK = @uri WITH FORMAT, MEDIANAME = 'Z_SQLServerBackups', NAME = 'Backup Completo da MandoTECA'; [/code] And used it a restore procedure to …

Member Avatar for sknake
0
99
Member Avatar for buyap

I m a beginner. Using open source, I have compiled a freeware Eng-Hindi dictionary in C# with a 40K word data input source as a Text file. Is there someway to modify / hide the said Text file from front end user. Thanks.

Member Avatar for sknake
0
137
Member Avatar for Renegard

Hi guys! I am trying to make an object oriented program for matrix addition, but I am stuck right at the beginning. I would like to have an 2D array as a class variable and another two class variables would define the arrays x and y coordinates. Something like this: …

Member Avatar for Nick Evan
0
147
Member Avatar for tones1986

Hey all i have the following code: [code=php] <?php include 'config.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link href="design.css" rel="stylesheet" type="text/css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Search for <?php echo "$_POST[boat]" ?></title> </head> <body> <?php $port1 = $_POST[port]; if (isset($port1)) { echo "This …

Member Avatar for tones1986
0
91
Member Avatar for anuj_sharma

Hey Guys, I have a databound dropdownlist which has the following data items: Select Approved Disapproved I want that if the user selects "Select" then he should not be allowed to submit it. Plkease help.

Member Avatar for kameswari
0
101
Member Avatar for waqarafridi

Can some body tell me how to take SHA-1 of a given string in C. I am using ubuntu 9.04 with kernel 2.6.30.

Member Avatar for Dream2code
0
342
Member Avatar for choybutchoy

hi, Im just wondering on how I could get a columns and a record count I mean the whole thing in a database aside from executing this statement [icode] "select count(*) from myDatabase" [/icode]...is there another statement that i can use instead of this one coz it doesnt retrieve any …

Member Avatar for choybutchoy
0
144
Member Avatar for ArunRaj.SRM

Hi, I'm having a page like below : [code=jsp]<html><head><body> <FONT COLOR=RED SIZE=5> <%@page import ="com.ui.CTransactionManager"%> <%@page import ="com.ui.CUser"%> <% String UserId = request.getParameter("UserId"); CTransactionManager objmanager = new CTransactionManager(); CUser user = objmanager.getUser(UserId); String m_staff_id = user.getStaffId(); out.print( "Staff Id : " +m_staff_id ); %> </font></body></head></html>[/code] here i want to pass …

Member Avatar for ArunRaj.SRM
0
165
Member Avatar for Mortez Maya

Hi everybody. Do you know what's equal for code "app.patht" in c#.net 2008 ? I tried "Application.ExecutablePath" and "Application.StartupPath" but they didn't work. I think they have their own name spaces that I havent added them.

Member Avatar for Mortez Maya
0
761
Member Avatar for gnarly

Hi, I'm Wyatt, and this is my first post! So I have an idea for a website. I'm decent at C++ and I only know some basic html. Now I want to pick up a new language to code my site. As I googled the functions I needed, PHP came …

Member Avatar for SamSam2020
1
178
Member Avatar for HBMSGuy

Hello, While working on setting up user accounts, I wanted to see if the values already existed in a database to alert the user before submitting the data. While doing this, I came to an issue. The issue is when I went the MS SQL SMS and tried writing a …

Member Avatar for HBMSGuy
0
172
Member Avatar for malou_baby08

hello, can u pls help me sir about my problem in the level order travelsal?... i did trace my code and i found no wrong. but when i compile it, there's something wrong in it and i dont know where... thank u very much! [code] int count = 1; public …

Member Avatar for malou_baby08
0
69
Member Avatar for xiikryssiix

after a lot of fussing, my code finally compiles properly. but once again, its not calculating the things i want. PROBLEM: doesnt calculate "scores entered by user" doesnt calculate "highest max score" doesnt calculate "lowest min score" as far as the scores entered by user... i was hoping this.. if …

0
89
Member Avatar for onindita

hi, i m very new here and also in programming world. i tried to make a program that prints happy and unhappy numbers. but that prints only unhappy numbers and then it goes back to while loop where j remain 0. how can i fix the problem? plz someone help …

Member Avatar for BestJewSinceJC
0
143
Member Avatar for madcour80

Hello all, I have a web form with a submission confirmation message that I would like to display for 10 seconds (after the page returns from the "Submit" event) and then hide after the 10 seconds has elapsed. I decided to use the System.Web.UI.Timer object, set it's interval, enable it, …

Member Avatar for madcour80
0
300
Member Avatar for xiikryssiix

ok. im pretty much done with this small program my teacher asked us to write. my problem is: it wont give me how many scores there are above average. it keeps giving me 0. i dont get it. maybe im overlooking something? i think something is wrong in my [color=#33FF33]// …

0
65
Member Avatar for slatk3y

Hello, I am having problems with templates. I wrote a templated version of vector. My vector is working. Here is the header file for it: [code=C++] // m_vector_g.h template<typename T> class m_vector { private: // Some code here... public: // Some code here... }; [/code] I want to make another …

Member Avatar for slatk3y
0
101
Member Avatar for veledrom

Hi, I use a submit button to go to next page with posting a value. When i click on back (button in the browser) to go back to previous page, it says "Page is expired. Information must be send to display this page erc etc". I don't want to face …

Member Avatar for Airshow
0
114
Member Avatar for bgk111

Well, I just had another issue resolved and have come to another one that baffles me, and as I can find little to no documentation on the pgdb module, I thought I'd sound you guys out again. I am attempting to insert values into a table in postgresql, and while …

Member Avatar for bgk111
0
144
Member Avatar for 68thorby68

After many frustrating hours and web searching I cannot figure out why the move_uploaded_file is appending the names of already already created files to the name of new files. As you will be able to tell from my code I an pretty new to PHP. However, I have a pretty …

Member Avatar for 68thorby68
0
235
Member Avatar for jbd4d

So this question may be a little hard to follow, but here i go anyway. I am trying to create a table in mysql that is comprised of only the email addresses that show up multiple times in my origianl table. More specifically, the original table has a record for …

Member Avatar for xpartmgr
0
87
Member Avatar for shea279

I created a dialogbox, with controls, by using the DialogBox() function and a resource file with the controls in it (IDD_DIALOG1). But I'm having an extremely hard time finding a function which will add a menu, also in the resource file, to a dialog created in such a way (IDR_MENU1). …

Member Avatar for shea279
0
89
Member Avatar for agent154

I'm trying to figure out why the regexp "[A-Za-z0-9\-]+\.jpg|jpeg|gif|png" only seems to find "gif" when I run it on the source of an html file.. For example: I have the following code [code=c#] string URL = "http://www.google.ca"; string re = @"[A-Za-z0-9\-]+\.jpg|jpeg|gif|png"; WebClient wc = new WebClient(); Stream data = wc.OpenRead(URL); …

Member Avatar for agent154
0
131
Member Avatar for DaBunBun

I'm working on a little code snippet and my c++ seems a bit rusty. How do i go about getting the length of an array? My eclipse is giving me weird values when it should be segfaulting, so I'm trying to figure out whats wrong. Thanks in advance. edit: forgot …

Member Avatar for tux4life
0
163
Member Avatar for shanakaprabath

I wrote a program to write data in a text file to another text file .what i want to do is to open that modified second text file once I've entered data in to that

Member Avatar for solahere
0
1K
Member Avatar for gcah

Can anyone help with this program. Both the functions work fine separately but when for example, I tried to use "if" for simplicity the islower came out as 0 when all the characters were printed out, because it's second in the flow of control. It would also help if I …

Member Avatar for gcah
0
153
Member Avatar for xiikryssiix

i dont really know whats wrong with this, but its super basic. im not done writing the program yet, im still missing some input prompts for the user, but as i am testing my current program, i keep getting an error message that says line 70 - name lookup of …

Member Avatar for mrjjkalyn
0
114
Member Avatar for Ana D.

Hi, I'm binding a TreeView using the SiteMap Data. Near to each node, I have a checkbox so that the user can select the node he wants. I need to iterate through the tree checking if the node is checked and if so, write something like: Home - Node1 - …

0
73
Member Avatar for veledrom

Hi, I want to create quick preview window for images listed in my website. For example: if you go to this site [url]http://www.templatemonster.com[/url] there are little images on the right end side. When mouse over on any image, a bit preview window opens. I want something like this. How can …

Member Avatar for essential
0
135
Member Avatar for sleign

hey I'm having a problem trying to get some variables passed on a form to another page where the processing is handled. basically what I'm trying to do is display the titles of pages from a website that are stored on a mysql database. those titles are passed thru a …

Member Avatar for sajif
0
171
Member Avatar for sab786

hi i am really stuck now i hope someone can help ok so i have read in a file i have created a dictionary which reads every line and counts how many matches there are compare={} for matching in line: matched =( matching[3],matching[7])

Member Avatar for sab786
0
115
Member Avatar for sravan953

Hey guys, In Java, there is a method called substring, but what substitute does it have in Python, or do I have to explicitly do it like: [CODE] s=raw_input("Enter a sentence: ") s2="" a=0 b=0 for a in s: if(a==' '): s2= s[b:a] b=a a+=1[/CODE] Thanks guys!

Member Avatar for jlm699
0
330
Member Avatar for elnuk

how to prevent unauthorised user from accessing a file by typing the URL directly using a servlet as the preventive measure is what has been a sore for me for some time now.i would be very grateful for any opinion.thanks

Member Avatar for elnuk
0
778
Member Avatar for scooby36

I am studying vb.net and am trying to develop a data access program I am getting the following error when I try to add a new record to the dataset. Any help would be great error " Input string was not in correct format. Could not store<LinenIndex> in LinenItemsID colomn …

Member Avatar for scooby36
0
5K
Member Avatar for anuj_sharma

Hey Guys, I have a textbox in which a ID is stored. ID has type int in the database. I want to compare this Textbox ID with the ID in the databse. I tried to use: int ID=Convert.ToInt32("TExtboxID.text") I got an error: NullReference Exception was handled by Usercode Please help.

Member Avatar for anuj_sharma
0
159
Member Avatar for sfrider0

I have created a database. It just contains information about websites. One column has the path to an image, like a rating system(1-5 stars). I just need to display this information on a web page. Everything shows up fine, but I just need it to display the image instead of …

Member Avatar for sfrider0
0
168
Member Avatar for xiikryssiix

im not sure whats happening here, but i dont know what code to use to stop the prompts from looping. My exercise is to create a program revolving Array-Based Lists. I simply want the user to input a set of student's records, but the user can input how many he/she …

Member Avatar for MrSpigot
0
115
Member Avatar for sanjaypandit

i want to make a form which is shows in following image.(screenshot) in which first field comes from database.echo values. in second fields same value come from database. now in third text field i want to show these values example e.g value of first fields>>>> jaisingh value of second field>>>jairam …

Member Avatar for sanjaypandit
0
112
Member Avatar for hell04

Q: Write a program that will determine if a number is even. The program should ask for a number, say X and printout whether "X is even" or " X is not even". This program must use a method with the signature "public static boolean isEven(int i)".

Member Avatar for hell04
0
126
Member Avatar for sab73

hi all, i am pretty new to Python(a very new to this forum). have been programming in C & C++. i have a DLL written in C which i need to use. i would like to access it through Python instead of using Visual C++. i am having a problem …

Member Avatar for sab73
0
210
Member Avatar for xiikryssiix

i dont know why im getting a compling error for this... error is: line 112 - name lookup of `i' changed for new ISO `for' scoping line 95 - using obsolete binding at `i' what does that even mean?! my current code is below, to get a better understanding. is …

Member Avatar for Salem
0
62
Member Avatar for aliaks

[CODE] while (true) { // Display the players location and possible movements. cout << "------------------" << endl; cout << "Location: " << NewUser.location->name << endl; cout << "\nDescription: " << NewUser.location->description << endl; if (NewUser.location->north) cout << "(N)orth to: " << NewUser.location->north->name << endl; if (NewUser.location->south) cout << "(S)outh to: …

Member Avatar for aliaks
0
99
Member Avatar for sonia sardana

hey frnds, I m creating the database at page load,I m able to do dat.I just want to do check that if the table is already existing,then do not create the table.below code create table- [code] using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; …

Member Avatar for sonia sardana
0
115
Member Avatar for ctyokley

I have a select case to chose what is true. THe problem is if the information isn't in the database, it automatically skips to the else however i dont kno why. I have a function that returns an errmessage once it is returned then i use the select case. the …

Member Avatar for ctyokley
0
149
Member Avatar for majestic0110

Hi all, I hope you are well. I am trying to explain some code to a friend : [CODE]StringConcatenate StringConcatenate1 = new StringConcatenate(); StringConcatenate1.stringConcat(); [/CODE] I said that this code creates an object "StringConcatenate1 " of type StringConcatenate and executes method stringConcat() (which is from class StringConcatenate()) on object StringConcatenate1. …

Member Avatar for majestic0110
0
204
Member Avatar for jko2326

Hello everyone! I'm a beginner in programming so please bare with me =/ I have a problem that I just don't understand. Here's the problem: Write a program that uses a loop to display the characters for the ACSII codes 0 - 127. Display 16 characters on each line (c++). …

Member Avatar for VernonDozier
0
322
Member Avatar for BlkR

Hi, Currently having troubles in adding data to the listview i have created. It actually will add the first set of data to both the database and listview, but when i try to add a second lot of data it displays the error message that I have setup. Also how …

Member Avatar for babbu
0
2K
Member Avatar for toXXXic

Hi, I am trying to load an Rss link and add the data into an array. Here is what I am trying: [ICODE]<?php $doc = new DOMDocument(); $doc2 = new DOMDocument(); $bbcLink='http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/world/rss.xml'; $cnnLink='http://rss.cnn.com/rss/edition.rss'; $reutersLink='http://feeds.reuters.com/reuters/scienceNews'; $doc->load($bbcLink); $arrFeeds = array(); foreach ($doc2->getElementsByTagName('item') as $node) { $itemRSS = array ( '<p class="style1">' => …

Member Avatar for ShawnCplus
0
233
Member Avatar for Stefano Mtangoo

Iam finishing my little database based small project and I need to save current status for next time(The save option :) ) The stuff I want to save is just list of tuples and I have to save: 1. The List of tuple 2. The index of the last element …

Member Avatar for Stefano Mtangoo
0
87
Member Avatar for Ana D.

Hi, [CODE]I'm trying to allow sorting my gridview writing in the code behind page. My code for Bind the GridView is like this: Private Sub BindMyGridView() Dim DatabaseConnection As New SqlConnection(ConfigurationManager.ConnectionStrings("MyServer").ConnectionString) Dim adapter As SqlDataAdapter = New SqlDataAdapter Dim selectSQL As String = "SELECT * FROM Clients WHERE id = …

Member Avatar for Ana D.
0
123

The End.