Search Results

Showing results 1 to 40 of 699
Search took 0.09 seconds.
Search: Posts Made By: adatapost
Forum: Java 7 Days Ago
Replies: 3
Views: 201
Posted By adatapost
>Why use abstract classes at all?

Sometimes you may want to declare a class and yet not know how to define all of the methods that belong to that class.

For example, you may want to declare a...
Forum: C++ 7 Days Ago
Replies: 6
Views: 241
Posted By adatapost
>How can I determine the size of the file so that I can read
all of the data bytes in the file?

fs->Length property.

array<Byte>^ bb= gcnew array<Byte>(fs->Length);...
Forum: C# 7 Days Ago
Replies: 10
Views: 381
Posted By adatapost
Change the order of statements:

clientinfoCommandBuilder = new OleDbCommandBuilder(clientinfoDataAdapter);
clientinfoDataAdapter.Fill(clientinfoDataTable);
Forum: XML, XSLT and XPATH 7 Days Ago
Replies: 2
Views: 226
Posted By adatapost
Try this,

Dim feedXML As XDocument = XDocument.Load("c:\Feeds.xml")
Dim bubba = From Feedmain In feedXML.Descendants("Feed") _
Where (Feedmain.Attribute("status") Is...
Forum: C# 8 Days Ago
Replies: 2
Views: 229
Posted By adatapost
Use XPath,


XPathDocument dc = new XPathDocument(@"file.xml");
XPathNavigator nav = dc.CreateNavigator();

XPathNodeIterator i =...
Forum: VB.NET 11 Days Ago
Replies: 1
Views: 216
Posted By adatapost
Use WMI (http://msdn.microsoft.com/en-us/library/aa394582(VS.85).aspx). Take a look at this thread - http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/7356d3d8-8e08-4dc7-9c3c-8dde3dddd455
Forum: ASP.NET 12 Days Ago
Replies: 2
Views: 285
Posted By adatapost
Use this link - http://www.developerfusion.com/tools/convert/csharp-to-vb/


Dim photoStream As Stream = PhotoUpload.PostedFile.InputStream
Dim photoLength As Integer =...
Forum: VB.NET 12 Days Ago
Replies: 2
Views: 251
Posted By adatapost
Here is a common event handler,


.....
Private Sub EmnuExitMenu_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles EmnuExitMenu.MouseMove,...
Forum: VB.NET 12 Days Ago
Replies: 2
Views: 181
Posted By adatapost
>how to set an excel object to instance type?

Please try to be more specific. I think you want to create objects/instances of workbook, worksheet. Take a look at this article -...
Forum: Java 12 Days Ago
Replies: 1
Solved: search
Views: 267
Posted By adatapost
> am not famelier with this site and i dont know how to ask for help.

Please read member rules (http://www.daniweb.com/forums/faq.php?faq=daniweb_policies) and homework...
Forum: ASP.NET 12 Days Ago
Replies: 2
Views: 226
Posted By adatapost
Handle SelectedIndexChanged event and set AutoPostBack=true for DropDownList1.
Forum: PHP 12 Days Ago
Replies: 15
Views: 450
Posted By adatapost
You need to use DOM (http://php.net/manual/en/book.dom.php) api.
Forum: C# 12 Days Ago
Replies: 10
Views: 381
Posted By adatapost
Turn off AutoGenerateColumns property.

Take a look,


......
dataGridView1.AutoGenerateColumns = false;
DataGridViewTextBoxColumn c1 = new...
Forum: ASP.NET 13 Days Ago
Replies: 2
Views: 227
Posted By adatapost
Nested loop is a problem.


For i = 0 To 2
LabelArray(i).Text = word(i)
Next


or
Forum: ASP.NET 13 Days Ago
Replies: 3
Views: 289
Posted By adatapost
Property IsPostBack (http://msdn.microsoft.com/en-us/library/system.web.ui.page.ispostback.aspx) : It indicates whether the page is being rendered for the first time or is being loaded in response to...
Forum: VB.NET 13 Days Ago
Replies: 4
Views: 326
Posted By adatapost
Create a forumula field and use ChrW() to insert ASCII characters.


"Line1" + ChrW(13) + "Line2" + ChrW(13) + "Line3"


Make sure that your object Can Grow option is set to true.
Forum: VB.NET 14 Days Ago
Replies: 4
Views: 376
Posted By adatapost
You should have to use OwnerDraw listbox. Set DrawMode and handle DrawItem and MeasureItem event.

Here is a code snippet.

Dim data() As String = {"One" & vbCrLf & "Two", "Hello" & vbCrLf &...
Forum: Java 15 Days Ago
Replies: 2
Views: 294
Posted By adatapost
I think you might be aware of Globalization Development Kit (http://www.orafaq.com/node/21). Take a look at NLS FAQ (http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm).
Forum: ASP.NET 15 Days Ago
Replies: 2
Views: 301
Posted By adatapost
>So when i click login button, those 2 fields must be checked with database.

Use SQL Select statement with where clause.

>and if the information is correct it must login.

You have to use...
Forum: VB.NET 15 Days Ago
Replies: 2
Views: 323
Posted By adatapost
See this sample,


ListView1.Columns.Add("One")
ListView1.Columns.Add("Two")
ListView1.Columns.Add("Three")

Dim item As New ListViewItem("v1")
...
Forum: VB.NET 17 Days Ago
Replies: 4
Views: 376
Posted By adatapost
Try,

ListBox1.Items.Add(showAddress.DisplayAddress(vbCrLf))
Forum: VB.NET 17 Days Ago
Replies: 4
Views: 326
Posted By adatapost
Use CanGrow (http://www.crystalreportsbook.com/Crystal_Reports_XI.asp?Page=2_6) option.
Forum: VB.NET 18 Days Ago
Replies: 2
Views: 236
Posted By adatapost
Read error description - http://msdn.microsoft.com/en-us/library/cb8za975.aspx.
Forum: C# 19 Days Ago
Replies: 3
Views: 297
Posted By adatapost
Hi!,

I think your account doesn’t have enough privileges to create the ldb file. Please have a look at this link - http://support.microsoft.com/kb/251254/en-us
Forum: C# 24 Days Ago
Replies: 7
Views: 347
Posted By adatapost
Think about common event handler for buttons,

...
private void Form1_Load(object sender, EventArgs e)
{
button1.Click += new EventHandler(commonHandler);
...
Forum: ASP.NET 24 Days Ago
Replies: 2
Views: 408
Posted By adatapost
Store root relative into (daabase) table.

string dpath="~/Images/" + txtPrdId.Text.Trim() + ".jpg";


and use absolute path to save the uploaded file,

string ufile=MapPath("~/Images/" +...
Forum: C# 25 Days Ago
Replies: 2
Views: 358
Posted By adatapost
Subtract two dates.

DateTime d1 = DateTime.Parse("11/18/2009 18:15");
DateTime d2 = DateTime.Parse("11/25/2009 01:35");

TimeSpan ts = d2 - d1;
Console.WriteLine("Seconds : {0} Minutes...
Forum: VB.NET 25 Days Ago
Replies: 2
Views: 259
Posted By adatapost
Clear() method clears entire area of drawing surface and fill it specified background color.


GraphicsDisplay = pboGraphics.CreateGraphics
GraphicsDisplay.Clear(pboGraphics.BackColor)
Forum: C++ 25 Days Ago
Replies: 7
Views: 298
Posted By adatapost
Thanks Narue.
I really appreciate your help. I apologize for the inconvenience.
Forum: C++ 25 Days Ago
Replies: 7
Views: 298
Posted By adatapost
Qualify string identifier with std (http://www.parashift.com/c++-faq-lite/coding-standards.html#faq-27.5)


#include <iostream>

int main()
{
std::string firstName;
std::string lastName;...
Forum: C# 25 Days Ago
Replies: 5
Views: 396
Posted By adatapost
>I have a windows application that prints a record in a given page size.

I don't think there is a big problem with windows application. Use crystal report or microsoft report.
Forum: C# 25 Days Ago
Replies: 2
Views: 249
Posted By adatapost
I assume that the field data type of ssk_matrah field is float.

if (oku4.Read())
{
if(!oku4.IsDBNull(0)) {
nSSKMatrahi = oku4.GetDouble(0);
...
Forum: ASP.NET 26 Days Ago
Replies: 7
Views: 468
Posted By adatapost
ControlToValidate property,

<asp:ListBox ID="ListBox1" runat="server"></asp:ListBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
...
Forum: ASP.NET 26 Days Ago
Replies: 7
Views: 468
Posted By adatapost
Use RequiredFieldValidator.
Forum: C# 26 Days Ago
Replies: 8
Solved: Close Event
Views: 364
Posted By adatapost
>But do nothing.
I think FormClosing event is not handled properly. Add handler for Form's FormClosing event. (Look at property windows).
Forum: JSP 26 Days Ago
Replies: 1
Views: 422
Posted By adatapost
You may use the Commons fileupload (http://commons.apache.org/downloads/download_fileupload.cgi) package to upoad a file.
Forum: Java 27 Days Ago
Replies: 1
Views: 280
Posted By adatapost
Use split() method of String.


.....
String []items=null;
boolean found=false;
while (!found && (text = reader.readLine()) != null)
...
Forum: VB.NET 27 Days Ago
Replies: 1
Views: 225
Posted By adatapost
Use Controls collection,

TabControl1.TabPages("key or Index").Controls("key or index").Controls("key or index")
Forum: C 28 Days Ago
Replies: 6
Views: 551
Posted By adatapost
Hi,
Take a look at this article - http://linuxgazette.net/111/ramankutty.html
Forum: C 30 Days Ago
Replies: 5
Solved: char in c?
Views: 476
Posted By adatapost
In C language, char (http://en.wikipedia.org/wiki/Primitive_data_type#Characters_and_strings)value is stored in 1 byte. A char type may contain a single letter, digit, control character or special...
Showing results 1 to 40 of 699

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC