64,152 Solved Topics
Remove Filter ![]() | |
1. Form created in VB2008 3 Textbox [Name(string), Company(string), Contact(number)] 3 Buttons [New Record, Update Record, Delete Record] 2. Database created in MS Access 2003 File Name: Contact.mbd Fields: ID [Primary key] Name [Text] Company [Text] Contact [Number] How to Create Connection? How to get data on form load from … | |
This is a simple problem that for some reason I can't get to work. The problem I created for myself was to use call a function from a function using *args and print out the question and solution. I want the output to vary as the *args can accept any … | |
**It is my humble request if I can get minior help with function definition at the end where its says--- int countvowels (string test) { ** #include <iostream> using namespace std; //function prototype bool is_vowel (char c); //is_vowel(c) returns true if character c is a vowel and false otherwise void … | |
The idea of this thread is to help the beginning wxPython GUI programmer with hints and helpful code. Please feel free to contribute! If you have any questions start your own thread! For info on wxPython modules see: http://www.wxpython.org/docs/api/wx-module.html | |
on localhost add to cart is working fine $config['sess_cookie_name'] = 'ci_session'; $config['sess_expiration'] = 7200; $config['sess_expire_on_close'] = FALSE; $config['sess_encrypt_cookie'] = FALSE; $config['sess_use_database'] = TRUE; $config['sess_table_name'] = 'ci_sessions'; $config['sess_match_ip'] = FALSE; $config['sess_match_useragent'] = TRUE; $config['sess_time_to_update'] = 300; CREATE TABLE IF NOT EXISTS `ci_sessions` ( session_id varchar(40) DEFAULT '0' NOT NULL, ip_address varchar(45) … | |
Hello group! I've created a short program to open an application at a specific time. It's working but is attempting to open the application multiple times. What should I be doing to control the number of times it is opening? It only needs to open one time. Here's my code: … | |
I am just starting a project on google map. i am using below link to get user current location [Click Here](http://www.sitepoint.com/working-with-geolocation-and-google-maps-api/) how can i find other nearby users / places based on current lat , long? any suggestion help me a lot. thanks | |
Hello Group, I'm writing a macro to match dates from one spreadsheet to another. Specificially, SpreadsheetA has the date listed as text. I want to match that date to a range of dates in a column to find the row the matching date is on. I have some things that … | |
Public Class Form1 Private decLabFee As Decimal ' To hold Lab fee. Private decMeds As Decimal 'To hold Medication cost. Private decSurgical As Decimal 'To hold Surgical cost. Private intLengthOfStay As Integer 'Amount of days stayed at hospital. Private decPhycical As Decimal 'Hold Amount of Physical Cost. Private Sub btnExit_Click(sender … | |
Hello Guys ..I have a question : I have two tables employees and department .. employees table have forign key to depatment dept_id (pk) .. i want to know which deapartment has maximum number of employees ... i have done little , but it give number of employees in each … ![]() | |
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApplication3 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } void button1_Click(object sender, EventArgs e) { MessageBox.Show("Hello!", varying, MessageBoxButtons.OK); } void textBox1_TextChanged(object sender, EventArgs e) { string … | |
hi good day! I need some help here.. I have a SHAPE recordset..everything in the database has its value..Im stucked with this error: **"Error : -2147467259 - Relate, Compute By, and Sort operations cannot be performed on column(s) whose defined size is unknown or too large."** My code below: cmd.ActiveConnection … | |
Is anyone familiar with "removing" an image from screen with SDL? It's just simply a toggle on/off function that i'm looking for. I don't really want to free/release the image, since i intend on using it again throughout the program. switch (e.key.keysym.sym) { case SDLK_a: drawSDL_RenderFillRect(...); break; case SDLK_b: **remove … | |
Hey guys, here is how the text file looks now, FILEBEFORE Hello:.++.:something:.++.: bl ank:'++': 2Hello:.++.:2som ething:.++.:3b lank:'++': vdvdfv:.++.:bdfadf bfad:.++.: abfdabdabadfb:'++':Line4:.++.:So fh sj:.++.:sddsds:'++': If you actually see the lines which are blank has some spaces in them. It varies for each line, i want the lines in format, FILEAFTER Hello:.++.:some thing:.++.:bl … | |
Good day! I just want to ask on how to drop a table. Let say all tables starting with "DailyCashSalesRpt". That means it will drop all tables starting that word. I use this code but it will only delete one specified table name.. How to use this with like? sql … | |
//Hi all ,can you explain why does this functon has two returns? //How to read them? Is it like if/else? int _tmain(int argc, _TCHAR* argv[]) { int x, n; int res; int power(int, int); cout << "Enter a number:"; cin >> x; cout << "Enter a power:"; cin >> n; … | |
Hi All, Over the years I have smashed through God knows how many brick walls with `.htaccess`, and all I've learnt is don't even try to make it complicated as nothing is ever simple. I have therefore resorted in recent applications to using `mysite.com/index.php/category/sub-category/create/` etc. and PHP to get hold … | |
i write a code that coun t the number of upper case letter in a string there is a problem my code count space as capital letter code is below #include<iostream> #include<conio.h> #include<cstring> #include<string.h> using namespace std; class Letters{ private: char str[20]; int num; public: Letters(){ str[0]='\0'; num=0; } void … | |
Just a quick question...S_SESSION['variablename'] only works on php files within the same folder? | |
Errors: 1. Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens' in C:\wamp\www\SICS\includes\submitcategory.php on line 75 2. PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in C:\wamp\www\SICS\includes\submitcategory.php on line 75 <?php … | |
Hi all, I was wondering if you can help me out with this. I have a dataGridView with a couple of books saved on it. When I click on a book, the book's story loads in a richTextBox. When I change that text and want to save it I want … | |
Hey guys, Was wondering if someone could assist me in elaborating the c_str() function... I understand that it returns a pointer to an array that contains a null-terminated sequence of character but could someone further elaborate upon this, perhaps with a simple example. Cheers, | |
Hi, I'm creating a game where users play daily & earn points. I wanted to record the scores of each user each day for a month. At first, I thought to create 31 columns within the table & store the score in the appropriate date field. But, I think it … | |
Hi I need you recommendation to know about which crypto algorithm is good for protecting files which is stored in the DropBox? | |
Hello, I am trying to input pictures in student profile yet it doesn't work yet. I wonder why? studentinfo.php <?php include('includes/koneksi.php'); $student_id = isset($_GET['student_id']) ? $_GET['student_id'] : ''; $group_id = isset($_POST['group_id']) ? $_POST['group_id'] : ''; $access_level_id = isset($_POST['access_level_id']) ? $_POST['access_level_id'] : ''; $stu_fname = isset($_POST['stu_fname']) ? $_POST['stu_fname'] : ''; $stu_lname … | |
Having trouble when executed. Can someone point me the right direction? Public Class Form1 Private Sub btnEnterNumber_Click(sender As Object, e As EventArgs) Handles btnUserInput.Click 'This will sum of the numbers Dim strUserInput As Integer Dim intUserInput As Integer 'Number entered by user Dim intSum As Integer = 0 strUserInput = … | |
All, I have an external JavaScript code - which basicially has functionality so that different images are shown when a next or previous button is selected. What I need to do and know is how to pass the value of the image to the querystring as I need to use … | |
Morning all, I have some code which says if a text box is empty show a msgbox asking user to input data into this textfield. i then want only an O.K button to show on the msgbox but then no to continue with the sub. [CODE] If Me.txtLine2Rcon.Text = "" … | |
Good morning, I'm curious on how one would go about encoding the data for a UPS Maxicode barcode on a ZPL label. Currently we generate our own ZPL file using a template which we fill our data in with through a VB.NET program. The Maxicode barcode command is using all … | |
Greetings, I need help with basic cloak, which counts how many times will small and big pointer on the cloak cover each other, with first one starting at 12 cloak. I have idea of how to do it, but I can not realize it, so if you guys have some … | |
Hi how do you hide a jquery multiselect based on a option in the 1st dropdownlist. For example, when I clicked the 1st item in my dropdownlist it will appear the 2nd dropdown else the 2nd dropdown will not appear http://wenzhixin.net.cn/p/multiple-select/docs/ // multi-select pluginj | |
Hi I dont want the extra bracket inside the list thats been outputted so how would I fix that? This is the code: def my_code(list1, list2, index): index = ['a','b','c'] list2 = [2] list1 = [1,2,3] list1.insert(2,index) return list1 and it returns: [1, 2, ['a', 'b', 'c'], 3] I dont … | |
Hello. I work for a company that does alot of stuff with python and I was wondering what methods are better then the one I use for finding a bug in millions of lines of code. What I like to do is find out what the bug does. Let's just … | |
i write a program its output is below G:\Java\Multithreading>java NewThread Child Thread Thread[main,5,main] Main Thread 1 Child Thread 1 Main Thread 2 Main Thread 3 Main Thread 4 Main Thread 5 Main Thread Complete Child Thread 2 Child Thread 3 Child Thread 4 Child Thread 5 Child Thread Complete in … | |
Below is a two dimensional array ineteger variable. int[ ][ ] value={{1, 2, 3, 4 }, {5, 6,7}, {8, 9}, {10}} please write a java code that can print the values and sum the column values as shown below: 1 2 3 4 5 6 7 8 9 10 Sum … | |
![]() | Please I need some ideas for a HCI paper I am currently working on, I am not asking for the answer but just general ideas that I can work on and further improve on my own. The topic is: Crossing: Appropriating Technologies for New Cultures • enabling people from different … |
Hi Everyone, Thank you for viewing. I would like to check how to disbale HTML button in c#? Can anyone advise on this? | |
hello, after accessing users country name,,can i have a php snippet which will convert 20usd automatically to visitor currency ??? | |
Hello, I have a php page (category.php) that loads its content from the database when a link is clicked from another page. For example a a link that looks like this `<a href = "category.php?category=cars">Cars</a>` when clicked will pull all the items from the database under the cars category and … | |
Hi Team, I'm stuck with my code and I found out this snippet to save(Export) an Excel file to **D:**. However, I would like to give a User an option to save it according to his/her necessity. Please find the Code Snippet below: Private Sub Button1_Click(sender As Object, e As … | |
I have to create a program that will calculate the the average miles per tank and the cost to fill tank of a car. The inputs are tank capacity, miles per gallon, and price per gallon, the outputs are average miles per tank and cost to fill tank. I have … | |
I have a code foreach(Control grpbox in this.Controls) { if (tb is CheckedListBox) { tb.CheckedItems... } } and I need to use tb.CheckedItems as above...but somehow CheckedItems is not visible there... I can see other things related to "Control" but not related to "checklistbox" how to fix that? | |
![]() | Hey guys, here I am starting my journey into javascript, when this stupid bug is annoying me. Following is my piece of code: <html> <head> <title> Using 'this' in Javascript.</title> </head> <body> <script type="text/javascript"> var name={ firstName:"Foo", lastName:"Bar", showName:function(){ console.log(this.firstName +" "+this.lastName); } }; name.showName(); alert(name.lastName); </script> </body> </html> Problems: … ![]() |
I have the following code: import java.util.Scanner; public class WhileLoop { public static void main(String[] args) { int number; int maxValue = Integer.MAX_VALUE; int minValue = Integer.MIN_VALUE; Scanner input = new Scanner (System.in); System.out.println("Enter the length of numbers"); int loop = input.nextInt(); for(int i=1; i<=loop; i++){ System.out.println("Enter a number: "); … | |
hello i have a problem with Priority when I set priority of any thread then I get wrong output my code is below class Run implements Runnable{ private String st; public Run(String s){ st=s; } public void run(){ for(int i=1 ; i<=10 ; i++){ System.out.println(st+"="+i); } } } class PriorityCheck{ … | |
Dim FrenchMark As Integer = 0 Dim GermanMark As Integer = 0 Dim SpanishMark As Integer = 0 Dim PercentageMark As Integer Private Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click EnterMarks() End Sub Private Sub EnterMarks() Try FrenchMark = InputBox("Please enter a whole number between 1 … | |
![]() | Hello, I’m trying to bind Dictionary<string, object> parameters with my combo box, but I don’t know how to do that. This is my code: [CODE=C#] Dictionary<string, object> parameters = new Dictionary<string, object>(); parameters.Add("option1",parameters); parameters.Add("option2", parameters); parameters.Add("Option3", parameters); [/CODE] I would like to get option1, option2 and option3 in combobox on … |
All, I'm trying to obtain the values from an external JavaScript using PHP - In my index.php page I'm trying to obtain the value being passed in as such: `<input type="hidden" name="imgSrcOrig" id="imgSrcOrig" value="<?php echo $_REQUEST['remote_sill']; ?>"/>`` However - in the JavaScript I need to pass into the hidden field … | |
Hello, So I basically loaded to 2 keys and I want to verify them after I've signed something with one of them, but I a having difficulties. I am getting verified: false at the end without any error. Can someone please point out the flaw? package fliesigning; import static fliesigning.FlieSigning.verifySig; … |
The End.