pin_'s Q&A profile
Visual Studio Odd behavior using Help.ShowHelp
Hi all, I have a CHM file that works just fine when I double-click it to open it -- it displays the first topic (call it First.htm) as the default topic. But if I call the CHM file using Help.ShowHelp, such as: private void button1_Click( object sender, EventArgs e) { Help .ShowHelp(button1, file://c:\\manual.chm ); } The Help file displays, but the "topic" it displays is an outline-looking thing. When I examine ...Show All
.NET Development Work with *.mdb by VB2005
How can I work with MSAcess database(*.mdb) with VB2005 Express I used VB6. Its code : Data1.Databasename = "C:\MyData.mdb" Data1.recordsource = "Table1" Data1.refresh How about this code with VB2005 Express http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=96629&SiteID=1 ...Show All
Windows Forms Is this legal for me to do this?
If not, i will happily stop, but right now, i am having a blast with Terrarium in .Net 2.0. http://tanderson.cbs-posi.com/MyTerrarium/checkmeout.jpg Just don't tell the C# coders They will probably scream blasphemy and other curses. ...Show All
.NET Development How to modify & insert into XML without loading the whole file in memory
I am working with large xml documents, over 50 MB. I know how to read it using XmlReader class and Xquery but except DOM I didn't found a way to update nodes, or insert new nodes. There is any way to use XmlDocument class and not load the whole document into memory, can I use buffers, or what I should use into my C# app to be able to load, modify, insert and then save You can load parts of XML into XmlDocument. Alternatively you ca ...Show All
.NET Development .NET Framework 2.0 Redistributable - When Will It Appear on Windows Update?
Can anyone tell me approximately how long after the release of Visual Studio 2005 will the .NET Framework 2.0 distributable appear as a standard download on the Windows Update website In other words, how long before normal users start seeing it as a Windows Update download Many thanks, Ben S. Starting with Windows Server 2003 (which came with .NET 1.1), we've been shipping the framework with the OS. The Windows ...Show All
SQL Server creating tables
I am trying to go through an arraylist and create some database tables for each entry in the array. what I have is Dim ques As String For Each ques In questions query = "create Table " + ques + " (plantid nvarchar(100), Answer nvarchar(100))" cmd = New SqlCeCommand(query, con) cmd.ExecuteNonQuery() Next I am wanting to use the item in the arraylist as the name of the db. I am getting an error saying ...Show All
Windows Forms Export Unbound DataGrid To CSV File\Excel with WINDOWS FORM
I've spent hours hunting around the internet to find out how to do this and i can't seem to do it. I've found endless posts on ASP.NET but im using WinForms/VB2005 I would prefer not to have to manuall configure each export process at the time as the DataGridView can be one of at least 4 different structures depending on the options the user selected to fill it. There must be a simple way of taking all records and layout and playing it in ...Show All
Software Development for Windows Vista When adding a bitmap to a popup menu the item goes black when selected.
I added a bitmap to a popup menu as a menu item, however, when the item is selected the area of the bitmap goes black (instead of blue) while the rest of the menu stays blue. Is this a problem with transperancy Laura Since you haven't provided any more information I had to write my own program. Works for me on Windows Vista exactly the same as on XP; I don't see how this is a peculiarly Windows Vista UI question. Sta ...Show All
Visual Studio 2008 (Pre-release) Windows Form lifespan?
What is the plan for Windows Form. Will it be the new MFC and continue to have a long lifetime after the release of WPF What is Microsoft's plan ...Show All
SQL Server Migrating from 2005 to 2005 Mobile
Hello All, I have a database created on SQL Server 2005 and now I would like to migrate the table structure to a SQL Server 2005 Mobile database. Generating the scripts and running them against the mobile database generates a lot of error that I suppose are caused by not supported features or keywords on the mobile engine. I would like to know what are the best procedure for doing such migration. Note that this has nothing to do with repli ...Show All
Windows Forms Dynamically Resizing a Control
Please help guys, I have some NumericUpDown controls that are being populated from values read from database at runtime. I want to be able to resize the NumericUpDown controls dynamically at runtim to accomodate the lenght of the decimal values that are retrieved from the database..is there anyway I can do this... that did it!! I add a default value for the border and spinner size...U've been really helpfull...I thank you from the bottom of ...Show All
SQL Server I am unable to install SQL Server 2005 on Win XP SP2 box
I get to the point of starting the services and receive the following message after about 4 minutes of trying to start. I tried in Mixed Mode and Windows Authentication Mode. Message: TITLE: Microsoft SQL Server 2005 Setup ------------------------------ The SQL Server service failed to start. For more information, see the SQL Server Books Online topics, "How to: View SQL Server 2005 Setup Log Files" and "Starting SQL Server ...Show All
Windows Forms How to change disabled textbox fonts color ?
When the textbox1.enabled = false, the fonts color changed to gray. Is it possible to change the fonts color to black color when it is disabled Thanks, Terrence You are correct, combobox does not provide a ReadOnly property... I believe&n ...Show All
Visual Studio Team System Newbie confusion on TFS and VS.NET. Enlightment needed.
I setup a TFS Team project (under Beta 3). Next I created a New project (not a Team project) in VS.NET 2005, right-clicked the project name, and selected "Add project to source control". I received the message "The current project must be saved before it can be added to source conrol." Huh I want to save it in TFS and it won't let me do. (I forgot to define a workspace... maybe that's what it wanted. But when I attemped to de ...Show All
Windows Forms Printing margins and grayscale printing in C#
Hello, I'm trying to set the current printing margins to some very low values (like 2mm, for example - 5mm AT MOST). Now, I have the following questions: a) is this recommendable can the printer head get broken if I make it print so close to the paper margin (I'm asking this because maybe someone has done it before) b) how do I set these margins I tried the following: pdPrintDoc.DefaultPageSettings.Margins.Bottom = Convert.ToInt32(0.2 ...Show All
