|
what is the format of this type of time(integer)?
|
|
|
|
|
This should do the trick:
DateTime time = (new DateTime(1970, 1, 1)).AddSeconds(unixTime);
|
|
|
|
|
Thank you so much...it works....!
|
|
|
|
|
I want to add aplication on toolbar of IE. I need do?
|
|
|
|
|
You'd be writing an add in for IE. there's tons of help on how to do that, including articles here on cP
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi All,
I just got hired at a company that wants me to take code in PC-COBOL (I think that's what it's called although I am not 100% sure) that is from a mainframe they still have sitting around and port it to C#. Thing is, I've been spending all my time up til now in grad school for Astrophysics working with Perl and Linux and using Windows just to check my email.
I have a solid C++/Win32 programming background all the way up to Visual Studio 6.0 however I am rather raw and I have no clue about where to start in how to even set up my own laptop to program in .NET. Do I install IIS? I know I should put Visual Studio.NET on it, yet what next?
I guess I am starting from square one in a sense. And don't even mention COBOL. The only thing I know about COBOL is stories my parents told me about when they worked at Control Data in the '70's. Yet I am going to be working with this stuff five days a week now! And then porting it over to C# to boot.
Are there any recommendations for books, conferences, or trainings that would support me? Thanks in advance.
Sincerely Yours,
Brian Hart
Department of Physics and Astronomy
University of California, Irvine
|
|
|
|
|
HI, Brian,
Since reading this, I want to help you with my great effort.
I'm a .net developer in China, and I have two years experience of C# programming. The early I touched with C#, i found it very hard for me to get through, but things got better while I doing my work, which I mean that you should study C# till with some projects. That's a good way.
And if you want further infos about learning C#, I'm very appreciate for your reply. The mail is Dunbar.Cui at Gmail.com.
---------------------------------
Believe what you saw!
|
|
|
|
|
Why on earth did they hire you then ? I'm guessing the job sucks so bad that only you applied ?
Brian Hart wrote: Do I install IIS?
No, not unless you want to do web sites, that is what IIS is for.
C# as a language is syntactically very similar to C++, but it's a very different language ( garbage collected, for a start ). I'd recommend buying this[^], although it's out of date, it's a good place to start. Mainly all you need to know is that .NET 2.0 has generics, which means strongly typed containers. The other stuff, you can live without essentially.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hey, guys, maybe you have little misunderstanding of Client/Server.
So fars as I know, you just need to install Visual Studio 2005 with Windows Vista enhancement hotfix. And that's all for your winform applications.
And if you want to do the web developing, the IIS 7.0 is also needed on the Windows Vista.
Our working based on Windows Server 2003, Visual Studio 2005 and SQL Server 2005.
PS, I have one question: have you had any experience of C# programming ? ( I know you have other langugage programming exp)
---------------------------------
Believe what you saw!
|
|
|
|
|
Dunbar C wrote: And if you want to do the web developing, the IIS 7.0 is also needed on the Windows Vista.
Even that is not strictly true, there's a web server built in to VS2005.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: Even that is not strictly true, there's a web server built in to VS2005.
Hah, Thanks for your kindly figured out.
It's true you can VS2005 in-build web server to deploy your websites or web applications, but it has no configuration. It's just a simple web server provider and depends on the running VS2005.;P
---------------------------------
Believe what you saw!
|
|
|
|
|
U put u'r self in a very difficult condition..
try to learn COBOL first... get some book of it..
and then try to learn C#.net .....
may be this would help u out
|
|
|
|
|
I want to create chart report with crystalreport in C# winform,such as guntt chart.Is everyone has some demos relative to this motif?Will you please tell me how to do or give some websites?
Greate thanks!
By the way, it is the mid-autumn festival today,A important fetival in china!
wish you have a pleasant day today too!
abosulteness is nothing!
|
|
|
|
|
Hi,
I am a novice in Database programming. I have Open Office database Base installed on my system.
I want to know how to connect/retrieve/update data with this database.
Appreciate any samples/help.
Thanks in advance
D
-- modified at 0:16 Tuesday 25th September, 2007
|
|
|
|
|
Not sure, but this google search on openoffice and c#[^] might be worth looking at.
"Try asking what you want to know, rather than asking a question whose answer you know." - Christian Graus
|
|
|
|
|
i am working on a application using c# and sqlserver
how can i deploy my app so that the sqlserver and database and .net
automatically install on client computer and client does not get any access
on data base
shuaib
|
|
|
|
|
u need to install .net and sql separately..
otherwise the size of your package wiil bhi more than 1GB
and attach your db with sql server through scripts that will run while installing the application
|
|
|
|
|
how can i attach my db with sql server through scripts that will run while installing the application
please give me detailed steps or coding
|
|
|
|
|
hi,
i am new in crystal report
can any body tell me how can i dynamically give value to crystal report text object
monu_khan
|
|
|
|
|
private void button1_Click(object sender, System.EventArgs e)
{
System.Data.OleDb.OleDbDataReader myReader;
string CustomerString;
oleDbConnection1.Open();
myReader=oleDbCommand1.ExecuteReader();//"I get the error here "System.InvalidOperationException:No data exists for the row/column"
//But I just rechecked the data inside the Access database file and data is there.
try
{
//Retrieves the first and last names from Customers and
//concatenates them into a single string
CustomerString=myReader[1].ToString() + " " +
myReader[2].ToString();
//adds the string to the ListBox
listBox1.Items.Add(CustomerString);
}
catch(Exception e1)
{
MessageBox.Show(e1.ToString());
}
myReader.Close();
oleDbConnection1.Close();
}
|
|
|
|
|
T4AMD wrote: But I just rechecked the data inside the Access database file and data is there.
What data ? I mean, where is the code that defines a command to send to your database ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Registry Path=;Jet OLEDB:Database Locking Mode=1;Data Source="F:\Windows\Chapter6Solution\Chapter6Project\The Doughnut Shop.mdb";Mode=Share Deny None;Jet OLEDB:Engine Type=5;Provider="Microsoft.Jet.OLEDB.4.0";Jet OLEDB:System database=;Jet OLEDB:SFP=False;persist security info=False;Extended Properties=;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Create System Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;User ID=Admin;Jet OLEDB:Global Bulk Transactions=1
This is my code. This project is in .NET Framework 1.1 so this connectionstring is in the Properties retrieving data from Access Database
|
|
|
|
|
That's a connection string repeated over and over. I still don't see any SQL.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I don't see a query string in oleDbCommand1 . That might be your problem... Or is the query in the Properties somewheres?
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
SELECT * FROM Customers...This query for OleDBCommand1 is actually embedded in the properties
|
|
|
|