5,346 Posted Topics

Member Avatar for ermithun

ermithun, Never post source code without bb code tags. Your source code must be suddounded with BB code tags - [URL="http://www.daniweb.com/forums/announcement118-3.html"]Read - How to use BB code tags.[/URL]

Member Avatar for ermithun
0
121
Member Avatar for lotrsimp12345

lotrsimp12345. Some suggestions: 1. lastdigit must be char type. 2. Assign the value of num to the lastdigit variable at the bottom and inside the while loop. 3. Use char type loop counter variable. [CODE=C++] for(char a=lastdigit+1; a<num; a++) { number = number + a; } [/CODE]

Member Avatar for jackcppi2
0
292
Member Avatar for tomtetlaw

Resource - .rc/.resx is an xml file that contains bitmap, icon, cursor,data an application needs,menu and dialog box resources. Each resource is uniquely represented by a key (resource key).

Member Avatar for tomtetlaw
0
80
Member Avatar for ermithun

ermithun, Wrap up source code with BB code tags. Read this article - [URL="http://www.daniweb.com/forums/announcement118-3.html"]How to use BB code tags?[/URL] It's difficult to guess but as you said :- [QUOTE]i have a doubt on the following code snippet as this CPP code uses malloc function instead of new. can it be …

Member Avatar for Hiroshe
0
186
Member Avatar for Raza Najam

Welcome Raza Najam. Please read this rules: [URL="http://www.daniweb.com/forums/announcement118-2.html"]Homework policy.[/URL] [URL="http://www.daniweb.com/forums/announcement118-3.html"]How to post your questions?[/URL] To solve your problem: 1. open data file in read mode. 2. Read data from the file and store it into structure variable. 3. Close the data file. Show your code if you got any problem.

Member Avatar for Hiroshe
0
96
Member Avatar for ermithun

typedef specify a synonym for a type. You can use typedef declarations to construct shorter or more meaningful names for types already defined by the language or for types that you have defined. Read [URL="http://msdn.microsoft.com/en-us/library/05w82thz(VS.71).aspx"]http://msdn.microsoft.com/en-us/library/05w82thz(VS.71).aspx[/URL]

Member Avatar for ermithun
0
202
Member Avatar for madmital

Did you read this? 1. [URL="http://msdn.microsoft.com/en-us/library/zt27tfhy.aspx"]http://msdn.microsoft.com/en-us/library/zt27tfhy.aspx[/URL] 2. [URL="http://msdn.microsoft.com/en-us/library/bb398782.aspx"]Adding AJAX functionality to ASP.NET Controls.[/URL]

Member Avatar for madmital
0
298
Member Avatar for juser11

You should post your web question in JSP forum. However, use getRealPath() method of ServletContext to form a file path. You may also use Properties class for the same.

Member Avatar for kvprajapati
0
129
Member Avatar for tomtetlaw
Member Avatar for zeus1216gw

zeus1216gw, First, Your source code should be surrounded with bb code tags. Second, follow-up siddhant3s's post. daviddoria>I don't think you need this: #include "stdafx.h" -- OP uses Visual Studio - Visual C++. daviddoria>Another rule is that you should pretty much never use using namespace std; -- Don't put your own …

Member Avatar for nirav99
0
102
Member Avatar for manutd4life

Set Following properties: Form2 is a MDI Parent form so set [CODE=VB.NET] IsMdiContainer = True [/CODE] Form3 is Child [CODE=VB.NET] Form3.ControlBox = False Form3.MaximizeBox = False Form3.MinimizeBox = False Form3.MdiParent = Form2 ' or Me Form3.Show() [/CODE]

Member Avatar for kvprajapati
0
187
Member Avatar for crash1989
Member Avatar for jogisarge

Show your code. Use bb code tags - Wrap up source code with bb code tags. See # icon at toolbar.

Member Avatar for Ramy Mahrous
0
149
Member Avatar for painless

static method getSequencer() returns the default Sequencer, connected to a default device.

Member Avatar for painless
0
91
Member Avatar for paroshm

Wrap up source code with bb code tags. Read this [URL="http://www.daniweb.com/forums/announcement118-3.html"]How to use bb code tags?[/URL] [CODE=C] int po,to=0,mo=0, fl; for(po=0;po<127;po++) { .... } [/CODE]

