|
Sry man but i dun get it ,now ur confusing me. What do u mean by external components. Also i want to know how a there programs that are cross platform what IDE do they use to make them.
Do u know how to package a program to .exe
Thanks
|
|
|
|
|
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.
|
|
|
|
|
hi all,
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 #
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
You need to change:
CurrentDate.Date.AddDays(NumberOfDays)
to:
CurrentDate.AddDays(NumberOfDays)
Hope this helps.
|
|
|
|
|
Thanks a lot ,its work
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
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?
Regards.
suman
Imports System
Imports System.Data.SqlClient
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
con.Open()
str = "select * from customers"
da = New SqlDataAdapter(str, con)
da.Fill(ds, "customers")
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.Clear()
RV.LocalReport.DataSources.Add(New Microsoft.Reporting.WinForms.ReportDataSource("customers", ds.Tables(0)))
RV.DocumentMapCollapsed = True
Me.RV.RefreshReport()
End Sub
End Class
|
|
|
|
|
hi,
in place of statement
RV.LocalReport.DataSources.Add(New Microsoft.Reporting.WinForms.ReportDataSource("customers", ds.Tables(0)))
use following statement
RV.LocalReport.DataSources.Add(New Microsoft.Reporting.WinForms.ReportDataSource("Dataset1_customers", ds.Tables(0)))
hope this helps
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
sorry, didn't solve the problem.
|
|
|
|
|
suman,
then remove the following statement
ds.DataSetName = "customers"
hope this helps
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
Rupesh,
Sorry, couldn't solve the problem
Suman
|
|
|
|
|
You can use Dataset for Report Showing.
Regards
Anubhava Dimri
9250168195
anubhava.prodata@gmail.com
|
|
|
|
|
Hi,
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).
Thanks in advance for any responses.
Jay
|
|
|
|
|
I am using the following script to echo all members except 'Administrator'
in 'Administrators' group :
strComputer = "XYZCOMPUTER"
Set objGroup = GetObject("WinNT://" & strComputer & "/Administrators")
For Each objUser In objGroup.Members
If objUser.Name <> "Administrator" Then
Wscript.Echo objUser.Name
End If
Next
In a list of Administrators (In XP, accessible through Right click 'My
Computer' -> Manage -> Local Users and Groups -> Groups ->
Administrators (double click)), I've few entries like :
Administrator
user1
user2
xyzdom\user3
user3
user4
The above script echoes user3 twice.
I don't want the script to echo 'user3' for the entry xyzdom\user3.
How could the condition be specified/modified in the script ?
Thanks in advance.
|
|
|
|
|
Hi all,
I am trying to write a bit of code in VB.NET (2008) that will look inside a class and find all the public members, e.g.
Public Class User
public Name as string
public Dob as date
public Department as integer
(etc)
End Class
Is there a way for a subroutine to accept an instance of the class as an object, and query it for all these public items. I would search with google, but I dont know what to look for
Any help, or pointers would be much appreciated!
|
|
|
|
|
See [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Anyone got a version of that in English?
Tough reading, but I am sure it is what I need to get my head around to do what I want.
Thanks.
|
|
|
|
|
I am fairly new VB.NET but I believe that the Reflection class can achieve this. Somebody please correct me if I'm wrong, but inthe mean time you could try Google'in Reflection.
|
|
|
|
|
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
Donald Malunda
|
|
|
|
|
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.
|
|
|
|
|
How do I achieve this... say I have an array of bytes in my Java application.
Raises a HTTP connection to a server page say, Enroll.aspx.
I am doing a HTTP POST. I've got the data, but it's wrong somehow.
I think it's messed up the encoding or something.
Can someone advise on how to make this work? How would such a data structure be transmitted without modification?
|
|
|
|
|
Does it have to be a HTTP post? I think a better option would be an XML webservice.
|
|
|
|
|
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.
|
|
|
|
|
HI GUYS
can any body please tell me the importance of CSLA.net, should i use it or not ?
shoud i study it for my futur applications?
thanks in advance
hello
|
|
|
|
|
I have no idea what you're talking about. I'd say if you're aware of it, you probably should consider learning it.
Christian Graus
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?
|
|
|
|