Here is my code: ` #include <iostream> #include <iomanip> #include <string> using namespace std; class Register { //Private members private: //Creating an array for all the Prices static double Price[]; //Declaring RegNUM and RecNUM int RegNUM, RecNUM; //Print out Item name in a loop static string items[]; //Creates a Receipt Structure struct Receipt { //Takes in the number of orders and stores items bought int Orders[5]; double Total = 0; }; //Creating a pointer (RecPTR) Receipt *RecPTR; //Public members public: //Register Constructor Register(int,int); //Member functions void getOrder(int); void RecRETURN(); //Operators Register operator+(const Register &right); Register operator=(const Register &right); }; //Setting …

Member Avatar
Member Avatar
+0 forum 4

Hi, i have windows application , in that i have reference to the web service. Now when i put username and password , application calls to authentication service ( which is hosted on same machine IIS 7.5 ) i get pop up which is asking for Proxy Authentication. can anyone plz help me out for the same :) Following is the Error : {"System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: The EXECUTE permission was denied on the object 'SP_AUTHENTICATE', database 'XXXXXXX', schema 'dbo'.\n at System.Data.SqlClient.SqlConnection.OnError (SqlException exception, Boolean breakConnection)\n at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning (TdsParserStateObject stateObj)\n at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, …

Member Avatar
+0 forum 0

Hello, I have my VB 6.0 Application and make a Exe and I hosted it on my windows server 2000 it gives me error 'Could not access network location \\mynetworkpath'. earlier when there was Datepicker control was used then also there was error coming but I had registered MSCOMCTL2.dll and that issue was resolved. One thing I have noticed that when I use Datagrid in my application then I am getting error. I have also tried with creating a fresh VB application with only one form having ONLY DATAGRID control with no back side code and made exe and hosted …

Member Avatar
+0 forum 0

hi all; again i have a little bit wired problem here what i'm trying to achive here is that i would like to to a search query to search an employee and after that change the depatment and after that update the data into access database and as you can see in the below pic i'm using the search query in the text changed event in the text box to search for the employee after after that i'm using te following code to refile the combobox AValue, string Adisplay) { string Value = AValue; string display = Adisplay; using (var …

Member Avatar
Member Avatar
+0 forum 5

Hi. I have a JFrame with a JLayeredPane. On the first layer there is a table, then above it there is black transparent layer that allows me options and what-not. I animate the arrival of this transparent layer. However when I do this the panel seems to loose it's transparency, that is until I interact with the base layer, THEN I see through the transparent layer again. Sometimes, when I start interacting with the textfield or button on the transparent level, it starts displaying pieces and bits of the lower layer on the Transparent layer. Am I missing the need …

Member Avatar
Member Avatar
+0 forum 2

<html> <head> <link rel="stylesheet" href="css/template.css"/> </head> <body> <div id="maindiv"> <div id="top_bar"> <div id="logo"><img src="img/avatar2.png" width="32px" height="32px"></div> <div id="settings"><img src="img/avatar2.png" width="32px" height="32px"></div> </div><!---topbar---> <div id="container"> <div id="leftpanel"> <table border="1px" align="center" class="edit"> <tr> <td> Edit </td> <td> view </td> <td> Delete </td> </tr> </table> <table border="1px" align="center" class="leftmenu"> <tr><td>tab1</td></tr> <tr><td>tab2</td></tr> <tr><td>tab3</td></tr> </table> </div> <div id="rightpanel"> <table> <tr><td>Bag</td></tr> <tr><td>Mobile</td></tr> <tr><td>Smart Phone</td></tr> <tr><td>Laptop</td></tr> <tr><td>Bike</td></tr> <tr><td>Gold</td></tr> <tr><td>Alto Car</td></tr> <tr><td>Swift Car</td></tr> <tr><td>Vernam Car</td></tr> <tr><td>Ford ecosport Car</td></tr> <tr><td>Innova Car</td></tr> <tr><td>Duplex Car</td></tr> <tr><td>Retirement</td></tr> </table> </div> </div><!---container--> </div><!-----maindiv---> </body> </html>

Member Avatar
Member Avatar
+0 forum 1

ok here is what I have done so far. I removed the battery removed power cable..no power going to the laptop now. pushed and held power button for minimum of 30 seconds or more. added battery only then tried to power up, only middle green light flashed, then nothing. I then removed battery then hit power button again for minimum of 30 seconds or longer, then plugged in power cord, amber light power light stayed on, then i hit the power button and again amber light then green middle light came on for just a second or so, then nothing …

Member Avatar
Member Avatar
+0 forum 1

Hi guys, so i've had my Logitech G500 gaming mouse for about a year now and have encountered an issue. Earlier this year the right click button messed up so that when i aimed down sights in a came it would constantly go in and out as if i were spamming the button. I have researched this issue and found that it seams to be a fault in the mouse's design. What can i do about this due to the amount of time that i have had this mouse? thanks.

Member Avatar
Member Avatar
+0 forum 1

When I installed Wamp server 2.2 in my pc which is running on windows 8, I’m having a problem regarding phpmyadmin and when i open it says that “it cannot access the phpmyadmin”. I tried to open http://localhost and http://127.0.0.1 but it also not working. Can any one tell me what to do.

Member Avatar
Member Avatar
+0 forum 1

here i am showing you the code into which i am getting trouble into "gridWarehouseInsert" command. What i want is when user inser new data into detail table i want to get the MasterTable DataColumn that is "Warehouse_id". so that i can perform insert operation. When user insert master table data that is "warehouse" it works well. but foinserting DetailTable that is "Bin" i am getting trouble in fatching that parent datacolumn primarykey. Please feel free to ask me any further detail if you need and also feel free to show your openion. Waiting for your response freiends... aspx page: …

Member Avatar
Member Avatar
+0 forum 3

In my app, im using a small form created dynamically by a jquery to upload files to server. This is working perfectly in FF and chrome. the issue is that im getting $_FILES as empty to my upload php. The file im trying to upload is a Zip file which is very less in size (less than 100 kb) below is my jquery form part: * var form = $("<form/>").prop({ id : "add-bootfiles-widget", method : "post", enctype : "multipart/form-data" }).addClass("pretty-box").css({ "position" : "fixed", "left" : "50%", "top" : "50%", "z-index" : "9999", "background-color" : "white", "padding" : "0px", "width" : …

Member Avatar
Member Avatar
+0 forum 6

Using: Visual Basic .NET 2012 Problem: I am using the code below to get the version information from a system dll. It returns a version number and I check the file manually by going to C:\windows\system32, right clicking, going to properties, clicking on Details and the version number that VB.NET returned to me is not the one shown here. What is up? Dim dnsFile = Environment.GetFolderPath(Environment.SpecialFolder.System) + "\dnsapi.dll" Dim myFileVersionInfo As FileVersionInfo If File.Exists(dnsFile) Then myFileVersionInfo = FileVersionInfo.GetVersionInfo(dnsFile) FileVersion = (myFileVersionInfo.FileVersion.Split(" ")(0)).ToString End If MsgBox(FileVersion) Does anyone know why this is going on? I need to retrieve the version number …

Member Avatar
Member Avatar
+0 forum 4

Hello i encounter a error on my crystal report. I don't know to fix this. Can you help me? thank you

Member Avatar
Member Avatar
+0 forum 1

Quick question. I'm studying for my CCNA and my supervisor gave me this challenge question. You're given 5x Cisco 3560's and 5x Cisco 3750's which are to be installed side-by-side on a rack. Which model would you choose to avoid issues with STP? I'm currently skimming over [this](http://www.cisco.com/en/US/prod/collateral/switches/ps5718/ps6406/data_sheet_c78-584733.pdf). Thanks!!

Member Avatar
Member Avatar
+0 forum 2

Hi Guys, Is there a best practise when having an ADO connection to speed up the process? Currently the method I am using below works fine but it's a little slow in getting the data. Is there any hints, tips or tricks I can utilise to speed this up? //Opens the Line 50 Connection// adoConn.Open("SageLine50v19", "Manager", "", 0); //Creates new versions of the Connection string and Data Set// da = new OleDbDataAdapter(); ds4 = new DataSet(); if (File.Exists("C:\\twDB.xml")) { //Create a new Datatable called "accountsTable" and then adds that the the DataSet 4// DataTable accountsTable = new DataTable("accounts"); ds4.Tables.Add(accountsTable); //SQL …

Member Avatar
Member Avatar
+0 forum 5

hi everybody, im doing a project in vb 2010 its a simple "guess the number between 1 and 30" i have it all finished working properly , my only remaining issue is, if i enter a character or letter into the combobox, it crashes the system. i got a piece of code to counter the issue but its message box appears everytime i press enter. its running in sync with the game instead of only when an invalid entry occurs. Private Sub btnEnter_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEnter.Click 'enter pressed If Not IsNumeric(cboRange.Text) Then cboRange.Text = …

Member Avatar
Member Avatar
+0 forum 3

Hello, I am fairly new to c and i am finding it hard to spot why a part of a program I am making is not working. The program lets you work out the area and circumference of a circle. This is the code: #include <stdio.h> #include <math.h> int area() ; int circ() ; int main() { char choice ; printf("\n Do you want circumference(c) or area(a): ") ; scanf("%c" , &choice ) ; if(choice = 'c') { int circ() ; } if(choice = 'a') { int area() ; } else { int main() ; } return 0 ; } …

Member Avatar
Member Avatar
+0 forum 6

hello, i have made the code below. however, when comparing the two strings they are not equal when in theory i thought they would be. String word="abc"; String d=""; d += "a"; d += "b"; d+= "c"; if(word==d) { System.out.println("IS EQUAL"); } When i just print out string d it prints out abc, but for some reason its not REALLY abc. why?

Member Avatar
Member Avatar
+0 forum 2

Hi, I am habving problem with tcpdf library.I am using Version: 5.9.162.I have a table format structure and the user writes in the table format and add the data and creates the pdf but my pdf file is not creating as i wish to create them some of the data is displayed and some is not.I am using writeHtml() function of tcpdf library and the error it gives me in the error log is PHP Warning: array_push() [<a href='function.array-push'>function.array-push</a>]: First argument should be an array in tcpdf\tcpdf.php on line 21713.The line is // store the TR elements IDs on table …

Member Avatar
Member Avatar
+0 forum 3

my pc w/intel p4, 3.00 Ghz, 3Gb ram, 60 Gb Hhd(not proven to be running, yet), no O/S yet, formatted HD wiped with sys mechanic, tryn to boot from cd rom (windows oem XP pro sp3), turn on screen imm says " Intel Boot Agent FE v 4.1.10 PXE-E61:Media test failure, check cable PXE-M0F:Exiting Intel Boot Agent attempeted to eliminate network boot by f10 goto start up bios. adjust bootup order and disableing Network boot. however it keeps comming back....

Member Avatar
Member Avatar
+0 forum 4

I added new database file in my solution's app_data folder in VS2008. But when i tried to expand it from SERVER EXPLORER, i get this error An attempt to attach an auto-named database for file ___ failed. Find the screen shot of the error which occured in vs2008 IDE. [http://www.eggheadcafe.com/FileUpload/1619491694/Errordb.jpg](null)

Member Avatar
+0 forum 0

Dear, Printer Laserjet M1212 nf MFP is connected Directly with WIndows 7 OS . On the network , i want to connect from a Windows Xp client but cannot Connect through it. Any solution for it?

Member Avatar
Member Avatar
+0 forum 1

My crontab states: PATH=/var/www 00 00 * * * php -q /tasks/script1.php */5 * * * * php -q /cycle/script2.php */1 * * * * php -q /tasks/script3.php script 1 doesnt run, but I need to to run every midnight script 2 doesnt run but works fine when executed manually. script 3 DOES run perfectly... makes no sense to me - any ideas?

Member Avatar
Member Avatar
+0 forum 3

A client of ours uses Outlook 2007. They have recently reported an issue with attaching files to emails. Here is the issue that pops up... ![Image1](/attachments/large/3/Image1.gif "Image1") This happens when trying to open a folder to find the file to attach. This only happens with a couple of the folders. Other folders open fine to attach the designated/intended file. Obviously it's a permissions problem, but where and how? Or more importantly what's the fix? The users (with the issue) have access to these folders outside of Outlook. They are however limited to specific sub-folders within the main folder. Much a …

Member Avatar
Member Avatar
+0 forum 2

I'm having trouble with a home-built desktop PC where wireless network cards don't appear to be working for it. I put one in a PCI-E slot on the motherboard and I also tried just using a USB wireless card. Neither work, according to the windows trouble shooter there is a problem with the drivers on each of them. I have tried reinstalling the drivers with no effect. Can anyone suggest a way of dealing with this? Thanks! Also I have Windows 7 operating system and processor and motherboard in computer are (if at all relevant): Intel Core i7 2600K 3.40GHz …

Member Avatar
Member Avatar
+0 forum 2

hi everyone, i have an irritating issue with the code editor in cpanel... whats started happening is if i click any line of code after around line 100 the code displays 3 lines above, and sits ontop of the code that is actually on those above lines! the further down the page i go the worse it all gets, after line 1000 if i click it zooms me anywhere in the script. i just cant figure out what the issue is??? any help apreciated thanks

Member Avatar
Member Avatar
+0 forum 1

Hello everyone! I am having a bit of an odd problem here. So, on my Visual Studio project, I decided to use a precompiled header. This didn't seem to cause a noticable problem up until today. I have a small segment of code that is supposed to remove one element of a vector based on it's contents: using namespace std; . . . vector<int> v; v.push_back(4); v.push_back(5); v.push_back(6); v.push_back(7); v.erase(std::remove(v.begin(), v.end(), 6), v.end()); This USUALLY works. However, Visual Studio kept griping at me about how the synax is incorrect. So, I right-clicked on the remove function and found it's definition …

Member Avatar
Member Avatar
+0 forum 2

Hi Guys.. I recently discovered that I am having issues with Windows Installer. I searched the web and tried a couple different things and finally found a thread on this site. I went through the steps and will post the results below. Also, when I open up Services, Windows Installer is nowhere to be found. I tried Microsoft FixIt and that would not install. When I followed the sticky steps, Microsoft Windows Malicious Software Removal Tool would not run either. I also can no longer use Microsoft Office. It opens, then tries to verify the license and says it cannot …

Member Avatar
Member Avatar
+0 forum 1

I recently decided to try out a simple PHP/MySQL pagination script I found online. After replacing all the required data and creating a connect.php file with my db information, I got a bunch of errors on the page with the script: here they are, in order: Warning: include(connect.php) [function.include]: failed to open stream: No such file or directory in /homepages/9/d383324583/htdocs/news/index.php on line 115 Warning: include() [function.include]: Failed opening 'connect.php' for inclusion (include_path='.:/usr/lib/php5') in /homepages/9/d383324583/htdocs/news/index.php on line 115 Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2) in /homepages/9/d383324583/htdocs/news/index.php on line 122 Warning: mysql_query() [function.mysql-query]: A link …

Member Avatar
Member Avatar
+0 forum 5

I have an issue when I add "" around text in the statement below. With out it works fine but when I add it the whole page is blank. Can someone please help me out on this one. I need to have the quotes in the verbiage. **This works:** $lang["t_tech_v26_content"]="We have founded this net operation in 1988, only the finest work for more than 20 years.<br> <br> Many of our clients are small to medium companies. <br> <br> we're proud to be members of the National Review Board and the Area Chamber of Commerce. Together, we have a united goal …

Member Avatar
Member Avatar
+0 forum 4

The End.