Member Avatar for tux4life
0
131
Member Avatar for xyzt

Nested structure member initialization. [CODE=C] #include <stdio.h> struct test { char name[20]; int no; }; struct pop { struct test p; }; static struct test a={ .name="raj", .no=10 }; int main() { printf("\n%s %d",a.name,a.no); return 0; } [/CODE]

Member Avatar for tux4life
0
131
Member Avatar for madhurimonica

Welcome madhurimonica. >I am having a doubt that whether a dataset can updated directly from datagrid. DataGrid class instance represent the view/GUI and DataSet instance provides data (Model). So when you made changes in a cell of grid you chage the data of dataset.

Member Avatar for martonx
0
339
Member Avatar for madhurimonica
Member Avatar for kvprajapati
0
43
Member Avatar for shaikh_farahnaz
Member Avatar for manikandan_n84
Member Avatar for kvprajapati
0
112
Member Avatar for tgcngb

Welcome tgcngb. First read these [URL="http://www.daniweb.com/forums/announcement118-3.html"]How to use bb code tags?[/URL] [URL="http://www.daniweb.com/forums/announcement118-2.html"]About homework[/URL]

Member Avatar for kvprajapati
-1
73
Member Avatar for Tank50

Closing a window doesnot close or terminate an application. Problem shows that your main thread or main window form is still running with hidden state. However if you want to terminate an application handle the FormClosing event and add following: [CODE=C#] Application.Exti(); [/CODE]

Member Avatar for sknake
0
154
Member Avatar for dummy C#

Wrap up source code with BB code tags. Read this sample: [CODE=C#] DateTime dt; // if date is invalid DateTime.MinValue will be assigned to dt DateTime.TryParse(textBox1.Text, out dt); string q = ""; if (dt == DateTime.MinValue) { q = "select * from table1 where name like '" + textBox1.Text + …

Member Avatar for hijohncena
0
348
Member Avatar for sriups
Member Avatar for amarjeetsingh
0
1K
Member Avatar for Traicey

>I cant select rows on my datagrid.. Your data source might be empty or you disabled the datagrid or you haven't place select button. Which version of .net framework are you using? If you code then show us.

Member Avatar for nicky.23in
0
179
Member Avatar for pradeepptp
Member Avatar for blue72
0
77
Member Avatar for mana_panigrahi

Place some code - relevant to your question. Wrap up source code in bb code tag.

Member Avatar for mana_panigrahi
0
95
Member Avatar for rosy87

Welcome rosy87. This is your first post. Now listen carefully - Daniweb is a place where peoples are coming from different area of world to share their knowledge. Second, before you post any question or answer read [URL="http://www.daniweb.com/forums/announcement18-4.html"]Guideline : How to post?[/URL]. >Urgent: Asp.net help .. I want some asp.net …

Member Avatar for dnanetwork
0
124
Member Avatar for sarithak

sarithak, [QUOTE]sarithak said: Please solve this problem... [/QUOTE] Had you tried? Please show some works.

Member Avatar for sarithak
0
110
Member Avatar for EvilDavo

Never loose patience to learn the tiniest feature of a programming language. Only the practice taught you the principle of program design.

Member Avatar for EvilDavo
0
206
Member Avatar for FthrJACK

Checked property is Boolean type. VB.NET project uses a compiler settings - Option Strict = On/Off. If Strict is on then you can't assign value 1 or 0 to the Checked property. >update tries to save the checkbox values as "true" or "false" and not 0 or 1.. Update to …

Member Avatar for kvprajapati
0
3K
Member Avatar for manoj_582033

Do you want to setup a page? Open crystalreport .rpt file (in desing mode), right click on empty area and click on Design+Printer setup - choose paper size or choose custom size.

Member Avatar for kvprajapati
0
128
Member Avatar for SP IT

OP has another thread and a source code at post #7 belongs to this thread. [URL="http://www.daniweb.com/forums/thread200375.html"]http://www.daniweb.com/forums/thread200375.html[/URL]

Member Avatar for csurfer
0
119
Member Avatar for Eyo

Read this article [URL="http://blog.sqlauthority.com/2007/04/27/sql-server-2005-locking-hints-and-examples/"]http://blog.sqlauthority.com/2007/04/27/sql-server-2005-locking-hints-and-examples/[/URL]

Member Avatar for kvprajapati
0
116
Member Avatar for TobbeK

>1. How can I populate a listbox with columns with values from the input ? Create a collection of Aminal objects. For multi column list - use ListView Control. > 2. How can I use the abstract class to acheive that? Create subclasses of Animal.

Member Avatar for TobbeK
0
95
Member Avatar for xenon3000

>I'd like if it is possible get actually row of SqlDataSource1 that it's reading , It's possible?. What do you want say? Please, come again.

Member Avatar for IdanS
0
81
Member Avatar for kris4th

Little correction on tux's post. tux>This is already a big error: int result[3],item,*count=0; . You declare a pointer to an integer, correct till here, but what do you do then? Well, you assign a value to it, hmm, what could be wrong here? Assign 0 or NULL to the pointer …

Member Avatar for csurfer
0
129
Member Avatar for goangus

Paul, [CODE=SQL] select a.id,b.name,c.option from member a, member_details b and reg_options b where a.id=b.id and a.id=c.id [/CODE]

Member Avatar for kvprajapati
0
77
Member Avatar for somedude3488
Member Avatar for valinux

valinux, In your previous post; you said that you get a computer with WinXP. My suggestion is that you have to start C++ on windows operating system first. By the way, which c++ compiler you have?

Member Avatar for tux4life
0
169
Member Avatar for sam511

sam511, I think you tried to open a data file with an editor. There are two types of data file - Text and Binary. Show us your complete code. Don't forget; wrap up source code with BB code tags. Another post ? [URL="http://www.daniweb.com/forums/thread200229.html"]http://www.daniweb.com/forums/thread200229.html[/URL]

Member Avatar for kvprajapati
0
91
Member Avatar for yun
Member Avatar for VernonDozier

Two changes: Line # 182 [CODE=Java] if (framenumber < 0 || framenumber > numFrames) [/CODE] Line # 195 [CODE=Java] viewPanel.add (currentFrame, BorderLayout.CENTER); viewPanel.setComponentZOrder(currentFrame,0); viewPanel.repaint(); [/CODE]

Member Avatar for kvprajapati
0
3K
Member Avatar for sarithak

Keep Smiling....Never Depress. What happened to you? Why are you looking for the best source code? If you had develop a program without the help of anyone; I think this was the best source code. Use JQuery javascript library.

Member Avatar for mrcniceguy
0
161
Member Avatar for hotriver

The purpose of this method is to read a block (set of bytes). You may create 1GB block and repeat a read method four times.

Member Avatar for hotriver
0
107
Member Avatar for MasterGoGo

This statement must be inside the while loop. [CODE=Java] StringTokenizer st1 = new StringTokenizer (inputLine, ","); [/CODE] and if you want to represent each token as an element of Vector - Tokenize it. [CODE=Java] while ((inputLine = br.readLine()) != null) { StringTokenizer st1 = new StringTokenizer (inputLine, ","); while(st1.hasMoreTokens()) { …

Member Avatar for JamesCherrill
0
491
Member Avatar for choybutchoy
Member Avatar for choybutchoy
0
104
Member Avatar for bahr_alhalak

bahr_alhalak, This is your 43rd post and I think you have been quite familiar with the standard c/c++. Its pity. You are not serious and ignoring the community. Senior members are always right with their valuable comments & suggestions. Please be gentle.

Member Avatar for bahr_alhalak
0
225
Member Avatar for rbemiller

You are adding parameters on each iteration. Remove all the parameter instances from the parameter collection after the execution of ExecuteNonQuery statement.

Member Avatar for sknake
0
434
Member Avatar for sreeram01

Wrap up source code with BB code tags. see these: [URL="http://www.daniweb.com/forums/thread200141.html"]http://www.daniweb.com/forums/thread200141.html[/URL] [URL="http://www.daniweb.com/forums/thread199691.html"]http://www.daniweb.com/forums/thread199691.html[/URL]

Member Avatar for kvprajapati
0
860

The End.