Answer Questions
Tom Lichtenstein Refreshing the XSD in 2005 from the database
For sake of example, I have a table called Varieties. I forgot to set the key to an Identity, so when the table was modeled by the Data Sources tool, the field wasn't set properly. The Configure... menu item doesn't seem to change any of that information - is there a way to tell the XSD to refresh itself from the database Or do I have to modify the schema in the Properties window Thanks! S You will have to modify the xsd...ho ...Show All
Ronald Cormier Create Log File or .txt file in visual basic 2005
How do I create a log file or a .txt file in visual basic 2005... Please help me with this...:( If you want to simply write text to a file.... My .Computer.FileSystem.WriteAllText( "C:\Error.txt" , "Text" , True ) This will append "text" to a c:\error.txt file. This is using the new My feature making it very simple. "Text" can be any string you want. If ...Show All
onetudy System.TypeLoadException
I'm getting a System.TypeLoadException when I attempt to run my app. I do not get any errors when I compile the app. The exception message is, "Type 'Utilities.ControlTools.Managers.BoundControlsManager`1' from assembly 'Utilities.Main, Version=1.0.1947.39274, Culture=neutral, PublicKeyToken=null' tried to override method 'OnAddingItem' but does not implement or inherit that method." Notice that BoundControlsManager(Of T A ...Show All
Uri S. Disabling the close button of a windows application has a problem
When I tried to disable the close button of my Windows Application program using an unmanaged code, this red close button will appear again if I maximized, minimized it , or using Win(key) + D (and again) I don't know why... I can delete the Close menu item, but rather, I wanna disable it. So, if you please find the solution, thanks... How you tried to disable it by unmanaged code Hi SG, Aft ...Show All
Christian Morel Refractor Crash
I installed Refactor 1.0.4.0 in Visual Studio .NET 2005 Beta 2 and it crashes every time I attempt to load the add-in. I uninstalled Refactor and attempted to install again with the same results. Finally, I reinstalled Visual Studio .NET 2005 Beta 2 with the same results. I am using a development testing computer that has Windows XP SP 2, Microsoft Office 2003, Visual Studio 6.0, and Visual Studio .NET 2005 Beta 2 installed. No other application ...Show All
Erik Thomas Is there a practical way to use SecureString?
SecureString looks like a very valuable class but I cannot figure out how to use it. The example in the VS2005 documentation shows how to do a console app. How about using it in Winforms For example, moving a password from a textbox into a SecureString object. Or binding a textbox to a SecureString object Then using that object in a SQLServer connection string. Is that practical Is it even possible If yes, how could it be done A ...Show All
jam201984 How to display data in table format in windows application?
Hi everybody, How would you display data values from a database in a table format in a windows application and which control is appropriate to display them Code belwo shows creating table in html, how could you do this table in windows application Thanks. Note: the html not exactly correct. Code: <htmL> <body> <table bgcolor="blue" border=2> <tr> <td>Place data from database& ...Show All
Roger Jack Parsing Question! :) help needed bigtime...
I have an issue where data in cells could look like a few different ways: 14.83 140.83 1140.8 1140.83 1140.83(Session: 84848) Basically, I'm drawing a blank on how to parse the data. Obviously the data string length is dynamic. My main goal is to find IF the cell has the "(Session: 84848)" then delete that, but keep the 1140.83. And it needs to be dynamic... Any thoughts Would I use the InStr I'm stuck! TIA! -Scot ...Show All
RivaOni Operator Overloading and Enumerations?
Is there any chance that in future versions it will be possible to overload operators for enumerations I was very skeptical if it was really necessary to introduce this feature to VB. I almost never missed it. As someone with Pascal background I like speaking numbers, so I often use enumerations. <Flags()> _ Enum SampleEnum Value1 = 1 Value2 = 2 Value3 = 4 Value4 = 8 End Enum I would like to wri ...Show All
GeordieSi roll over text
hey i was wondering if it was possible to make it so when you roll over a button(in a VB.NETapp) and it displayssome text, like how to use that button thanks You're talking about a tooltip, I think. I believe the button has a tooltip property. Hi, I have to agree, you might be talking about a tooltip. In the designer window of your project add a tooltip from the common controls in your toolbox ...Show All
Kmc85 Where are those bitmaps?
I'm trying to find the bitmap image files that come with VB 2005 for you to use in your applications, but I can't seem to find them. Littl help here You mean C:/Program Files/Microsoft Visual Studio 8/Common 7/ And no, they're not there. well if you just had an email adress... some artwork of somekind could appear..... Ok. I have Express, and is guessing it doesn't come with express. You are running the regular V ...Show All
rtmos put image into context menu item.
As title, how to put image into the context menu items such as icon file ... i dint find the items property of the context menu, are you refering to the normal menu item You can also right click the menu item at design time and select "Set Image" to apply an image to a menu item. Hi, At design time: - Select your ContextMenu control. In Properties window, find Items property and launch Items Collection Editor dialog. - Select ...Show All
Tanveer Rashid 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
mx123 How do I change the style and the color of a font?
I have downloaded vb express beta 2 and am trying to learn it by converting some of by vb6 code. I have a million questions (well almost a million). In my vb6 program I loaded the fonts that were on the computer and set my picturebox font to it. However in vb net the picturebox does not have a font, thus starting my problems. After many hours searching I found how to enum my fonts. Then came the problem of setting the font. I came up with ...Show All
bjun ActiveX License problem
Hello all, I recently purchased Visual Basic .net 2003 and installed it. I am working on a project where I need to use the serial port to communicate with a remote device. I added the 'Serial Communication' to the toolbox sucessfully. However when I try to add the 'serial communication icon' to my form I received an error message that I do not have a license for this application. Any ideas what my problem is I don't know if this is rele ...Show All
