132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for BenWard

Hello, I'm having some trouble with SQL CE. The below code *should* insert a record into the 'maps' table. (table adapters all set up) sometimes it says cannot insert as breaching primary key constraint, which is fine, but it otherwise fails with cannot insert NULL into iMapId. I have checked …

Software Development sql
Member Avatar for BenWard
0
129
Member Avatar for Usmaan

How to I check whether a given character is within a string, well that's easy: [CODE]if (myString.Contains(myChar)) { //TODO Logic }[/CODE] But, What I want is to get the index of the char |AND| get the index of the same char if it is in the word more than once. …

Software Development
Member Avatar for ddanbe
0
514
Member Avatar for Nulty

Basically, I have a degree (2:1) in Software Engineering. I've worked in public sector for 2 years now which has ended up as a junior developer role for me towards the tail end of my contract (started off as data analyst, don't ask). Luckily I've now managed to land myself …

Software Development career engineering
Member Avatar for KirstyHunter
0
122
Member Avatar for axman1000

I have a task. I will be receiving anywhere between 1 and 4 files daily from one single email id. I would like to extract these attachments, save it to my local drive, and then, extract the data from there into a database. I do not/will not be using Outlook …

Software Development email vb.net
0
107
Member Avatar for Hojjat.Mojallal

There are n persons numbered from 0 to n - 1 standing in a circle. The person number k, counting from the person number 0, is executed. After that the person number k of the remaining persons is executed, counting from the person after the last executed one. The process …

Software Development c++ linked-list
Member Avatar for Hojjat.Mojallal
0
378
Member Avatar for mayankdvd1

I am trying to read gridview column through the following code protected void gdOrderdetails_RowUpdating(object sender, GridViewUpdateEventArgs e) { string name1; GridViewRow name = gdOrderdetails.SelectedRow; name1 = name.Cells[1].Text.ToString(); Response.Write(name1); } It's giving error "Object reference not set to an instance of an object." Pls help me out Thanks in advance

Software Development
Member Avatar for Munnazz
0
82
Member Avatar for denonth

