132,726 Archived Topics
Remove Filter ![]() | |
I have an existing Access database that works well using Access. However, the HR department has convinced management to change to Java as the programming language of choice. I have done very little programming in Java, and have NO CLUE how connect to an Access database (2003), how to read, … Software Development java | |
I was trying to send an email using javaMail API using my own smtp server to gmail/hotmail/etc..I put the following code to specify smtp server's settings Properties props = new Properties(); props.put("mail.smtp.auth", "true"); props.put("mail.smtp.host", "my smtp host"); props.put("mail.smtp.port", "my smtp host's port"); Session session = Session.getInstance(props, new javax.mail.Authenticator() { protected … | |
Hey boys and girls, I need help, I am working on a project that requires me to build a business tier (.dll) for a c# program, I've only ever used SQL server. The problem comes in as follows, at university I was tuaght how to import a datasource via the … | |
Hi everyone i have to one probem i have to 2 class 1 Class clsKullaniciIslemleri = using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data; namespace GorevTakip.KullaniciIslemleri { class clsKullaniciIslemleri { string first; string second; public string userName; public string userId; public string Yetki; GorevTakip.Gecisler Gec = … | |
I was just wondering if anyone other than me thought that it would be incredibly usefull to have a language that was both dynamic AND statically typed. **Using Java as a example, it could do the following:** **1)** Define a special dot operator that auto type casted something of type … | |
Hey all, so I'm looking for a way to call a method in an application externally from a dll. (see example below) This is what I'm trying however it's a) not working and b) if it was working i have a feeling that calling DynamicInvoke is going to be painfully … Software Development | |
According to the Gregorian calendar it was monday on the date 01/01/01. if any year is input through the keyboard write a program to find out what is the day on 1st January of this year? Software Development c | |
I have learned a few programming languages and am now in the beginning stages of teaching myself C with "C Programming, Second Edition for the absolute beginner". I'm enjoying the book but have run into some difficulties in the second chapter exercies. The exercise states as follows: Create a program … | |
int arr[]={12,17}; printf("\n arr = %d , &arr= %d",arr,&arr); printf("\n arr+1 = %d , &arr + 1= %d",arr+1,&arr+1); getch(); } ans : arr=400 &arr=400 arr+1=402 &arr+1=404 Please tell me how &arr and &arr+ 1 works? Software Development c | |
i really need a quick help with my code. when i debug the program no matter what the numbers in milage and Rate are the result is always 0 and here is my code: Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculate.Click Dim … Software Development vb.net | |
hi frnds, i have a window based datagridview with examdate as one the editable datetime column .Now i want user to update or change the date to a fully valid format(dd:mm:yyyy) just on pressing enter key within the datagridview. A popup message must appear when user enter wrong date. Any … Software Development vb.net | |
hey there, I am looking at a maven project that makes use of another maven project. say project A and project B. In context.xml in project A, I see these two lines <value>classpath:oneFile</value> <value>classpath:otherFile</value> I have been trying to figure out what is the actual value of classpath, so what … Software Development java | |
When i run my program there's an error in conn.open() and tells "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done." Please help me to solve this problem... Here's my code: Dim ds As New DataSet Dim dbSource As String Dim … Software Development dataset open-source vb.net | |
![]() | Hi all, I have recently been give a project to create an invoicing system for a small business. The system needs to be able to easily add new customers and store them for usage within invoices. There also needs to be a form to enter invoice data and invoices need … ![]() |
how to perform click on listview? when button is click listview will perform a click on first record of a listview | |
Hi, I'm working on a Generic Dictionary in C# and have came across a little problem with my add function. My add function at the moment will take two inputs: Name and Age and then add them to the listBox associated with them. What I'm trying to do is make … Software Development | |
(Linux) In the following program when the command python permissions.ph is issued I simply get another prompt, but when python3 permissions.py is issued I get the error below. Why does python2 see tkinter but python 3 doesn't? garrett@bedroom ~/Projects/TestArea $ python permissions.py garrett@bedroom ~/Projects/TestArea $ python3 permissions.py Traceback (most recent … | |
Sorry guys, how do you print a message dialog box if a file doesn't exists in python? I am currently using a program to do segmentation of video file and assembling it the files that I need and excluding those I don't. I have completed the tasks but if I … Software Development python | |
Hi, I am stuck trying to figure out how to include a class within a class and how to properly call members of a class from the main(). I cannot figure out what these error messages mean. I would greatly appreciate and insight into my dilemma. Thank You, C.D. Enclosed … Software Development c++ | |
i want to add a label over progress bar to show the percentage of the completed task . i added the code : Label1.Parent = ProgressBar1 Label1.BackColor = Color.Transparent but now i can't see the label1 even. so how to make label1 transparent. Software Development vb.net | |
how to select all item in listview? For i = 0 To lvList.Items.Count - 1 lvList.Items(i).Selected = True Next i PrintToolStripMenuItem.PerformClick() | |
Hi, I am trying to create a function which takes two chars and a char* string. Then run the function and replace each occurence of Char1 with char 2. E.g. String = Apples. Char 1 = A. Char 2 = B. Char 1 is present in string so replace all … Software Development c++ | |
Im trying to add Total function and isMono functions to this code. Did total already Need help with function ismono which returns whether a tree is mono (all the elements are unique aka no element appears more than one time) or not. Please this is the original program #ifndef T_H … Software Development c++ data-structure seo unix | |
we know perl gives us the facility to use hashes %ages = ('Martin' => 28, 'Sharon' => 35, 'Rikke' => 29); what if I want to do the same thing in shell script ?? thanks Software Development perl shell-scripting | |
Hello! I'm very interested in compiler/language design but It's an extremely complicated topic so I've recently tried to wrap my head around and understand one of the beginning and main parts, lexical analyzation. I'm not here to ask for code or anything but I've tried thinking up various methods of … Software Development c++ | |
The problem is when i delete a records from the listview, it deleted but when i look unto database it doesn't deleted. Please help me solve this problem: Here's my recent code: Module1.connect() Dim sqlconn As New OleDb.OleDbConnection Dim Button = MessageBox.Show _ ("Are you sure you want to delete … | |
I am trying to print a single record on the data report control in vb6.0 with sql2005 as backend can you please sugest how to do this. please send the code. Software Development visual-basic | |
The problem is it works updating the records but all records will gonna update... i want to update the selected records only.. I use Listview~! example column table: Processor Pentium(R) Intel(R) Dual CPU when I edit the Intel(R) into VGAgraphics, the Pentium(R) and Dual CPU will also change into VGAgraphics … | |
Need help dhcpdiscovery message...using raw sockets..dont want dhcp headers or libraries..do it myself anyway im getting error on sending my packet..any USEFUL help? #include <stdio.h> #include <stdlib.h> #include <netdb.h> #include <arpa/inet.h> #include <sys/socket.h> #include <netinet/in.h> #include <netinet/ip.h> #include <sys/types.h> #include <string.h> #define DHCP_UDP_OVERHEAD (14 + /* Ethernet header */ \ … | |
Hi everyone, I have a list of an unknown number of Microsoft Access 2003 databases. All of my databases have the same tables but obviously different recordset data. I am able to open one table from one of the databases (select a table from one database) and edit one recordset. … Software Development microsoft-access visual-basic | |
Hi everyone, I have created a program with my whole day and night hard work in dev C++ and now im trying the same code in Visual Studio C++ 6.0 ... I'm showing you the code of that program, kindly guide me through this, or correct the problem in getting … Software Development c++ file-stream visual-studio | |
I have a popup window that instead of the ordinary YES_NO_CANCEL_OPTION I want the user to select from 3 options {A, B, or C} static int Select_Use_Move_Items(int Select_Col){ int n = JOptionPane.showOptionDialog(frame, "Select Option for:\n "A: Remove - Discard one Item\n"+ "B: Transfer one Item to Person\n"+ "C: Transfer one … Software Development java | |
Hello guys, I did appreciate this quick assistance, I have a .csv file and I want the lines in the file to be sorted using value in the first column and the write out the sorted file to another file Take an instance we have: ================================= 36,Line1 APPLE FRUIT 11,Line1 … Software Development apple file-system vb.net | |
I have this function that should open two files and write their content in a third file, separated by "\n". I don't get why it works for code in comments and not for the one below it, although both provide valid text file names. void concatenate() { /*char *file=new char[strlen(" … Software Development c++ file-system | |
Hi, I need a function that will take a tree as argument and return the number of ints that were typed and a correct call. would it just be preorder? like below. Please. Thanks #include "t.h" void preorder(tnode * t){ if (t == NULL) return; cout << t->info <<endl; preorder(t->left); … Software Development c++ data-structure seo unix | |
I want to start a command in command prompt, but os.system() can only do one command, and I want it to start from a url. Example: import os,getpass print "Altline (C) James Lu" print "All rights reserverd." def currentuser(): try: return "Users/" + getpass.getuser() except: print "Cannot detect user, starting … Software Development python | |
Hi Dw I'm trying to create a program that I will use to browse through websites when I'm not connected to the internet and I can download the single page using the code I provide bellow but what I want is to download the entire website with it contents e.g. … | |
i am making a calculator in swing and need help with some logic. so some of button my cal will have: 0,1,2,3,4,5,6,7,8,9,dot, mult,divide,mod, equal,sqrt, ln,log,sin,cos,tan, ^, exp, fractor, etc...... bc i have alot of buttons i need a good way to compute them. here what i am thinking: first user … Software Development java java-swing | |
hi every one ! i'm sorry to be so bothering but i really don't know how to solve my problem here: Mathematically, the placement problem of testers into the right nodes) can be modeled by merging the two introduced knapsack variants: multidimensional and multiple knapsack problems. The obtained model is … Software Development c++ objective-c os-x | |
Hi i have a datatable, dt3 showing: adminno paperno 111411H 4 111411H 9 182938C 2 192839A 3 111380Y 26 111380Y 36 111380Y 40 182737N 26 182737N 40 i want to populate: conflictingpaper numberof students adminno 4:9 1 111411H 26:40 2 111380Y 182737N ... .. .... ... i have these codes: … Software Development open-source vb.net | |
When i implement the following code in my Global.asax.cs in the session timeout procedure, It prompts me an error... HttpContext.Current.Response.Redirect("login.aspx"); What will be the problem? Note: I want to forward the user to login page when the session is timeout.So i used this. Correct me if i am wrong in … | |
hello all i need to create comobox untill value come from database,example:-if in data base have 5 value then there should be five combox and value should be set in combobox each time automatically anyone help me to how create combobox that should equal to np. of value in database Software Development java java-swing | |
HOW CAN I DELETE ALL RECORDS ON A DATAGRID TABLE IN JUST ONE BUTTON.. Software Development visual-basic | |
Dim asynconn As New pfcls.CCpfcAsyncConnection Dim conn As pfcls.IpfcAsyncConnection Dim session As pfcls.IpfcBaseSession Dim oModel As pfcls.IpfcModel Dim A As IpfcBaseParameter Dim Av As IpfcParamValue Dim A_value As Double Dim A_value_new As Double Dim new_paramowner As pfcls.IpfcParameterOwner Dim pa_model As pfcls.CCpfcRegenInstructions Dim asyncConnection As IpfcAsyncConnection Dim cAC As CCpfcAsyncConnection Dim … Software Development session visual-basic | |
Hi all, I was trying out this for loop example and i notice that the for loop only works for the printing of x.The printing of y value did not work at all until the loop ends. I am trying to understand how for loop actually works. Am i right … Software Development java | |
Answer is NING. how....? i am not getting. can any one explain please....? #inclde<stdio.h> void main() { printf(2+"GOOD EVENING"+6); getch(); } Software Development c | |
Hi, i have these codes: Dim dt3 As New DataTable dt3.Columns.Add("AdminNo", GetType(String)) '/*Add column AdminNo dt3.Columns.Add("PaperNo", GetType(Integer)) Dim curmodule As String = String.Empty For Each dr1 As DataRow In dt1.Rows curmodule = dr1("ModuleCode").ToString For Each dr2 As DataRow In dt2.Rows Dim found As Boolean found = False For i As … | |
Hi, Basically, what I'm trying to do is that once the user has entered player names into two seperate text boxes, the user will then click the "Play" Button, this button will then change it's text to say "Quit". How would I go about doing so that once the button … Software Development vb.net | |
hey hey folks. I am making a tetris clone for my class project in college. langauge is XNA and I have run into a minor issue. When my bricks get to the bottom, rather than stack, they simply reset back up to the top. I have tried everything I can … | |
Is there any way to show the highest value from a access db column in a textbox which you put in the load of a form? Found something by searching around, but did not get it to work at all. Maybe because i cannot open a connection in the load … Software Development dataset microsoft-access open-source vb.net |
The End.