199,114 Archived Topics
Remove Filter ![]() | |
I need some ideas on my array of struct implementation. This is what I have in my structs. I plan on making SHAPES an array because I will have multiple SHAPES. Each shape will have multiple x and y coordinates. Because of this I'm not sure if should make a … | |
There are no Ribbon object in toolBox but I desire to add a ribbon instead of MenuBar or ToolBar like Office. I search everywhere in vb.NET2010. How do I add it in my project. I have no idea. | |
Hi guys, Trying to develop a custom facet like search in Mysql. I have 3 tables for this: 1.Attribute class 2.Attribute class Name 3.Attribute class Value - attributeClassName Id - productId 4.Products Each product has one attribute class Each attribute class has many values Each value is contained in a … | |
.code tetrabonacci PROC push ebp ;save previous pointer mov ebp,esp ;save current pointer sub esp, 4 ;make room for local variable ptr mov eax,[ebp+8] ; get n ;if ((n==1)|| (n==2) return 1 else do recursion cmp eax, 2 ;n>2? ja recursion ; yes: continue to recursion mov eax, 1 ; … | |
I am creating a program that stores information of hospital patients in a sequential text file.. I want to the program to be able to search for a patient using the patient name already in the text file.. The program is giving me no errors whatsoever so please look into … | |
What's wrong with: def project_to_distance(point_x, point_y, distance): dist_to_origin = math.square_root(point_x ** 2 + point_y ** 2) scale = distance / dist_to_origin temp1= point_x * scale temp2= point_y * scale print temp1, temp2 print project_to_distance(2, 7, 4) | |
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 … | |
Hi everyone...i have this table ie `Kra,Year,Max(Rating1),Max(Rating2),Tot_Rating`...the task is to display the max occurence of rating.There are 2 types of rating ie "good" or "problematic"..if Max(Rating1)="good" and Max(Rating2)="good", Tot_Rating="good".Below is the coding but it didn't display as what suppose to...please advise...thanks a lot. <!DOCTYPE html> <html> <body> <?php $connection = … ![]() | |
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 … | |
Hello everyone, I want to make a website for movies, can any one tell me how can i do the followings .... 1 - will i use xml file for movie path? if yes then how can i use xml file. 2 - is this possible that the record of … | |
After Designing database--->Connection to database--->Data entered-->Data stored in database.My doubt is in which format data is viewed on the screen.(XML OR EXCEL OR PDF) | |
hello; i have taken shared hosting plan ..my sql query on phpmyadmin is SELECT 'EMAIL','first','last' UNION select email,first,last from e where skills regexp "javapl" and deposit>=bid INTO OUTFILE '/home/user/etc/csvfiles/1412231915.csv' FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' but it shows error #1045 - Access denied for user 'user'@'localhost' (using password: … | |
hello friends I am trying to convert a vb.net datagridview code into asp.net. I want to display last three rows of table column from database table in gridview column1. Dim dt As New DataTable ' Create columns dt.Columns.Add("column1", Type.GetType("System.String")) dt.Columns.Add("column2", Type.GetType("System.String")) dt.Columns.Add("column3", Type.GetType("System.String")) dt.Columns("column3").Expression = "[column1]+[column2]" dt.Rows.Add("", "") dt.Rows.Add("", "") … | |
hello guys.. i have a problem..can anyone tell me how to solve this: `Notice: Undefined index: BMK81A in C:wampwww` my full code: if ( isset($_POST['BMK81A']) && isset($_POST['BMK81']) && isset($_POST['DL3']) && isset($_POST['DL2']) && isset($_POST['DL1']) && isset($_POST['S1']) && isset($_POST['S2']) && isset($_POST['S3']) && isset($_POST['S4']) && isset($_POST['S5']) && isset($_POST['S6']) && isset($_POST['S7']) && isset($_POST['D1']) && … | |
I am currently trying to test a function with an infinite loop and im having a problem how to break. Is there anyway I can test this? Thanks in advance. void classA::process() { unsigned int return_val; proxy_class& proxy = proxy.instance(); while(1) { return_val = proxy.run(); if(0 == return_val) { //some … | |
Hi, My file has date in "14-oct-2014" format. I want to compare this date with current date and print result if the difference is less than or equal to 7 days. Example: Say today is 10-oct-2014 and file contains 14-oct-2014. The difference between these days is 4. So the script … | |
**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 … | |
Hello I have copied and pasted a font from my Windows fonts folder into my VB.NET fonts folder. What I would like to do is change the font-style and colour of the title 'Register' (please see attachment) from its current style/colour to the font I have imported. The only reference … | |
Hi there, i am using sqlite3 online compiling. I wanted to create a table where one of the employee has a value of unknown salary. Here are my sqlite3 codes. where John Doe works at Burger Steak but his salary is unknown. BEGIN TRANSACTION; /* Create a table called Works … | |
i want to make a time capturing limit of airodump-ng using the timeout command of UNIX but it just gave a empty terminal screen! Heres the simple perl script #!/usr/bin/perl use strict; use warnings; my $interface="eth1"; my $moninterface="prism0"; open(FILE, ">result.txt") or die "Failed to create a file!\n"; print FILE `iwlist … | |
Hi guys, I have added the list of buttons for the channels and programs in the xbmc skin. I have one yellow box on the channel and program box for both buttons. I want to know how I can move the yellow box to go to the next program when … | |
I'm sitting in C# for about 2 days and it's already like lifting 300KG block. I don't get it, if I Googled how to get SHA512 hash of string in C#, I get many wonderful variations on how-to. But when I copy paste this: public static string GetCrypt(string text) { … | |
ERROR: No such file: Permission denied collect2: ld returned 1 exit status Process terminated with status 1 (0 minute(s), 0 second(s)) 0 error(s), 0 warning(s) (0 minute(s), 0 second(s)) Earlier, I tried dev C++ also, it was also raising the same problem. I don't know how to deal with this … | |
I am creating the program, But I am tired with the regular form look. I want some theme that can change the look of my program. Last I Used the Influence Theme. (Thats great) But want some new theme. (Credit will given as mentioned in the program.) ...FREE THEME... From … | |
Hey Everyone, I forgot this simple code and messup. I am having almost 23 Files in my resources. (extension: .Targa Files) now When the User Click Extract Files, I need this files to be extracted to "fbd.selectedpath\MyFiles\" (fbd: folderbrowserdialog) The Another Thing is Each files are big, So obviously it … | |
I'm working on a hobby project using Visual Studio Pro 2013 and Resharper. I often get warnings from Resharper like "This method contains too many statements" or "Member has cyclomatic complexity of 24 (120%)". Seeing these constantly makes me think I'm doing something wrong. What can I do? Following is … | |
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) … | |
Hi all, I have a problem where i need to find to what library my code links to. Here is the scenario: a) I have two executables. Both link to pthread. But pthread seems to behave differently. b) I am not sure that they are linking to the same version … | |
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: … | |
hi guys i have recently come to a problem where the equal sign keeps adding after getting a sum of two numbers. for example if i add 5 + 5 it would equal 10, but it will then keep adding 5 over and over again. Dim Answer As Double Amount1 … | |
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 … | |
I am trying out friend functions in different files to see how it work. However, I am having problems compiling it with error after error. Well now I'm done to one error again, please have a look at my code: /* ---------- classOne.h ---------- */ #ifndef CLASSONE_H_ #define CLASSONE_H_ #include … | |
so im tasked to write a program that converts decimals to binary numbers; the only problem is that im having trouble writeing this program. Write an HLA Assembly program that prompts for an int8 value to inspect and then prints it in binary format. For example, here would be the … | |
In the program below I'm a little confused with these two lines -> `fbin.seekp(n * recsize);` & `fbin.write(reinterpret_cast<char*>(&age), sizeof(int));` In the first one, why would we start writing to the file at position n * recsize instead of position 0? I would think that we would start writing at 0 … | |
CREATE TABLE IF NOT EXISTS `tbl_person_master` ( `id` int(11) NOT NULL AUTO_INCREMENT, `last_name` varchar(40) DEFAULT NULL, `full_names` varchar(100) DEFAULT NULL COMMENT 'Full first name and middle names', `nick_name` varchar(30) DEFAULT NULL COMMENT 'Most people call you by this name', `identity_number` varchar(13) DEFAULT NULL COMMENT 'National identification number', `photo` varchar(255) DEFAULT … | |
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 … ![]() | |
how to display msaccess data in vb.net textbox | |
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 … | |
Ok so you boot up a textbox class. Getting this in, in my eyes merely cosmetic. I used a module named programFunction with a string named tboxtext. A Couple of Functions that take a string argument. They do all the checking, making sure it is what was either in file … | |
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 … | |
Hi Please help me on the below issue, how can we can get the `<span id='newText'></span>` value in php. i am not able to get the value in php variable. <html> <head> </head> <body> <script type="text/javascript"> function changeThis(){ var formInput = document.getElementById('theInput').value; document.getElementById('newText').innerHTML = formInput; } </script> You wrote: <span … | |
Hi to all! I want to learn Vb.net,so i want to know the scope of vb.net. Actually i have a confusion, i heard many people saying that instead of vb.net you should learn C# because there is more demand of C# than Vb.net. is it true? Should i lean vb.net? … | |
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 … | |
Hi...tried to send email notification in php but not successful. When i check my email there is no email notification received. Below is the coding. Once the user click notify button, an email notification supposed to be sent to responsible person...Please advise...Thanks a lot. <?php error_reporting(E_ALL ^ E_NOTICE); $_SESSION['Targetid']; $_SESSION["Progressid"]; … | |
I'm trying to understand how the function encrypt works (linux), but event with this simple example is not working. Any ideas?. Thank you. #define _XOPEN_SOURCE #include <unistd.h> #include <stdlib.h> #include <iostream> #include <string> int main() { const char key[64] = "12" ; /* bit pattern for key */ char txt[64] … | |
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 … |
The End.