|
|
rockxuyenmandem wrote: i don't know how to do hikhik
I don't know if I do, as I have no clue what it is.
---
b { font-weight: normal; }
|
|
|
|
|
To be a good programmer you must work hard.
Learn, learn and learn :->
Best regards, Alexey.
|
|
|
|
|
rockxuyenmandem wrote: This is my examination, i don't know how to do hikhik, I am newbie Please help me, thanks a lot.
I think it is fair to say that if you cannot pass your exam on your own then you are not going to get very far in the work place. You must learn how to do this otherwise the rest of your course is going to just get more and more difficult.
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)
My: Website | Blog
|
|
|
|
|
This is a c++ faq, but the element is completely relevant nonetheless.
http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.2
|
|
|
|
|
Is it possible to change a java applet in C# Windows Form Application(or ASP.NET) without rewriting all code?
|
|
|
|
|
You will have to rewrite the sectiosn that have different syntrax. And change API calls.
--------------------------------------------------------
My development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Hi:
I am working with DirectX.Capture application in visual studio .NET 2003 IDE and coding in c#, now i have error and the can't load form but no other error in build project(coding).
The Error is:
Unhandled Exception: OutOfMemoryException.
The program '[1812] CaptureTest.exe' has exited with code 0 (0x0
zzz:
ranandbe
-- modified at 1:08 Friday 28th April, 2006
|
|
|
|
|
you need more RAM. Most likely you have som repetion statement that dosn't exit giving you the exception when it has run for some time
How terrible is wisdom when it brings no profit to the wise
|
|
|
|
|
I'm finally starting on C#.
Something I haven't had success with so far is reading/writing a table with the following XML format into a Hashtable object. (at this point in time the reading is the priority)
<br />
<table><br />
<item key="testkey">key value</item><br />
<item key="testkey2">key value2</item><br />
<item key="testkey3">key value3</item><br />
</table><br />
Both the key and the value are strings.
Any suggestions will be most welcome.
Happy programming!!
-- modified at 0:51 Friday 28th April, 2006
|
|
|
|
|
Put the xml in an XmlDocument object. The items will be the nodes in the child nodes collection of DocumentElement.
---
b { font-weight: normal; }
|
|
|
|
|
Hello everyone,
I'm creating program for File Monitoring using "FileSystemWatcher" class. The purpose is for notifying user with message box whenever there was some folder/file creation.
My question is how can we know about the author/owner of a new file/folder?
Renata
|
|
|
|
|
How do you mean ? If it's a word doc or something, it may have some metadata you can examine, otherwise, the only info that windows has is who was logged in when they created it, which would be at the moment you get your message. So, 'you just created a folder' is the best you can do, I'd have thought.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi, is there any way to get index/indices of a row where the content of a column is as specified. For example, the following table named "employee" contains 3 columns with 4 datarows.
[employee]
(emp_id)•(emp_name)•(salary)
00001 Johan 30000
00002 Joseph 35000
00003 Jack 28000
00004 Jane 32000
I'd like to find the index of a row where emp_name is "Joseph". Is there any way to get it? I've tried to use IndexOf() method to get it but it asks for a datarow as its parameter which i don't even know where it is in the table -_-"
DataTable dt = ds.Tables["employee"];
int i = dt.Rows.IndexOf(); <-- don't know what to put here.
Thank you so much.
KiT
|
|
|
|
|
<br />
DataTable dt=ds.Tables["employee"];<br />
DataRow[] arr=dt.Select("emp_name='Joseph'");<br />
textBox1.Text=arr[0].ItemArray["emp_id"].ToString();<br />
Worth noting, if you have several persons named Joseph you simply can not take the first one.
To obtain uniqueness it is better to work with the id-column.
HTH
|
|
|
|
|
hi everyone,
i'm developing an application that will work like a web service. my problem is I don't know how to generate an http chunked response correctly. on the http chunked response, i'm getting a wrong size for my data size or chunk size. so i'm not sending the whole message. please advice :*(
|
|
|
|
|
I am using OleDBConnection to connect Access97 file. While connecting using wizard and clicking on testconnection button it shows an error "MSysAccounts table cannot open"
How can i connect to Access97 by OleDbConnection
Thanks In advance
Panal
|
|
|
|
|
<code>
string ms_connection = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\somepath\mydb.mdb;User Id=admin;Password=;";
OleDbConnection mc_connection = new OleDbConnection(ms_connection);
string ms_sql = "select * from table";
OleDbCommand mc_command = new OleDbCommand(ms_sql, mc_connection);
OleDbDataReader rReader = mc_command.ExecuteReader();
rReader.Read();
</code>
or words to that effect
Web design and hosting
http://www.kayess.com.au
-- modified at 8:15 Friday 28th April, 2006
|
|
|
|
|
Hello,
Here is the code snippet that I am strucked at in converting a C# file to VB.NET. Can some one please help me here?
[DataObjectMethod(DataObjectMethodType.Select, true)]
static public List<roledata> GetRoles()
{
return GetRoles(null, false);
}
Thanks
-L
|
|
|
|
|
http://www.ragingsmurf.com/vbcsharpconverter.aspx[^]
<dataobjectmethod(dataobjectmethodtype.select, true)=""> _
Shared Public Function GetRoles() As List
Return GetRoles(Nothing,False)
End Function
'----------------------------------------------------------------
' Converted from C# to VB .NET using CSharpToVBConverter(1.2).
' Developed by: Kamal Patel (http://www.KamalPatel.net)
'----------------------------------------------------------------
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Our Instant VB C# to VB converter produces:
<dataobjectmethod(dataobjectmethodtype.select, true)=""> _
Public Shared Function GetRoles() As List
Return GetRoles(Nothing, False)
End Function
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C# to C++ converter and VB to C++ converter
Instant J#: VB to J# converter
Clear VB: Cleans up VB.NET code
Clear C#: Cleans up C# code
|
|
|
|
|
The attribute gets converted also, but this forum removes it due to its xml-like format:
"<dataobjectmethod(dataobjectmethodtype.select, true)=""> _"
I thought Christian's on-line converter omitted it, but it was also obviously the forum ...
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C# to C++ converter and VB to C++ converter
Instant J#: VB to J# converter
Clear VB: Cleans up VB.NET code
Clear C#: Cleans up C# code
|
|
|
|
|
Wow - you can't even enter that format within a string literal - this should really be fixed.
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C# to C++ converter and VB to C++ converter
Instant J#: VB to J# converter
Clear VB: Cleans up VB.NET code
Clear C#: Cleans up C# code
|
|
|
|
|
Hi i was wondering if someone could help me with converting a string to a boolean so i can do an if statement.
what i'm wanting to do is like:
if (textbox4.text = "true")
{
}
but it gives me an error
thanks for you help in advance!
Don't be overcome by evil, but overcome evil with good
|
|
|
|
|
You need to have two = signs if you are comparing:
if(textBox4.Text == "true")
{
}
You can use bool.Parse() if you need to convert a string to a boolean:
<code>bool myBool = bool.Parse("true");</code>
Sean
|
|
|
|