ZMaster_'s Q&A profile
Smart Device Development Web Browser exception
Hi, I've added a web browser control on a form and try to implement the Back, Forward buttons. The code on the Back button is the following: Dim return_code As Boolean return_code = me.webbrowser1.CanGoBack if return_code = True then Me.webbrowser.goBack() End If The line 'return_code = me.webbrowser1.CanGoBack' is returning an exception 'An unhandled exception of type System.NotSupportedException' occured in System.Drawing.dll please coul ...Show All
Visual C++ RMDIR bugging???
Hello, I need help with RMDIR desperately... well, I got this code from the HELP files but doesn't seem to be working... /* remove example: remove or delete directory C:\test */ #include <stdafx.h> int _rmidr( const char "C:\\test" ); return 0; } but what's wrong with this An identifier is a name: it identifies something. In your code "_rmdir" is an example of an ...Show All
SQL Server Concatenating 2 text boxes
Hi, How do we concate a normal text with an underlined text eg: I would like to concate : textbox1 = my email address: and textbox2 = xxx@hotmail.com into a new textbox3. expected result: textbox3 : my email address: xxx@hotmail.com Really appreciate your help. Thanks Try out this place textbox1 and textbox2 together make TextAlign Right for textbox1 and Left for textbox2. make Textdecoration under ...Show All
.NET Development Updates are not written to the database - please tell me why!
I am at my wits end! I am creating a simple web application in Visual C# 2005 Express Edition Beta 2 by dragging a table from a data source onto a windows form. I have reread numerous articles on MSDN but with the exception of adding a try block this is as far as I can tell all I need to do to create a working form. When I run it all looks good, I can edit fields and click on the save (disk) icon. But when I look in the database again - it is u ...Show All
Smart Device Development How do I bind two DataGrids in a master-detail relationship?
for Compact Framework 1.0 Hi Ilya, I am doing the same as you have written here (the above Visual C# code) BUT it gives me the following error: Unable to cast object of type 'System.Windows.Forms.BindingSource' to type 'System.Data.DataTable'. Please how can do this ...Show All
SQL Server Corruption of package?!
I have done this twice - grrrr! Simple SSIS package contains the following tasks Control Flow 1. VB .NET Script to create a file name with "sometext" + mmddyy + ".xls" 2. FTP Task - logs into FTP site, finds file name created in 1) and downloads 3. Data Flow Task Data Flow 1. Excel Data Source - connects to and maps the Excel workbook/sheet columns 2. OleDB Destination - Inserts rows using the column mappings from 1) abov ...Show All
Visual C# Closed TextWriter
My app reads multiple files and creates a temp text file which contains from 100,000 to 200,000 records. After the file is creates, it then reads the newly created text file and processes the records that were extracted and writes them to a permanent output file.. The problem I'm encountering is that the app writes the first record and proceeds to the next record in the file, processes and processes it successfully, however; when it tries to ...Show All
SQL Server Problems with SQL 2005 IDE and Column Names
Hello all. I'm having problems with SQL 2005 Management Studio not liking some of my column names, even though I believe they are valid when run directly through a SQL query window. An example... CREATE TABLE [Test] ( [ID] [int] NOT NULL, [The.Name] [nvarchar] ( 50 ) NULL ) INSERT INTO [Test] ( [ID] , [The.Name] ) VALUES ( 1 , 'Test' ) DELETE FROM [Test] WHERE [ID] = 1 This SQL will execu ...Show All
.NET Development Keeping user information in tree node
Can I use the TreeNode.Name property for anything I like It seems to serve no purpose to the treeview structure or methods. How or where can I associate an Object with a TreeNode. I could create MyTreeNodeClass but then I need to cast everything, create constructors etc. (I wish TreeNode had a property "Object TreeView.UserObject") If you can answer those don't bother reading the rest... I am trying to associate different clas ...Show All
Visual Studio Express Editions Installing Visual Studio 2005 Express Edition with SQL
Can I install Visual Studio 2005 Express Edition when I have VB 2005 Express Edition (with SQL Express) currently running on my computer The download instructions mention removing other verisons of express ( ). If so, is there an installation sequence I must follow in order to get them both to work I installed SQL Express with VB 2005 Express. Do I need to include the SQL Express (option) when I download and install Visual Studio 2005 Expres ...Show All
Visual C# Can't get rid of default ICON in Child window
I am using the code: InitializeComponent(); // // TODO: Add any constructor code after InitializeComponent call // this.Icon = null; ------------------------------------------------- This normally works to get rid of the windows icon in a child window, but for some reason the icon is still there. Has anyone else had this problem You can set the Form.ShowIcon property to false or set the ...Show All
Visual Basic Show Menu
Hello I created a menu and I made it invisible. How can popup it in the form. In VB6, I was using: Me.PopupMenu What do I use in VB.NET Thanks for assistance. Maksim Libenson wrote: Hi, You have Show() method for that. Max I don't want this. What I want exactly is: When I click on the notify icon in taskbar by mouse, the menu shows. How can I do it ...Show All
.NET Development Why is Thread.Name a write-once property?
In my application, I have run into an InvalidOperationException when I did try to re-assign the Thread.Name property. Looking at the doc, it says that this property is write-once. Can someone tell me why For me this constraint is just annoying (the workaround is easy but painfull). Thanks in advance, Joannes Why would you want to change the name multiple times The Thread.Name is used as an identifier by ...Show All
Visual Basic Catch Events On Datagrid
How can I catch the double-click, right-click, etc. events on the data part of a datagrid control. Not the title or the left border area Hi, this Cell * events are available for VisualStudio.Net 2003 Regards Mata ...Show All
Windows Forms another stupid combobox q
Can i get a Columnheader in a combobox i gues not , just curious Remco I'm not sure what you mean but I would say no. The type of data in your combobox should be defined by the interface, maybe a label beside the combobox. Or you can set a 'default' value that is not an item by setting the .Text ...Show All
