vb

How would you allow a user to interact with graphical objects via the mouse?

The application that I'm working on is going to be used to create charts of data contained in a database. Right now objects on the chart are manipulated using a "control panel" - essentially a list of objects and a PropertyGrid to edit values. The users would also like to be able to interact with the objects using mouse interactions - th...

DateTimePicker: Selecting a range of hours within a single day only

I'm looking for a way to use two DateTimePicker controls to select a range of hours and minutes within one day. That is, to basically select a 'starting time' and 'ending time'. I started with two DateTimePicker controls with the custom format of h:mm tt. I tried adding (on ValueChanged), a check that made the selected 'starting time' w...

tools to generate VB flowchart

Tell me some good tools to generate flowcharts/graphical represntation for Visual Basic code? ...

Arraylist in Visual Basic .net

Can I get an example of how to make something like a Vector or an ArrayList in Visual Basic .NET? ...

Anything comparable to Visual Basic to use in Ubuntu?

Is there anything comparable to Visual Basic to use in Ubuntu? ...

MS 2003 - SQL String inside of VB question - populate results into a form?

Okay so this is another question about a previous question I asked: http://stackoverflow.com/questions/1435802/rookie-sql-inside-of-vb-question-msaccess-2003 I am pretty new at this so I appreciate the help guys! So lets say I have a form and I want the SQL string in the VB to fill out a form based on parameters selected by the user o...

MS Access 2003 - Good book on learning advanced VBA

Hey guys! Was wondering is anyone had any suggestions on books or other resources on learning novice to advanced VBA as it relates to access programming. I have bought and read the "Access Bible", "The only access book you'll ever need", and "Sams TY in 21Days" and they were all fine for learning the basics. Then I bought and read teh O...

How to get file name of .EXE

Possible Duplicates: Getting the path of the current assembly C#: How do I get the path of the assembly the code is in? Using VB 2008, how can I get the file name of a running .EXE from inside itself? EDIT: This is for a console app, so Application.ExecutablePath will not work. ...

MSAccess 2003 - VBA for passing a value from one form to another

So how can I pass a value from one form to another? For example: The user select's an organization from a list and this opens up a trip form that allows a user to enter various information regarding the trip. At one place I would like to add another little pop up form where they can enter contact information (just a name and phone for PO...

Does anyone remember what the statement/command "WaitOn" meant in VB3?

In the Form_Load event of this ultralegacy app I need to transliterate over to a web app is this command/statement "WaitOn" that occurs right after the On Error GoTo... Does anyone remember what WaitOn means? Here's the code snippet: Dim sCmd As String Dim iFileHandle As Integer Dim sFileName As String Dim i As Integer Dim sKeyWord As...

Is there any open source projects that employs linq within?

I am on my way of linq learning and would like to see how linq is applied in the real world projects. So is there anyone who can suggest some open source C# and VB projects that employs Linq technology within? ...

Converting VB to VBA

Hi,Please Help me in following problem: this code work in VB but doesn't work in VBA: also I add in beginning a combobox with index 0 to form1 For i = 1 To 5 Load Combo1(i) Combo1(i).Visible = True Combo1(i).Left = Combo1(i - 1).Left + Combo1(0).Width Next i I will have this code in VBA. thank you ...

Unable to register VB ocx components (err 0x80040201)

Hi, I have a problem trying to register some ocx files. When I execute regsvr32, it returns 0x80040201 error code. I'm using win xp SP3 and my user has administrator permissions. When I try to register them with another user on the same machine I can do it without a problem, and both users are administrators and have "total control" p...

MSAccess 2003 - VBA for taking information from text boxes and inserting into table

So I have an input form that I want to use to update a table with certain fields of information. I have the ID of the record automatically coming up in a text box. I have three text boxes that I need to add to the table (excluding the ID) on a button click. Name Date Method are the field names. As_Name As_Date As_Method are the text ...

Visual Studio - manage multiple files that are part of one Class - classes, modules...

My VB project is large enough that it requires several files. It was originally developed as a Console App and I created each file as a MODULE. All modules could use subroutines, data structures and constants from other MODULES and everything worked fine. I needed to add basic windowing to the app and this required that the app be con...

What did VB replace the function "Set" with?

I've found several aspx codes for forms which include the use of a "Set" function. When I try them out on the hosting server, I get an error message that "Set is no longer supported". Anyone know what replaced the "Set" command? More specifically, how do I change this: Dim mail Set mail = Server.CreateObject("CDONTS.NewMail") mail....

show a folder as an e-mail address book

Hi, I have a folder in my OutLook 2007. I want to automate the process of showing the folder as an email address book using visual basic. Thank you, ...

How can I read what the destination URL is when a redirect is requested?

Hi, I am using a master page with a dynamic menu bar across the page. If the user has requested a redirect back to the login (home) page, I don't want to log them out but I do want to hide the menu bar. Currently I am using whether the user is authenticated to control if the menu bar is visible or not. Basically, I want to always hid...

How to get information about what code is running in a thread?

I have a Window Forms application (using clickonce installation, running on a terminal server) that occasionaly ends up with a thread that appears to be running in a tight loop. The user doesn't know this happens as the app continues to run as expected. Also I have determined that I can kill the problem thread without any apparent affect...

Are there any good resources for dealing with "User Document" (.dob) files

I've inherited a vb6 application that makes use of "Visual Basic User Document" files (.dob). This tech seems to be abandoned and forgotten. Are there any good resources out there for working with them? ...