132,726 Archived Topics
Remove Filter ![]() | |
Please help me.... See the code below. Imports System.Text.RegularExpressions Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("**HERE IS MY DESIRED URL**") Dim response As System.Net.HttpWebResponse = request.GetResponse Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream()) Dim rssourcecode As … | |
hey people. ok.. this is what i NEED to do.. Task > 1. User will add TODO list in the textbox shown in the GUI Windows Form. > 2. User will also select the date on which the task will be done. > 3. Once entered the above information, user … Software Development gui open-source | |
Hi, I am working on a program that uses an array of integers(1 and 0) to represent a gray code. For this to work I first have to take an integer and convert it to the binary, then convert the binary to gray code. The for loops i use to … Software Development c | |
I am using the following code to write to the file out1.txt: try{ FileWriter fostream = new FileWriter("out1.txt"); BufferedWriter out = new BufferedWriter(fostream); out.write("jlsdfjdlsfhsdkjf"); out.close(); }catch (Exception e){ System.err.println("Error: " + e.getMessage()); } Now i want to write to multiple files in the same code (let us say 2 files). … Software Development java | |
Hi I wonder how to extract just rs("Email") from this code If rs.RecordCount = 0 Then Exit Function End If rs.MoveLast rs.MoveFirst max = rs.RecordCount rs.MoveFirst LstData3.Clear For i = 1 To max LstData3.AddItem rs("Email") rs.MoveNext Next i I have 10 different person in the databas but only 3 with … Software Development email visual-basic | |
Hello. I submitted [this](http://www.daniweb.com/software-development/java/threads/455615/java-decryption-problem) post a little while ago where I had problems with decrypting what I encrypted. Now my problem is that when I encrypt something and then decrypt it, the decryption works with txt files, but when I try to decrypt microsoft documents, then they will not open. … Software Development encryption java pdf | |
In form1: Sub loadData() Line of code loading data in gridcontrol End sub In form2: Button 1 Code Dim form1 as new form1 form1.loadData() This code is not working. can anyone help me? Software Development vb.net | |
Hey guys! Im making a orders system, I want to add a product individually into the datagrid,for example: If I add for example 5 gl of milk it will display like this: Quantity Description 5 GL Milk But I want it to display it like this: Quantity Description 1 GL … Software Development vb.net | |
Good day folks, I searched almost all the topics related to my problem but still no luck of finding some help. So, I've decided to create a new thread, hoping that someone can shed some light to my project. I have a program which reads text files line by line … Software Development vb.net | |
**Hi all fort i would leave a little keygen/passphase maker for anyone that wants one ** Also would like feed back on it maybe someone could help inprove or some ideas to improve plus to get this to work you have to make a file called Data make shore caps … Software Development python | |
I really got bored and tired of trying to find or remember some codes usage in so many files saved on my system, when it was needed. So, I called 'Monsieur' perl for help, hacking together some codes which works great for me and solve my problem of boredom. You … Software Development perl | |
Is there any way to show data from access table to some particular columns. For eg. Table have following data BCode TCode1 Slot1 TCode2 Slot2 TCode3 Slot Batch1 T1 10:00 T2 12:00 Batch2 T1 08:00 T2 09:00 T3 11:30 Batch3 T1 08:00 T2 10:00 T3 11:00 I want to show … Software Development vb.net | |
I want to count the number of attempts the user tried to guess the correct guess. How would i do that? like I have thought of a number. Try to guess it Take a guess: 5 Your guess is higher than mine Take a guess: 3 Your guess is lower … Software Development java | |
Hello, I am very familiar with most of the sorting algorithms that are taught in first year university (as I just finished my first year in software engineering at the University of Waterloo). As such my current go-to sorting algorithms are insertion (on mostly pre-sorted data, or data where I … Software Development engineering | |
Hi, Im trying to make an order for an invoice that will take in some details like name, number and have an array of product details like price, qty. It uses variables used in class mods. See if you can make sense of this. Sub webservicetest() Dim NewOrder As New … Software Development visual-basic | |
I'm trying to make this work, and I keep getting errors, can someone fix it and show me what's wrong? I've been trying to fix this for a few days and I can't. Thanks in advance. import java.awt.*; import java.applet.*; import java.util.*; import java.awt.event.*; import javax.swing.*; public class FrameX extends … Software Development java java-swing | |
Hey guys, I want to connect my **VB.NET application to the data saved on my webserver's mysql database**. Can you please tell me, is it possible or not? Can you give me any hint for further coading? Where should i look for help in this regard? Or should I consider … | |
is it possible to allocate memory for multiple pointer using single malloc like this #include<stdio.h> #include<conio.h> #include<stdlib.h> int main() { int *p,*q,*r,*n; p,q,r,n=(int *)malloc(20 * sizeof(int)); Software Development c | |
I have xampp and MS Visual Studio 2010 I used mysqlconnector to connect to my database (MySql.Data.dll) I just wanna know the whole step, from adding the item up to creating a new connection. T_T can't see any steps from the web that can be followed exactly the same. T_T … Software Development vb.net visual-studio | |
So basically im creating this python adventure text game. And so far its good. But i have this problem with class instances(Is that the right term?) Say for example i have this class, class monster(object): def __init__(self,health,attack): self.damage = damage self.health = health So then I create a class object(again, … | |
Friends, I Using DatagridviewButtonColumn, I am Able to Changing The Text of That Button, on Run Time But Not Able to Using Enable/Disable Option, I Mean I Have a Button With The Text "Allot" When User Click on This The Text Becomes "Pause" But At The Same time This Button … Software Development vb.net | |
Hey please suggest me some sample code for conversion of pdf file to tiff file using c sharp. also i want to use free class library like c pdfsharp or itextsharp. suggest some code for the same. Thanks in advance. Software Development pdf | |
is it possible to print the whole form contents by a click of a (print) button from the toolstrip of MDIparent? how? Software Development vb.net | |
Hello, My teacher asked us to write a little O.S simulator, my group has to write the file system module. We are using contiguous block alocation for the files, we would like to represent the utilization of the blocks using a colored matrix, where the used blocks would be red … Software Development java java-swing | |
Tryin to sort a search method for abit of code. Have an array list reading from a csv. Any help on how I can get a search method searching through and displaying onto a jTextArea? This is my code in my Gui public class DataGUI extends javax.swing.JFrame { public class … Software Development gui java java-swing | |
running 'java -version' on my cmd prompt gives me the version of my JRE but when i run my programs as 'javac abc.java' it says 'javac' is not recognised as an internal or external command, operable program or batch file. I have set the Path variable by appending C:\Program Files\Java\jre6\bin … Software Development java | |
Hello, I have created a GUI using the Netbeans GUI Builder and I have a JTextArea that I want to output to, but because I need to use threads I am doing a lot of processing in an external thread. I am having issues outputting data from the thread class … Software Development gui java java-netbeans java-swing | |
**I have a form Upload.aspx** <%@ Page Language="C#" AutoEventWireup="true" CodeFile="CSharp.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Upload Files To DataBase</title> </head> <body> <form id="form1" runat="server"> <div> <asp:FileUpload ID="FileUpload1" runat="server" /> <asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" /> <br /> <asp:Label ID="lblMessage" runat="server" … Software Development c# file-stream file-system pdf sql | |
class Program {class Program { static void Main() { int TotalCoffeCost = 0; Start: Console.WriteLine("**Caffe Menu**\n\n1-Small = 1$, \n2-Medium =2$, \n3-Large"); Console.WriteLine("-------------------------------------------------------------"); int UserChoice = int.Parse(Console.ReadLine()); switch (UserChoice) { case 1: TotalCoffeCost += 1; break; case 2: TotalCoffeCost += 2; break; case 3: TotalCoffeCost += 3; break; default: Console.WriteLine("Your Choice … | |
i want to auto increment the value from 01-50...and display these values to combo box... each increment of value should be done on after selected index changed......can any one help me... Software Development | |
Hi, I have a question about the game I am making in pygame. In the middle of the game screen there is the "notepad" where doodles can move around and such. Around that is the "desk" the notepad is on. I have a link to a screenshot [here.](http://picturepush.com/public/13180159) But underneath … Software Development python | |
Hello, I made a program that worked perfectly on one of my pcs. When I moved it to another computer I am getting an error now stating that I need to include a pointer on my fmin and fmax functions. I'ts somewhat lengthy but I want to know if maybe … Software Development c++ | |
code that mimic a shopkeeper services, counting stock, selling, billing Software Development c++ | |
Assignment Description: The Elevator Problem buildings considera 2-storey building with 1 elevator. Your program should simulate the movement of the elevator which is dependent on the buttons that are pressed inside and outside the elevator. Your program should include the following features 1. Indicator monitoring the no.of passengers inside the … Software Development visual-basic | |
Help me :) how to auto calculate the age, when you type in MaskedTextBox1 using Birtdate? Software Development vb.net | |
Hi, I wonder if anyone can possibly help. I am trying to teach myself how to integrate a Java video into a Java GUI / Swing Application. I am pretty competent with building Java graphical user interfaces and the background Java application code, however I am puzzled with how difficult … Software Development java java-swing video | |
How can I write a program to find the sum of the series given below:- ((1)/(2))+((3)/(4))+((5)/(6))+((7)/(8))+((9)/(10))......n I have written a code but it is not giving the desired result... #include<stdio.h> #include<conio.h> void main() { int n; float sum=0,i; printf("Enter nthe term"); scanf("%d",&n); for(i=0;i<n;i++) { sum=sum+((i+1)/(i+2)); } printf("sum=%f",sum); getch(); } Please … Software Development c | |
after i define con.ConnectionString = dbprovider & dbsource con.open() leads to error The '.NET Framework Data Provider for OLE DB Data Source = C:\Users\.... \Database1.mdb' provider is not registered on the local machine. i have access and .net framework installed Software Development open-source vb.net | |
Hey, Can i know how to do the throw and catch for my java code ? i need to create a OfferException class which allow a suitable error message to be specified when there is an error. this is my code.. public boolean makeOffer(int offerPrice) if (!super.getSaleStatus()) { System.out.println("Error - … Software Development java | |
/home/nikos/public_html/cgi-bin/metrites.py in () 217 template = htmldata + counter 218 elif page.endswith('.py'): => 219 htmldata = subprocess.check_output( '/home/nikos/public_html/cgi-bin/' + page ) 220 template = htmldata.decode('utf-8').replace( 'Content-type: text/html; charset=utf-8', '' ) + counter 221 htmldata undefined, subprocess = <module 'subprocess' from '/opt/python3/lib/python3.3/subprocess.py'>, subprocess.check_output = <function check_output>, page = 'files.py' /opt/python3/lib/python3.3/subprocess.py in … Software Development python | |
Firstly, the program used a doubly linked-list which contains ID and NAME lists. Both ID and NAME are parallel. For example, Tony 2456, David 3749, Jessica 9743 and so on. So I created a method; its function is to remove a specific ID by user input, then it should remove … Software Development linked-list | |
Hi! I am having an issue with executing a .jar with php. If I do /opt/lampp/bin/php myphp.php the jar gets executed and the output appears in the terminal. But if I load the php page directly in my browser, the output of the jar when executed does not appear. **Is … Software Development | |
I have roughly 500 function pointers defined in a header like so for example: void (__stdcall *ptr_glAccum) (GLenum op, GLfloat value); void (__stdcall *ptr_glActiveTextureARB) (GLenum texture); void (__stdcall *ptr_glAlphaFunc) (GLenum func, GLclampf ref); GLboolean (__stdcall *ptr_glAreTexturesResident) (GLsizei n, const GLuint *textures, GLboolean *residences); void (__stdcall *ptr_glArrayElement) (GLint index); void (__stdcall … Software Development c++ | |
Could anyone please help me out in retrieving the number of audio devices using "waveInGetNumDevs" ? I cannot make out how to do it ? Thanx :) | |
i have below code for my custom textbox to allow numeric chatecters for entering amount. Protected Overrides Sub OnKeyPress(ByVal e As System.Windows.Forms.KeyPressEventArgs) MyBase.OnKeyPress(e) If Asc(e.KeyChar) >= 48 And Asc(e.KeyChar) <= 57 Or _ Asc(e.KeyChar) = 46 Or _ Asc(e.KeyChar) = 13 Or _ Asc(e.KeyChar) = 8 Then If Asc(e.KeyChar) = … Software Development vb.net | |
I have four JTextFields where user is allowed to enter only numbers. Question is how do I do this? Software Development java | |
Hi I am back I need am working on an unfinished project and cant get it to compile past line 44 , any help with why it wont do that would be great . I just am trying to get what I currently have to compile . my assignment , … Software Development c++ |
The End.