199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Ashwin1985

Hi Is there any way I can use a pair of keys(private-public key pair) generated externally for encryption/decryption of files rather than generating a pair of keys for every cycle of encryption/decryption ?? My program requirement is that I need to run an encryption program packaged in a jar file. …

Member Avatar for Ashwin1985
0
185
Member Avatar for adam291086

Hello, i am trying to add a keyboard event listener to my Jpanel. But i am having no sucess. This is my [B]board.java[/B] [CODE]package snake; import java.applet.Applet; import java.awt.*; import java.awt.event.*; import java.awt.geom.*; import java.awt.image.ImageObserver; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.ImageIcon; import javax.swing.JComponent; import java.awt.Image; import javax.swing.JPanel; import java.awt.event.ActionEvent; import …

Member Avatar for thomas_naveen
0
1K
Member Avatar for makymakaru

can anybody explain what the difference between the 2 codes below? i'm using visual basic 6 and i'm connecting access dbase. and one other thing, i'm trying to connect access 2007 with my vb6 but i can't remember the code, i know the code below works with access 2003 and …

Member Avatar for codefixer
0
157
Member Avatar for diptibhatore

[code] protected void Button1_Click(object sender, EventArgs e) { SqlConnection con = new SqlConnection(System.Web.Configuration.WebConfigurationManager.ConnectionStrings["shortycaponeConnectionString"].ConnectionString); for (int i = 0; i < GridView1.Rows.Count; i++) { GridViewRow row = GridView1.Rows[i]; CheckBox chkbox = (CheckBox)row.FindControl("cbRows"); TextBox Quantity = (TextBox)row.FindControl("tbx_TextBox"); if (chkbox.Checked == true) { try { con.Open(); SqlCommand cmd = new SqlCommand("INSERT INTO InwardEntries(ProductCode,Size,Quantity,DateTimeNow) …

0
76
Member Avatar for Gaiety

[CODE] #include<ncurses.h> int main() { WINDOW *win ; initscr(); win = newwin(10,30,10,10); box( win, ACS_VLINE, ACS_HLINE); refresh(); wrefresh(win); mvwprintw(win , 13, 14, "Enter any Key :\n "); refresh(); wrefresh(win); getch(); refresh(); wrefresh(win); endwin(); printf("END"); return 0; } [/CODE] I just started learning Ncurses and have some questions: i understand that …

Member Avatar for Gaiety
0
152
Member Avatar for ribot

Hi! I'm trying to install a php product that requires ioncube loader. I have followed several guides (they are all the same) for how to install it. Running ioncube-loader-helper.php tells me the location of the php.ini file. The server has a set of ioncube loaders, and the helper tells me …

Member Avatar for ribot
0
169
Member Avatar for xuexue

hi there, i want to display my data coming from database..i could do that using a table, however the problem is that the table will just expand everytime there is data. what i want to have is a control which has a scrollbar which will display lots of data. i've …

Member Avatar for CJesusSaves
0
129
Member Avatar for hkBattousai

I have this C++ code :[code] const int ANYSIZE_ARRAY = 1; struct LUID {DWORD LowPart; WORD HighPart;}; struct LUID_AND_ATTRIBUTES {LUID Luid; DWORD Attributes;}; struct TOKEN_PRIVILEGES {DWORD PrivilegeCount; LUID_AND_ATTRIBUTES Privileges[ANYSIZE_ARRAY];};[/code]I want to convert this code into C# syntax. I tried this one, but don't know how to place array in a …

Member Avatar for drjr01
0
455
Member Avatar for farheen86

Hi! When my login form is loaded, I wish to retrieve the list of usernames from the database login to a combo box on the login form. unfortunately I am stuck with this error messsage " syntax error in FROM clause". Below is my codes.. help me out please Thank …

Member Avatar for Geekitygeek
0
164
Member Avatar for wild_angel

Hi All! I have a table that there is a combo box inside the table. For example, the combo box consist of item codes. And then, whenever user choose item from combo box, the next column inside the table will show name of the item. Here is my example coding: …

Member Avatar for wild_angel
0
232
Member Avatar for rahmet

how to convert from 'string' to 'System.Data.DataTable' I Have this code and my computer appear kode error I have put all the web site on the attach The best overloaded method match for 'System.Data.OleDb.OleDbDataAdapter.Fill(System.Data.DataTable, object)' has some invalid arguments cannot convert from 'string' to 'System.Data.DataTable' [code] using System; using System.Data; …

Member Avatar for rahmet
0
2K
Member Avatar for yara.008

hi .... i need help to unserstand this code please if someone can help by explain or write commant [CODE] Public Shared Function GetPostBackControl(ByVal thePage As Page) As Control Dim myControl As Control = Nothing ' Dim ctrlName As String = thePage.Request.Params.Get("__EVENTTARGET") If ((ctrlName IsNot Nothing) And (ctrlName <> String.Empty)) …

Member Avatar for yara.008
0
256
Member Avatar for iou

Hi, I've been working alot on a program lately, and I'm actually veeery close to done. Atleast until I come up with something more to add. The most useful function of this program, is the ability to create Shortcuts, which at the same time creates a command to start it. …

Member Avatar for mitrmkar
0
336
Member Avatar for checho

hi i have the next problem i have an array or arraylist from class Student which has firstname, lastname and grade. How can i sort them by grade (value) - ascending and descending? [CODE]package zadacha_1; import java.awt.List; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; public class Zadacha_2 { /** …

Member Avatar for Andreas Hollman
0
490
Member Avatar for fruitcake04

Hello! I'm making an enrollment application in vb6, using Access as my database. It will be used by 2 to 3 persons (registrar and cashier). What codes do I need if I want to retrieve data from my database from one pc to where my database is? If I declared …

Member Avatar for codefixer
0
142
Member Avatar for mwitu

Hi, i'm trying to take the last list from a list of lists, use that as a start point, then iterate through the list of lists and find the closest match, then use that matched list as a base and iterate through the remaining lists for the closest match to …

Member Avatar for Gribouillis
0
1K
Member Avatar for khadrani_arif

Hi, Here I am having a dropdown named Category and another drop down named Sub category.There is one text box named zipcode which is filled with the previous request page.What happens is when I select any category the onchange event fires and a list of cars gets displayed.But parallely the …

Member Avatar for CJesusSaves
0
760
Member Avatar for ukndoit

I am getting this error: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; OfficeLiveConnector.1.4; OfficeLivePatch.1.3) Timestamp: Wed, 20 Jan 2010 19:54:08 UTC Message: Object required Line: 1635 Char: 1 Code: …

Member Avatar for parry_kulk
0
93
Member Avatar for ankush.mukherje

Hi experts Here I am with yet another problem. I want to add data in a tree viewer controller dynamically from my database. I am using ms-access as my back-end Please help me ASAP. Thank you in advance

Member Avatar for ankush.mukherje
0
201
Member Avatar for loll_l

This is my booking form: [url]http://www.n-v-m.co.uk/Booking.html[/url] When 'Submit Order' is clicked a PHP script is triggered that emails me details of the order... What I require is an alert to pop up if either: a) The customer has selected 'No' for 'Is Vehicle roadworthy with full M.O.T.' or b) The …

Member Avatar for parry_kulk
0
225
Member Avatar for aneeka

please help me visualize an online examination, i dont know where to start...:icon_sad:

Member Avatar for amd_k8
0
92
Member Avatar for Israelsimba

im facing a challenge here peple. i will give as much detail as i can. i am trying to come up with code such that when a button is clicked it runs through a field "copiesremainng" in my subscription table and subtracts 1 from every record in that field. this …

Member Avatar for codefixer
0
152
Member Avatar for asenteni

Hi guys, I would like to know if there is any way that I could disable a datagridview row and make it unselectable. I need to do this because I have clients in the grid of which some are active while others have been disabled but i am still displaying …

Member Avatar for asenteni
0
16K
Member Avatar for deepakrao.tech

Hi, I am trying to write a soap client to connect to the hosted webservice of GlobalWeather. But i am getting lot of execption. I am posting the client and exception. If someone has as sample client code to connect to Globalweather that would be helpful. [CODE=java]package samples.hello; import org.apache.axis.client.Call; …

0
126
Member Avatar for filch

Hi, I am trying to get a perl script that a contractor created for me but I am having some issues with it. I am NOT a perl programmer and I know just enough about it to be dangerous. I am more of a PHP/CSS guy. Anyway, the purpose of …

Member Avatar for filch
0
227
Member Avatar for kriegz

How can I showing up a report file (*.rpt) from crystal report into a web browser with PHP, I'm already used this code : $cr=new com("Crystal.CRPE.Application") or die("cannot load cr com"); $rn="C:\WAMP\k\allreports\BS18A.rpt"; $rap=$cr->OpenReport($rn); but there was'nt happen any thing, it just a blank page comes up could any one give …

Member Avatar for siddeshp
0
219
Member Avatar for xuexue

is it possible to input a data grid in php like in VB6? because in my program, user will display lots of data and displaying it in a data grid (clickable) is the best way, we all know that in VB6, once the user clicked anywhere in the grid, it …

Member Avatar for CJesusSaves
0
109
Member Avatar for team_ferrari22

Hi, We are developing a C# windows application which [B]scrolls[/B] the selected windows automatically by using(hooking) win32 [B]SendMessage()[/B] function and later will display the no. of pixels scrolled using [B]GetScrollInfo()[/B] function. The SendMessage() is working properly & is scrolling all windows including IE. But GetScrollInfo() is not working for IE …

Member Avatar for team_ferrari22
0
126
Member Avatar for Larbi

Please, show me How to return to a calling void method within or without using the RETURN (in java). Thanks

Member Avatar for verruckt24
0
284
Member Avatar for pradeey

chk this piece of code [CODE]#include<iostream.h> using namespace std; class hi { public: void print() { cout<<"hi"; } }obj; int main() { hi *h; h->print(); } [/CODE] output---> hi -------------------------------------------------------- [CODE]#include<iostream.h> using namespace std; class hi { public: void print() { cout<<"hi"; } }obj; int main() { obj.print(); } [/CODE] …

Member Avatar for Rajesh R Subram
0
140
Member Avatar for solomon_13000

I would like find out is it advisable for me to have the city and province on a seperate table and then link them to the country table. This is because a city is govern by a mayor where else a province is govern by a governor. [B][U]country [/U][/B] - …

Member Avatar for solomon_13000
0
114
Member Avatar for cooldude9509

I'm new here at DaniWeb, and my english suck. Does anybody know how to make a form open [B]itself[/B], just in a new window? I want to make a form, that haves a button in it. when i click the button, it opens up a "copy" of itself (the old …

Member Avatar for vb5prgrmr
0
2K
Member Avatar for nichya88

Today I've learned some concepts about Pointer in C++ and I have a confusion in this code snippet and its result. Source Code: [code] // Pointer array #include <iostream> using namespace std; void main () { char * say = "Hello"; // cout << "say = " << say << …

Member Avatar for nichya88
0
139
Member Avatar for cane23

i have a form that uses the post function however i am having some troble getting information from the drop down menus. and also i am having some trouble doing some form validation. the code for both files is shown below. <html><title>Create a new Prequisite Rule </title> <body> <form action="insert_rule.php" …

Member Avatar for CJesusSaves
0
135
Member Avatar for tqmd1

Dear Experts SqlServer Table1 has data as follows Sno-------date 1------01/01/2010 8------01/01/2010 1------02/01/2010 5------02/01/2010 2------18/01/2010 9------18/01/2010 3------18/01/2010 1------03/01/2010 6------03/01/2010 My questions are: 1) I want to display the SMALLEST Date into textbox1 which is 01/01/2010 2) I want to display the BIGGEST Date into textbox2 which is 18/01/2010 3) I want …

Member Avatar for apegram
0
113
Member Avatar for TommyTran

[CODE] Dim InputText As String = Me.txtenter.Text Dim Letters = From c As Char In InputText.ToCharArray Select c & " = " & AscW(c) & " " Me.lblanswer.Text = String.Join("", Letters.ToArray) [/CODE] The above code is to convert each letter in a word or phrase (including the space) to its …

Member Avatar for apegram
0
92
Member Avatar for blainj

Im brand new to java and programming in general. Just wondering if someone could help me out with my homework. Method 1: Write a public static method named myUserName. This method does not return anything. This method accepts no parameters. This method simply prints out your engr username (all lowercase …

Member Avatar for musthafa.aj
0
81
Member Avatar for druveen

i have a senario where user reg for seminar and books a hall, during reg he enters start time and end time for seminar ,start and end time are stored in data base. when a new user reg for seminar hall with existing booked time in data base it should …

Member Avatar for druveen
0
158
Member Avatar for suizhun

I am trying to calculate the ending inventory cost using weighted average. I have figured out a column for the cost per item (CostperItem), and a column for item on hand(QuantityAvailable). Now I want to multiple those two columns together and get a new column for the result. how can …

Member Avatar for apegram
0
128
Member Avatar for vivek4020

Hi, I have a structure declared in C# [CODE]public struct myStruct { int x; }[/CODE] I created a 2D array of structures [CODE]myStruct[,] theStruct = new myStruct[3,3];[/CODE] What is the C# equivalent of the following C++ code? theStruct[0][0].x = 50;?? Please Help Thanks in advance

Member Avatar for sknake
0
1K
Member Avatar for love_dude1984

hi.. Im building an application in ASP.net where i have a button which should add more textboxes when clicked. the other textboxes are placed in a table so if i click the button it should a new row containin the textboxes.. please let me know wht code i can use …

Member Avatar for kvprajapati
0
69
Member Avatar for blacksymmetry

Zdravím, mám jeden dotaz, jelikož na komponentu LV nejde použít wizard jako na DGW, chtěl bych se zeptat, jak postupovat při vypisování jednotlivých řádku z DataTable, viz kód: Hello, i have got one questions, because with ListView component i cannot use the Wizard, i would like to ask, how to …

Member Avatar for JerryShaw
0
2K
Member Avatar for zulfahmi

Hi there, i am new in VB.Net and i have problem with my VB.Net project. I want to create an application where it capable to print a report like we normally do in word and save it in the pdf format. But the problem is i dont know how to …

Member Avatar for Psychoticus
0
94
Member Avatar for tqmd1
Member Avatar for kvprajapati
0
212
Member Avatar for love_dude1984

hi... i just wanted to know how we can access the variable of 1 form to another form.as far as i know, ther is no session management concept in C#. for ex., i want to access my login id into the next form. then what will be the procedure to …

Member Avatar for rodrigobraz
0
454
Member Avatar for atticusr5

Hey everyone I'm a college student taking semester two of C++ and we have a project using classes. This semester we are strictly using Vi to edit and compile my code. WARNING THIS CODE IS NOT THE WAY I WOULD PERSONALY WRITE IT, BUT MY INSTRUCTOR INSISTS ON THIS FORMAT. …

Member Avatar for Anarionist
0
132
Member Avatar for epicnote

Hello guys, by the way I am a newbie here. This is my first post in this forum. I am now doing a window application(MFC.exe-dialog based) using the Microsoft Visual C++ 6 Enterprise Edition. Actually I am doing the simple application that read a string from text file. I only …

Member Avatar for epicnote
0
151
Member Avatar for asim rehan

Can You give me the code of detecting text from an image, i am a student and i am doing programing at beginner level. so please help me out.

Member Avatar for Raahi
0
463
Member Avatar for takeshi

i have a problem with this code regarding in counting.. [B]index.php[/B] [CODE] <?php if(isset($_GET['btnsubmit'])){ $can = array($_GET['pres'],$_GET['vp']); mysql_connect('localhost','root'); mysql_select_db('sample_poll'); foreach($can as $val){ $sql = mysql_query( "UPDATE candidate SET votes=votes+1 where can_id='".$val."'" ); } echo "<h1>vote complete!</h1> <a href='voteresult.php'>see all vote results</a>"; }else{ echo "<form method='get'>"; mysql_connect('localhost','root'); mysql_select_db('sample_poll'); $sql = mysql_query( …

Member Avatar for takeshi
0
102
Member Avatar for luisgomez

Hello, my name is Luis Gomez, i'm the responsable for z3950's client development, i want to thank you for your time and will for help us. I've already revised de code, i looked some test source code: /*Test source code */ public void testLOC2() throws Exception { app_context = new …

Member Avatar for adams161
0
602

The End.