Answer Questions
srivastava Datagridview bound to empty table, esc edit fails on first row?
Trying to understand how the Datagridview control works, I have bounded it to an empty table. If I begin edit of any field in the top row and "esc" the edit on this fisrt row I get an unhandled exception message "Current cell cannot be set to an invisible cell". My guess is, the control is trying to move to the row above the top row which, obviously, it should not. This occurs even if I do not have any code wathsoever i ...Show All
henlylow Is Window Obscured - Hidden - Visible
Hi All, I have been working out how to test if a Window is obscured by another Window. For example; You have App1 and Notepad open. Notepad is the selected (active) Window. Notepad is only slightly or completely obscuring App1. After a bit of research I have found the only way to achieve this is to enumerate each Window in the Z-Order and to check the rectangle of each Window with the test Window. If anyone has a better s ...Show All
Knuijver checking properties of folders
Hi all, I am trying to run some processes to tidy up our SAN storage. A couple of the things I am struggling with are : 1) Checking the security of the folder properties to check who the owner is 2) Checking the security of the folder to check if "Inherit" is ticked 3) Search a text file for specific text I already have a process to run SETACL to fix ownership and permissions, however this ...Show All
julioc_aragonj Loading .txt files
Hello, I am sort of new to Visual Basic, but I have completed some tutorials. I can't find information on how to make a menu with Open File for example, in it, then make it open a file such as .txt. Where or how can I script a menu to have an option called Load File that will load a .txt file or something else. So far I have made a menu with the Open File option, but I need to script it to load a file now. Thank You! ...Show All
TilakGopi A Pause with a Loop
Okay...what I want to do seems simple but I've been at it off 'n on for a few days with this & finally decided to post my question. I have a Label I want to flash on & off a few times much like a warning sign. You would think something as easy as: For i as Integer = 0 to 20 Label1.Visible = True Thread.Sleep(500) Label1.Visible = False Next would do it. But it doesn't. I tried throwing a timer in there s ...Show All
Niall Have u ever created a menu component
Hi guys, I m trying to use the component technology of Visual basic.NET in order to create a customized menu control in this context: I have menu items that must change according to the active windows form (the form that has the focus in each moment); so since the menu items re so similar and since a lot of those items will be repeated inside different forms; i don t want to go through creating the same menu items over and over for all th ...Show All
rborders configuring TableAdapter
I am using vb.net express. I have 2 tables in my database. One table called EmployeeName has an EmployeeID which is the primary key and a last name and first name column. The other table called WorkInformation has as its columns EmployeeID, DateWorked,HoursWorked & WeekEnding. I have configured a TableAdapter using the TableAdapter Configurization Wizard which selects information from WorkInformation based on Emplo ...Show All
Oleg Krupnov A Modest Proposal for Microsoft
I've been a Basic programmer for over 30 years and that whole time I've endured the constant reminder that I'm not a "real" programmer. I know better and you know better but still there's that stigma associated with being a Visual Basic programmer vs. being a C++ or a C# programmer. Now that I use VB.Net it really couldn't be further from the truth since VB.Net does everything any contemporary OOP language does. So here's my sugg ...Show All
Dave Zarlengo Radio Check Options in Menu Strip?
First off, I'm completely new to the world of Visual Basic. I took a little break from programming for about 20 years :) What a change... and THANK GAWD! I'm trying to keep current in my studies and am using VB.NET 2005 beta 2 at the moment and training with App Dev's VB .NET course... I've got the basics down, nagivation, understanding of objects, properties, etc... but for the life of me, i can't find what i'm looking for... and what I THOUGH ...Show All
guptasameer1984 Finding the internal Event IDs of a COM wrapped Custom Control?
Hi all! I have written a simple COM wrapper for the standard textbox control in .NET 2003 and exported it as a DLL. I have then embeded the component as an ActiveX control into another application (SAP ABAP) but this application (as do others ) requires the event IDs to be registered before they can be captured. The control loads and displays correctly - but just does not trigger any events. My problem is that I do not know how to find ...Show All
mmoeser Error with Dataset 2003 ???
Dear Team when i made a dataset from 3 tables related to each other an error raised ' dataset is not defined ..'.the tables for ex: Orders,OrersDetails,Supplier ...suppose that the dataset can take many tables thank you very much Hi, I could not reproduce this issue on VS 2003 with Northwind database, Customers, Orders a ...Show All
Herald Smit Convert byte to ASCII
hi, How to convert byte array to ASCII in VB.NET System.Text.Encoding.ASCII.Getstring(y) it gives the data like 52414D41 . but i need "RAMA" instead of 52414D41. How Any help Thank U! Chris Vega wrote: Based on your result "53414D41", I assume that your array contains this hexadecimal bytes (&H52, &H41, &H4D, &H41). If it did, Encoding.ASCII.Ge ...Show All
FedorSteeman resource parameter?
im not quite sure how this happened and im not sure on what it is and how to fix it.. help please Error 1 The item "obj\Debug\abc.Form1.resources" was specified more than once in the "Resources" parameter. Duplicate items are not supported by the "Resources" parameter. you are welcome! I think you are still using the Beta version of Visual Basic 2005 If you are, I suggest you to upgrade To f ...Show All
bajansen ToolStripStatusLabels
How do you make a ToolStripStatusLabel have a ' CAPS ' feature (like, say, if CAPS LOCK is on, it'll say CAPS in black, but if it's off, it'll say CAPS in gray ) I think I get what you're saying. If I understood correctly, he wanted to Globally monitor the condition of the Caps Lock key, in the app, and use a label to emit it's status. If Caps Lock is on The label will display Caps Lock Else The label will display Caps Lock E ...Show All
dolf Documents in VB.Net
Just like a picture box shows a picture...I would like to know how could i show a picture of a word document in an application... Yea cause what i want to do is...have a UI that you can choose different formats of a letter then see a preview of the letter some how...Do you think i will be able to have fields in the letter get populated with particular information like name address from a database my programming skill are good ...Show All
