199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rabbell

I'm getting this error message [B]An exception occured while executing a Transact-SQL statement or batch (Microsoft.SqlServer.Express.ConnectionInfo) CREATE DATABASE permission denied in database 'master'. (Microsoft SQL Server, Error:262)[/B] When I try to create a new database from the right click option on the master DB. I think this is a permission …

Member Avatar for rabbell
0
99
Member Avatar for Nemoticchigga

[CODE] private: delegate System::Void delegate_function(void); if(this->InvokeRequired) { AsyncCallback ^ac = gcnew AsyncCallback(&WCS::MainForm::delegate_function_callback); delegate_function ^df = gcnew delegate_function(this, &WCS::MainForm::function_to_invoke); System::IAsyncResult ^asyncresult; //Begin invoke command here. try { asyncresult = df->BeginInvoke(ac, df); //asyncresult = this->statusLight->BeginInvoke(ac, df); //this->commsStatusLight->EndInvoke(asyncresult); //df->Invoke(); df->EndInvoke(asyncresult); //df->DynamicInvoke(ac, df); } catch (...) { std::cerr << "caught"; } } public: System::Void …

Member Avatar for Nick Evan
0
88
Member Avatar for chrissyln13

I am trying to write this "program" for my distance ed course and I almost have it done I just can't figure out how to get the values from the function BoxDimensions into the function DisplayData so that it can print out the dimensions. Help???? Thanks. [CODE]#include <iostream> using namespace …

Member Avatar for chrissyln13
0
133
Member Avatar for Anilbrp

Hi all, I am new to this perl script. I want to open notepad.exe in perl script in the foreground., i.e if I give the command as system ("c:\\windows\\notepad.exe") , notepad should appear in the foreground. (should not run as a background process). I am using Apache server on windows. …

Member Avatar for samarudge
0
2K
Member Avatar for ddimon

Hi, My nephew has a school assignment (7th grade I think) where he has to interview a video game developer (or someone in that industry) who has at least some knowledge of the process. He emailed me a list of questions in hopes that I would be able to answer …

Member Avatar for ddimon
0
148
Member Avatar for Xokzin

Hi There, I'm a begginer in C++. In the program below the value must be returned to display the appropriate message. I expiriencing problems trying to compile the program. The erro message: [Warning] In function `bool passOrNot(char)': non-lvalue in assignment Can you help. Thanks #include <iostream> using namespace std; int …

Member Avatar for Xokzin
0
85
Member Avatar for Karkalash

Hi: I made a simple game using java and I would like to know if there's anyway that I can make the file an executable so that my little game runs on the command windows so I can share with my friends?

Member Avatar for unitechy
0
75
Member Avatar for yap

Hi all in here, It is said that system("PAUSE"), automatically generated by dev-c++ for console application, to prevent console window of disappearing instantly would be not standard c++, furthermore it would be consume much of a computers resources. What is a good replacement for it? I have been experimenting with …

Member Avatar for tesuji
0
2K
Member Avatar for kohkohkoh

I tried to search over this site and others as well. But couldnt help me to solve the above matter. Actually i want to do a searching algorithm in a PDF file. I tried to use: [EMAIL="%@Import"][COLOR=seagreen]Import[/COLOR][/EMAIL][COLOR=seagreen] Namespace="System.IO"%> Sub page_load(ByVal Sender As Object, ByVal e As EventArgs)[/COLOR] [COLOR=seagreen] Dim filetoread …

Member Avatar for raydenvm
0
134
Member Avatar for muthu raj

php mailing not working. any help me? i used the code to send mail is as follows: <?php $to = "someone@example.com"; $subject = "Test mail"; $message = "Hello! This is a simple email message."; $from = "someonelse@example.com"; $headers = "From: $from"; mail($to,$subject,$message,$headers); echo "Mail Sent."; ?> when i am executing …

Member Avatar for phpuser
0
174
Member Avatar for k2000

Hi , i am trying to retrieve a row of data from a SQL table,but i dont get the results,i just get the variable($stock_code) that i use to search for the row on the screen. <?php include "dbaccess.php"; $stock_code=$_POST["txtStock"]; // Insert the required SQL query here. $query = "SELECT STOCK_CODE …

Member Avatar for maydhyam
0
78
Member Avatar for vieestchien

Hello, I am trying to generate a very large uniformly distributed pseudo-random number (around 15 digits, similar to Random.nextLong() in Java), the problem is that both rand() and random() only return int/long type (10 digits max). Is there any way to generate pseudo-random number in long long int type? Thank …

Member Avatar for tesuji
0
84
Member Avatar for nanawan

hi...i have problem to create login form i have 2 textbox which is Text1.text and Text2.text and im using ms access 2003 for my database table: login field : user and pass please help me...

Member Avatar for debasisdas
0
63
Member Avatar for elanch

hi all! I'm usuing VB 5.0. I need to store data getting input in VBform in MSAccess data base. I tried with ADO connection but its not working. Can any one send me the basic code to store data in MSaccess and to read the data. You help is highly …

Member Avatar for debasisdas
0
83
Member Avatar for brr

i have to get days of that particular month , that is if i give dates between different months like ex: 25-FEB-2008 and 05-MAR-2008 in this i want get 5 days only not 10 days

Member Avatar for debasisdas
0
90
Member Avatar for vinaya

After creating the table i tried to specify the unique key constraint in sql server 2005 but its asking for the expression. I don't know what to give in that expression. can u please help me out in this. thanx in advance.

Member Avatar for tesuji
0
138
Member Avatar for pointers

Hi, I have a question pls clarify it. If a table is created and grant, index, triggers, synonyms etc are defined on the table. what happens to grant, index, triggers, synonyms etc if the table is dropped. What is the data dictionary needs to be checked to validate all these …

Member Avatar for debasisdas
0
90
Member Avatar for pointers

Hi, I have a question. Please help me out. What is the default "display date format" and default internal "accepting date format"? How to change the default display and accepting format. In my system, the default display date format in sql * plus is dd-mon-yy, where as in toad it …

Member Avatar for debasisdas
0
76
Member Avatar for nelledawg

Hey guys, this is a really basic question but I can't figure out how to answer it! I wrote a program for users to input product price, quantity, etc. After getting the input the program displays the quantity, price, total cost, etc., and asks if the user wants to input …

Member Avatar for Radical Edward
0
161
Member Avatar for cacorat

I keep getting an error where the symbol cannot be resolved and the arrow pointing to where i have written statement.ExcecuteUpdate Am not able to insert any data into my database, can anyone see where i may have gone wrong. thanx heres the code: <%@ page import="java.sql.*" %> <%@ page …

Member Avatar for masijade
0
355
Member Avatar for shweta797

Dear sir In my project i have to show amount of all the months i.e if user enter first due date and expiry date then it calculate the amount of all the months which are between first due date and expiry date in reports. in Jsp how a month can …

Member Avatar for masijade
0
306
Member Avatar for greeny_1984

Hi, I have an application in which we have button to create textboxes dynamically. On clicking on button named Addnew ,we get textbox in a table. The problem is that when the page is refreshed,data entered is vanished. I want to get data from texboxes on submit click. Can any …

Member Avatar for greeny_1984
0
328
Member Avatar for Mantu89

For example I have string that contains hexadecimal numbers: std::string hexStr = "E110A3" and I want to convert it to char. So that char hex[3] = {0xE1, 0x10, 0xA3} How I can accomplish this? I tried to search but I didn't find answer to this.

Member Avatar for Mantu89
0
3K
Member Avatar for realone

Hi, Please i need a code in vb6 to compare record stored in databse one after the other to check for the occurence of duplicate record . 1. The check will be the first record compare with other records 2. The check will be the second record compare with other …

Member Avatar for selvaganapathy
0
262
Member Avatar for Sky Diploma

Help Me with this code. i JUST installed code::Blocks and am not familiar with the errors , I wanted to know what is going wrong with this? [CODE=CPLUSPLUS] #include <iostream> using namespace std; int f(); class Date{ int d,m,y; static Date default_date; public: void set_default(int dd,int mm,int yy); Date(int,int,int); Date& …

Member Avatar for Sky Diploma
0
149
Member Avatar for servis

i am working on creating php templates for an application, but i am not understanding how to cover while loop in templates, my code is as follow, that is not right and of course not working at all, it is being posted just for example. Please any body give me …

Member Avatar for servis
0
107
Member Avatar for jennifer_48219

Hi I am working on array and made some good improvement into my code. Now I am just having one problem. I want the number to display in my text box area starting from 0 to 1000 I know how to do it for alert but not to display in …

Member Avatar for jennifer_48219
0
93
Member Avatar for geetajlo

i have a button name save and a datagrid with 2 columns namely drugname which is a combo box and qtyused(simple) and a txtFirstName on the form if the user enters firstname and 4got to enters or select the datagrid column i want to remind him/her by a msgbox that …

Member Avatar for Pgmer
0
64
Member Avatar for geetajlo

Hi in my country we can phone anyone by only 7 number... Eg 2345897 and sometimes we represent it in this format 234-5897 by a - (negative).. i want to tell the txtPhoneNumber that after 3 numbers ahve been entered a negative should be place and it should comes automatically …

Member Avatar for Pgmer
0
116
Member Avatar for NycNessyness

How can I store variables in an array. With a mixture of strings, variables and information entered in textfields. With what I have below. If I wanted to store numbers, price, total, tax, and name in an array, how can I do it? Thanks in advance. [code=java] String[] numbers = …

Member Avatar for NycNessyness
0
81
Member Avatar for banban2008

i want to do program that calculat percentage of error percentage of error ={ X ( calculated) * X ( measuered) } * 100 / { X ( measuered)} and if the result more than or equal 50 it is bad if it is less than 50 til 20 it …

Member Avatar for e_pech
0
155
Member Avatar for plusplus

When user click on gridview I want that row to be selected, without having the extra column for the select button. Can anybody help me?

Member Avatar for plusplus
0
76
Member Avatar for kiran kumar
Member Avatar for ejazcyberia

Hi, The below script works fine for me but with normal login, Actually i need to go with "enable 5" and with password "xxxx" to get the user details. So please any one help is here highly appreciated. Here is my prompt for enable, Pleaes have look on it, ERX02>enable …

Member Avatar for ejazcyberia
0
156
Member Avatar for Asad__

I am using html and javascript for a simple application. I made a dropdown list on one page say "homepage.html" I want that the value selected from the dropdown be passed to a new page say "newpage.html" and appear in a text area there. I don't want to use php …

Member Avatar for Asad__
0
129
Member Avatar for abhi287

Hi all, I've two questions- First In the j2me application suppose i've a list with no. of items. To select the item between 1 to 9, i can use 1 to 9 keys on keypad. Is thr any way such that i can select the list items after 9like 12 …

Member Avatar for abhi287
0
156
Member Avatar for joshmo

Am trying to edit and also delete data in my text file but am finding a little problem...i want to read the specific text and the program stops when it reaches an end of line and not eof..i tried using '\n' but maybe I used it wrong cuz it cant …

Member Avatar for VernonDozier
0
183
Member Avatar for kained

I have deisgned a site. [url]http://intweb.tech.bcuc.ac.uk/~20318219/project/home.html[/url] and am trying to get my google map sorted. [url]http://intweb.tech.bcuc.ac.uk/~20318219/project/index.php[/url]. All the markers have disserpeared after i played about with my java script functions file [url]http://intweb.tech.bcuc.ac.uk/~20318219/project/map_functions.js[/url] and the php database [url]http://intweb.tech.bcuc.ac.uk/~20318219/project/map_data.php[/url]. Im sure its something really simple like i have left pout a comma …

Member Avatar for clh22793
0
126
Member Avatar for heels

Hi, I am a newbie to PHP and HTML and over here i am trying to display my sql results in a table format like this, ID. Name. Contact --------------------------------------------- ----ROW1---------------------------------- ----ROW2---------------------------------- any site recommendations where i can get help from? thanks alot.

Member Avatar for heels
0
235
Member Avatar for jaasaria

hi guyzz... i have a code here about chatting using winsock, but it is not working and I tried 2 surf in net but the error cant be solvd cleared.. .i have a runtime error 40006(wrong protocol or connection state....) and the error is refer to the senddata properties... plzz …

Member Avatar for jaasaria
0
291
Member Avatar for vinaya
Member Avatar for vinaya
0
92
Member Avatar for ellisman

I run a poker staking forum. Its brand new. What i want to know is how can i have the system calculate rates between players(50% for staker and 50 percent for horse)? Also, is there any way to have it calculate multiple people's investments into a player and also the …

Member Avatar for Ole Raptor
0
95
Member Avatar for websurfer

Hello, all: Say have 3 separate landing pages on my site (or more even), but they all end up at one common destination, how can i make it so each visitor can then go back to landing page they came from? here's the scenario: Say I have links from Google, …

Member Avatar for websurfer
0
111
Member Avatar for korssane

HI folks, I have 2 questions ; 1) i have 2 groupBox s and what i want is when i select a ( listbox item or radiobutton) in the 1st groupBox it disable ( or clear ) automatically the 2nd groupBox or the other fields ? 2) How can i …

Member Avatar for korssane
0
118
Member Avatar for subhandi

Please help me guys... how to show clock in capture video, example in my attachment thanks a lot for your kindness...

Member Avatar for subhandi
0
109
Member Avatar for nandhini21

Hi pple I've using visual studio 2005 and sql server 2005. I've stored my usernames and passwords in the database. Now i have problems on how to use select statements to check username. Meaning. if username is not found, it gives error msg, if username exist, it compares with the …

Member Avatar for aastephen
0
207
Member Avatar for gptArun

somebody knows how to call mysql Procedure in PHP? i extract almost forum regarding procedure in php on google but didn't find solution. pls. reply ASAP. thanks in advance

Member Avatar for darkagn
0
94
Member Avatar for JoE Guana

Hey guys, i'm new here and i'm also new to C++. I have a task where I have the user input a file name and then the program loads it into an array of type struct then finds the top 3 values and outputs them. I am so stuck right …

Member Avatar for VernonDozier
0
218
Member Avatar for KatB

Okay I have a new assignment. I think I actually get the whole random access files ( I hope) but I have no clue as to how to set up my form(s). Does anyone have advice on how to set up the forms? Here is the assignment. Objectives: This assignment …

Member Avatar for jesan
0
636
Member Avatar for arunkumarsrec

I have recently started free domain name service <snip>. I used turnkey redirection script. My script uses php with SQL 4 . My hosting Uses sql 5. I face problem while installing. Can anybody give a solution

Member Avatar for k2000
0
92

The End.