|
Appreciate for any help ! I was asked to disable the buttons until the user has selected a block of text(Textbox), and the user should be open mulptiple documents(MDI)at the same time.
Thank you all !!!
|
|
|
|
|
Hi,
Using another software package---Lotus Domino in this case---is it possible to access the functions or procedures of a component or DLL file that was developed with Visual Basic 6.0 (an ActiveX DLL)?
At this time Lotus Domino makes its own objects accessible via COM, but is not able to access third-party COM objects (including, presumably, VB DLLs). However, LotusScript is similar to VB script and (according to the documentation) it does support the DECLARE and INCLUDE syntax to access functions in C-generated DLL files... but the docs make no mention of VB-generated DLL files.
Any ideas or pointers to other sources?
Thanks!
Roy Acres
Programmer-Analyst
Health Canada
roy.acres@hc-sc.gc.ca
|
|
|
|
|
I am developing a custom MMC extension for managing the configuration of an application. I would be pleased if somebody can explain me how to add subnodes dinamically to a node (as if I add a new database in the SQL Server enterprise Manager). Can I do this with the snap-in wizard for VB, or I have to write the snap-in with VC++?
|
|
|
|
|
You have to add a designer to your project and from there you can add listviews, oxcviews and so on.
Check out the VB MMC files and sample from Platform SDK. Its pretty cool.
|
|
|
|
|
In VB it is possible to create addins, for VB and C++ and outlook, etc etc.
i made an addin for vb, and i had to dim an application instance as a VBIDE.VBE,
my question is, what do i dim it as for Visual C++/Studio to recognise my dll as a valid addin???
cheers
-Jim
|
|
|
|
|
Hallo
Can somebody help me.
How can i record in realtime from a video camera to my hard drive??(AVI File) i need the code for AV and DV(firewire)
or somebody can tell me how they talk togheter.
B.R
BA
|
|
|
|
|
I´m having some problem about storing a bitmap file into an Access 2000 field.
I have a form in visual basic that contains a picture box, from this picture box I generate a bitmap file. What I need now is to store this file into the Access database in a way that the Crystal Reports 8 could read later. I´ve been told to store the path of the bitmap file only, but if I do that, how to make Crystal Report show the picture instead of the path?
Another solution I heard is to use the Access 2000 "OLE data type", but I don´t know how. In this case I would need a piece of code as example.
If someone could help me, any of the solutions above would work for me. Thanks...
|
|
|
|
|
Maybe this can help you...
http://support.microsoft.com/support/kb/articles/Q113/9/57.asp
-Øyvind
|
|
|
|
|
I use SHELL to execute a windows program via VB. I want to call this program only if it not runing already. how can i do this ? thanks for helping.
|
|
|
|
|
what i would do is use the FindWindow API (not sure .. but the API which accepts a string title of a window and returns a handle to the same).
if a valid handle was returned .. then DONT LAUNCH..
else..
mail me if u would like me to make a small snippet for ya !
Mayuresh
|
|
|
|
|
I would like to have a checkbox bound to each cell in a dbgrid-column. Need help or ref. to an example...
|
|
|
|
|
I want to be able to call a function in a DLL at run-time, without first putting a DECLARE in my VB program at design-time. Any sneaky ideas? Here's a little head-start that maybe someone out there can help me with. I can call the LoadLibrary API function to get a handle to the DLL I want. Then, with this handle and the name of the function I want, I can call the GetProcAddress API to get the address of the function. In C++, I could simply jump to this address, but how can I call this function by its address in Visual Basic? Anyone know?
THANKS!
Jase
|
|
|
|
|
How can i record from a video camera to file with a multimedia mci control i'l need the code for that.PLEAS
|
|
|
|
|
Hi,
I really do not think that this can be done simply with a code snipit. You will have to use a ActiveX control, this could get a little expensive.
Check out this site, it may have a listing of such controls:
http://www.programmersparadise.com/
Hardware is another consideration
Good luck,
-- Marty
|
|
|
|
|
Hi there!
I keep getting following ASSERT:
Assertion Failed: file C:\MSO9\tcutil.cpp line 6227: could not fix LanguageResources registry entries
This happens with any example provided by the package.
Any Ideas for this?
Tnx in advance,
Antti
|
|
|
|
|
Hi!
I want to know how to write a program in VB 6
That locks the computer if you dont know the password.
Thanks
|
|
|
|
|
IK,
Well to tell you the truth I've been wanting to write one of theese for myself for quite some time. Heres what you do:
- Prevent escape keystrokes (CTRL ALT DEL, ALT F4 ect)
- Size the window to full screen and prevent the user from using the start menu
-have the program start at system startup to prevent the computer from being restarted in order to access the system
It's that simple!
As for hiding the start menu/taskbar, thats as far as I got, I dont know how to do that.
Maby I could send you someting by e-mail if anyone else hasen't already done this in VB.
-- Marty
|
|
|
|
|
hi IK
u can do that using some of the API's and some changes to the registry
now i don't remember all of them but next time i will send u an Email which will cover all of the details ,u can get help from System Policy Editor.
|
|
|
|
|
|
anyone can help me to learn v.basic & v.c & c++
i buy books,but it's not enough
so if u can help me(and i hope so) contact me at my e-mail tyro901@yahoo.com
please help me even with good ideas
THANKS FOR UR COOPERATION
|
|
|
|
|
it's ease !
what do you want?
|
|
|
|
|
I know how to create an instance of activeX control using CreateObject, but this doesn't exactly display the visual control on the form. It seems like it only creates an object instance of it. How do I make it so that i can switch between activex *visual* controls dynamically on a form?
thanks,
|
|
|
|
|
|
Loading ActiveX controls on form dynamically at runtime is not that easy.
One way is to declare an object variable. but you cannot handle events for the controls.
Other way is to declare a variable as VBControlExtender.
u can declare this variables with events.
The procedure to use this VBControlExtender:
'place the code in form_load or form_initialize event <br />
<br />
Dim WithEvents MyCtrl As VBControlExtender 'declaration<br />
<br />
Licenses.Add "MyCombo.MCombo" 'Add the licence of the control class to the project<br />
<br />
'Add the control to the form which is the parent to the control<br />
Set MyCtrl = Me.Controls.Add("MyCombo.MCombo", "MyCtrl", Me)<br />
'Set the position of the control and make it visible<br />
With MyCtrl<br />
.Top = 100<br />
.Width = 100<br />
.Height = 315<br />
.Left = 100<br />
.Visible = True<br />
End With
Click event of the control can implemented in this way:
Private Sub MyCtrl_ObjectEvent(Info as EventInfo)<br />
'This Info parameter consists of event name and the parameters of the event.<br />
If Info.Name = "Click" then<br />
'do your code<br />
End If<br />
End Sub
that's all
Regards,
Ravi.
|
|
|
|
|
Hello everyone,
I am currently working on a project which calls for the creation of ActiveX User Controls. The controls would need to be able to implement a vertical or horizontal slider that would divide 2 user panes (just like File Explorer or Outlook). I could implement this in a standard VB project but in a control it seems a bit difficult. Moreover, I have three different conditions to consider as well.
1. A splitter control that is activated only during design-time.
2. A splitter control that is activated only during run-time.
3. A splitter control that is activated both during design-time and run-time.
I would appreciate any form of help on this topic. I would appreciate reference source codes of any implementation of this sort.
Thanks and regards.
Marlex L. Ventura
ventura@usinc.net
|
|
|
|