199,114 Archived Topics
Remove Filter ![]() | |
I posted an earlier question and got no answers, which really is BS. so ima try again... I am trying to make a console program that can create a text document, and send it over ftp. thats it, I would like it if someone could point me in the right … | |
Hello everyone, I'm working on a program that reads a PNG and extracts a custom chunk from it (using libpng). But now I've got problems to actually register my callback function to handle unknown chunks. According to the official documentation I have to declare which chunk is "unknown" (by their … | |
Hi all, Im working on the design of a function at the moment and im not sure if the if statement i want to do is safe. Ill start with the data structures i have as this is where the problem could come from. (simplified with relevent bits only) [code] … | |
For a program I am working on, I need a way to use an if function for a variable, if the variable is within a certain range of numbers. i.e. [CODE]if(x == 1-5) // meaning if x is from 1 to 5 //do something... if(x == 6-10) // i.e. if … | |
I've tried reading through [B]datareader[/B] from the database. Tried dataadapter, reading from dataset and datatable. All of them generates an error when reading empty rows. Yes, I have used try and catch statements but the error still generated, that is transforming only in a messagebox. What I want is to … | |
Hello, I have created a timer for my Winforms to tick down from 300 to 0 and then refresh my form. I have used this.refresh when it hits 0 but it doesn't seem to do anything as the label is still the same when it has completed it's timer function. … | |
Hello, I am trying to send files from one directory to another and then renaming them to a ordered list of numbered files. The only problem is when you do it once and then do it again the file numbering goes back to 0 so is unable to move as … | |
Hello Everyone, I have been thinking about an assignment for couple of days and tried some methods but none works really perfect; I certainly don't need code, I just need some problem solving assistance. The question is, I'm supposed to read a text from a file, and then put them … | |
Hi, a simple question: how do I enable deleting inside a python program? I have a python program that asks for user input, users write some words and then press enter. The problem is they can't use backspace or supr to delete anything, instead, the program prints ^? each time … | |
Hi.. somebody help me to implement c++ in Wifi development.. you will thankful.. | |
I'm hoping someone can help me here. I have 2 tables in a access database. I'm trying to join certain data points from both, simple. I've done a few joins already for this site. But the problem I'm having is this one seems to be destined to annoy me. [code]sql … | |
I'm writing a code that should extract tags from an HTML code (I'm skipping parts about parsing and stuff). I'm testing it using a simple fixed string however, it doesn't remove this <div> tag and I have no idea why... Thanks... [CODE]import re RegExpression_Tags = r"<.*?>" html = """ <div … | |
Hello. I'm having a bit of difficulty implementing Drag and Drop. The scenario is this. I have a project with an MDI child where I want to drop documents from Windows Explorer. The code is all in place (this is just for debugging purposes) and I have set AllowDrop to … | |
hi, i am getting below error plz help java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer at com.kotak.autoblocknb.transaction.Transaction.main(Transaction.java:38) [code]ArrayList<Integer> db2Crns=new ArrayList<Integer>(); ArrayList<Integer> oracleCrns=new ArrayList<Integer>(); ArrayList<Integer> leftOverCrns=new ArrayList<Integer>(); db2Crns=testDB2Connect.getDb2LoggedInCrns(); oracleCrns=testOracleConnection.getDataFromPartyAuditInfo(); for(int i=0;i<db2Crns.size();i++) { int x=db2Crns.get(i).intValue(); int y=oracleCrns.get(i).intValue(); if(x!=y) { leftOverCrns.add(db2Crns.get(i)); leftOverCrns.add(oracleCrns.get(i)); } else if(x==y) { leftOverCrns.add(oracleCrns.get(i)); } } int lastIndexOfOne=db2Crns.size(); for(int i=lastIndexOfOne;i<oracleCrns.size();i++) … | |
I am doing my final year of undergraduation and I need a java simulator that simulates a parking lot. Can anybody provide me with a simulator or suggest a open source simulator? I have no backgroung in building simulators. Is it easy? If I had to build a simulator on … | |
how to read 25 digit number in java???? i want to write a porgram to perform addditon and substraction between 25 digit numbers | |
Hi all! I still consider myself to be a newbie at PHP, but i have managed to develop a good PHP application, thanks in a large part to daniweb members' help and advice. My problem now is, having coded a profile page (profile.php) which displays user information dependent on the … | |
Hi, I'm trying to write a form that has required fields. When the form is filled out with the required fields missing, I'm trying to have a pop-up that tells them what is missing and then cancels the submission of the form. At the moment I have the function below … | |
hello... i am doing one concept.but i have no idea to do that concept. plz nybody give an idea for that.... actually there is a site which have the registered restaurents on that site at the same another side user registration is there. now user login then automatically display distinct … | |
hi ... thanks a lot..i got how to edi,update,n delete..now i want to validate the textbox wen i press update...like i want to ckeck for null vlues entry...only numbers.......i am searching for javascript but no proper result... any links ..pls post.... | |
Where I work we're trying to create a CD that contains PowerPoints, PDF files and video files. The contents of the CD need to be protected somehow so that the user can open the files but can't edit them, and the disc should also be able to work on both … | |
One of our clients is using a webhost that blocks all emails sent from an unknown i.p. address....basically blocking any email forms being used on their server. The hosts have said for emails to be sent via their server the form needs to act as if the email was sent … | |
Hi! I'm a college student. i dont know if it's appropriate to post this here, but i am really desperate to know what are the different positions in a system development team. it is our assignment. reply is appreciated. | |
Hi all, i have a trouble convert Text (have form of Hex already e.g 05 07 3F 04. ..) to Hex then i can calculate those number to draw graph with them. many thanks for any help or instructions! | |
I'm trying to make the following: Step one : Check if the values have been stored more then x time, if so delete them. Step two : Check if current value has been used before Step Three : If used return False (and write value to arraylist), else return true … | |
In MDIParent, in my formload in MDIParent, one form is load. And i want the form when i click a button, there is another form will be loaded INSIDE the MDIParent? how is that? Can somebody teach me the code? Thank You! | |
Button[] mybutton = new Button[6]; for (int i = 0; i < mybutton .GetLength (0); i++) { //mybutton[i] = (Button)this.Controls[Class3.buttonid + (i + 1)]; Class1.navigate_url(mybutton[i], TextBox1); } the commented line above is not working in system.web.ui unlike `system.windows.forms`...... why???? and wt to do now....please help me out with it....thnks for … | |
I am trying to move Txt files from one folder to another but I keep getting an error message stating "illegal characters in path". I think it's because of the * in the file name but how do i change it to except it? string sourceFile = @"C:\\new1\*.txt"; string destinationFile … | |
How can i change my vb exe file in to a installable file. That contain the ms access database as back end. Anyone can help me.. Thank you for any help | |
I am trying to move Txt files from one folder to another but I keep getting an error message stating "illegal characters in path". I think it's because of the * in the file name but how do i change it to except it? string sourceFile = @"C:\\new1\*.txt"; string destinationFile … | |
Hi, I have create a program for multiplication of two numbers. when i run the proram it give me an error message that [B]input string was not in correct format[/B]. But whatever data i enterd its saved in database properly. Here is my code. private void textBox11_TextChanged(object sender, EventArgs e) … | |
We want to use a licensing system for our new software, so we know that our customers are using the same amount of apps that they paid for. The general idea is to get their processor ID and HDD serial number and combine them to make our license string. I … | |
Today I found 2 distinct program which can takes .exe's and gives sorce code exactly, same method names, same class names, same variables also. I am trying to find a solution which can stop this decompilers. I found solutions but they just make the decompiling job harder. I need to … | |
Part of the app I am writing allows users to create an encrypted, password-protected output file that they can email safely to a central store. I can't have the users choose their own password for the encryption as the central store needs to access the contents of all the output … | |
Hi, I'm developing a data logging application using VB for the actual logging to a MySQL database. I'm reading a value from a device and then running an insert query every minute. This is great but if the value doesnt change all day then my records are going to all … | |
I have 3 computers connected to each other, pc1 is the server while pc2 and pc3 are clients. I created a windows application using c# and MS sql server as database at pc2 where in the sql server was installed, anyway, i didn't installed sql at pc1 server coz of … | |
Hi, what i'm really trying to find out is how to run 2 queries and get the result of them in a single file. The code goes Below, the problem is that the printed result comes only from the first query the second query result is displayed as 1st query … | |
I can use following codes to change resolution but problem is that when I run my program it changes resolution(1280*1024) & show form which doesnt fit the screen though its width is 1280 & height is 1024. But when I close that program & run it again then it works … | |
Hi Experts I m using vb .net2008. I want to skip read-only columns, for this I use these codes But their some error, how is it possible???? [CODE] Private Sub DataGridView1_CellEnter(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellEnter Dim y As Integer = DataGridView1.CurrentCellAddress.Y Dim x As Integer … | |
Hi, I am trying to insert data to the database , but i could not successful . Please help me to find outh the error in my code. [CODE] <?php $action=$_REQUEST['action']; if($action=="insert") { $customer_name=$_POST['customer_name']; $plan_opted=$_POST['plan_opted']; $Payment_Mode=$_POST['Payment_Mode']; $customer_id=$_POST['customer_id']; $Plan_term=$_POST['Plan_term']; $cheque_no=$_POST['cheque_no']; $l_f_no=$_POST['l_f_no']; $payment_frequency=$_POST['payment_frequency']; $cheque_date=$_POST['cheque_date']; $agent_name=$_POST['agent_name']; $inst_amount=$_POST['inst_amount']; $agent_code=$_POST['agent_code']; $date_commencement=$_POST['date_commencement']; $late_fee=$_POST['late_fee']; $paid_till_date=$_POST['paid_till_date']; $instalment_no=$_POST['instalment_no']; $misc_charges=$_POST['misc_charges']; … ![]() | |
hi all, i want to run the slide show say ten slides and then close it programaatically , but in my code given below it opens the slide show and closes immediately ... .. please give me a solution to this problem [code]Microsoft.Office.Interop.PowerPoint.Application ppApp = new Microsoft.Office.Interop.PowerPoint.Application(); ppApp.Visible = MsoTriState.msoTrue; … | |
Can someone "shortcut" this code for me? I want this code to run from textBox1.textchanged to textBox170.textchanged (so this code should affect textbox1.textchanged/textbox2.textchanged/textbox3.textchanged....[e.t.c]....textbox170.textchanged): [code] string l_text; l_text = textBox1.Text; l_text += textBox2.Text; l_text += textBox3.Text; l_text += textBox4.Text; l_text += textBox5.Text; l_text += textBox6.Text; l_text += textBox7.Text; l_text += textBox8.Text; … | |
i wanaa compare 2 array list and find the uncommon data in 3rd arry list i have written below code ArrayList db2Crns=new ArrayList(); ArrayList oracleCrns=new ArrayList(); ArrayList leftOverCrns=new ArrayList(); db2Crns=testDB2Connect.getDb2LoggedInCrns(); oracleCrns=testOracleConnection.getDataFromPartyAuditInfo(); int array1Size = db2Crns.size(); int array2Size = oracleCrns.size(); System.out.println(db2Crns.size()); System.out.println(oracleCrns.size()); for(int i=0;i<oracleCrns.size();i++) { String val=oracleCrns.get(i).toString(); int k=0; for(int j=0;j<db2Crns.size();j++) … | |
I have 3 textboxes..textBox1,textBox2,textBox3.I want that when user clicks on submit button all data should go to e-mail address.. Any one here can please help me to get through code? Thanks very much | |
I have below out using print_r(); how can i display individual like i want to display [currency] => USD [rate] => 1.3000 how to use foreach Thanks [CODE]$xml = simplexml_load_file("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml"); echo $xml->getName() . "<br />"; foreach($xml->children() as $child) { echo $child->getName()->currency . ": " . $child . "<br />"; echo … | |
I was wondering how you do this. Would you have to use delegates and event handlers or can you do it through application.Run(object) and call that in the clickevent but I need to keep a reference to previous form. but that doesn't seem possible. | |
Hi, Have resize the image to fit the picture box (for other purpose). now i tried to zoom in the image and i succeed on it. but my problem is when i zoom the image the image get zoomed and image moves toward right. How can zoom the image without … | |
Hello community, I'm trying to create a form with the sort methods (Bubblesort and shell). The Sort algorithms work fine but my problem is that I want to specify the length of the array and add the values. For this I have 2 textbox and a button (insert), the first … | |
am working in vb.net platform.I want to convert input value integer to word during at runtime | |
Hello. I am developing simple exercise formapp and I need to detect internet connection every 2 seconds. #1. I do check internet connection like this [CODE] public static bool Connection() { bool connection; try { System.Net.IPHostEntry objIPHE = System.Net.Dns.GetHostEntry("www.google.com"); connection = true; } catch { connection = false; } return … |
The End.