|
I've kind of come to that conclusion and implemented a solution to do that, thanks for the reply.
Simon Minich
|
|
|
|
|
How can i display search results in a windows form similar to the way it's displayed on MSDN library.
Thanks in advance.
|
|
|
|
|
You could format the results in HTML and use a web browser control to display them.
/ravi
|
|
|
|
|
I have data grid view with multiple colums and rows.In the datagrid view
every row there is a single buton.
my question is if user clicks this button of any rows randomly how the value of particular colum of corresponding rows can be picked up ???
i am using window application in c#.
can anyone guide me.
with regards
tarak
|
|
|
|
|
I'm not 100% sure that I fully understand your question, but taking a best guess, something like:
string columnValue = myDataGridView.Rows[myDataGridView.CurrentRow].Cells["nameOfTheColumn"].Value.ToString();
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
I am trying to find bias date in vb.net (not a system date )
is any function or code available plz reply.
|
|
|
|
|
Nitin Hanumant Kunjir wrote: bias date
Biased in what way?
|
|
|
|
|
Windows date/time is a direct reflection of the BIOS date/time. When Windos starts, it gets the date/time from the BIOS. When you change the date/time in Windows, it also updates the date/time in the BIOS.
So, you get the date/time using DateTime.Now() .
|
|
|
|
|
I'm sure this was asked before at least twice in the last week or two...
|
|
|
|
|
Do we have annotations in .net just like we have in java. Like in java we can create an annotation by creating an interface with @ "public @interface MyAnnotation" and then use them in our application.
Salman Sheikh
|
|
|
|
|
We have attributes in .NET. I don't know if these are exactly equivalent to Java annotations but they seem similar.
Kevin
|
|
|
|
|
Thankyou very much, I was just looking for a name I am sure this will halp. On code project, I have never been disappointed
Salman Sheikh
|
|
|
|
|
I have migrated from IIS V5.1(Windows XP) to IIS 6.0 (Windows 2003 with all the metabse & all the site content. After browsing one of the applications i am getting the below mentioned error message...
Error Message::Index was outside the bounds of the array.
Any help would be highly appreciated...
purvas
|
|
|
|
|
It means don't cross post here
only two letters away from being an asset
|
|
|
|
|
hey...
i m struck in a problem and dat is...
i have to feed data to nplot just by selecting data from text box..
my application work as when i select a particular item from the combo box
it fetches me data...now i have to fetch this data to nplot..to draw the graph
'If (ListBox1.SelectedIndex = 0) Then<br />
' ConnString = "server=(local);Trusted_Connection=yes;database=290208ran6"<br />
' sql = "select ORIG_CALL_SETUP_SUCCESS from ran6 where MSC_NAME = '" + ComboBox1.SelectedItem + "' and RCS_ID = '" + ComboBox2.SelectedItem + "' and SECTOR = '" + ComboBox3.SelectedItem + "'"<br />
' connection.ConnectionString = ConnString<br />
' connection.Open()<br />
' command = New SqlCommand(sql, connection)<br />
' dr = command.ExecuteReader()<br />
' MsgBox("connection")<br />
' Dim st As Decimal<br />
' Dim a As Integer<br />
' a = 0<br />
' While dr.Read()<br />
' a = a + 1<br />
' MsgBox(dr(0).ToString())<br />
' End While<br />
' MsgBox(a)<br />
' Dim grid As Grid = New Grid()<br />
' grid.VerticalGridType = grid.GridType.Coarse<br />
' grid.HorizontalGridType = grid.GridType.Coarse<br />
' grid.MajorGridPen = New Pen(Color.LightGray, 1.0F)<br />
<br />
' plotSurfaceBalance.Add(grid)<br />
' Dim stepBalance As LinePlot = New LinePlot()<br />
' stepBalance.Pen = New Pen(Color.Black, 2)<br />
' ' //Create a bar plot instance for the percent chart.<br />
' Dim barPercent As BarPlot = New BarPlot()<br />
' barPercent.FillBrush = NPlot.RectangleBrushes.Solid.Black<br />
<br />
' '//Create the lists from which to pull data.<br />
' Dim balanceAxis As List(Of DateTime) = New List(Of DateTime)<br />
' Dim percentAxis As List(Of DateTime) = New List(Of DateTime)<br />
' Dim balanceAmount As List(Of Decimal) = New List(Of Decimal)()<br />
' Dim percentAmount As List(Of Decimal) = New List(Of Decimal)()<br />
<br />
<br />
' '//The following code populates the lists above with data.<br />
' '//data sources such as a database to populate the lists.<br />
<br />
' Dim startDate As DateTime = New DateTime(2000, 1, 1)<br />
' Dim balanceValues As Decimal() = New Decimal() { _<br />
' st, 99.3, 98.4}<br />
' '
' For i As Integer = 0 To 30<br />
<br />
' balanceAxis.Add(startDate.AddDays(i))<br />
<br />
' Next<br />
<br />
' '//Populate the balanceAmount list.<br />
' For Each value As Decimal In balanceValues<br />
' balanceAmount.Add(value)<br />
' Next<br />
<br />
' Dim top As List(Of Decimal) = New List(Of Decimal)<br />
' Dim bottom As List(Of Decimal) = New List(Of Decimal)<br />
<br />
' '
' stepBalance.AbscissaData = balanceAxis<br />
' stepBalance.DataSource = balanceAmount<br />
<br />
' '
' plotSurfaceBalance.Add(stepBalance)<br />
<br />
' ' //Balance plot general settings.<br />
' plotSurfaceBalance.ShowCoordinates = True<br />
' plotSurfaceBalance.YAxis1.Label = ""<br />
' plotSurfaceBalance.YAxis1.LabelOffsetAbsolute = True<br />
' plotSurfaceBalance.YAxis1.LabelOffset = 30<br />
' plotSurfaceBalance.XAxis1.HideTickText = True<br />
' plotSurfaceBalance.Padding = 2<br />
<br />
' ' //Align percent plot axes.<br />
' Dim ax As DateTimeAxis = New DateTimeAxis(plotSurfaceBalance.XAxis1)<br />
' ax.HideTickText = False<br />
' ' //Refresh surfaces.<br />
' plotSurfaceBalance.Refresh()<br />
' connection.Close()<br />
' MsgBox("connection closed")<br />
this is the code...
sorry i m new to dis ..so i m nt dat gud in explaining
plz help me out in dis..and if u have any confusion in dis code..plz ask me..may b i m going wrong...
yes i m able to get data..in msg box but nt in nplot..
i have to link dat data in nlot..
modified on Saturday, July 11, 2009 7:35 AM
|
|
|
|
|
I have this weird problem that i can not seem to solve. I am playing a video in full screen mode using elecard player. After logging into the PC playing the video with VNC. The video does not seem to wanna play in full screen mode again. It opens in full screen mode but changess to smaller window in few seconds. Any help would be great. I am thinking it could be the video card drives. Possibly a problem with .Net 2.0 but, i am really not sure where to look anymore.
Scott
Scott Dolan
Jernie Corporation
Engineering & Manufacturing
Software, Hardware, & Enclosures
|
|
|
|
|
I'm trying to get my head around the mechanics of Install / Uninstall in the setup project. It seems to me that Installing a new project will uninstall the previous version completely, and install the new version.
This is a real pain as i only want to update the application, and would really like to do it without removing all the existing files that are installed, and without prompting the user to choose where to install the application again.
I can't figure out a way around this besides using an external install builder, and i'd really like to avoid that if possible.
-------------------------------
Carrier Bags - 21st Century Tumbleweed.
|
|
|
|
|
On individual files in Setup projects there is a "Permanent" property that specifies whether or not a file is to be removed when an application is uninstalled, not sure if this helps you or not.
If you're only looking to update some specific files perhaps you can create another setup project that does only that?
To avoid prompting for an installation directory twice, write the path to the registry when the original program is initially installed using a custom installer action. Your update could pick it up from there, and know where to copy the updated files.
|
|
|
|
|
If I'm understanding you right, you are trying to get rid of the dialog that pops up telling the user to uninstall the existing version before installing this version.
If thats right, I had a similar problem not to long ago. The solution is simple just increment the version number on your installer and make sure the following properties are set on your Setup project;
- DetectNewerInstalledVersion = true
- RemovePreviousVersions = true
As far as the removing files that are in the directory, like Jack suggested, if you are installing the files and you want them to remain, flag them as Permanent. If the files are created from your app, such as backups or error logs, when you uninstall the application it will leave those files there by default.
If at first you don't succeed ... post it on The Code Project and Pray.
|
|
|
|
|
Hi All,
I wanted to know that is this possible to installed Visual Studio 2003, Visual Studio 2005 & Visual Studio 2008 all together.
System Information.
Windows XP SP2
1 GB RAM
200 GB Hard drive
Currently I have Visual Studio 2003 and 2005 I want to installed 2008 as well, If i installed VS-2008 then it will corrupts my previous version or not?
Please reply...
Thanks
Raj
|
|
|
|
|
Hi,
AFAIK you can install all VS versions next to each other; I have two regularly, never wanted more. There are two potential problems:
1. the one installed last will steal the file association, so double-clicking say a .cs file will open that VS version.
2. newer versions tend to convert project files to newer formats that older versions do not understand, so you will have to keep the projects well apart.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
2005 and 2008 run fine together so I'd assume that if 2003 works along side 2005 then adding 2008 should be fine.
|
|
|
|
|
I have all three on my system. As I installed them when they were released (approximately), they were installed oldest-first, which is what I recommend you to do.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
|