|
Can anyone tell me a way, or give me a class, that will allow me to handle Complex numbers, i.e. square roots of negative numbers. If it's important, I am using the Visual Basic 2005 Express Edition. Also, if relevant, I am trying to program the general solution to a cubic polynomial. I only started learning VB four days ago and have, as such, limited experience, so any help is hugely appreciated.
|
|
|
|
|
Hopefully this article here can give you a head start (It is in C# though)
http://msdn2.microsoft.com/en-us/library/6fbs5e2h.aspx
|
|
|
|
|
Thanks for the link, really appreciate the help. Only problem is that, as I started programming last Saturday, I don't really have the know how to translate what's there to VB. If anyone has any VB links, particularly ones that are designed to explain how to program a class or function in the first place, I would be eternally grateful.
|
|
|
|
|
I run my vb.net windows application that has crystal report in a pc it runs perfectly well and i am able to see the reports , but when i take setup of the application and run in same pc i get error "load report failed".
I have added the following to setup project
atl.msm
Crystal_Database_Access2003.msm
Crystal_Database_Access2003_enu.msm
Crystal_Managed2003.msm
Crystal_regwiz2003.msm
CrystalReports10_NET_EmbeddedReporting.msm
VC_User_ATL71_RTL_X86_---.msm
VC_User_CRT71_RTL_X86_---.msm
VC_User_STL71_RTL_X86_---.msm
apphelp.dll
msado25.tlb
I have added the following references
CrystalDecisions.CrystalReports.Engine
CrystalDecisions.ReportAppServer.ClientDoc
CrystalDecisions.ReportSource
CrystalDecisions.Shared
i am also adding
the reports ,
source files from "Project Name" and
primary output from "Project Name"
I don't understand what could be the problem as i am using the same pc.
If any of you know the solution do tell me.
Thanks in advance,
sarah
-- modified at 11:06 Tuesday 9th May, 2006
|
|
|
|
|
Don't really know that much about Crystal, but I've seen this problem a lot. Usually affects older operating systems (Win 98/ME/NT) in my experience, and is down to a missing DBGHELP.DLL file.
Visit:
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=CD1FC4B2-0885-47F4-AF45-7FD5E14DB6C0
to see if this helps.
|
|
|
|
|
hi,
can anybody help me how to export crystal report from vb in pdf format.
plz help me.
|
|
|
|
|
are you using WindowsApp or WebApp??
|
|
|
|
|
i am using windowsapp
means their are 3-4 formats in which i am able to send the report but in pdf it's not.
|
|
|
|
|
I am having problems with pseudocode and flow chart. Also very confusing is the DSD DIAGRAMS.with UML diagrams i also need som help
Eleazer Okoto
|
|
|
|
|
|
hi all,
actually i dont know much about VB.Net and i use some converstion techniques to convert C# codes into VB ...
i have the lines below :
...
Dim PD As PrintDocument = New PrintDocument
PD.PrintPage += New PrintPageEventHandler(PrintDocument1_PrintPage)
Dim pdiyalog As PrintDialog = New PrintDialog
...
i get these two errors because of the lines above :
Error 1 'Public Event PrintPage(sender As Object, e As System.Drawing.Printing.PrintPageEventArgs)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event.
Error 2 'System.Drawing.Printing.PrintPageEventHandler' is a delegate type and requires a single 'addressof' expression as the only argument to the constructor.
how can i modify the VB.NET codes above so as not to get errors above ?
help please ...
|
|
|
|
|
|
I have a function which check for the folder size.
When i run this function through a window application it runs fine for a network folder.
Butr when i run it from a window service then it gives me "Access Denied" error on the same folder as i used in window app.
Any clu why is this happening?
|
|
|
|
|
web service uses ASP.Net user. So your ASP.Net user must have admin rights on the system.
Regards
Rizwan Bashir
|
|
|
|
|
This is the Q.
What diff it makes for executing the same code from a win app and from a win service.
even if it does how do i make sure that win service has sufficient privilidges ( one way is when insatalling through admin account)
|
|
|
|
|
I am sorry in one go I read this as Web Service instead of window service. well for window service there is no difference. until unless you mentioned the user name in the service who will run it. Like go to services in control panel and then right click on any service and see properties then on second tab you can see the log on information. and check who has the previlage to work on the service. this is some thing which you can configure while building the setup . so define admin user and it will never create any problem.
Ans for your question :
Executing same code is run under the previlage of logged on User. and service will run under the defined user in the services as explained above.
Regards
Rizwan Bashir
|
|
|
|
|
Hello, can any one tell me the ways to access the common dialog conrol in application?.. it shows error while using the common dialog conrol. Is it means that the error occurs while installing the .NET pack? or else what i have to do for rectifying the error.
Thanks
with regards,
K.Vijaya
|
|
|
|
|
Error Summary:
Could not load file or assembly 'CrystalDecisions.Windiwos.forms, Version=10.2.3600.0 ..."
Hello friends
We upgraded recently from Visual Studio 2003 to 2005; every thing was fine until upgrade.
After upgradation our deployed project does not run reports. This is a scenario.
We have designed reports in CRystal Report XI and just calling these reports from Visual Basic .net 2005 with the Crystal Report Viewer (CrystalDecisions.Windows.Forms version 10.2.3600.0).
When I make a setup to delpoy the application, on the client machine when I click on Print button to view/Print the reports following error occurs;
Could not load file or assembly 'CrystalDecisions.Windiwos.forms, Version=10.2.3600.0, ..."
This is quite famous error I found on the internet, and as all suggested I discovered that Visual Studio 2005 should have CR XI R2 a compatible upgrade of CR XI. Allright I downloaded CR XI R2, uninstall CR XI and installed CR XI R2.
When try to make the setup, oops could not find merge module for Visual Studio 2005 in merge module directory, (I was expecting this merge module should have installed with CR XI R2) any way I again downloaded merge module from the busiinessobject "cr_net_2005_mergemodules_mlb_x86.zip", extrected that and copied in C:\Prog. files\Common Files\MergeModule\ and included this merge module with the Setup; oh no again same problem.
All Right now I search again on internet and found no I should have some other merge module which is "crXIr2_net_merge_modules.zip" this Zip file contains 3 msm files CrystalReports11_5_maps.msm; CrystalReports11_5_NET.msm; CrystalReports11_5_NET_2005.msm.
I included all togather problem not solved;
I included CrystalReports11_5_NET.msm seperately problem not solved
I included CrystalReports11_5_NET_2005.msm seperately problem not solved.
What a joy ride ...
Can any one direct me the right direction to get rid of this problem.
|
|
|
|
|
Hi everyone..
i need help, actully i'm doing a project that using vb and communicate with bar code reader..
Actually im doing tacking system.. can somecody help me solve my problem??
areon25
|
|
|
|
|
Dear Friends,
I want to know 'bout the connection string of Oracle in Visual Basic.
Your answers will be appreciable...
|
|
|
|
|
|
To Mr. Sathish S ..
Thanks sir..I've gone through your reply...it helped me....i want to get in touch with you, in future ....
your' sincerely
Ritesh
Software Developer
VB6
-- modified at 3:08 Tuesday 9th May, 2006
|
|
|
|
|
Hello everyone,
I have two windows forms, form1 has a close button that I would like to use to close not only form1 but also form2 at the same time if form2 is open. Is there a way to do this cause I cannot find anything that can help me with this?
|
|
|
|
|
On Click event of your Close button do this
Application.Exit()
|
|
|
|
|
Oh, on your button click event, you do all those things.
me.close
form2.close
this will close two forms and will leave other running forms,if you have any.
kagiso
|
|
|
|