64,152 Solved Topics
Remove Filter ![]() | |
Group, I'm working with a ListView box for the first time. I've figured out how to populate it with data from a database. I now want to click one line of that ListView and have it return each of the five cells from that line into 5 textboxes. I've written … | |
Hi all. Using VB6: I have an application in which I am programmatically populating a datagrid. When I first drop the datagrid on my form, it has 2 columns by default. I can add further columns to them but I wanted to know if there was a tidy way of … | |
Hi group, I've been playing with a ListView and I'm struggling to get it to populated with info in a database. I'm hoping you may see something in my code that is creating the error. Dim con As New SqlConnection Dim cmd As New SqlCommand Dim rdr As SqlDataReader = … | |
Group, I'm declaring a variable in one form that I need to make available in a second form. My code in Form1 looks like this: Public Sub FuncKeysModule(ByVal value As Keys) Select Case value Case Keys.F5 Dim searchtype As Integer If txbPartNo.Focused = True Then Popup_PartNumbers.Label1.Text = "Enter the beginning … | |
#ifndef TINYVEC_HPP #define TINYVEC_HPP #include <iostream> #include<iomanip> using namespace std; template<typename T_numtype, int N_length> class TinyVector { protected: T_numtype data[N_length]; public: ////////////////////////////////////////////////////// // Constructor ////////////////////////////////////////////// TinyVector() { } ~TinyVector() { } TinyVector(const TinyVector<T_numtype,N_length>& x); TinyVector(const T_numtype & initValue); TinyVector(const T_numtype x[]); TinyVector(const T_numtype & x0, const T_numtype & x1); TinyVector(const … | |
I'm still a bit of a newbie and have what is probably a minor issue, but for some reason I can't wrap my mind around it. I have a program that does a whole bunch of stuff to text from an input file. The input looks like this: MArch 9, … | |
If any one can help me please to answer this questions please: 1. What is the difference between this.dollars and otherMoney.getDollars() 2.- What the return statement of this method is returning. 3.- How this method would be called from the main and give an example Thank you in advanced. // … | |
So I am working on a problem and have a bit of an issue that I can't seem to figure out and would like some guidance. I have string input coming into my program via fstream. Its a bunch of sentences where I have to cout it in such a … | |
If there is a String Buffer, and a String Builder based on array technology, why then is there no equivalent mutable data type based on a Linked List? Or is there? | |
Hi group, I'm still learning Visual Basic and SQL. Please overlook my inabilities. I'm writing a module that is meant to write a small amount of data to a database. I've named these fields 'PrinterID', 'PrinterName', 'PrinterNumber', 'PrinterLocation' and 'PrinterAddress'. The user will eventually have 30 or 40 records to … | |
I have 2 tables inside of my database and 2 forms on my website. 1 form works and sends information over to its table in the database while the other form doesn't although I have used the exact same method for both. Here is my code, please help me find … | |
Hi everyone! I am working on a custom control, and for the life of me I can't figure this one out. As of right now, all properties for controls that are settable in the editor I use this code: [Browsable(true), Description(""), Category(""), DefaultValue()] I fill in the blanks appropriately, but … | |
Whenever I want to delete row my excel file in c#. I have get error. I tried much much codes on the net but I can not solve my problem. Please solve my problem... Regards, | |
Hello I have this: String price="10,00 €"; int num=2; int sum=Integer.valueOf(price)*num; System.out.println(sum); //Should print out AT LEAST 20,00 But note: That € sign can be $, €, £ or another AND it can come before or after the numeric float amount. What is the best way to do this? Thank … | |
Hello every one my problem is i made a website with registration and alot of other things but i want to make a form that have two main fields 'subject' and 'post' like this website and then when the user fills every thing and press submit a new page will … | |
"I want Dropdowm autocomplete with binding in SQLServer in asp.net anyone can help me " | |
hi .... im tring to insert a picture with some information to the database when i run the progaram it will display the bellow message NullRefaranceExprasion was Unhandle Object reference not set to an instance of an object. this is my full code is there is any mistake? Imports System.IO … | |
Hi I know how to make just numeric textbox, but the problem is that I wisch to enter in the text box wit 2 numbers and then search trough a database to recive just zipcodes. Lenny | |
Hello! I'm working on a mini framework and everything is going great, exvept this one part that I have gotten working but it brings more complications and it's extremely confusing to me. So I will summarize what is going on. Essentially I have a class (a controller, we'll call this … | |
hi guys, im a bit stuck here and wondered if anyone could help? what i want to do is, after the DataGridView is populated (this part works fine) is to do a calculation on 2 columns i.e column 2 column 6 1 2 2 2 i need column 1 and … | |
I've been trying to figure out how to launch a java application from a single double click file like you would Microsoft Word or Firefox. I think I've seen a couple of Java applications that do this, but I haven't seen how. | |
Hi, thanks for looking at this thread. :) **The goal:** I have this 2D boolean array (from my [decoder](http://www.daniweb.com/software-development/java/threads/452559/decoder-simulatorcalculator-complement-of-2-problem) thread). I managed to write a method that goes through the rows and appends a '1' or a '0' to a string based on what's in the array (1 for true, … | |
I'm learning how to use the SDL libraries but I'm having a small problem playing the sound. The program appears to load the sound but either not play it or play it too low for me to hear. Here's my code so far: [CODE]#include "SDL/SDL.h" #include "SDL/SDL_mixer.h" Mix_Music *play_sound = … | |
I am tring to recreate my oracle database -> sql server 2008. I never used sql server before, so I am using sql server management studio. I could create tables and views. The views I created using sql server management studio GUI has data in it. Now, I tried to … ![]() | |
Another solution i've been searching for days now is for sending mail to actually existing accounts, but haven't quite found it yet. I have this functionality in my code where i can search and select professors individually for setting question papers. The search and select pages are working fine, so … ![]() | |
Hi! It's me again and [this](http://en.wikipedia.org/wiki/Decoder) is a decoder! **The goal:** And I'm trying to make a program that solves logical problems related to the decoder device. For that I need a loop that write true/false into a boolean[][] based on the rules. Say we have a decoder with 3 … | |
Hi, I need help with my c++ maze game. The problem that I'm having is my keys and doors. I don't really know how to unlock a door after obtaining a key. Heres my code, its a bit messy: #include <stdio.h> #include <stdlib.h> #include <windows.h> #include <process.h> #include <cstdlib> #include … | |
Hi all, I'm trying to run an update query using the following code: <?php require_once('myConnect/connect.php'); $email = mysqli_real_escape_string($dbc, $_GET['e']); $ac = mysqli_real_escape_string($dbc, $_GET['ac']); $checkQuery = "SELECT subscribed FROM myUsers WHERE email='$email'"; $checkQueryResult = @mysqli_query($dbc, $checkQuery); $row = mysqli_fetch_assoc($checkQueryResult); if ($row['subscribed'] == 1) { echo '<p><b>This account has already been activated!</b></p>'; … ![]() | |
Hello all, I am trying to get a bunch of sub-keys and values from the registry in vb 2010 and i remember in vb6 this was quite easy. Can anyone share code to help? Or a link where I can go? I've been searching for nearly 8 hours on line … | |
Hi - I am a pretty remedial visual studio express user. I recently understood how to do cascading comboboxes using the binding sources of the related tables, eg tbl 1 Make, Table 2 model, so as eg only ford models displayed in cbo2 if Ford selected in cbo1 - thanks … | |
Hello all! I was able to make a program that writes random numbers to a file depending on how many the user requests. I now need to write a program that read those numbers...prints them... then at the end adds all the numbers from each line together and adds them. … | |
Write a program with subclass InterestAccount and CDAccount. The driver program (Account.java) must perform following transactions: 1) Print the name of your bank and yours at the top. 2) Creat an Intrest Account for "Benjamin Franklin" with PIN of 1234 and a starting balance of $100. 3) Creat a CD … | |
Ok thank you in advance for any help! The problem: Write a program that asks the user for the name of a file. The program should display the contents of the file with each line preceded with a line number followed by a colon. The line numbering should start at … | |
I'm having trouble with a bit of code here. What I'm trying to do is paste multiple images(generated from a helper function) into a RichTextBox. Here's my code: string tempText = "For the arithmetic progression $a_1, a_2, a_3, ... a_9$ it's known that $a_2 + a_8 = 8$. The sum … | |
Hi , Please can anyone help. I have a window(1280x768) that contains a resolution(1920x1080). I am trying to use ScreenToClient to obtain the mouse coordinates while in windowed format. I am drawing a line from a subject to the mouse cursor which works fine in fullscreen but not in windowed. … | |
Hi guys,i was having this problem with inserting a record into access database in visualstudio 2010. here's the problem,here's the code bridgenumber = TextBox1.Text.ToString() bridgename = TextBox2.Text districtname = ComboBox1.Text sectionname = ComboBox2.Text roadsegmentname = ComboBox3.Text bridgetype = ComboBox4.Text bridgespan1 = TextBox3.Text bridgecondition = ComboBox5.Text acquisitionyear1 = ComboBox6.Text evaluationyear1 = … | |
I have searched for this problem on google and all solutions I have tried dont work I am new at PHP and used this method before but for some reason this one is giving me the run around. it echo's the text "Special Occasions" but the link it refers to … | |
Hi it's me again with the silly problems in my vb .net codes :( I have a serious problem with combo box i need to use the selected item in combo box when user selects for example GREEN from be drop down list after than i need to put that … | |
Hello. Can I add any data directly from table into data base using dreamviewer 8 by php? i mean in design view, i add table. then when i enter a data in the cell, so can i add this cell text to a field in DB table? Also how can … | |
Hello every one. I am stuck in a place. I am entring medicine record in a table. That's most possible that medicine may exceeds from the rows i am providing. I would like to be assist how can i add new new with a hyperlink text. Also how this row … | |
Hey guys, i found this tutorial online that involved searching your database for an existing value. I have changed the code around so it fits with my system but when i run it the input displays but once i press ok the input box closes and nothin else happens. Heres … | |
textfileA = one word per line textfileB = multiple words per line textfileC = words that I have manually found already if words from textfileA also exist in textfileB, I need to replace the words in textfileB with "error" and write the replaced words from textfileB to new lines in … | |
Group, I've been working for several hours trying to correctly write to a database file. Here are the parameters: Database Name: DATADESIGNSOLUTIONS Table Name: PRINTERMAINT Column Names: PrinterID (primary Key), PrinterName, PrinterNumber, PrinterLocation, PrinterAddress I've been working at this two ways: through the Visual Basic code and through SQL Server … | |
Hello again. I have this backup script to grab files/folders rar them and save them. What i have been tring to do is ignore certain files. ignore test.php within folder. Thank you <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> <script type="text/javascript"> function submitform(){ $('#myForm').post("backup.php", $("#myForm").serialize()); } </script> </head> <form action="backup.php" method="post" id"myForm"> <input type="hidden" … | |
Sir I have a search engine on my website which get input by user and search it for the results and i am storing those keywords into seperate table name keywords, but now a days i m checking that there is a bunch of unknown characters into query strings, i … | |
How do I implement a frequency counter in a treenode that increases when the user enters an existing word? I have a program where the user is asked to choose: enter string, search for string My frequency counter is not working properly. How do I keep track of the frequencies … | |
Hi, I have a question about web hosting. I want to purchase a hosting package from web.com, and they have mysql database. But the web hosting package says i can only have 300mb, but the issue is theres a 25 in front of the 300mb, it looks like this 25 … | |
I have a new laptop and it has windows 8 on it. Which is more preferred, wamp or xampp? I know that wamp is for windows and xampp is multi platform and is easier to use (I have heard). So for my laptop, should I get wamp over xampp? | |
I have a function that I intended to be able to remove duplicate rows in an excel worksheet. I pass it $objPHPExcel which has gone through the following function function checkExtension($inputFileName) { if (pathinfo($inputFileName,PATHINFO_EXTENSION) == "csv") { $inputFileType = 'CSV'; $objReader = PHPExcel_IOFactory::createReader($inputFileType); return $objPHPExcel = $objReader->load($inputFileName); } else { … |
The End.