5,346 Posted Topics
Re: 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] | |
Re: 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] | |
Re: 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). | |
Re: 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 … | |
Re: 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. | |
Re: 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] | |
Re: 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] | |
Re: 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. | |
Re: 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 … | |
Re: 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] | |
Re: Result truncated. [CODE=C++] tmp=tmp*i; [/CODE] Use, long long tmp; | |
Re: Show your code. Use bb code tags - Wrap up source code with bb code tags. See # icon at toolbar. | |
Re: static method getSequencer() returns the default Sequencer, connected to a default device. | |
Re: 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] | |
Re: 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] | |
Re: 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. | |
Re: Use [CODE=SQL] create table sample ( testdate datetime ) [/CODE] | |
Re: You should post your problem in VB 4/5/6 forum. | |
Re: 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] | |
Re: 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] | |
Re: 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 + … | |
Re: Can I see you code please? Start to code and post your problems. Definitely, we will help you. | |
Re: >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. | |
Re: pradeeppptp>using which java api's we can do this task. Java mail api. | |
Re: Place some code - relevant to your question. Wrap up source code in bb code tag. | |
Re: 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 … | |
Re: sarithak, [QUOTE]sarithak said: Please solve this problem... [/QUOTE] Had you tried? Please show some works. | |
Re: Never loose patience to learn the tiniest feature of a programming language. Only the practice taught you the principle of program design. | |
Re: 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 … | |
Re: 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. | |
Re: 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] | |
Re: 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] | |
Re: >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. | |
Re: >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. | |
Re: 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 … | |
Re: 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] | |
Re: 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? | |
Re: 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] | |
Re: Find the length of file. Divide the length of file by size of an object. | |
Re: 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] | |
Re: 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. | |
Re: 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. | |
Re: 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()) { … | |
| |
Re: 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. | |
Re: You are adding parameters on each iteration. Remove all the parameter instances from the parameter collection after the execution of ExecuteNonQuery statement. | |
Re: 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] |
The End.