199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Vasthor

error: [Click Here](http://s27.postimg.org/syfgdiagz/New_Bitmap_Image.png) snippet from main.cpp: std::ifstream inFile; inFile.open ("in.txt"); TextQuery(inFile); inFile.close(); snippet from TextQuery.cpp: TextQuery::TextQuery(std::ifstream &in) { std::size_t countLine = 0; std::set<std::size_t> bucket; std::string line; while (in >> line) { m_wordStore.push_back(line); ++countLine; bucket.insert(countLine); m_queryMap[bucket] = m_wordStore; } } been trying to use std::cin to replace it as input feature …

Member Avatar for Vasthor
0
361
Member Avatar for CarterLangley

Hi guys, I have a mysql database with many tables. Instead of creating a page each to enter info into the relevant tables, is it possible to have a form created dynamically depending on what table I want to insert information into? Database has 20 tables in it at present, …

Member Avatar for CarterLangley
0
183
Member Avatar for savedlema

Hi all! I have a USB Modem (dongle) made by ZTE. I normally use it for connecting to the interent. It also came with a dashboard/software that I can use to send & receive SMS and even make a call. I want to make an application with VB.NET that will …

Member Avatar for asarchit65
0
2K
Member Avatar for JaneLewis1615

I'm suppose to create a Slot Machine game. The user starts with 100 tokens. With each "pull", the user loses 1 token and the computer "spins" three wheels, each consisting of the numbers 1, 2, 3.If all are 1, the user gets 4 tokens; If all are 2, the user …

Member Avatar for asarchit65
0
1K
Member Avatar for sanus

I am a beginner in visual studio and i don't have any experience in programming .I want to create a DTMF generator using visual studio . I already made the GUI using drag and drop function . So i want add functions to that button . Button work's like a …

Member Avatar for asarchit65
0
412
Member Avatar for Grazel

hi i am creating a program that needed an excel app., and i already do it, at first no error, but after a sudden, an error appeal, here is a error. **Microsoft.Office.Interop.Excel.Application' is not defined.** i am still new and still exploring in vb.net. thank you in advance! Any help …

Member Avatar for asarchit65
0
5K
Member Avatar for GianniD

Hello I have an assignment where I have a XML file with data and I need to able to read it inside something like a listbox where I'm able to select the name of a company and all the other data related to that company name is shown. Example: <?xml …

Member Avatar for asarchit65
0
640
Member Avatar for somyms
Member Avatar for PulsarScript

Hi to all! I decided to make project about cars and their makes. Can anyone suggest some interesting functions that it might have,to make it interesting Thank you,i opned for ideas 24/7

Member Avatar for vmanes
0
106
Member Avatar for fortranlover

please i need help with my work.. write a program in c++ that accepts a real number with two decimal places and output the vallue in words.. [assume that no amount will exceed 999999999999.99

Member Avatar for vmanes
0
232
Member Avatar for MrNoobieCoder

import random guessesTaken = 0 my_name = input("Hello, What is your name? ") difficulty = input("Well, "+ my_name + ". What dificulty would you like ? easy medium or hard? " if difficulty == easy number = random.randint (1,20) print ("Okay, " + my_name + ". I am thinking of …

Member Avatar for Kai_Chang
0
6K
Member Avatar for alaa ashraf
Member Avatar for CoilFyzx

Hello I am using jxls quite fine. I'm sort of on my last lap with exporting my data to a file. However all I want to know is, how do I display my collection in the same row please? I've manage to do this downwards in the same column, but …

Member Avatar for CoilFyzx
0
292
Member Avatar for 26bm

Hello, I am programming for the new(ish) 4 inch retina display of Apple's mobile products. Since I don't have a Mac computer to program with I've had to use Adobe Flash Professional. I realize that in order for the app to run in the full 4" I need to add …

0
137
Member Avatar for Iikeloa

Hi I'm facing a problem with having two forms in the same page.The problem is that the action is taken from only the first form. For example : <html> <body> <form action='test.php' method='POST'> <input type='submit' /> </form> <form action='testme.php' method='POST'> <input type='submit' /> </form> </body> </html> when I hit on …

Member Avatar for Iikeloa
0
285
Member Avatar for showman13

There was a thread that covered part of this issue, but it never really got resolved completely. I now have everything working the way it is supposed to with the single exception of the transfer of the .csv file from my server to the secure server of my vendor. If …

Member Avatar for iamthwee
0
2K
Member Avatar for realoneomer

Hi, I have a requirement to get all those file names from a directory whose contents mataches with a specific pattern letsay pattern 'ABCDE' Can you please provide me the code to meet this requirement. Thanks

Member Avatar for 2teez
0
164
Member Avatar for swilcox1110

I am working on a homework assignment and have been hashing it out for days. Hopefully my novice status with this wears off soon. I am supposed to create an ISP calculator with checked radio buttons and the user enters the hours. Package A = $9.95 for 10 hours each …

Member Avatar for swilcox1110
0
132
Member Avatar for Sevyt

I think i went somewhat over my head with a little tool i wanted to make. The idea was to bind certain keys(users choice) to countdown timers and progressbars. But since the keys are never the same i have to save the chosen key for the selected progressbar. So when …

Member Avatar for Sevyt
0
210
Member Avatar for ezekel

Hi i need your help please I am still learning android...i don't know this error "at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1133)"... can you help me how to solve this. Thank you.

Member Avatar for peter_budo
0
908
Member Avatar for sikander123

i have much tried for this solution but not any well solution found.if any one know how can we compare two audio files by their voice and after comparing it give the result of matching voices.please if any one now the solution told me.

Member Avatar for veedeoo
0
1K
Member Avatar for pekemp23

My teamate and i are looking into how to: The application did not work as required. There was a package statement; (-2) Even though you caught the exception, the incorrect donation should not be printed out to the JtextArea. (-2) I would also work on appending to the text area …

Member Avatar for cgeier
0
331
Member Avatar for Rahul47

When we create an object how much memory will be allocated to it ? Is memory allocated for methods too ? If Yes, How ?

Member Avatar for JamesCherrill
0
137
Member Avatar for ReaseySo

#include <stdio.h> Reverse Number In C Program int main() { int n, reverse = 0; printf("Enter a number to reverse\n"); scanf("%d",&n); while (n != 0) { reverse = reverse * 10; reverse = reverse + n%10; n = n/10; } printf("Reverse of entered number is = %d\n", reverse); return 0; …

Member Avatar for jnawrocki
0
472
Member Avatar for man.chester.581

i just want to know how can i start to code my private GUI in c++ what libraries can i use? and is there any book or bdf can help me ?

Member Avatar for glenwill101
0
300
Member Avatar for vbhobby

Hi good day guys i would just like to seek some help regarding my problem here in VB.NET. I have this program that if the text in the textbox is equal to the text in the label of the previous form it will add 1 for each correct answer but …

Member Avatar for babujibabuji
0
283
Member Avatar for ZIPB

Need some help with the code below. Getting and error at ExecuteNonQuery() Private Sub Button1_Click(sender As Object, e As EventArgs) Handles btnRoomSave.Click Dim con As New OleDbConnection Dim cmd As New OleDb.OleDbCommand cmd = New OleDbCommand(Command, con) con.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source='C:\PATIENT_O\PATIENT_O\Patient-O.accdb'" cmd.CommandType = System.Data.CommandType.Text cmd.Connection = con con.Open() cmd.CommandText = …

Member Avatar for babujibabuji
0
2K
Member Avatar for jrosh

Please any one can guide me how to write a [B] mysql database search[/B][I] in java....[/I] I want to search mysql database for some data in keywords. please help... thnakx

Member Avatar for Sardar_1
0
2K
Member Avatar for ruhestorer

Hi, On copy event, i need to display confirm dialog (we use fancybox dialogs in all project) and depending on user choice add some text (reference) to the copied text or leave the text as it is. And the problem is that - when dialog appears copy function continues to …

Member Avatar for Troy III
0
342
Member Avatar for aravind326

Hi, I have a java class that is being used by multiple people (from a UI). In the class i have a static HashMap with the userKey as the map key and an arraylist with data pertaining to the user as the value. I am using this kind of like …

Member Avatar for aravind326
0
391
Member Avatar for anand01

I have problem with jinitiator. I am using Oracle ERP forms which runs on Jinitiator.When I access some other java applet application at the same time it runs in the JRE in and works fine. When I pass the same java applet application in ERP through a link , I …

Member Avatar for jwenting
0
196
Member Avatar for wallet123

Im trying to integrate my website with facebook so that users wont have to sign up. By just using their FB accounts, they can automatically be logged in, but im encountering an error: java.lang.NullPointerException at com.fblogin.CallbackServlet.doGet(CallbackServlet.java:86) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) …

Member Avatar for jwenting
0
319
Member Avatar for xidike

I'm having a great trouble in compiling a custom header file in my project, with Visual C++ 6.0, when I open my source files and click builds, every thing goes fine, but when I try to compile header file, I receive following error, " Cannot compile 'D:\Programs\SalesP.h'; no compile tool …

Member Avatar for xidike
0
195
Member Avatar for GagaCode

I'm newbie to C# so please bear with me for that issue and just to make the issue clear i'm gonna start from the very beginning of the My code What i wanted to do @ the beginning that i wanted to populate my comboBox from MS ACCESS database but …

Member Avatar for GagaCode
0
417
Member Avatar for jainasamiento

related on the first question...which is getting the commission,,, let me correct it..if you run this code the sample output will be like below; the problem is I dont know which one will be first to make a code. the output will be like this; sample output monthly sale=15250 commission=610 …

Member Avatar for pritaeas
0
97
Member Avatar for Binoy_1

How is a request like www.xyz.com/ABCD or www.xyz.com/ABCD?x=1 processed at the server end? Since there is no extension specified (for e.g. ABCD.php or ABCD.aspx), what does the server do? I've seen quite some such URLs and was curious as to just how it works. Thanks in advance

Member Avatar for JorgeM
0
141
Member Avatar for deyb.dizon

.i'm dave and i'm working with some receiving and m0nitoring system like.,i develop a system but it is a individual machine or a stand alone system,which means it w0rks only on a single pc,.my problem is i want to convert it to be a client server system which i can …

Member Avatar for deyb.dizon
0
256
Member Avatar for mherz

Good Day! I need guys help. I have a problem in my web site that was running on my local machine. Actually, months ago the page was working fine and has no error but now, it already has. The pop up message is "Line: 4723 Error: Sys.WebForms.PageRequestManagerServerErrorException: Object reference not …

Member Avatar for mherz
0
314
Member Avatar for Amanpreet_1

i'll be gratified if anyone can help me thru this ..... my problm if that i have to retrieve data from my sql database ... bt itz stored thr from an app created in php .. so stored using preg_match function in php ....**&nbsp;hlo<div><br></div>** this is format i have it …

Member Avatar for Amanpreet_1
0
387
Member Avatar for game4tress

I'm creating a chat system and the problem is that when testing with two users, the secound user (entering the system) can see the first user (already loged in), but the first user will never see the next user(s) entering the system. I know that the problem comes from the …

0
212
Member Avatar for kavitha N

Hi All, Need a help on ASP.NET gridview. I need a link gridview in asp.net and when you click on particular link that details has to show in the same page. I am using Oracle database. Thanks in advance. Kavitha Kesav

Member Avatar for kavitha N
0
127
Member Avatar for neha05

Facing issue when splitting a image ,when image size is bigger,it split only part of tht image or i want that any size of image show properly according to div size after splitting.`Inline Code Example Here` <!doctype html> <html> <head> <meta charset="utf-8"> <title>jQuery PicStrips example</title> <!--<link href="http://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type="text/css">--> <script …

0
153
Member Avatar for Typhooncoder

Hi guys how do I sort out this error = "object reference not set to an instance of an object" try { String connection = "Data Source=(LocalDB)\\v11.0;AttachDbFilename=C:\\Users...."; SqlConnection conn = new SqlConnection(connection); SqlCommand db = new SqlCommand("select * from Tbl", conn); SqlCommandBuilder builder = new SqlCommandBuilder(da); ds = new DataSet(); …

Member Avatar for cgeier
0
219
Member Avatar for chrisschristou

hello dears friends develppers. i have posted similar question but i didn't get solution and i tryed diferent way but nothing done and decide to comme back, anyway. i have a `div` with `id` `login-box` inside i have login form. i get a jquery tutorial and i made it popup …

Member Avatar for sikander123
0
848
Member Avatar for prabhatsingh

i have two fields in mysql database entry time ->type time stamp and exit time->type datetype. entry time should be entered at fist submissin of form and exit time should be null..and when i update the table then the exit time fiels should be updated..but this is not happing..entry is …

Member Avatar for jj.dcruz
0
97
Member Avatar for trade19

Hi I need help using the variable mytik as a counter in the GUI "app" If you run this code mytik stays at 1,2,3,4 or 5 as entered but when I need it for a counter in the next GUI window it no longer has the value of say "1,2,3,4,or …

Member Avatar for woooee
0
120
Member Avatar for amzz

I have created a class with few public and private functions to create an sqlite database and related operations.consists of 2 private member variables **A & B**. **Public functions:** to check whether database exists ,if exists open and read data A & B else call the 3 functions from private. …

Member Avatar for amzz
0
861
Member Avatar for Kniggles

hi I am having trouble on echoing a sum from a table, The mysqul works and give me the wantted result and looks like SELECT sum(brick) FROM `goodship` this is the code i am trying to get to show it on the site, <html> <head> <?php $con=mysqli_connect("hostwiththemost.com","bulderbob","superscreatpassword","shipstable"); if (mysqli_connect_errno()) { …

Member Avatar for kgavhane12
0
229
Member Avatar for nadiam

Hey guys, first of im not sure if im posting my question in the right thread, if not do tell. anyway so i recently downloaded mysql installer 5.6.16 and now im try to set up a new connection in mysql workbench 6.0 but it keeps saying access denied for user …

Member Avatar for kgavhane12
0
225
Member Avatar for CoilFyzx

Hello good day. I am trying to figure out if it is at all possible for me to do but I want to access the area that is outside the JScrollPane's view when my JFrame is resized. Let me explain; I have a LayeredPanewith two layers within a JscrollPane. The …

Member Avatar for CoilFyzx
0
235

The End.