CrazyAboutWPF's Q&A profile
SQL Server this should be easy but it's not.
I have written 2 custom connection mgr’s. One connects the data from an oracle source One connects so I can put the data on a sql server. These both work well and it makes it a lot easier across development, test, production. But now I would like a good way to do this I have 10 tables to copy from oracle. The only difference is just the name of the table. static string [] g_tables = { &qu ...Show All
Windows Forms Sort out on date to verifier that it is indeed a value dates VB.NET?
Hello, I attempt one sorts out on a column of date it works well if all the column receives only values (date) but if there is another typifies (strings), that does not sort out any more. How is that it works in everything the cases Example&nbs ...Show All
Visual Studio Express Editions TextStream - reading special characters
I am trying to get TextStream to read a log file (text) with a special character in it. The special character is the hex null (00). A typical textreader (wordpad) represents it as a square. This character is randomly placed throughout the log file. The problem is whenever TextStream reads this characters it interprets it as a "endofstream" and stops reading. I am not concerned about the character it can me ...Show All
Windows Forms PropertyGrid - IDataErrorInfo
Hi, I am using the PropertyGrid in a simple dialog, e.g. to modify some application settings. Is it possible to make the PropertyGrid to pick up errors provided by IDataErrorInfo implemented by the SelectedObject of the PropertyGrid (similar to the DataGrid/DataGridView) The PropertyGrid doesn't have any code dealing with IDataErrorInfo. You could do for a particular property or type by adding an Edito ...Show All
Visual Basic vb.net data base problem
Dim valida As Boolean Try Dim sql As String = "select * from utilizadores where user ='" & (txtuser.Text) & "' and password ='" & (txtpass.Text) & "'" Dim objDR As New Data.DataTable Dim myConn As String = "Data Source=.\SQLEXPRESS;AttachDbFilename=|datadirectory|bd.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" Dim ...Show All
Visual Studio Team System How to Ignore Web Test Errors?
I've got a fairly simple web test script that I'm building. Unfortunately, the page that I'm testing has a bug in it. The page refers to a .css file that doesn't exist. The tool correctly reports this error. Now that this is a known bug, I'd like to instruct the tool to ignore this error from now on. Is there a way to do this Alex If your request is marked to parse dependent l ...Show All
.NET Development exception unhandled
with Visual studio 2005. Code below. add the client I added a webreference as you see. If I test the webservice in my browser it works, but not from the pda. ERROR: at runtime: Web exception was unhandled. Error cannot be displayed because an optional source-assembly was not found. System.Net.WebException was unhandled Message="Web exception was unhandled. E ...Show All
Visual C# Problem Path length allowed for new project in VS2005
I am getting a very strange error in VS2005 Team Developer Edition. Here is the scenario: I go into FILE/NEW/PROJECT/Visual C# Windows Console Application. I get the New Project dialog box. I am looking to use the following as the Location: "C:\Documents and Settings\XXXX XXXXXXXXX.ZZZ-ZZZZZZZZZZZ\My Documents\Microsoft Press\Visual CSharp Step By Step\Chapter 1" (I have replaced my name with X's and my machine name with Z's in the example above ...Show All
Windows Forms Empty Dataset
Is there a simple way to check for an empty dataset Thanks. 'VB If MyDataSet Is Nothing Then //C# if (myDataSet == null) ...Show All
Visual Basic Using VB.net to create and save excel worksheets and charts
I am using VB.net to create and save excel worksheets and charts. My code works fine on my computer, or any other computer that has visual studio installed, but not on computers that don't. The program runs as far as the save routine (which includes drawing the graphs) and then I get : Exception from HResult: 0x800A03EC . The computers I've tested this on have the same version of office as the computer I developed this on, and they have the .ne ...Show All
Visual Studio Team System Team Foundation Server MSSCCI Provider Beta 2 Now Available (Feb 20, 20006)
The Team Foundation Server MSSCCI Provider Beta 2 is now available here . IMPORTANT: Beta 2 is not strongly signed, so you'll need to disable strong name validation as mentioned in the README. You can find details at http://blogs.msdn.com/buckh/archive/2006/02/21/536260.aspx . New in this beta: Support for Visual Studio 2003 and Fox Pro in addition to the already supported VB6 and VC6. Integrated Checki ...Show All
Smart Device Development problem loading gifs from resouce..
Hi, I am getting a problem when debugging an application to my pocketpc device on VS2005, every time there is a call to get a recource below: base.Image = (Bitmap)global::MyApp.Properties.Resources.ResourceManager. GetObject("imageName"); I get the following error(s) in output.. A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll A first chance exception of type 'System.IO.FileNotFoundException ...Show All
SQL Server Execution not found when using Dynamic Windows Impersonation
Hello, We're trying to use dynamic windows impersonation and URL access to display our reports in the HTML viewer using ASP.NET. Before switching to dynamic windows impersonation we were using static windows impersonation in our web application's web.config file. For example: <system.web> <identity impersonate ="true" userName="ourUsername" password="ourPassword" /> </system.web> The static windows impersonation worked ...Show All
Windows Forms Transparency with PictureBox in VC++ 2005
I'm fairly new to the world of VC++ 2005, so this might sound like a fairly silly question. I'm creating a form on which I want to place a logo (gif image) that has a transparent background. The PictureBox control doesn't seem to support transparent images, and there doesn't appear to be an ImageBox control in the toolbox. I've searched the MSDN library for help on this issue without much luck. I've also gone into the "Tools | Choose ...Show All
Software Development for Windows Vista workflowloadingfailed in asp.net
web.config: < WorkflowRuntime UnloadOnIdle = " true " > < Services > < add type = " System.Workflow.Runtime.Hosting.ASPNetThreadingService, System.Workflow.Runtime, Version=3.0.00000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 " /> < add type = " System.Workflow.Runtime.Hosting.SqlTimerService, System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 " Connect ...Show All
