Okay, so if the answer for this question is out there somewhere (which I'm assuming it is), it's hiding between skads of tutorials on how to compile and use .dll's for normal use. I haven't quite figured out how to prune the responses I get, so I'll ask if anyone here has the answer I need while I continue to look.
The question is: is it possible to get output from a precompiled .dll during build time? I suppose output from an .exe would work as well, but I'm specifically wanting to call a .dll and include the output in the final executable itself, without actually including the .dll (this is for usage in a project in which the .dll does some encoding of data I want to be secured and hard-coded, so I'd prefer to leave the .dll out of the final project).
I know I can't give an answer, but the obfuscator I use allows for embedding three strings (labeled Application Name, User Name, and Serial Number but you could use them for anything) into the obfuscated program. You can then access those values from the program. If what you want to store is a relatively short string something like that might be an option.
That isn't quite what I was looking for. I ended up settling for writing a second application that writes the information I need to a text file, which I then embed into the main application. Not exactly the elegant solution I was looking for, but I guess if I can script it all together, it'll be ok.
I have Crystal XI release 2 installed on my pc. I want to use a crystalreports in a windows application.VS2005 comes with crystal components and I want to use these for the application. Will there be a license issue and any prerequisite and will I need to reference different dll’s? The client doesn’t want to pay an arm and leg and a license will be a big No.
Crystal Reports lets you create a distribution package for installation on other machines. Your clients will require the full application only if they need to create / modify the report files themselves.
If you develop code in VS2008 and use no external components, then there should be on additional licensing required.
If you use external components, the licensing required will be determined by that component's vendors.
How you choose to license the application is up to you.
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).