132,726 Archived Topics
Remove Filter ![]() | |
Why do local inner classes not allow static variables ? The static fields of the classes could at least have been allowed access from the local method ? Software Development java | |
[code] Sub modify_inventory(ByVal frm As frminventory) Dim writesqltime As String Dim writesqldate As String Dim msg As String writesqldate = Format(CDate(sqldate), "MM/dd/yyyy") Dim cmd = New SqlClient.SqlCommand If active_frm.Name <> "frminventory" Then Exit Sub Else writesqldate = Format(CDate(sqldate), "MM/dd/yyyy") Dim j As Integer con = connect() con.Open() For j = … Software Development vb.net | |
Could anyone please explain what exactly bootstrapping is? As far as i know it is something related to "the compiler for C itself wriiten in C" Software Development c | |
hi! iam a newbie how can i get the 10th, 100th, 1000th place for example: the interger is 1235, the ones place is 5, the tenth place is 3, the hundreds place is 2, and the thousands place is 1, please help me and how do you program it at … Software Development c | |
Sup guys .. So , the thing is that i need to define a preprocessor directive so i can compile correctively an SQL pseudocode into C++ . VALUES (value1, value2, ...);//cant figure out a way to take the value1,...,valueX out value1,value2,...,valueX is string or integer typed expression for example : … Software Development c++ | |
I making a all in one program using visual studio 2010 C++ language and my all in one program includes free programs like firefox, opera, microsoft security essentials and people who uses my program doesn't need to install them they can just run it through my all in one program … Software Development c++ visual-studio | |
[CODE] #include "includes.h" MYSQL *con; con=mysql_real_connect(con, server,user, password, database, 0, NULL, 0); //mysql check: int act; int reb; reb=mysql_query(con,"SELECT * FROM cq_rebirth"); act=mysql_query(con,"SELECT * FROM cq_action"); if(act !=0 || reb !=0){ cout << mysql_error(con); return 1; } [/CODE] Error: Commands out of sync; you can't run this command now i … | |
Hi everyone! I've built prime testers and prime listers before, but they only work sufficiently fast for values <= 1e6. I was thinking about all the prime tester projects they have going on, how do they test very large numbers for primality? I'm talking numbers on the order 1e12, 1e13, … Software Development python | |
OK So I am learning c++ and I have created my design using the windows forms, I now have to do the coding, I have implemented a code which is returning a nice amount of 102 errors, Any help would be appreciated or rewarded. I look forward to learning from … | |
I know that title is kinda miss leading, but i couldnt figure out another way to explain it. I know theres a way, but I dont know how to do it. Ive got a Save code that I have about 5 differnet times in my application. How do I make … Software Development vb.net ![]() | |
Hey guys, I've been trying to solve this problem many ways now, and am really just not familiar enough with the language to see an elegant solution. I have a dictionary, where each value is itself a list of lists. For example: [CODE]keyA:([x1,y1,z1], [x2,y2,z2] etc...) [/CODE] Within a key, I … Software Development python | |
Hi everyone. I am an undergraduate student of mechanical engineer and i am trying to make a program that will convert a decimal number to a binary one and a hexadecimal one using c . The problem is that i am not familiar with c at all. I am only … Software Development c | |
I would like someone to help me bind data with a CheckBox. Please furnish sample code if possible. I am using VB 2008 Net 3.5. I want to use several checkboxes to identify records within a name $ address masterfile. Any given name can be identified in one or mre … Software Development vb.net | |
i trying to make a code to Delete and Update Access 2007 database after remove a selected item from a listbox in VB 2008. [using "Remove" button that i create] pervious i already make a button to View data from database and Remove from listbox. but i don't know how … Software Development microsoft-access open-source vb.net | |
Please Help me with my update on vb.net 2008!It's quite a simple code but when it comes to it tells me Syntax error in Update.The problem is where i highlited.Please help [code] Imports System.Data Public Class frmgoods Dim Con As New OleDb.OleDbConnection Dim dbprovider As String Dim dbsource As String … Software Development dataset open-source vb.net | |
Hi there Another noob question from me...one of these days I'll get the hang of this VB! I am importing data from an Access table that has four columns/fields. I have set up the relevant headings etc on the list view control...but I have also set up a 5th column … Software Development microsoft-access vb.net ![]() | |
[CODE]double i; i=pow(10,10); cout<<i;[/CODE] for this code i get in output 1e+10 but how i can get output 10000000000 using cout<< and double variable Software Development c++ | |
Dear all, I would like to ask you how to initialize the following: I want to initialize a class inside another class. How I will be able to do so? An example: [CODE]/*Class Date*/ class Date { public: Date(){} // default constructor int day;//day of the month valid till 31 … Software Development c++ | |
Is there any way to replace certain parts in a string of text with different text? Like this: [code=python]# This is not a functioning code, the actual meaning is totally different from what I'm trying to depict text = 'This is a line of text' print text # shows "This … Software Development python | |
Hi Guys, I got two issues here Please help me out 1. I get a list of excel files from a dir into a list box and search for number by select each files at once. I want to select multiple files at once and search them one by one. … Software Development vb.net | |
I've been learning python during one semester, and pygame in one week... Im making a simple kid guessing game where random images appear with one word. click on the correct image that the word describes and a little green right image appears and a red cross 'wrong' if it is … | |
Hi! im sorry i keep asking so many questions but i really want to learn. I want to know how to get my program to print the items that i have in my two listboxes titled lstResult and lstResult2. This is what i have so far: [CODE]using System; using System.Collections.Generic; … Software Development printer | |
hi! i am trying to developed a translator.the program request an english sentence as input and translate it into my local language(Twi). i have the entire program written . i am getting an error that is driving me crazy. any help will be greatly appreciated . vb is telling me … Software Development vb.net | |
Hi everyone, I've been working with pointers for quite some time and I'm familiar with all the pointer-reference stuff. One of the things I don't get is the function of the delete keyword. I have used this code to find out what the delete keyword does. [CODE]int main(int argc, char … | |
| |
public class Account extends javax.swing.JFrame { /** Creates new form Account */ public Account() { initComponents(); setTitle("Bank Account"); jTextArea1.setEditable(false); } /** * @param args the command line arguments */ private int accountNumber =0; private double balance =0; public Account(int accNum, double bal) { accountNumber = accNum; balance = bal; } … Software Development java java-swing | |
Hi, my tutor has set a coursework for us and i need help with a small part of the coursework. A small program where some one tests new programmes or you can call it benchmarking :) Basically there are 20 programmes and he sets them each of them mark out … | |
i am developing winform application.there are three textbox named patient last name ,first name,DOB and on lost focus event of DOB I had a requirement to show pop up like menu .That pop up will show patient last name ,first name,DOB from patient table matching records from database based on … Software Development | |
hi guys,Iam learning the c language and still a green one really.I have this program am trying to develop using code blocks 10.5.Th code is as follows; #include<stdio.h> #include<ctype.h> #include<stdlib.h> struct secguard { char first_name[40]; char Last_name[40]; char gender; int age; int ID; char start_date; int work_rec; }; void main(void) … Software Development c | |
hello all, is it possible to have a delay period of 17nS for an application in vb.net??? please help Software Development vb.net | |
c sharp code for mouse control using eye contact is my project tittle pleasw any one help me!!! | |
Is it possible to have a pointer to something (say a string) that is on the hard disk? Software Development c++ | |
Hi, Im relatively new to C++, and in the book im currently reading, came across the topic of Polymorphism. Just wanted to ask a couple of questions: 1) Base* ptr = new sub; Kinda confused about this - and also, how/why it is useful to have a base class pointer … Software Development c++ | |
Hi, there is something I want to solve. Here is the problem: I have an array : alpha[26,26] I appointed random number(between 0 and 25) to each member of this array but I don't like this situation: I tell with an example alpha[0,0]=23, alpha[0,1]=11, alpha[0,2]=08, <---- ... alpha[2,2]=08, <---- ... … Software Development | |
hey, i got a method that returns value which is java.util.List<java.lang.String>. this method actually contain data that was stored from .txt file which is simply names of people. how can i display this in the JList or how can i convert this value to a simple array so later i … Software Development java | |
I have a problem with date and time picker when i select the date from dtpicker1 then txtdate1 gets the value but when i debug it shows txtdate1 = "" why please help [ICODE]Private Sub DTPicker1_CloseUp() txtdate1.Text = DTPicker1.Value DTPicker1.Refresh End Sub[/ICODE] Software Development visual-basic | |
Hi guys, I have designed a simple form in vb.net with MsAccess as the backend . The form is used to search for a data and diplay it. I need to create an .exe file of it and distribute it to many users without any errors . I have surfed … Software Development vb.net | |
This program gets a list of the processes running and displays them in a ListBox. When one is clicked it puts info about the process such as start time and filename in text boxes. But some of these don't return anything and the text box remains blank and I can't … Software Development | |
Hey hi i am new to this field , i am working on project which is desktop application in C#,i have done this project with resolution 1024*768 but when i install the same project on testers machine for testing then position of all controls of form does not appear as … Software Development | |
how can i lock specific columns in a data gridview Software Development vb.net | |
Can anyone please explain what is 'public' and 'private' in oop and specifically in java? I am a bit confused. | |
Okay so I am working on a massive program involving multiple forms, delegate calls, ext. Anyway I was wondering is there a way to make global values that can be accessed my any form or class? In otherwords, removing the need to pass in the variables. Sorry this is rush … Software Development | |
Hi everybody, actually i am new to Java, and i would like to write a program that to find who is a copycat, for example, i get six txt file, all of these are juz put inside a folder, i guess i should get all the txt file to array, … Software Development java | |
I am doing a Taskmananger code,every thing is ok but when i build the pgm One error is coming like"Fatal Error :RC1015 cannot open include file 'afxres.h'",please help me,why it occurse and what is the reason pls......... Software Development c++ | |
hey all, first post of a beginner coder ;), I keep geting the following error : conflicting types of 'graphic_choice'.. its not a warning so it wont compile. I haven't finished case 7 so that may have some syntax issues. hope this isn't to big of a code block? i … Software Development c | |
Hi there, I was wandering if anyone can give me a brief explanation on how to connect my C application to the Internet. What i would like to do in the end is to access a web page trough the application and have means to read the html code behind … | |
When i rebuild the project in Visual studio 2005 i get the error "Error 1 The type or namespace name 'Font' could not be found (are you missing a using directive or an assembly reference?) C:\Users\HP_ADMINISTRATOR\Documents\Visual Studio 2005\Projects\Perfume Formula Typing Software\Perfume Formula Typing Software\Form1.Designer.cs 9 17 Perfume Formula Typing Software" … Software Development assembly visual-studio | |
I got that code from [URL="http://www.javafaq.nu/java-bookpage-19-3.html"]here[/URL]. Everything's working except the balls! There is panels, splitpanes etc. Oh Look, no balls! I need to solve it like in an hour. Please help. I say again; please... [CODE]import java.awt.*; import java.awt.event.*; import java.util.*; import javax.swing.*; import javax.swing.border.*; import javax.swing.event.*; public class Split … Software Development java java-swing | |
Hi everyone, I'm new here ... haven't had my warm welcome yet ;P So i need your help with my program. I'm supposed to program a simulator of the reader writer problem without using threads. So i thought i could use a timer to interrupt the running process every 2 … | |
Does anybody know any good tutorials on how to make a web crawler in Java. All I can find is a bunch of code that you have to figure out own your own! I am pretty new to the forums, and have a pretty good experience in java. So..... Any … Software Development java |
The End.