|
ya in ide so any other source to have the look & feel like it ? & where is this LISTBAR control i cant find it in 2005
DJ
|
|
|
|
|
dinudj4u_dinu wrote: so any other source to have the look & feel like it
Sure - lots of people sell custom libraries that emulate MS look and feel.
dinudj4u_dinu wrote: where is this LISTBAR control i cant find it in 2005
What is a listbar ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
i Read about this listbar control in vb.net in this code project site which gives the look of outlook control i.e on left side of ide if u c the buttons with images on which u click & u get details like inbox outbox etc..
DJ
|
|
|
|
|
OK, I just googled. If you'd read the sites, they are either offering that control as a free download, or offering to sell it to you ( I guess the name has been used by a few different people ). Which is exactly what I said to start with.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
check this link m sorry its not in this site
http://www.vbaccelerator.com/home/net/code/controls/ListBar/Button_List_Bar/article.asp
DJ
|
|
|
|
|
Looks like the first link I found with google. So, what are you waiting for ? Download the control, follow the article, and add it to your project.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
do u c any download link or anything ... ?
DJ
|
|
|
|
|
This[^] one has downloads, the other one looks like it hoped you'd actually read it
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Thank boss check this link a nice tab control
http://www.codeproject.com/cs/miscctrl/MagicTabControl.asp
BYE take care
DJ
|
|
|
|
|
you will have to create a dll which can read your own type of file or a common data base sort of and store information about different servers and the connection paramaters
Belive me it works i have connected different types of forms through different databases with one common file as a connection manager.
You can even store information based on the user's accessibility and needs dynamically.
Regards
Dixon
|
|
|
|
|
in my project i need to open a word doc which contain tabel and images in a rich text box control or in any other control
mail me at rajesh.batchu@cesltd.com
|
|
|
|
|
well - you can't. You can use Word as a control, but you can't open a doc on a PC that doesn't have Word installed.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
hi
how to give condition in application folder in setup and deployment in vb.net.
one more things is if that conditon is true then setup project will continue
otherwise instalation should terminate with out instalation.
thanks
mani
|
|
|
|
|
How do I connect to my SQL database using vb .net? My database name is Test and it is on my local machine.
my connection veriable is myConnection. I must use this also to open the database.
Please help
|
|
|
|
|
try this code
Public conTest As New SqlConnection
Public Function getConnection() As SqlClient.SqlConnection
If conTest.State = ConnectionState.Closed Then
conPMS.ConnectionString = "data source=" & Machine Name & ";initial catalog=Test;password="";persist security info=false;user id=sa;workstation id=Machine Name;packet size=4096"
End if
Prakash
|
|
|
|
|
Hi,newbee question,using VB net(2005). I have this form which has 10 TextBox being fill by a DataSet, up to here everything is fine except for 2 TextBox that are not showing currency, i try this code Me.txtCostPrice.Text = Format(Me.txtCostPrice.Text, "currency, $###.00") but it does not work. Help would be highly appreciated, Thank you
|
|
|
|
|
You can use a MaskedTextBox to set this sort of format up.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
How can i write vb.net project to work as "teleport pro" tool that can download directory and all files in that directory from path of an website
p/s: teleport pro is good dowloader it can download files, directory ... from url, path of an website
|
|
|
|
|
You won't be able to download all the files from just any website. The server has to allow you to do that, like enabling browsing the folers so you can get the file names. Otherwise, you're limited to just parsing and following links on every page to download only the files the site exposes to you.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi all,
I have a clickable row ("Dept.Name") in a datagrid. When someone click the dept.name, it should trigger a select query from other table and display all the data that has the same dept.name. How can do that? At the moment, the row is clickable but has no function yet.
Thanx in advance..
|
|
|
|
|
I'm assuming VB.NET 2005 here...
You can handle either the DataGridView's CurrentCellChanged or SelectionChanged events to do what you want. You can then either check the DGV's .SelectedRows property or .SelectedCells to get the ID of the record you'll need to look up in the database.
An example looks something like this:
Private Sub DGV1_CurrentCellChanged(blah, blah) Handles DGV1.CurrentCellChanged
With DGV1
If .SelectedCells.Count > 0 Then
Debug.WriteLine(.Rows(.SelectedCells(0).RowIndex).Cells("columnName").Value.ToString())
' Once you have to Primary key ID of the row you want, execute a query
' to grab that record and do what you want with it.
End If
End With
End Sub
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I want to display remote log files through a vb.net 1.1 winform app. As these files will be coming across the wire, I want to optimize the retrieval. I believe seeking and reading the "new portion" since the last refresh will help. In testing this theory, I immediately noticed that I have another problem: displaying 190,000 lines in a textbox (txt.Text = LargeDataString) takes about 16 seconds, which seems a bit slow. In fact, adding just one line to that textbox takes an additional 16 seconds (txt.Text = txt.Text + vbcrlf + "additional line". Adding 190,000 entries to a listview: disaster! Forget it!
I had hoped to support indivual columns, but at this point I can live with a text box-like control if I can find one that's faster. Does anyone have any recommendations? Perhaps a virtual grid or something? Is there a free virtual grid out there? I don't think the data grid out of the box supports that.
Thanks.
|
|
|
|
|
I'm thying to find a range between two times. if the system time is within this time then error. Can any one help me in the coding to find the range?
silver-gray
|
|
|
|
|
|
I am having difficulty getting the underlying SQL data to update when a change is made to the datagrid. The change is made using a combobox, and allows the proper selection of 1 of the 3 choices, but I can't seem to get the syntax/code right to update the table. Here is my current code:
Public Sub comboControl_SelectedValueChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles comboControl.SelectedValueChanged
grdVW_AllOpen(hitTestGrid.Row, hitTestGrid.Column) = comboControl.Text
Dim sc1 As New SqlCommand
Dim sCnnStr As String
sCnnStr = "Data Source=" & SQL_SERVER & ";Initial Catalog=" & DATABASE & ";User id=" & USER_ID & ";Password=" & PWD
Dim sqlConn As New SqlConnection(sCnnStr)
sc1.Connection = sqlConn
sc1.CommandType = CommandType.Text
sc1.CommandText = "UPDATE dbo.Chits_Backup SET Status = '" & comboControl.Text & "'" & ", LastName = @LastName, FirstName = @FirstName, DateofRequest = @DateofRequest, FromDate = @FromDate, ToDate = @ToDate, Days = @Days, NatureofRequest = @NatureofRequest WHERE ID = @ID"
Dim cmd As New SqlClient.SqlCommand(sc1.CommandText)
'Create the sql command object and set its command type to execute the sql query to get the results
sc1.Parameters.Add("@Status", SqlDbType.NVarChar, 50, "Status").Value = comboControl.Text
sc1.Parameters.Add("@LastName", SqlDbType.NVarChar, 50, "LastName").Value = "@LastName"
sc1.Parameters.Add("@FirstName", SqlDbType.NVarChar, 50, "FirstName").Value = "@FirstName"
sc1.Parameters.Add("@DateofRequest", SqlDbType.NVarChar, 50, "DateofRequest").Value = "@DateofRequest"
sc1.Parameters.Add("@FromDate", SqlDbType.DateTime, 8, "FromDate").Value = "@FromDate"
sc1.Parameters.Add("@ToDate", SqlDbType.DateTime, 8, "ToDate").Value = "@ToDate"
sc1.Parameters.Add("@Days", SqlDbType.NVarChar, 50, "Days").Value = "@Days"
sc1.Parameters.Add("@NatureofRequest", SqlDbType.NVarChar, 50, "NatureofRequest").Value = "@NatureofRequest"
Dim myParm2 As SqlParameter = sc1.Parameters.Add("@ID", SqlDbType.Int, 4, "ID")
myParm2.SourceVersion = DataRowVersion.Original
sqlConn.Open()
Try
sc1.ExecuteNonQuery()
Catch ex As SqlException
MsgBox(ex.Message().ToString())
End Try
sqlConn.Close()
I know it has to do with the handling of variables, but can't narrow it down.
Thank you,
LWhite
LWhite
|
|
|
|