How can i send Printdocument to richtextbox so i can write something above text and send it as email. here is code: [code] private void button3_Click(object sender, EventArgs e) { try { PrintDocument pd = new PrintDocument(); pd.PrintPage += new PrintPageEventHandler(this.PrintPageEventHandler); if (this.storedPageSettings != null) pd.DefaultPageSettings = this.storedPageSettings; PrintPreviewDialog dlg …

Software Development
Member Avatar for denonth
0
124
Member Avatar for BroonoVilliam

Hi all, I am new in java. How can I sort a linked list on the basis of a particular string..? I have created a class with two elements, 1. Name 2. Address and I am reading these elements many times Now I want to sort this on the basis …

Software Development java linked-list
Member Avatar for Taywin
0
136
Member Avatar for ben25x

I have JUST started learning basic (as of TODAY, actually) and I get the "basic" gist of it ;) but i have looked everywhere and cannot find out how to make the program do something [I]without[/I] the user doing anything. i'm sure it's a simple [CODE]Private Sub 'something[/CODE], but i …

Software Development visual-basic
Member Avatar for AndreRet
0
734
Member Avatar for Mabyboi

So im working through this and im having troubles finishing it off. Essentially im reading a text file, and tokenizing the numbers in the file, but what needs to be done is for each line in the file to be store in its own Queue, and then the Queue's need …

Software Development java linked-list queue
Member Avatar for Taywin
0
1K
Member Avatar for Jessurider

hey can anyone help me........... the below code is for getting a jpeg image called rabbit which resides within the bin folder...... [CODE]Image img= getImage("rabit.jpg");[/CODE] instead of placing the image in the bin folder.........can we call a image by giving a path like [B]("D\:Images\rabbit.jpg")[/B] is there any method with which …

Software Development java
Member Avatar for sourabh17
0
423
Member Avatar for BobPawley

Hi I am attempting to employ the named pipe application “Using Pipes for Messages” which I found at [url]http://www.delphi3000.com/articles/article_2918.asp?SK=[/url] I am running Borland Studio 2006 on Win 7 and need named pipes to communicate to a C# app that I am also building. The example (bottom of page) is supposed …

Software Development pascal
Member Avatar for pritaeas
0
213
Member Avatar for bettybarnes

Hi guys,, im having problem with my stored procedure. i dont know how to make it show..when i click on a particular record on my datagridview it should display another form with its corresponding laboratory records, radiology records and so on.. here is my code [CODE]ALTER PROCEDURE dbo.ViewAllLabRecords ( @lab_Record_ID …

Software Development vb.net
Member Avatar for bettybarnes
0
97
Member Avatar for novice20

hi all.. I need to issue a 'ping' to an ip address via my script and check whether it is up? can I issue it using os.system? can I capture the output and analyze to see if the host is up??

Software Development python
Member Avatar for novice20
0
2K
Member Avatar for aparnesh

In my program, I need to have invoices printed from the program for the client's sales. The invoices are printed on pre-printed stationery whose top has the client's name, address, etc printed. The invoices are printed on a fan fold type paper on a dot-matrix printer (TVSE MSP 240 Classic). …

Software Development printer visual-basic
Member Avatar for aparnesh
0
240
Member Avatar for lielee

Hello. I'm doing project using richtextbox and want to save the contents in Access. But my contents is a list and when I saved it, the list become one line, with a square to space it. Can it actually be done? I set the column with memo type. Here's my …

Software Development vb.net
Member Avatar for lielee
0
234
Member Avatar for sneha mehta

I am trying to use below code for java to sqlserver connectivity.. [code] import java.sql.*; import java.util.*; import java.io.*; import java.lang.*; public class AuthorsInfo1 { public static void main(String args[]) { try { String str = "select * from authors where au_city like 's%'"; String str1 = "com.microsoft.sqlserver.jdbc.SQLServerDriver"; Class.forName(str1); Connection …

Software Development java
Member Avatar for masijade
0
148
Member Avatar for Sonny101

I am making a calculator for a project,using Swing but I am finding one task particulary hard because it is something I have not yet learned. So for this calculator I need a rounding menu I have a list of menu items 0 through to 9 which stipulate the rounding …

Software Development gui java java-swing
Member Avatar for mKorbel
0
677
Member Avatar for wonder_laptop

can anybody give me a link to download Java 5.5 (jdk) ? i dont need any other version of java ! i need that one. i cant find it on the internet :s

Software Development java
Member Avatar for JamesCherrill
0
116
Member Avatar for muzikhera

Hi everyone! How to save image from picturebox to Datatable and display to crystal report. Any idea would help. Thanks and regards to all programmers!

Software Development asp.net
Member Avatar for Knvn
0
116
Member Avatar for az_ez

Hi, I've been working on this code but recently there's been a problem with a section of my code, this being that there was a stack overload but now, the code just stays in a loop saying that there is an invald arguement. I don't know how to get it …

Software Development c++
Member Avatar for az_ez
0
380
Member Avatar for Jaseem Ahmed

i have bundle of text boxes to get an input.. i have textboxes that some how work like data grid... i have 4 colums of textboxes and each colum have 30 textboxes as an array in picture box.. now i am facing a problem that, every time when i m …

Software Development visual-basic
Member Avatar for AndreRet
0
96
Member Avatar for m610

My first Java post, as I am finally trying to learn a little Java, and am doing it the hard way, which is by trying to read other people's code, using Google, and the ww3 web site. It's not that difficult to learn what individual commands and all do, but …

Software Development file-stream java
Member Avatar for masijade
0
380
Member Avatar for dreamsky999

Hello guys. I would require a little help here in my codings. The program is basically calculating the parking fare for customers who park their cars in a parking lot. In function 'void calc_rate(int ,int, int , int ,int,int, int)' At line 95, it shows a function-definition is not allowed …

Software Development c
Member Avatar for charlybones
0
117
Member Avatar for KeerthigaN

hi i need an idea for college time table management project

Software Development visual-basic
Member Avatar for AndreRet
0
62
Member Avatar for orangepyth

This code changes anum but it should not?? What is going wrong? Many thanks >>> astr=['a','b','c','d'] >>> anum=[4,3,2,1] >>> anew=anum >>> for c,d in enumerate(anum): ... anew[c]=astr[c] ... print(anew,astr,anum) ... ['a', 3, 2, 1] ['a', 'b', 'c', 'd'] ['a', 3, 2, 1] ['a', 'b', 2, 1] ['a', 'b', 'c', 'd'] …

Software Development python
Member Avatar for orangepyth
0
117
Member Avatar for bkoper16

I am doing a project for school that requires me to make a program that asks the user to enter a date by selecting two options for the format 1.MM/DD/YY (in numbers) 2.Month ,DD, YY (with the name of the month entered) both options should then display the date in …

Software Development c++
Member Avatar for thelamb
0
176
Member Avatar for satti

Dear friend ,iam working on a project in which i have to make a database on 14 columns and then a program in vb to add the new data,delet and find. i have created database and a flexgrid in vb.but the problem is that icant be able to connect the …

Software Development visual-basic
Member Avatar for AndreRet
0
1K
Member Avatar for abelingaw

I'm having problem regarding a text box max length. If i set it manually from the properties tab (i set it to 10), output would like "10000000.0" What i want is that it would be "1000000000.00". So i tried using this code: [CODE]Private Sub txtrate_LostFocus() If txtrate.Text = vbNullString Then …

Software Development visual-basic
Member Avatar for AndreRet
0
492
Member Avatar for deadelgabar

hi, im working on my graduation project which is a hotel reservation system. i just want to know one thing, what are the contents for that project. (system analysis, data base, visual basic). is there any extra thing.. thanks for your help so much,, i really appreciate your reply

Software Development visual-basic
Member Avatar for debasisdas
0
77
Member Avatar for Nickair

Hi, I was wondering if anyone could tell me the best way to start learning the java programing language? Are there any free programs i can download to help me practice? I am going to be going into computer engineering and want to get a head start with programing and …

Software Development engineering java
Member Avatar for Sonny101
0
157
Member Avatar for NewOrder

i want my table to disappear at the load time, and then reappear when i call it. here is my code so far... [code] private void Chess_Load(object sender, EventArgs e) { PromotionTable.Visible = false; } [/code] and one of the functions that is responsible to make it appear [code] public …

Software Development
Member Avatar for NewOrder
0
116
Member Avatar for razree

Hi all I want to be able to calculate the difference between two dates, written in SQL db. The difference must be in days/hours format. This is my code: [CODE] Dim SQLConn As New SqlConnection() Dim SQLCmd As New SqlCommand() Dim dr As SqlDataReader Dim arrival As Date Dim departure …

Software Development vb.net
Member Avatar for razree
0
290
Member Avatar for rustybar

Hi I would like to create a daemon python process in windows which will spawn 8 processes out. Whenever, there is a job, it will be pushed to the queue and the job will be run. If the full 8 processes are been utilised, then the jobs will remain in …

Software Development python queue
Member Avatar for TrustyTony
0
1K
Member Avatar for rohitamitpathak

i m confused about sprint syntax- i need to create dynamic mysql query so i have to use it, when i take char * it shows a error while when i take char arr[100] (like this )it work fine.. i read syntax from sprint from multiple sites, and it make …

Software Development c c++
Member Avatar for rohitamitpathak
0
271
Member Avatar for wulaishiwo

Hi all, In my current project, I need to write python code extracting tons of pages grabbed from the web. By extraction, I mean strip all tags and comments and if possible, filter out small sections like navigation links. The only thing should be left is the length paragraph, if …

Software Development python
Member Avatar for snippsat
0
241
Member Avatar for sourabh17

[QUOTE] I want to do convolve operation on an image using java. But the program shows a runtime error like cannot do Convolve operation on the image. I am attaching the code I have done. Please help... [/QUOTE] [CODE] import java.awt.image.*; public class ImageOperations { private BufferedImage image, blurredImage = …

Software Development image java
Member Avatar for sourabh17
0
189
Member Avatar for hery

Hello, How to run exe program from windows service using c#. This is mycode: [CODE]System.Diagnostics.Process.Start(@"E:\PROJECT XL\INI SQLLOADER\ConsoleApplication2\ConsoleApplication2\ConsoleApplication2\bin\Debug\ConsoleApplication2.exe");[/CODE] When i run this service not happening. Please tell me whats wrong with my code. Thanks

Software Development c#
Member Avatar for abelLazm
0
2K
Member Avatar for critznikkian

well im having a little trouble hiding the password on my input because im using inputbox i just want to cover up what the user will type at the inputbox with asterisk "*" how can i change the input in the input box with * so it will not be …

Software Development visual-basic
Member Avatar for AndreRet
0
309
Member Avatar for critznikkian

Good evening anyone, im having a hard time looking for the ascii code or number of a specific key in my keyboard, does anyone have a vb6 program that when you click a key on the keyboard it automatically displays the number equivalent in ascii? program or code will be …

Software Development visual-basic
Member Avatar for AndreRet
0
864
Member Avatar for mpassaglia

Hello DaniWeb! I've been struggling with a small detail of this program for a few days now, and haven't come up with any solutions on my own. The basic gist of the assignment is to fill an array with random numbers, sort it, and then search for a number in …

Software Development c++ seo
Member Avatar for mpassaglia
0
407
Member Avatar for Jaseem Ahmed

how can i can save date in database from dtpicker.. and what is the way to assign date field of database to dtpicker.

Software Development visual-basic
Member Avatar for AndreRet
0
186
Member Avatar for newack

hello, i wrote very simple code for reversing integer digits. but when i compile it, i get message as ----jGRASP exec: javac -g C:\Program Files\Java\jdk1.6.0_23\bin\ReverseDigit.java ---- at: Mar 14, 2011 7:58:58 PM ----jGRASP wedge: pid for wedge is 4920. ----jGRASP wedge2: pid for wedge2 is 1788. ----jGRASP wedge2: CLASSPATH is …

Software Development java
Member Avatar for newack
0
405
Member Avatar for mhosny

Hi, What I want to know is how can I get Internet Explorer address bar information (URL)? When i`m type into address bar e.g. [url]http://www.google.com[/url], i want to get message with the same URL e.g. Welcome to [url]http://www.google.com[/url] How to get this? Note: I will add a button for my …

Software Development vb.net
Member Avatar for AndreRet
0
928
Member Avatar for subith86

Hi friends, I know this is such a freak code, but out of curiosity I did it to see memory usage increase using new operator. [CODE]int main() { char* a; for (;;) { //cout<<&a<<endl; a = new char[10]; } }[/CODE] As you see line7 is commented. When i run this …

Software Development c++
Member Avatar for subith86
0
148
Member Avatar for bilal.farooq

What is map doing below? [CODE] my @aFN = (); #------------------------------------------------------------------------------- # get the nodes #------------------------------------------------------------------------------- if (-e $fConfFN) { open CONF,$fConfFN; while(<CONF>) { chomp; if( /.*=(.*)/ ) { my @A = split /\s+/, $1; [COLOR="Red"][B]map{push(@aFN,$_)}@A;[/B][/COLOR] } } close CONF; [/CODE]

Software Development perl
Member Avatar for bilal.farooq
0
81
Member Avatar for Jaseem Ahmed

i have an error in my numric fields. just like Phone no., fax no., zip code. these field in data base are assigned numeric data type. now when i m assigning these fields to textboxes, there is error cuming, type mis match. phTxt.Text = rs!Phone in this line.

Software Development visual-basic
Member Avatar for AndreRet
0
174
Member Avatar for satti

Dear friends iam making a vb program when i created splash screen and run the program splash screen run ok and next form with login pop up but when i enter my password to login on second form(FRMMAIN.frm) it give me error.when i remove splash screen it becomes ok again …

Software Development visual-basic
Member Avatar for AndreRet
0
240
Member Avatar for lxXTaCoXxl

Okay so I know practically nothing about creating mathematical applications in C++ but am trying to learn. Practically everything I search for isn't anything close to what I need. Basically, I need to lean how to make a calculator style app first before continuing on, however I can't find anyone …

Software Development c++
Member Avatar for pseudorandom21
0
282
Member Avatar for prettytonyshort

This is a homework assignment. I have the hardest time with arrays and I believe that is what is being a pain in my butt currently. I'm getting an argument null exception, which I believe is translating to "Tony you messed up another array." A jumping off point would be …

Software Development data-structure vb.net
Member Avatar for ndeniche
0
142

The End.