it sounds like you have very little programming experience judging by the questions you are asking. why not buy a programming book or get one from you library and have a read. or try wikipedia. i'd recommend learning java if youre wanting something that will run on a variety of operating systems. or if youre just wanting to write programs that run on microsoft windows why not download some of the visual studio express editions and learn from there.
i use following statement for increase the date value CurrentDate = CurrentDate.Date.AddDays(NumberOfDay)
above statement add the value of NumberOfDay variable to CurrentDate but also it time component is set to 12:00:00 AM"
for example, if before execution of above statement the value of CurrentDate is following #3/31/2007 5:35:13 PM#
then after execution of statement the value of Current date is following #3/30/2007 12:00:00 AM #
so how can i get the value #3/30/2007 5:35:13 PM# in place of #3/30/2007 12:00:00 AM #
When I am generating report using following code from reportviewer my reportviewer showing the following message.
'A data instance has not been supplied for the data source 'Dataset1_customers'.
Can any one solve the problem?
Public Class Form1
Dim con As New SqlConnection
Dim str As String
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim da As SqlDataAdapter
Dim ds As New DataSet
str = "Integrated Security=SSPI; User Id=sa;Initial Catalog=Northwind; Data Source = suman"
con.ConnectionString = str
str = "select * from customers"
da = New SqlDataAdapter(str, con)
ds.DataSetName = "customers"
RV.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Local
RV.LocalReport.ReportPath = "C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WindowsApplication4\WindowsApplication4\Report1.rdlc"
RV.LocalReport.DataSources.Add(New Microsoft.Reporting.WinForms.ReportDataSource("customers", ds.Tables(0)))
RV.DocumentMapCollapsed = True
How is authentication and authorisation through forms achieved in VB.NET? Are the membership classes available like in ASP.NET? If not, are there other resources available to facilitate role management or is it a manual process to manage users of Windows applications?
The application I'm developing is fairly standard, it's a CRM application which requires different levels of users, i.e. administrators, general users, super users etc. In ASP.NET I would have used the membership classes to handle this, however, I'm not sure whether these are available in VB.NET (I am new to VB.NET winforms BTW).
Hi I need to kwon how to build a message board using vb.net 2005/2008. I know there a lot of free samples but i just want to know what happens behind so that i can expand my knowlegde on how this is accomplished. If there's any article or link where i can learn how to do this i'll appreciate. Thanks
I'd say the best way to learn how one works is to study the source code of a good one. The best .NET one I know of is YetAnotherForum[^]. It's C# instead of VB but the logic behind it shouldn't be difficult to follow.
As probably a simpler example and as an article, you might want to see this[^]. That's an article describing the discussion board used on CodeProject.
I have DataGridView that had 2 column from master table and some column from detail table
I have comboBox od the one of the column from master I need by changing the value of combo the value of second column chenge
table 1 product : code , title
table 2 Order : quantity , size ...
i want to fill the title by chenging the value of combo(code)
how can i do that
please help me.
I have no idea what you're talking about. I'd say if you're aware of it, you probably should consider learning it.
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
In many other projects I've seen textboxes, say, where the very long string has been truncated with three dots added to show that it has been trimed - (This is a very long ...). I assumed this was a feature of .NET. It doesn't seem to be, though. Has anyone got any suggestions as to the best way of doing this?
Last Visit: 31-Dec-99 18:00 Last Update: 20-Jun-21 18:13