How do you get the Report Viewer to show changes that you programmatically make to Text Objects via VB at run-time? When I run the following code, the changes I make to the recordset are shown in the Report Viewer as expected, but the changes to the Text Object are not shown. In case it...
I’m having trouble using the Form Layout window to position forms in my projects. Most of the time when I view the Form Layout window (via View|Form Layout Window) it comes up with no forms on it. Other times it works just fine. In either case I know that I have set the StartUpPosition...
This is my first foray into creating ActiveX Controls. I’m having trouble understanding the cycle of reading/writing properties (i.e. persistence) that occurs when the host application moves from design mode to run mode and back. The book I’m reading states “that the first time we draw our...
I'm a bit confused about the Project compatibility option available to ActiveX components. One book I have says that under Project compatibility the Windows registry is updated each time the ActiveX server/component is compiled, thus requiring you to recompile all the clients too. However...
Is it possible to specify the primary-foreign key relationships between tables in VisData? Also how do you enforce referential integrity and specify cascading delete operations? I know how to do these tasks using Access and the DAO, but I can’t figure out how to do them in VisData (assuming it...
When I “For Each” through a collection I usually use a Variant type control variable. However, in the case of the Forms collection or Controls collection, what type of control variable should I use? I have successfully used type Form and Control respectively in these “For Each” loops but am...
Simple point of clarification: What exactly is a global variable? Is it a variable that is declared as public in the Declarations section of ANY module or is it limited only to a variable declared as public in the standard/code module?
The book I’m currently reading is being rather ambiguous...
Could somebody please recommend a good book on ActiveX? Specifically, I want something to teach me how to design and create ActiveX EXE's and DLL's using VB. My experience with ActiveX is limited. So, a book catering to beginning or intermediate VB programmers would be best.
Thanks for your...
I've been connecting to Access databases via the data control but would like to start learning how to use ADO. Can anybody recommend a good book on ADO for beginners that is both understandable and thorough?
TIA
I’m trying to use Word from within Visual Basic to print a document. Everything works perfectly the first time I print but all subsequent attempts to print fail. The sequence of events is as follows:
First print: everything is fine.
Second print: Run-time Error 462 – The remote server machine...
Does anybody know if it's possible to emulate word wrap with an array of textboxes? Specifically, I just want the current word being typed in a textbox to wrap to the next textbox in the array if the maxlength is exceeded while typing that word. While I could use a single multiline textbox, I...
Is it possible to add records to and delete records from a recordset comprised of two or more inner joined tables? In case it matters, I'm using the VB6 data control connected to an Access database.
Thanks.
Is it possible to pass a pointer/reference to a control as an argument to a function? Along the same lines, is it possible to pass a pointer to a control array to a function? If so, could you please provide a sample of the syntax for both the function call and the function header?
TIA
Is there any way to determine if an object variable points to an instantiated object? Presently I’m trapping the Error 91, however I would like to employ a more proactive approach.
Thanks for helping a beginner.
As an academic exercise I made a screen saver of sorts that consists simply of a maximized form with a small graphic which moves about the form and “bounces” off its edges. While it works great on my 17” monitor set at a resolution of 800 x 600, I’m concerned that it may not work the same on...
The textbox control has cut, copy and paste functionality built right into it. I understand that this functionality can be accessed via either pop-menu or the appropriate short-cut keys (ctrl+x, ctrl+c, ctrl+v). However, I would like to make this functionality available as regular menu items...
I'm making a simple invoicing application but am having trouble fitting the whole invoice onto a single form. I'd rather not split up the invoice into multiple forms. What are my options? Is there a way to make a form scrollable or a method of changing the perspective (i.e. zoom in/ zoom out)...
I’m a newbie to both VB6 and Crystal Reports but I need to understand how these two tools can be used together. What I’m looking for is an simple overview describing how to integrate reports created in Crystal Reports into a VB application. Can anybody provide me with this information or point...
I’m a newbie to both VB6 and Crystal Reports but I need to understand how these two tools can be used together. What I’m looking for is an simple overview describing how to integrate reports created in Crystal Reports into a VB application. Can anybody provide me with this information or point...
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.