|
From what I can see from a look on their roadmap, everything (?) is up to 1.1, and most of 2.0 is implemented in most of the parts.
Anyhow, unless you have some very specific needs, it should be fully usable.
---
single minded; short sighted; long gone;
|
|
|
|
|
Please don't crosspost.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 would say at this point .NET is not platform independant, but has the protential of being so.
Steve Jowett
-------------------------
Sometimes a man who deserves to be looked down upon because he is a fool, is only despised only because he is an 'I.T. Consultant'
|
|
|
|
|
The .NET Framework is Microsoft's implementation of the Common Language Infrastructure specifications. Mono is a Linux implementation of the CLI, that also models itself after the .NET Framework.
Other than that, I don't know of any other implementations. Though anyone is free to implement their version of the CLI on any platform they choose.
|
|
|
|
|
can in add textboxes only in the first cell of datagridview?
I have four rows in the datagriddview.
|
|
|
|
|
You should add textboxes as you adding images in the datagridview
|
|
|
|
|
The textboxes do not appear as blinking cursors in the textboxes at runtime ?
Thet behave like labels . even readonlky property is false.
How can i make the the cursor to blink in the textboxes at runtime?
|
|
|
|
|
Of course you can do this.. just put a textbox into the grid during design time, and hide it during the form_load. write the code to make it visible, during runtime, when you click on the first column of the datagrid..
you must add the code to adjust the size of the textbox inorder to make it look like a cell in the datagrid..
The name is Sandeep
|
|
|
|
|
I am using the following code
Private Sub dg1_CellClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dg1.CellClick<br />
If (e.ColumnIndex = 2) Then<br />
TextBox1.Visible = True<br />
TextBox1.Left = 42<br />
TextBox1.Top = 19 * (Me.dg1.CurrentCell.RowIndex + 1)<br />
<br />
TextBox1.Height = dg1.CurrentRow.Cells(0).Size.Height<br />
TextBox1.Width = dg1.CurrentRow.Cells(0).Size.Width<br />
End If<br />
End Sub
as the row index increases , the coordinates flaws increases.
|
|
|
|
|
i was trying to add an image in the datagridview
i am using the following code
Dim column As DataGridViewColumn = New DataGridViewImageColumn<br />
column.HeaderText = "Image"<br />
dg1.Columns.Add(column)<br />
For count As Integer = 0 To dg1.RowCount - 1<br />
dg1.Rows(count).Cells(2).Value = Application.StartupPath & "\untitled.jpg"<br />
Next
I am doing right ??????????????????
|
|
|
|
|
Is this in ASP.NET ? No, that's obviously not right ( or you wouldn't be asking... ). You'd need to put an img tag with this path into the row, otherwise you're just showing the path to the image.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Hello Christian Sir,
I am using Window Application.I wanted to add the image in the third column of every row.I mentioned the code.Was not that right? Can u provide some rectification to show the image in the datagridview.
|
|
|
|
|
OK, then you're really lost. It seems like every day you're working on something else, does this stuff all actually coexist in a project somewhere ?
The cell needs to contain a control which shows an image, such as a picturebox. There are articles on CP from people who would know more about this than me, but my first port of call would be to add a picture box to the cells controls collection, and put my image in that.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
In an application I'm working on I've written my own custom error log class which logs errors with the required information. What I'm wanting to do is limit the file to a certain size (yet to be determined), once it reaches that set size I want to start a new file (eg ErrorLog1.txt, ErrorLog2.txt, etc). I've done some research into this and just havent found much to help. Anyone got any ideas?
" In the next millennium there are two kinds of business, those on the Internet and those out of business"
Bill Gates
"Be nice to nerds. Chances are you'll end up working for one."
Bill Gates
"Let's face it, the average computer user has the brain of a Spider Monkey."
Bill Gates
|
|
|
|
|
Hi,
It sounds like a reasonably easy process, and I am guessing that you were merely trying to put elegance before effectiveness when you researched the idea.
As you are talking about an error log, we may assume that you will not be writing data to the log in a continuous stream, but only then when an error occurs. (If errors occur continuously, you might want to think about changing your app so it doesn't create so many errors)
So write your code along these steps:
1. an error occurs
2. check whether the file ErrorLog1.txt exists
3. If it exists, check its size. (size can be hard coded, or you can allow the user to set the size.)
- if the size has reached the determined point, create a new file:
- check the number at the end of the existing file
- that number += 1
- concatenate the name and the new number to form the new ErrorLog file (ErrorLog2.txt)
- write the error to the new file.
4. If the size has not reached the determined point yet, write the error to the file
5. go to step 1
You can build in a margin if you want the files to specifically remain under the determined size.
Good luck,
Johan
My advice is free, and you may get what you paid for.
|
|
|
|
|
John,
Thanks for the info, and yes I was looking for elegance over effectiveness. Maybe I was over-tired, hell I don't know, but somehow I overlooked the .FileSize attribute of the FileInfo class (guess when looking too hard for something you overlook the obvious).
This application does not continually write to the file, in fact through the last 5 months of development and monthly releases my file size is just a tad bit over 100k, but what I don't want is 5 years from now (or even longer) to have to sort through a 3 GB file (thought I am currently working on an Admin screen when I can load the text file contents into something like a DataGridView, ListView, or maybe my own created custom control so we don't always have to open the text file and read it).
The file size will in fact be hard coded in the application (I don't feel comfortable letting non-computer savvy people pick the file size.
Once again, thanks for the input and ideas.
"Okay, I give up: which is NOT a real programming language????"
Michael Bergman
"Well yes, it is an Integer, but it's a metrosexual Integer. For all we know, under all that hair gel it could be a Boolean."
Tom Welch
"Let's face it, the average computer user has the brain of a Spider Monkey."
Bill Gates
|
|
|
|
|
Hi,
Feel free to use this bit of code to dump the contents of your log file into a listbox. (no guarantees, no warranty)
<br />
Private Sub CmdLoad_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CmdLoad.Click<br />
If File.Exists("log.txt") = False Then File.Create("log.txt")<br />
Dim sr As StreamReader = New StreamReader("log.txt")<br />
Dim line As String<br />
LineCounter = 0<br />
Do<br />
line = sr.ReadLine()<br />
ListBox.Items.Add(line)<br />
Loop Until line Is Nothing<br />
sr.Close()<br />
End Sub<br />
and this bit to empty out only the selected items:
<br />
Private Sub CmdClearLog_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CmdClearLog.Click<br />
Dim ic As Integer<br />
Try<br />
ic = LB_Errors.SelectedItems.Count<br />
Do<br />
LB_Errors.Items.Remove(LB_Errors.SelectedItems.Item(ic - 1))<br />
ic -= 1<br />
Loop Until ic = 0<br />
Catch Ex As Exception<br />
MsgBox(Ex.Message)<br />
End Try<br />
End Sub<br />
As for "Where's the any key?"-users, you could catch that risk by hard coding a top and a bottom limit, for example with a trackbar.
Hope it helps,
Johan
My advice is free, and you may get what you paid for.
|
|
|
|
|
I have a project to do titled
"TEXT TO SPEECH IN HINDI"
so could anyone pls guide me as to how should i start for that
pls help me out in following the right steps to start working on that
Thanks
Jatin
|
|
|
|
|
Hey we could not able to Understand what you say.
Please be specific while you are posting the question?
Regards,
Satips.
|
|
|
|
|
I mean to say how should i start doing this thing
some tutorial to follow
I want to start from scratch
so guide me through the steps to be followed
|
|
|
|
|
You have replied to CG that you have an Idea. What Idea do you have reg this.
Let me know it in detail.
Regards,
Satips.
|
|
|
|
|
Get a microphone, and record yourself saying every Hindi word.
Seriously, why have you taken a project if you have no idea how to do it ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 have an idea how to do it
but i just wanted to know more details about it
i mean to say let me know abt some tutorial where i can read through it
|
|
|
|
|
I can't imagine there are any web tutorials on how to do this from scratch. What's your idea ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 have used microsoft speech library for
text to speech
but that is in built feature
now i have to it in hindi
i mean it should now speak in hindi
how will i do it
|
|
|
|