Milow's Q&A profile
Visual Basic Add connection wizard fails with Access database
I have the RTM version installed. I am quite puzzled at this wizard. It works fine with SqlClient. But for Access databases, this wizard completely fails. In this wizard, I only have one option to do - setting the ConnectionString. I set it to Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\path\abc.mdb, which works fine in my code. But when I click OK, it complains: --------------------------- Microsoft Visual Studio --------------------------- ...Show All
Windows Forms Databinding across multiple forms?
Hi All, I'm fairly new to .Net Windows Forms development and I'm curious how one would normally accomplish the following: - Assuming an assembly created by another developer has a few methods that returns a dataset containing a single datatable. ...Show All
Windows Forms attempt to center a picturebox
I did several searches before asking this elementary question. attempt to center a picturebox I was doing it the old fashioned way, as we learned in vb 4+ This was just the beginning of my code. I will eventually make it dynamic, loading the images one by one. Dim fx As Integer = Me.Width Dim fy As Integer = Me.Height Private Sub Form3_Load(ByVal sender As System.Object, ByVal e ...Show All
SQL Server Need dump 200 columns to a flat file
All, I need to dump a table with more than 200 columns to a flat file. I tired in SSIS with the flat file destination, but it only allows 84 columns. What should I do if I want to dump all the columns to a text or cvs file. Thanks in advance Try the Export Data Wizard in SSMS. Right-click on the database-->Tasks-->Export Data... -Jamie ...Show All
.NET Development Sending Windows Messages
I am playing around trying to send messages to windows (specifically close messages and specific messages to dialog boxes). I am using visual studio 2003, and am using the windows API to try to send the messages. What I have found is that FlashWindow and CloseWindow work, MoveWindow kind of works (it does respond, but does some weird things), but SendMessage and DestroyWindow do nothing. Following is the code I have been tinkering with, doe ...Show All
Windows Forms Docking Windows in .NET
I would like the Visual Studio .NET like docking windows in my application. These docking windows has their own title bar, close button and also can be docked. Please help me to find out how to create these. Is there any controls out there  ...Show All
Visual Studio Choosing Visual Studio 2005 DirectX Help Source
Hi all, I have a little troubles setting up my VS 2005 help. I installed DirectX SDK April 2006 and every time I search for something by pressing F1, it brings up DirectX Managed help. Is there a way to set it to use non-managed DirectX help files instead As managed dx help is kind of a useless to me... Thanks in advance. LOL, I found this microsoft forum as useful as their help files :) ...Show All
Visual Studio Express Editions New to MsC#2005 and Ms Server 2005, need help!!
Hi all, I moved from .php, mysql, and Apache to Ms C# 2005 and Ms Server 2005. I want to connect my program C# to a Ms database, just like .php connect to mysql. How do I go about that, what do I need. I had installed "Ms visual C# 2005 express edition" and also "Microsoft SQL Server 2005" on my computer. What else do I need thanks Jason http://www.codeproject.com/cs/database/sql_in_csharp.asp ...Show All
Visual Studio Team System Single PC - Team Build Error - Build Machine Not Reachable
I've setup the client, data and application tiers on the same machine - a Virtual PC called Dellone. When I try to do a Team Build an error message appears saying Build Machine Not Reachable. Why is this happening I'm following the instructions in the first Team Build Walkthrough - Creating a Build Type in Team Build. It says at step 1 "On the Team menu, select Team Project Settings , then click Build Configurations . The is displayed .", but t ...Show All
Visual C# close all forms
DialogResult result = MessageBox.Show("Username or password not correct!", "Error...",MessageBoxButtons.OKCancel); if (result == DialogResult.OK) { textBox1.Text = ""; textBox2.Text = ""; } else { //what comes here (1) this.Close(); } what do i have to write instead of (1) for closing all forms the open form is called existuser and the main form is Form1 ...Show All
SQL Server Is assembly code replaceable?
I'm watching a webcast on CLR functions/procs and have a question: If I create an assembly for my database using some .dll, is that .dll now locked by SQL Server I'm concerned of a situation where developer says the assembly code is bad. Developer presents new version of .dll . - Will I get "Access denied, file is in use" when I try to replace the .dll Even if the assembly is used in a derived table column Thanks. ...Show All
Visual J# Warning - don't use ReSharper
Hi; If you have done much development in C# you probably have ReSharper and it is a tremendous help. But when it get's in J# it slows the system down a LOT and it gets all confused with intellisense. I ended up removing it. Hi Barry, Resharper is a third party addon utility for Visual Studio. It is not a Microsoft product and not shipped with Visual Studio. If you have not installed it after installing Visual Studio then it wo ...Show All
Visual Studio can i use inputs and outputs
I know the inputs, but I do not know the outputs until I'm in the logic of my custom Task. Is there anyway to still use inputs and outputs in my .targets file to control when things will build, or do I need to implement this myself in my Task class Thanks, Mike Inputs and Outputs must be declared in the project file. Their values may be computed by combining existing properties and/or items, or by previou ...Show All
Windows Forms Horizontal Splitter Group Box
I put the three list boxes into a group and incorporated the splitters. It seems to work fine. I made the group box dock with the top property and it works the way I want. The next problem is that I want to put a&nbs ...Show All
Visual C++ Attributed ATL - bad codegen in debug mode - any known issues?
I'm seeing a really nasty issue with some attributed ATL code. What I have is a class along the lines of class __declspec(novtable) MyComObject : public IMyInterface , public IPersistPropertyBag , public IObjectWithSiteImpl<MyComObject> /* injected base class */ { ... ... STDMETHOD(SetSite)(IUnknown* p) { IObjectWithSiteImpl::SetSite(p); // bad codegen here While all other members or base references are just fine, there is an additional ...Show All
