|
Thanks HTG... I will give this a try with the application I'm trying to run and will see how it goes.
|
|
|
|
|
I wonder if anyone has had the same problem I am having at the moment.
I have a form with a tab object with a collection of 5 tab pages.
For this example, say the tabs are A, B, C, D, E
They are all in the correct order but when I run the application they are appearing as ;
A, B, D, E, C
I close the form and they are in this order,
A, B, D, E, C
I make the changes to be back as
A, B, C, D, E
Save the form and run again, they are back to
A, B, D, E, C
I have tried closing down VB.Net and doing as above but with no success.
Help me please before I pull out what is remaining of my hair.
|
|
|
|
|
I'm developing an application through LAN, when I use Insert, Delete functions on Server they'are ok but use them on Client they'are fail, so tell me the way how i do? The application is developed by SQL 2000 and VB.net
|
|
|
|
|
cayoaihuong84 wrote: when I use Insert, Delete functions on Server they'are ok but use them on Client they'are fail, so tell me the way how i do?
What do you mean by "fail"? What is the error message you are getting? What code are you using?
|
|
|
|
|
Hi all
Plz help me ;
i work in vb 6.0
i want to change a color of perticular cell in Hierachical FlexGrid Control 6.0
or bold a perticular cell
|
|
|
|
|
Hello Sinchan Nikam!
This :
Private Sub Grid_Click()
Dim i as Integer
With Grid
.Row = .MouseRow
For i = 1 to .cols-1
.Col = i
.CellBackColor = RGB(255,0,0 ) 'red
Next
End Grid
End Sub
Will highlight an entire Flexgrid Row in Red. Note here Grid is the name of the FlexGrid.
To change only one cell's color, I think it's obvious by now, that you need to use the .CellBackColor property
Hope it helps!
Always remember to play araound with example supplied - you'll be amazed at what you'll learn!
H T G
|
|
|
|
|
I really wonder why viewing report using crystal report in vb 2005 is very slow. It is not good if it is slow to crystal report.
Is there any solution with this? Is there any other kind of report that is better?
|
|
|
|
|
Hi,
I m working with vb.net 2005 and crystal report 10 .the time to load crystal report is very high.it takes a minute to load a simple report.
the code i used given below.
if anyone know to solve this problem, please give me reply.
Dim repDoc As New ReportDocument
Dim subRepDoc As New ReportDocument
Dim crSections As Sections
Dim crSection As Section
Dim crReportObjects As ReportObjects
Dim crReportObject As ReportObject
Dim crSubreportObject As SubreportObject
Dim crDatabase As Database
Dim crTables As Tables
Dim crTable As Table
Dim crLogOnInfo As TableLogOnInfo
Dim crConnInfo As New ConnectionInfo
repDoc.Load(CrystalStrReport) 'Report path
crDatabase = repDoc.Database
crTables = crDatabase.Tables
For Each crTable In crTables
With crConnInfo
.ServerName = "Server"
.DatabaseName = "Sample"
.UserID = "sa"
.Password = "abcd"
End With
crLogOnInfo = crTable.LogOnInfo
crLogOnInfo.ConnectionInfo = crConnInfo
crTable.ApplyLogOnInfo(crLogOnInfo)
Next
crTable.Location = "Sample" & ".dbo." & crTable.Location.Substring(crTable.Location.LastIndexOf(".") + 1)
crSections = repDoc.ReportDefinition.Sections
CrystalReportViewer1.ReportSource = repDoc
CrystalReportViewer1.Show()
Gopakumar
|
|
|
|
|
how to add combobox in listview.very urgent.
|
|
|
|
|
Does anyone have an examples/ideas about how to format data using a datagrid in VB Net - maybe its not possible to do this with a simple data grid
My data comes from two tables w multiple records for the same id number and name. I don't want to keep repeating id and name fields
It comes out like this in the datagrid:
ID1 Name1 data group1 (several fields)
ID1 Name1 data group2 (several fields)
ID1 Name1 data group3 (several fields)
ID1 Name1 data group4 (several fields)
ID1 Name1 data group5 (several fields)
ID2 Name2 data group1 (several fields)
ID2 Name2 data group2 (several fields)
etc
I'd want to look something like this:
ID1 Name1 data group1 (several fields) data group2 (several fields) data group3 (fields) etc
ID2 Name2 data group1 (several fields) data group2 (several fields) data group3 (fields) etc
ID3 Name3 data group1 (several fields) data group2 (several fields) data group3 (fields) etc
OR maybe like this
ID1 Name1
data group1
data group 2
data group 3
data group 4
etc
ID2 Name 2
data group1
data group 2
data group 3
data group 4
etc
Thanks
|
|
|
|
|
It looks like Pivot Table...
I don't know if Datagrid Control in VB can does.
How about this.. you unbound your datagrid with your datasource..
You will create several collection/array to act as buffer/dataset for your data
Then you will put that data into datagrid cell like the way you want to.
It make sense?
|
|
|
|
|
Hi everyone!
I need put the splash scree to programme,which display infront some few minitues whenever start the programme.Can anyone help for this,its better if someone give me to any example codings or guid web site
Thanks
|
|
|
|
|
putting a splash screen that runs for a few minutes; don't you think a few seconds will do? the program users will get 'bored' if they have to wait for the minutes evry time they run the programme. go through some human interface design notes.
Regards,
Hesbon.
|
|
|
|
|
thank u
can u some example codings to me,bcouz if i put the splash scree its not running when i'm run the prgramme shold i use any coding for that?
|
|
|
|
|
Well, to have a splash screen, best practise in my opinion is to have a Sub Main procedure in a seperate Module. (You add a module to your project, by clicking Project - > Add Module...). You will also need to add another form, to be used as a Splash Screen.
Once in your Module Type something similar to :
Public Sub Main()
Dim fSplash As New frmSplash
fSplash.ShowDialog()
Application.Run(New Form1)
End Sub
And This is the coding for the Spalsh Screen Form (frmSplash)
Private Sub frmSplash_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Timer1.Interval = 3000 ' Approx. 3 Seconds.
Timer1.Enabled = True
End Sub
Private Sub frmSplash_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Click
Me.Close() ' Close when the Splash Screen is Clicked
End Sub
Private Sub Timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Timer1.Enabled = False
Me.Close() ' Close the Splash Screen after the time has elapsed
End Sub
That should give you quite a good idea on what to do. Now, the rest is up to you!
HTG
|
|
|
|
|
Yes it's working thank you very much.But how can i put any picture to splash screen.
|
|
|
|
|
It's a pleasure.
How do you mean get a different picture ¿
Like, do you want it on the form ¿ If that's the case, you must select the BackgroundImage Property of the SplashScreen and browse for your picture you want to use.
Just a note: You may not see the image in the design window on your form, only once you run it, you'll see the picture.
|
|
|
|
|
how to implement a for loop in visual basic
actually i want to run a reverse loop ie.
eg.in c it could br written as for(i=4;i>=1;i--)
plssssssssssss help
namy
|
|
|
|
|
For variable= .. to ... step -1
(..)
Next
|
|
|
|
|
Hello,
I'm wondering if it is possible to clear individual session("variables")??
Googling, looked on msdn, can't find...
Please help!
(please note: individual session variables! It's easy to drop em all, but I need to empty some in some cases)
|
|
|
|
|
You can just set it to nothing.
|
|
|
|
|
But it will still exist,
and if you have 10000 users with each session variables.....
I need a way to completely drop SOME of those session variables when i choose.
-- modified at 6:20 Tuesday 1st August, 2006
|
|
|
|
|
try this Session.Contents.Remove()
|
|
|
|
|
I am using Outlook express to read all the mails in the inbox.How can i know the connecting url of my outlook express.
Thanks in advance.
Regards
Anuradha
|
|
|
|
|
how to use functional keys as shortcut keys to open a form in vb
|
|
|
|