Kmc85's Q&A profile
Windows Forms MDI from troubles
Hello, I have an application that uses an MDI parent form that pops up an MDI child which allows a user to open up various modal forms to perform processing. If the user wants to quit, he has two ways to do so: He can either close the MDI child first and then close the MDI parent, or he can close the MDI parent which should clo ...Show All
Visual Studio Express Editions VB E E 2005 and MySQL
Can i use VB express edition to manipulate data in a remote mysql dataabase JGWingfield wrote: Mattyo - Please post if this works. The Express Editions (except for VWD) are only supposed to support local data connections. That is definitely the case with SQL Server but I haven't tried with any other DB. Curious to know what happens. Thanks. Hi, Yes, this is quite accurate. But limitations is only imposed on the Developement Environment. There's no limitatoin if your accessing through code... cheers, Paul June A. Domag ...Show All
.NET Development ODBC .Net Data provider Is it still an Add-in for 2005?
In the previous version of Visual Studio, one had to download the .Net data provider for ODBC. Is that still the case for VS 2005 I haven't been able to find documentation concerning that...the ODBC connection class documentation mentions the data provider, but doesn't say of it is the .net version or not.... advTHANKSance The Oracle client is not included with the .NET Framework. This is Oracle software. ...Show All
.NET Development Binding a dropdown listbox
Im trying to bind a dropdown listbox with a table in SQL Server 7.0. Whenerver i use this code , i get value: "System.Data.Common.dbDataRecord". Following is my code : Sub Page_Load() Dim strSqlCities as String = "Select city from city" Dim strConnection as String = "server=Maxood;database=watal;user id=sa;password=;" Dim objConn as New SqlConnection(strConnection) Dim Cmd as New SqlCommand(strSqlCities,objConn) objConn.Open() cbocity.DataSource =Cmd.ExecuteReader(System.Data.CommandBehavior.CloseConnection) cbocity.DataBind() &nb ...Show All
Visual Basic How to get computer names on the network
I want to populate all computer names available on the network in a listbox in vb .net 2005. Please if any one knows how to do it tell me. Hi, Last post of this thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=215715&SiteID=1 has the code. Add a reference to System.DirectoryServices to your project and imports System.DirectoryServices in your code file. Best regards, ...Show All
SQL Server SQL 2005 Express on Server 2k3 Enterprise
After a few failed installs I have gotten SQL2k5Exp installed. I have update my .net and my XML. I had the server running fine for about a week. The server still 'runs' fine, but when I connect to it with Server managment studio express I can't do anything with it. It will not allow me to expand the 'System Databases' It gives the error: "Failed to retrieve data for this request. (Microsoft.SqlServer.Express.SmoEnum) Additional information: An exception occured while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Express.ConnectionInfo) A transport-level error has occurred when receiving result ...Show All
Windows Forms Save position in DataGridView after refreshing
I have DatagridView on a form. When user click to save changes I save tham and then re-red data agin to reflect latets updates from database. Question how I can return pintor on current record after refreshing Otherwise user clicj save and find himself on first row of DataGridView. It is really annoyning scrol to old position especially on big table Thanks here we go http://www.dotnet247.com/247reference/msgs/12/62294.aspx just one thing from me this sample create NEW connection to exceture set arithabort on BUT you shoul do it though the SAME connection so here is my sample which works perfect for ...Show All
Windows Forms Save images in Database Or File
hi there , i am developing an application using VB.net which save some images for later use. I want to know which way is wiser(has more performance);to save images in database or in file thanks thanks chris. ...Show All
Visual Studio Tools for Office Exporting data from Crystal Report to Excel
Hi, I'm exporting data from Crystal Report to Excel. When I export I'm not able to see the borders, hence I'm using Excel namespace for showing border lines, the following is the code I'm using in the Web Application: using Excel; string workbookPath = "c:/SomeWorkBook.xls"; ExportOptions export = new ExportOptions(); DiskFileDestinationOptions ex = new DiskFileDestinationOptions(); ex.DiskFileName=workbookpath; export.DestinationOptions = ex; ReportDocument.Export(); Excel.Application excelApp = new Excel.ApplicationClass(); // Creates a new Excel Application excelApp.Visible = true ; // Makes Excel visible to the user. ...Show All
Visual Studio Team System App Tier - Error 32000 - setupwarehouse.log
I cannot install Application Tier (Dual-Server deployment). Everything made exactly like described in the newest Installation Guide (April). Clean installation on Virtual PC. Tested platforms: Polish version of Windows Server 2003 Standard, English version of Windows Server 2003 Enterprise with SP1 - same error on both versions. At the end of the installation I still get the same error: Errorr 32000: The commandline '"C:\Program Files\Microsoft Visual Studio 2005 Enterprise Server\BISIISDIR\bisdwserver\bin\SetupWarehouse.exe" -n -s "TFDT" -d BisDWDB -c "C:\Program Files\Microsoft Visual Studio 2005 Enterprise Server\BISIISDIR\bisdwserver\b ...Show All
Visual C++ chr() equivalent in VC++
can anybody tell abt the equivalent VB's chr() in VC++ There is no equvilant because a string is an array of characters and each charater itself is just a storage that holds a 8bit or 16bit value (UNICODE). So a character is just a number. So you can init an integer with a number like this: int i = 65: In the ASCII char set this is the letter A, so ots the same to write this: int i = 'A'; In formated output like printf you can add a char into an output stream: printf("This is my char %c\n",i); Where do you need this! ...Show All
Visual C# UML Tools for .NET (especially for C#)
any one know what UML Tools are for .NET (especially C#) thanks alot Hi. Following are UML tools: Enterprise Architect: http://www.sparxsystems.com.au/ea.htm Smart Development Environment Plugin for Visual Studio http://www.visual-paradigm.com/product/sde/ Regards, Vikram ...Show All
.NET Development Application server, why?
My manager wants me to know why we should have an application server in our web app. Currently, our web app talks directly to SQL Server. What are some of the pros and cons of having an application server (generally speaking) --SY I'm having a hard time figuring what or why you want it. For a Windows Application it would be good to have all the data centered at one place. But a web application is already centered at one place, unless you have multiple site (app) fetching the same data. ...Show All
Visual C# DialogResult disaster drama.
I'm trying to create a message box that pops up after clicking a Toolbar button, which asks firstly whether to check online (Yes, No, Cancel). If user clicks No it would create a new message box with question "Create new.." (Ok, Cancel). The problem I'm having is trying to get the "Ok" click to then load up a new form (LyricForm). Below I've posted what I've created so far after spending hours trying to work out how to make the DialogResults do it's thing. (Probably a giant mess - am very green to C#). Using C# Express Edition 2005 Beta 2. Any help would be extremely appreciated. private void buttonLyrics_Click(object sender, EventArgs e ...Show All
SQL Server SSIS Tutorial Lesson 1: Debug Error
I have followed the instructions for SSIS Lesson 1 exactly but i get these 4 errors when I come to debug at the "Lookup Date Key" lookup transformation. Last step in the lesson. 1. [Lookup Date Key [66]] Error: Row yielded no match during lookup. 2. [Lookup Date Key [66]] Error: The "component "Lookup Date Key" (66)" failed because error code 0xC020901E occurred, and the error row disposition on "output "Lookup Output" (68)" specifies failure on error. An error occurred on the specified object of the specified component. 3. [DTS.Pipeline] Error: The ProcessInput method on component "Lookup Date Key" (66) failed with error code 0xC0209029. Th ...Show All
