Search:
Type: Posts; User: Thread1
Search:
Search took 0.63 seconds.
-
February 26th, 2009, 05:30 AM
Have you tried the System.Management (WMI)?
Event handler:
private void EventArrived(object source, EventArrivedEventArgs e)
{
// TODO
}
-
February 12th, 2009, 07:01 AM
i don't see any problem. by the way, if you have different kinds of objects in a layer you can group them into different base class. so it is okay to have more than one base class in a layer.
-
February 12th, 2009, 02:50 AM
i think it is a ByRef-parameter in the abstract Mother class constructor. since the argument is a reference type, specifying ByRef as pass type will make it a pointer to pointer to MotherParameters....
-
December 16th, 2008, 06:18 AM
^lol
echo "<a href=\"delete.php?file=$filename&folder=$folder\">$filename</a>";
-
December 16th, 2008, 06:03 AM
:D i think you should test it for different browser (i.e., firefox, opera, etc) though for i had encounter such thing that just because of an extra whitespace the "nextSibling" was affected.
-
December 16th, 2008, 05:38 AM
the ID of the element in your aspx file is not necessarily the ID in javascript, but rather the ID of your server control. ASP.NET assigns its own ID for every element in the page, and this ID which...
-
December 16th, 2008, 02:47 AM
you may use the control's ClientID property when in client-side..
document.getElementById('<%=myTextBox.ClientID%>').disabled = true;
hth
-
December 16th, 2008, 02:33 AM
yes, just specify the column name in your SELECt statement.
-
December 16th, 2008, 02:26 AM
you may use treeView1.Nodes.Find()
hth
-
December 16th, 2008, 02:19 AM
you can always use WMI, it is in the System.Management..
-
December 16th, 2008, 02:14 AM
private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
e.Handled = ((TextBox)sender).Text.IndexOf(e.KeyChar) != -1;
}
however you may...
-
December 16th, 2008, 01:55 AM
i think that's a normal behavior of the TreeView control. anyway, you can cheat it like this :D
private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
{
...
-
December 9th, 2008, 10:29 PM
sample vb code:
Dim dt As New DataTable()
Using cn As New OleDbConnection("<Connection string>")
cn.Open()
Using cm As OleDbCommand =...
-
December 9th, 2008, 10:04 PM
the node has a Tag property to store some information, you may use that to store the corresponding ID from your MDB.
hth
-
December 9th, 2008, 09:25 PM
you may use either of the following to persist your variables over submissions
1) Session object
2) Cache object
3) Hidden fields
4) Database
5) etc
but like what @cjard have said, it would...
-
December 9th, 2008, 07:54 AM
the registry thing sounds malicious to me. if you don't mind, where you going to use this app?
-
December 9th, 2008, 07:47 AM
try to run your application in debug mode and then step through each line of your code in the loop. you may use the watch window to inspect the variable contents when the error triggers.
i also...
-
December 9th, 2008, 07:37 AM
do you have primary keys on your tables? i would suggest to add primary keys to your tables. a primary key is a column or group of columns that uniquely identifies a record in a table. it will make...
-
December 9th, 2008, 07:22 AM
where are those empty records come from? anyway, instead of for-each try to use an index in a loop, don't increment the index if a record has been deleted inside the loop..
dim i as...
-
December 9th, 2008, 01:43 AM
there must be an error, it just doesn't show up because there is nothing in the catch block. try to put something in there, a message box i guess..
-
December 8th, 2008, 09:32 PM
welcome to the forum! :wave:
how does your previous script call this page?
-
December 8th, 2008, 07:51 AM
you may post some codes :)
-
December 8th, 2008, 07:36 AM
there is no SQL command that lets you create an empty database in MS Acess, unlike with the other databases. so I always include a blank MDB whenever my application needs to created a new Access...
-
December 8th, 2008, 07:25 AM
try to add IDENTITY to field's description:
ALTER TABLE [<table name>] ADD COLUMN [<column name>] INT IDENTITY;
string strDatabase = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source= " +...
-
December 5th, 2008, 07:40 AM
i think the "basic" now is different from the past.. It evolved :D
MessageBox.Show(String.Format("Hello your name is : My name is {0}. I am {1} year(s) old.", name, age))
|
Click Here to Expand Forum to Full Width
|