199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
[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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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? | |
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 … | |
![]() | 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 … |
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 … | |
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 … | |
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 … | |
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... | |
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 … | |
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 | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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& … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 … | |
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? | |
this is an interview question asked on 23rd april 2005 in mbt? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
How we can allow only excel sheet to be uploaded in file uppload functionality. | |
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 … | |
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, … | |
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 … | |
Please help me guys... how to show clock in capture video, example in my attachment thanks a lot for your kindness... | |
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 … | |
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 | |
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 … | |
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 … | |
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 |
The End.