How is best to get the value of a registry key? Is there a difference in approach in VB6 and VB.NET, is there any approach that is common to both languages?
Any guidance much appreciated -
Rob
Hi,
I have an activex control that has many windows in it. When I call its hwnd method it just gives back the main 'wrapper' window. In VB I can get hold of the window I want by getting a point using GetCursorPos (API call) and passing the point to WindowFromPoint (API Call).
I see this...
Hi,
I cant find out what database I am connected to. Is it possible to determine the difference between Oracle, DB2, SQLServer and Access if the only thing you know about the database is if it supports anyone of the following 5 SQL clauses?
Distinct
All
As
Order By
Group By
I suspect not...
Hi,
I checked the FAQ'a but nothing there, so I hope know one minds me posting a simple question.
I have the following code in a module in my vb project, i call it from my main code window to hide the taskbar, its works just fine, but I really dont understand what is happening. Any guidence...
Hi,
This may be a little low level for the forum but im banging my head over this. I have some software that requires ie6 be installed, problem is i dont have an internet connection? every time i try and install it wants to connect, i havent been able to find a downloadable version that...
Hi, I have a main menu control on a form. It is thinner than a normal menu, does anyone have any ideas how i could increase the height of the mnu bar?
Any thoughts appreciated,
Rob
Hi,
I am trying to write a simple little app using vb.net. It has two forms, one is a splash screen the other is the 'application' I call the splashscreen first then use a timer to delay the loading of the second form. The loading of the second form (and timer) is in a sub called...
Hi,
I would like to add a dockable window to word that hosts a VBA form. The Form can be developed in The Word VBA dev environment and added to the dockable window? Is this possible? I really don't know where to start with this, any help appreciated,
Rob
Hi,
I am using Word 2003. I have a form in VBA which hosts an ActiveX control. I would like the VBA form to be hosted itself, within the Word Task Pane (Ctrl+F1).
Does anyone have any ideas how I may achieve this?
Any thoughts appreciated,
Rob
Folks,
I currently have a combo with a set list of values, e.g.
Panda
Lion
Flamingo
Bear
But I want make it less windows like. I'm thinking something like the menu bar on a mac, where you slide across it and it warps?! So say I have a pic of each animal, I was thinking of using a slider to...
Hi,
I am using visual basic 6. I want see if an application is running. i.i is notepad.exe running on the same PC as my VB app? I thought this would be straight forward but it seems I have to use the winapi? I have had a look around the net and have failed to find anything straight forward...
Hi,
I am making a VB6 Standard EXE. I want get the folder in which the execuatble will reside on the users machine. Any suggestions on how best to do this would be much appreciated.
Rob
Hi,
I am running code and want call a 'exit' sub when I need to exit the currentely executing code. I pass a message to this 'exit' sub that is displayed before quiting the application. The problem is i dont know how to quit the app, End Sub just ends the 'exit sub and returns me to the main...
Hi,
I have a access database that opens with just a form. It doesnt show the database window. It doesn't show the Tools menu on the toolbar so I can't change the start up properties? So how can I gain access to the toolbar, or the database window if somebody knows another way than via...
Hi,
I have am using FromsV6 with an Oracle9i database. I have a check box that when clicked inserts a date into a date field. But I am having a few problems. When I load the form if the date field is null I want the check box to be unchecked. If a date exists in the field I want the check...
Hi,
I have some data from Japan. A typical value for a cell is shown below:
1. Neil?Peter
The little character inbetween Peter and Neil is shown as a square in Access, a question mark in Excel. But when I try find and replace in access it I copy the litte square, but it is pasted as a tiny...
Hi-
Could someone please explain what the AS [%$##@_Alias] refers to in this query? It works but isnt the name of a table or query in the database?
Any indication, much appreciated,
Rob
SELECT DISTINCT SITE
FROM [SELECT SITE, ID, count(*)
FROM L_ALL
GROUP BY SITE, ID
HAVING count(*) > 1]...
I have a table with several fields and a 'primary key'. But the 'primary key' has some duplication. When I use the term primary key I refer to the field I wish to be the primary key, but to do this I need a list of the records that are duplicated. In oracle I would do a select * query minus a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.