Answer Questions
mullr How do I use set focus to next "tab-able" control
Got a VB app where I to set focus on the next enabled and "tab-able" control in the tab index given a current starting point control which is currently disabled (and therefore isn't the active control). It appears I need the GetNextD ...Show All
rabb Altering and/or dropping Wizard-Created binding sources
1 - I used the addNew datasource wizard to add a source. It created a binding navigator, tableadapter, etc. It also created a new connection string (connectionString1) because of my oversight. 2 - Since connectionString1 was identical to connectionString1, I opened the settings and deleted the second one. 3 - I have searched the entire project (including all hidden files) for references to connectionString1 and find NONE - but - when I open the ...Show All
Matt Milner Is "simple data binding" in v1.1 one-way by default?
If I bind a TextBox to an array myList using "simple data binding" textBox.DataBindings.Add( "Text" , myList , "MyProperty" ) ; If I change the string in the text box at run-time, the underlying data in the array is changed (what I expect). If however I change the string in the underlying data (programatically at run-time), the textbox still displays the original value (not what I expect) Is "simple data binding" one-way by d ...Show All
Gathar Cant get drag-n-drop from Excel to work. Please help.
Hello, When the user of my app selects some rows from an open excel file and drag-n-drops them onto my form, I need to be able to parse those rows and fill arrays that would match the original selected Excel rows. Is there any way the&nb ...Show All
Lila44602 MDI Parent/Child Problem
Hay guys. I kind of new to this whole thing, and I was wondering if someone could help me with this problem: I've got a MDI Parent with a menu. When you ckick on one of the menu items, this code runs: Dim Form as new Form1 Form.MDIParent = me Form.show() Now: is there any way to create a new form (Form2) from form1 and still make it an mdi Child. Basically: 'This code is in a button Dim Form as new Form2 Form.MDIParent = Form.show() I tried ...Show All
shahin_mohaghegh Can the windows desktop be emulated inside a windows form?
This may be a silly question but… can the windows desktop be emulated inside a windows form where applications can be opened and contained within the form What is the difference between the windows desktop and a windows form Just thinking& ...Show All
cdbob Drawing a point on a Custom UserControl
Hi all, I know this is very easy in .NET to draw different types of shape but how can I draw a point on the UserControl. I couldn't find a DrawPoint() method in MSDN. Would anybody please tell me how I can draw a point Thanks a lot. To draw a point, you can use Graphics.FillEllipse. Use Graphics.DrawEllipse(Pen, X, Y, 1, 1) or Bitmap.SetPixel(X, Y, Color) ... Thank you very much for your reply ...Show All
Mike Rousos ClickOnce Proxy Server Authentication
I see from a previous post that it's not possible to use clickonce through a Proxy server (real shame guys ... come on, get a service release out that throws up a dialogue box like Media Player or the like have!) http://forums.microsoft.com/msdn/showpost.aspx postid=149938&siteid=1 What are the possible work arounds for this then, how can I deliver applications and their PreRequisits to people sitting behind firewalls which r ...Show All
John Layton Using the dotnetupdater component
I am having a problem with the dotnetupdater component feater because I am using a vb6 component in my C# project. When I open the form that has the vb6 component I get a warning message saying "Unable to auto-download the missing parts&n ...Show All
5p4ced0ut cm.Position won't leave Zero
Ok, I'm sure this sounds stupid. Any help as to where I should look would be great. I have a database navigation device that should easily choose the new position of my datatable. Here is the snippet: Dim cmMembers As CurrencyManager = ...Show All
LarryETL System Colors
Hi All, I used the following to create a custom color in vb.net How can I make this colour public so that I can refer to it doesn't matter in which form I am. I all my forms to have the background colour that I have created. How can I do that This is my code: oColor1 = Color.FromArgb(255, 0, 0) TextBox1.BackColor = oColor1 Please Help, Rudi Just a correction, the following ...Show All
Jim Hunt Connection Strings
Hi, I am trying to find out if you can access connection strings to database's the same way you can in ASP.Net though the WebConfig AppSettings Key tag. such as the following example in ASP.Net. example; <appSettings> <add key="ConnectionString" v ...Show All
Ertekin Compact & Repair Database
How do compact & repair Access/SQL Server 2000 Database using VB.NET. Hi, Hope this is what you are looking for. Please see the below link. Link: http://www.codeproject.com/cs/database/mdbcompact_latebind.asp df=100&forumid=79525&exp=0&select=1040732 Thank you, Bhanu. Thanks For your information Jebat Boedax's Malay ...Show All
pnunbe PropertyGrid
In the standard propertygrid control, i need to add property pages. E.g.: the standard VS IDE property sheet has an 'Events' page which is not on the provided propertygrid control while developing Windows Based Applications. How is this done With reflection you can get the event of an specific type: Type type = myObject.GetType(); BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingF ...Show All
KrzysztofP problem with objects in static methods
How can I do the following in a static method: I get these two errors: Keyword this is not valid in a static property, static method, or static field initializer 'Browser.Form.logger' denotes a 'field' where a 'class' was expected private static void Unhandl ...Show All
