Ben Voigt's Q&A profile
Visual Studio Migrate a report created in Crystal Reports 9 into C# windows app
Is it possible to create a report using Crystal Reports 9 and implement it into my C# windows application I know I can create the reports in .NET, but the people who will be creating the reports do not have .NET and only have Crystal Reports 9 on their computers. Thanks In Advance Thanks Keith, Just so I am clear, All I have to do is in my .NET application point the Crystal Reports engine to the .rpt file ...Show All
Windows Forms Creating Arrays of Controls in the Designer
Hi, Before trying it, I thought I'd put this question to the group... I have 3 combo box controls, and I'd like them in an array (maybe I'll add one or two later on, for example) Now, the Windows Form Designer Code is 'untouchable', yet this would seem the only way I can achieve it. eg. private ComboBox combo1; private ComboBox combo2; private ComboBox combo3; If I could change this in the Code Editor, I would probably just ...Show All
Visual Basic VB6 upgrade to VB 2005 failure, could not find project file it created
Help me, oh wise one. I support applications in VB6 and VB2003, and I'm trying to upgrade the VB6 app to VB2005, so I have three versions of Visual Studio on my pc. I ran VS2005 and opened the VB6 app to launch the upgrade wizard. It seemed to run fine until it threw an error saying it could not find the project it just created. The project I'm trying to upgrade is called MGxFromSAP.vbp. The error said it could not find MGxFromSAP.vbproj. The ...Show All
Software Development for Windows Vista Problems with state persistence and timer services
Hi, I've experimented with adding the SQL state, timer and tracking services to the Lab1 sample step 4 (the expense report approval workflow). The tracking service works fine, but it seems that the state and timer services get the engine stuck on the ListenForManagerApproval activity. If I disable the state and timer services the workflow unfolds as expected. I use the (really cool) Workflow Monitor sample to view the results, and the progress ...Show All
SQL Server selections
here is my question the way our companies are setup are as follows company A is DatabaseA Company B is DatabaseB this was done to ensure company specific data. now i need to create a proc that runs through DatabaseA gets all the tables, creates DatabaseC and insert all the Tables,Procedures, and data when the user creates a new company in our software interface. if you could just help me cycle through the objects i can manage ...Show All
SQL Server Best Practice for retrieving last record
Hi there, very sorry if this is the wrong forum to post this in. I want to know what is the BEST practice, the correct Microsoft way of doing this: basically, lets say I am inserting a new record into SQL. simple customer record: firstname lastname address city postcode password dateOfRegistration (SQL has this value and the default value is the getdate()) That's all very well. I want to know how I can get the r ...Show All
SQL Server execute SQL task with in a For Each Loop
hi guys, i'm trying to do a bulk insert through a t-sql which accepts 3 params. i frist run a SQL statement to get a list of DB's to update through a SQL task, then i save the output to a variable object. which is been used by the For each loop. i've done the mapping with the object fine. but i want to call a SQL task within for each loop, and parse the above results as parameters. i tried parsing it as exec mysp3 @[User::fundid], @[ ...Show All
Windows Forms XML in Vb.net
Hi, I am writing a application in which I need to store some data. Now I have three option Windows Registry, ini file or XML to choose from I choose XML as it is New concept to me. Now when I try to make a XML document i got co ...Show All
SQL Server Error Executing Parallel SQL Tasks
I have three SQL tasks executing in parallel in an Integration Services package. +-B-+ A-+-C-+-E +-D-+ It starts with task A; then B, C, and D all execute in parallel; and finally task E runs after BCD are done. B, C, and D are all Execute SQL tasks, all with the same connection manager. Here is their code: B) SELECT CASE WHEN COUNT(*) = 0 THEN 0 ELSE 1 END AS Process FROM ...Show All
Visual Studio Problem building
I have been successfully using VS 2005 Beta 2 (VB.NET) for about a month now. Yesterday, I started getting the error: Error 5 Unable to copy file "obj\Debug\BO.dll" to "bin\Debug\BO.dll". The process cannot access the file 'bin\Debug\BO.dll' because it is being used by another process. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets 2274 9 This error does not occur the first time I build ...Show All
Software Development for Windows Vista Beta2 Installation problems
I am trying to install WWF Beta2 (in fact i have been since last Friday). Anyway i manage to load all the components until i attempt to install WWF beta 2 it fails with the message : " the following platform components failed to install and will need to be manually installed before setup can proceed: Windows Workflow Foundation: The installation source for the product is not available. Verify that the source exists and that you can acces ...Show All
Visual Studio VisualStudio.CommandBars
In Beta2, I am using the following code: Protected Shared mnuAbout As CommandBarControl Public Shared WithEvents mnuAboutHandler As CommandBarEvents 'EnvDTE.CommandBarEvents I get the menu created, but the menu handler event never fires. Private Shared Sub mnuAboutHandler_Click( ByVal CommandBarControl As Object , ByRef handled As Boolean , ByRef CancelDefault As Boolean ) Handles mnuAboutHandler.Click ...Show All
Visual Basic Controlling a Timer with an External Input
Hello, im writing a vb program that is a graphical user interface for a robot. When the robot starts up it sends a command to PC telling the gui to start a timer showing how long the robot has been running. The only problem is that the timer never enables, It goes through the decision statement and says it should execute, but never does ( i put break points in after the hthe line of code where I enable the timer, and it says the timer should be ...Show All
Visual C# c# a function if my service terminate by the task manager
hy there I have made a windows service in c# now you can not stop or pauze/resume the service but you can stop the service in the windows task manager. i want that if a user try to terminate my process(service) in the windows task manager that hi or she fill in a password end if its not good then that my service will continuo working or if its good then that my service will stop i cant figuring out wat i should do i'm sorry that my english ...Show All
Visual C++ inserted activex controll not visible
hi all i m using visual studio.net for mfc applications. i had inserted the activex conroll named microst forms label 2.0. when i run the application it is not visible. i checked its visible and enable properties which r true. AfxEnableControlContainer() is called and "#include <Afxdisp.h>" is done i tried to insert other controlls those are visible but this particular activex controll is not visible it gives no error. ...Show All
