132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dhimanbiswas4u

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 …

Software Development regex vb.net
Member Avatar for Begginnerdev
0
177
Member Avatar for sanaQ

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
Member Avatar for ddanbe
0
868
Member Avatar for wnr78ta

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
Member Avatar for Banfa
0
776
Member Avatar for abra_ka_dabra

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
Member Avatar for JamesCherrill
0
6K
Member Avatar for LeNenne

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
Member Avatar for Jx_Man
0
146
Member Avatar for sirlink99

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
Member Avatar for sirlink99
0
550
Member Avatar for ryan311

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
Member Avatar for GeekPlease
0
140
Member Avatar for acepeda

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
Member Avatar for GeekPlease
0
155
Member Avatar for ear92

Hello, who can help me to get the source code (VB.NET) from this application (http://www.4shared.com/file/fch3Wylw/InheritedForm2.html)

Software Development vb.net
Member Avatar for GeekPlease
0
90
Member Avatar for GeekPlease

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
Member Avatar for GeekPlease
0
182
Member Avatar for felceyboy

**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
Member Avatar for felceyboy
0
242
Member Avatar for 2teez

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
Member Avatar for rsprice
0
243
Member Avatar for vishalonne

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
Member Avatar for ddanbe
0
210
Member Avatar for hashim5003

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
Member Avatar for hashim5003
0
4K
Member Avatar for Labdabeta

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
0
222
Member Avatar for burnweb

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
Member Avatar for burnweb
0
212
Member Avatar for cheesy_ninja45

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
Member Avatar for stultuske
0
231
Member Avatar for Amiet Mhaske

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 …

Software Development mysql php vb.net
Member Avatar for Amiet Mhaske
0
416
Member Avatar for general2012

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
Member Avatar for general2012
0
124
Member Avatar for ses03

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
Member Avatar for tinstaafl
0
855
Member Avatar for AppleR

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, …

Software Development gaming oop python
Member Avatar for AppleR
0
345
Member Avatar for manoj_582033

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
Member Avatar for ddanbe
0
175
Member Avatar for ManthanB

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
Member Avatar for ManthanB
0
488
Member Avatar for ses03

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
Member Avatar for Begginnerdev
0
113
Member Avatar for modesto916

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
Member Avatar for modesto916
0
144
Member Avatar for james12James12

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
Member Avatar for stultuske
0
301
Member Avatar for abra_ka_dabra

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
Member Avatar for JamesCherrill
0
351
Member Avatar for Jasonfran

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
Member Avatar for stultuske
0
2K
Member Avatar for minnie19

**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
Member Avatar for lolafuertes
0
913
Member Avatar for ToniSoft

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 …

Software Development c c# c++
Member Avatar for ddanbe
0
213
Member Avatar for dhillselva

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
Member Avatar for Mr.pc.online
0
94
Member Avatar for 26bm

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
Member Avatar for 26bm
0
229
Member Avatar for gobiking

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++
Member Avatar for gobiking
0
347
Member Avatar for sntoane

code that mimic a shopkeeper services, counting stock, selling, billing

Software Development c++
Member Avatar for sanyam.mishra
0
126
Member Avatar for Gametes

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
Member Avatar for tinstaafl
0
194
Member Avatar for ranTHE

Help me :) how to auto calculate the age, when you type in MaskedTextBox1 using Birtdate?

Software Development vb.net
Member Avatar for Reverend Jim
0
204
Member Avatar for sntoane

i have a picture captured by a camera so how to add different hair styles on it. i am using vb2010 pls how best can i combine these pictures into one picture that can be printed.

Software Development image vb.net
Member Avatar for tinstaafl
0
191
Member Avatar for Tango2010

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
Member Avatar for nvrandow
0
481
Member Avatar for dendenny01

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
Member Avatar for Schol-R-LEA
0
221
Member Avatar for spyros.lois

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
Member Avatar for Reverend Jim
0
256
Member Avatar for vongola.lee

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
Member Avatar for peter_budo
0
145
Member Avatar for nagia.retsina

/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
Member Avatar for nagia.retsina
0
361
Member Avatar for boiishuvo

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
Member Avatar for boiishuvo
0
178
Member Avatar for kelkoo28

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
Member Avatar for peter_budo
0
255
Member Avatar for triumphost

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++
0
156
Member Avatar for apanimesh061

Could anyone please help me out in retrieving the number of audio devices using "waveInGetNumDevs" ? I cannot make out how to do it ? Thanx :)

Software Development audio c#
Member Avatar for aamitarya
0
574
Member Avatar for PM312

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
Member Avatar for PM312
0
185
Member Avatar for peter_budo

I have four JTextFields where user is allowed to enter only numbers. Question is how do I do this?

Software Development java
Member Avatar for JamesCherrill
0
9K
Member Avatar for pearl doll
Member Avatar for cobaltfive

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++
Member Avatar for cobaltfive
0
241

The End.