vb

Visual Basic 6.0 Language Syntax

I've done a fair bit of googling, but I've been unable to find what I'm looking for. I am looking for documentation of the syntax to the Visual Basic 6.0 language. Specifically something that could theoretically be used to build a parser for the syntax. Does anyone know of such documentation? ...

MS Access 2000 - VBA Value from a combo/text box into a file path string

Hey guys. I have a form that I intend to allow users to browse powerpoint presentations through, because there are a lot of different briefs for metrics, which is what I use this database for. So, I already know how to set up everything, just got one little hang up. If I place a combo box on the form to select from a list of different p...

How could i get the full path name of running word or power point file by VB or VBA

I need to copy file from pen drive which file is running from pen drive. This soft must be running in background. Pls, Send me the code of getting running office pile path......... ...

VB6.0 and windows 2003 clustering

VB 6.0 / ASP (not .NET) web application that runs in a windows server 2003 / IIS environment with sql 2005 server.There is a c/c++ component (exe/service) that runs on the server. Customer would like to run in a windows clustered environment. Problems occur due to use of windows API GetComputerName. This pulls the actual server name, n...

Window Sitters - layered windows colorkeying and clickthrough

I made a window sitter in Visual Basic 6 a few years back, which used layered windows colorkeying to painlessly make the form nonrectangular. I tried to rewrite the window sitter in C# earlier this week, judging that the old code was a mess, and noticed that any clicks within the form's client rectangle were caught by the form, while th...

Close currently opened MsgBox using code

Is there any option to close the currently opened MsgBox using any code in VBA access form application ? \ ...

Calculating Total in gridview

I have a GridView with column Percentage. I want to get the total of Percentages in that colum. Can anybody help? ...

MS Access - How to turn a Dataset/query table into an OLE Object? msAcess 2000

I have some VB that copies OLEobjects into powerpoint automatically for me. The purpose of this is that my database runs queries, and then forms turn them into charts. As it runs through the various queires/form on open/close events the charts are added to a powerpoint presentation. I also have parallel queries that show the resulting d...

Sql query or VB script? How would I do this and what would the code be?

Hi, I have 5 databases (Queens, Brooklyn, Manhattan, Staten Island, Bronx). All 5 of these are Access databases. There was originally just one database but I broke it into 5 because the original file was 2GB. I have created a list of about 3000 names that I want to search through the five databases. This list is in an Excel spreadsheet ...

Removing all event handlers in one go

Problem: I have a document class which contains a list of objects. These objects raise events such as SolutionExpired, DisplayExpired etc. The document needs to respond to this. Documents can sometimes exchange objects, but a single object should never be 'part' of more than one document. My document class contains a bunch of methods w...

VB Project

Guys, can any one of u give me some suggesstion about what project should i make in visual basic..??? its a college mini project .. thanks .. ...

Is it possible to create an instance of a class in VB from a string containing the class's definition?

Is it possible to create an instance of a class in VB 5 CCE from a string containing the class's definition? Um... I'm actually using VB 5 CCE because I'm too cheap to get a version that costs money. Can someone tell me how to implement it that way? TYVM to whoever answers this!!!!! NVM... I'm downloading VS 2008 Express... ...

Can a reference to a netmodule be added in Visual Studio?

I am trying to use code written by someone else in my own project. Their code was shipped as a .netmodule file. It seems that I have to build my project from the command line using the /addmodule option. Is there any way to do this in the Visual Studio IDE? ...

What *is* an IPM.DistList?

I'm trying to get the recipient addresses within an IPM.DistList that is stored in a public folder (of type contacts) in Exchange 2003. The typeName of the object (once I get hold of it) is a Message (with a parent object being a Messages collection) and the messageType is "IPM.DistList". I can find all sorts of things about IPM.DistLi...

Check If Remote File Exists

In vb.net (using vs2005), I'd like to see if www.domain.com/myfile.txt exists. Thanks in advance! ...

Reading the serial number of USB storage device in Vb

Is it possible to read the serial number of a USB drive using VB. ...

User Login session variable filtered

I am trying to compare a session variable to another string so that i can enable or disable image buttons. i am using asp.net vb with a sql2005 express backend Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim string1 As String Dim string2 As String Label1.Text = Session("User...

Duplicating DropDownListItems Without Looping

This works like a charm... loading DropDownList2 with all the items from DropDownList1 without looping: DropDownList2.DataSource = DropDownList1.Items; DropDownList2.DataBind(); But, the data from the item text of DropDownList1 is copied into both the text and value fields of DropDownList2. Is there anyway to get both the text and the...

Decimal data type in Visual Basic 6.0

I need to do calculations (division or multiplication) with very large numbers. Currently I am using Double and getting the value round off problems. I can do the same calculations accurately on C# using Decimal type. I am looking for a method to do accurate calculations in VB6.0 and I couldn't find a Decimal type in VB6.0. What is the...

dissable image buttons

I am trying to compare a session variable to another string so that i can enable or disable image buttons. i am using asp.net vb with a sql2005 express backend i was using string.compare to compare the session variable sent from the login page to a string i set to "medev" which is a username in my database, if the condition is true and...