Confused and missing with this simple code, need with database code?
Above Image is my Application Snap, Im Creating Project of TV Brands Prise Listing and Invoice Generation, This is my Code on MouseMove Events, Im trying Retrive Prise automatically from the above all...
View ArticlePointer to a local variable
Hi all, I have a coding guideline that I need to avoid using dynamic memory allocation. In stead of it, I do things like this: typedef struct { u32 id; .... } A; void test() { A instance; A* pinstance...
View ArticleSimple Addition (Console)
Module Simple_calc Sub Main() Dim num1, num2, sum As Integer Console.Write("Enter First Number: ") num1 = Console.ReadLine() Console.Write("Enter Second Number: ") num2 = Console.ReadLine() sum = num1...
View ArticleLabel matrix align
Hello guys. I have an 2D array ( n x m ) with int values. Each line I transform it into a string, and I'm trying to align them correctly. Everything it's ok when all elements has same size ( 1, 5, 3;...
View ArticleConfused and missing with this simple code, can solve using database
Above Image is my Application Snap, Im Creating Project of TV Brands Prise Listing and Invoice Generation, This is my Code on MouseMove Events, Im trying Retrive Prise automatically from the above all...
View ArticleDeleting node from linked list
Hi people. Nice to meet you. I'm trying to do the following assignment from Robert Sedgewick's book: QuoteWrite a method delete() that takes an int argument k and deletes the kth ele- ment in a linked...
View ArticleHow to call listview Itemactivate event from a form load event?
I have a frmChoseArticle with a listview. I fill the listview programatically and then check if the items in it are one or more. When the listbox items are more than one I simply activate the right...
View ArticleArray problem
Hi everyone, first of all sorry for my english and thank you for the responses. I'm a new programmer in c#. At the moment I'm busy with arrays. A month ago, I create a program, where the user has to...
View ArticleMixing jquery with PHP
I have a jquery calendar in my cakephp application with <?php //foreach ($mealplans as $mealplan){ ?> { title: '<?php echo $mealplan['Mealplan']['event_name'] . ", "....
View ArticleHey m having problem with value member of combobox ....
This is my code :- Dim query As String Dim ds As New DataSet Dim dt As New DataTable Connect.con = Connect.openconnection query = "Select UserId,UserName From UserMaster" Dim da As New...
View Articlecast error when accessing map<pair<int,int>,bool[4]>
I'm trying to set up a data-structure that can access and add arrays of four booleans when given a two-dimensional coordinate in the form of pair<int,int>. code: #include <map> #include...
View Articleneed help understanding level file
I'm reading this slick 2d tutorial: http://slick.cokeandcode.com/wiki/doku.php?id=03_-_slickout In the section : " Level structure on the file " you can see, that the author shows this type:...
View ArticleWhat is the different between two Class in different package
When I create a Object of Class B in Class a ( two class different package ). I assign a value for field. It raise an error If i don't change attribute public for the field in template Class. Here i...
View ArticleC# Ctrl + Esc disabled but cannot enable the Esc key
I have following the function which disables windows key, alt-tab, alt+esc, ctrl+esc etc: public static int HookCallback(int nCode, int wParam, ref KBDLLHOOKSTRUCT lParam) { bool blnEat = false; switch...
View ArticleData won't save to database, C#
Hi, with your previus help, I managed to get most of the things sorted out. now there is a problem with my DataGridView. When I update row in DataGridView, it stays there until i close the program, so...
View Articlelooping array issue
I have an array of objects and I am trying to change the values based on the the objects position in the array. This is a simplified version of my order_table array. Array ( [0] => stdClass Object (...
View ArticleProblem: passing a vector of struct by reference
Hi! I would like to use my vector in a function but the function caller shows that there is a problem. I don“t really know how I can fix this. Thanks for any idea. Declaration of struct and vector:...
View ArticleWhy we don't use " this.field" in here
I have a code in here. public class PersonalDetails { private String name; private int age; private String gender; private String qualification; public PersonalDetails(String name, int age, String...
View ArticleSending e-mail not working
I am new with PHP and MySQL. And for the sake of everything, I have been looking up tutorials to guide me step by step. With the Registration system that requires the user to validate the email address...
View ArticlePython graphics with pygame and livewires
Hi i'm new to this and i'm learning from an ebook i tried this code but it didn't work i've been unable to find and fix the problem. from livewires import games, color SCREEN_WIDTH = 640 SCREEN_HEIGHT...
View Article