War59312's Q&A profile
Visual Basic problem with arraylist Is this a bug?
Hi all is the following a bug or something i misunderstood PopulateList1 the array list will take on the last value updated PopulateList2 worked but is this the correct way Note the location of " Dim TempData As New Data" with the two sub please advice Public Class Form1 Private ArrayList1 As New ArrayList() Private Sub Button1_Click( ByVal sender As Syste ...Show All
Windows Forms Will Someone Help Me Please.....
I have use Miscrosoft Visual Basic to make a Userform...I wanna know how to publish it and make it and how to make a command button send me the info on the page via email....and how to makeeach command button say something. Example"not&nbs ...Show All
Visual Studio Express Editions Compile to Native
I am using VCEE and am trying to create a dll using /clr, can this be done I get an error... StationFormat.obj : fatal error LNK1306: DLL entry point "public: class System::String ^ __clrcall StationFormat::stnFrmt::toStnFrmt(double,int)" ( toStnFrmt@stnFrmt@StationFormat@@$$FQAMP$AAVString@System@@NH@Z) cannot be managed; compile to native Can I compile to native You can create both managed an ...Show All
Windows Forms Open a file that is already opened by another app in readonly mode
I have a vb.net app that imports a csv file created in Excel. Very often the users forget to close the Excel app and get the following error message in my vb app: An unhandled exception of type 'System.IO.IOException' occurred in mscorlib.dll Addit ...Show All
SQL Server Associating Report Viewer (without UI) with Data Set
Hello all - I am looking to use the ReportViewer Control to automatically print out some client based reports. I started with the "Print a report from a console app" sample from http://www.gotreportviewer.com/ . I have managed to convert an existing server based report from an RDL to an RDLC, and added it to my Console Project with VB.NET. In addition, I created a new Data Set within this project that returns the data from the or ...Show All
Visual Studio Team System Deleting Work Items
Hi, I've come to the conclusion that Wor Items aren't to be deleted. However if someone creates one mistakenly what should be the correct approach I mean should it be closed with a cut reason Luis Change its state, then have the queiries not show workitems with that state. By default, the Agile process template that come with TFS is configured that way for workitems that are marked as 'Closed' ...Show All
Visual Studio Data sources don't update nicely
It's sort of a bug. In VB2005 RTM, I'm adding fields to the datasource that is used for the main report. After refreshing the list of fields in the Data Sources Window, the fields do not sort nicely in the expression builder for fields on the report and they are in the same incorrect order in the intellisense dropdown in the designer. The new fields appear at the bottom of the list of fields although they appear sorted in the Data Sources Window ...Show All
Visual Studio Express Editions Create a new database programatically?
Is it possible to create a new SQL Express database progamatically from VB Express It is easy enough from the IDE, but I want to determine the schema dynamically based on user input. I have not found this discussed in Help or other articles. Can anyone point me in the right direction Thanks, --Mable Couldn't you just send DDL, i.e. Create Table xxxx &nb ...Show All
SQL Server What is necessary to create SDF-Files on desktop legally?
I want to write a PC application that prepares a SQL Server Mobile Files (.SDF) and sends it to a PocketPC. I get this error message: "SQL Mobile usage is restricted on this platform. To use SQL Mobile, you must install SQL Server 2005, Visual Studio 2005, or the Tablet PC SKU" If I install "SQL Server 2005 Express" the error message disappears and everything works fine. Question: Is it allowed to create SDF-Files if "SQL Server 2005 Express" ...Show All
Visual C# Apps for Non-framework users
Hi. I'm been thinking of making a couple of small applikations using C# and dotnet mostly cause i want to and the language seems interesting But i have a question i'd like to have awnsered. The machines the apps ar going to be used on don't have the space for the framework but i can squeeze in one or two simple apps. So is there a way to make an application so that the needed dll files and whatNot are all gathered together and ready to ...Show All
Visual Studio Express Editions How do I create command line software that works in MS-DOS mode?
Hi, I was wondering why the console app that I made works in the MS-DOS prompt under Windows, but doesn't work under MS-DOS mode, when booting from an emergency disk. Any ideas Any application you make in Visual Basic Express requires the 2.0 .NET Framework which unfortunately is far too large to be able to run from most emergency disks. To add insult to injury though the framework also ties into Windows in such a way that some sort of Win ...Show All
Visual Studio subreport links
Hello all, I have a report with a subreport. I added a subreport link which links to a database field on the main report and a parameter field on the subreport. When I run the report, I set the database logon for the main report which got everything ok. However, I am prompted to enter the value for the subreport link. Is this the default behavior Why would I need to set the value for the linked field when it is linked to the main report's d ...Show All
.NET Development "Transport-level error" using .Net Beta2
Hey, When I run the following code, I get the error: A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) The code is: cnxn.Open() adptDeathMechanisms.Update(tblDeathMechanisms) adptCases.Update(tblCases) cnxn.Close() The error occurs when executing adptCases.Update(tblCases). The connection is fine...that is proved by the fact ...Show All
Visual Studio Team System Reports fails with TFS beta 3 refresh
TFS Beta 3 Refresh. I have just installed TFS beta 3 refresh on a clean machine and and successfully created a new project (TestProject1). When accessing the portal site the four reporting web parts all have something similar to this: An error has occurred during report processing. (rsProcessingAborted) Query execution failed for data set 'dsIterationParam'. (rsErrorExecutingCommand) The Team System cube either does not exist or has n ...Show All
Visual Basic compiling and running code at runtime
I've seen it done in c# where you can import and run c# code in files at runtime. Is there a way to do this in visual basic Sure. http://msdn2.microsoft.com/en-us/library/microsoft.visualbasic.vbcodeprovider(VS.80).aspx has an example that can compile either C# or VB code. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnadvnet/html/vbnet10082002.asp has an example on how to load assemblies and execute code from 'em. ...Show All
