Good day, wonderful people of this forum. Please I am using crystal reports visual studio version CRforVS_13_0_15 and I am finding difficulty displaying the rows on separate pages. Displaying a row on a single page is not a problem. But let's say SQL query returns 30 records, these records should display on 30 pages separately. Which means every page will have different record. None of the fields is on the detail section. I appreciate your effort in advance. Many thanks
I personally like NSIS (no link as I am using my iPad), as it has tons of plugins and other utilities. The latest versions (3.0 betas) support both Unicode and ANSI encodings, switching with a simple directive.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
Outlook offers various libraries as an interface to communicate with Address book and email.
Private Sub Command1_Click() Dim OlApp As Outlook.Application Dim Inbox As Outlook.MAPIFolder Dim InboxItems As Outlook.Items Dim Mailobject As Object
Set OlApp = CreateObject("Outlook.Application") Set Inbox = OlApp.GetNamespace("Mapi").GetDefaultFolder(olFolderInbox) Set InboxItems = Inbox.Items ' For Each Mailobject In InboxItems MsgBox Mailobject.Subject MsgBox Mailobject.SenderName MsgBox Mailobject.To MsgBox Mailobject.Body Next
Set OlApp = Nothing Set Inbox = Nothing Set InboxItems = Nothing Set Mailobject = Nothing End Sub
I downloaded the SharpGL extensions for 2013 in the .vsix file. However, when I click on that file it get the message that no app handles .vsix filetypes. I am using Visual Studio 2015. Is there a down load for this version of the IDE? Is there something I can do to import these extensions into Visual Studio?
I tried tools:options:manage file associations and put the .vsix file in a directory pointed to in the file association window. When I did that I got the message that Visual Studio didn't have the authorization to open that folder?
I am a VB6 oldie trying to learn VB.net. I am rewriting a program I wrote in VB6 and need to create an array of picturebox controls during runtime. I have read up that there isn't a direct index array equivalent in .net and have played with various snippets of code examples I have found on the www. I found this code snippet (acknowledgement to the author) and it works well, creating 10 pictureboxes during runtime. But I cannot figure out what code is required to have mouse events (mousemove in particular) trigger over these created pictureboxes?
Dim Shapes(10) As PictureBox For i = 1 To 10 Shapes(i) = New PictureBox Shapes(i).Name = "PictureBox" Shapes(i).Location = New Point(10 + 100 * i, 20) Shapes(i).Size = New Size(50, 50) Shapes(i).Visible = True Shapes(i).Enabled = True Controls.Add(Shapes(i)) Next
Could someone assist and help me understand the code required to detect a mousedown and mousemove event so I can drag the created pictureboxes around the screen?
I know how to mousedown and mousemove, and I can do this on a single picturebox placed at development time, but nothing I have tried has allowed a mouse event to be triggered on any of these 10 created pictureboxes....
this following code doesn't work, even though the control is named Picturebox........but does work on a picturebox placed during development time as I said........
Private Sub picturebox_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox.MouseMove If e.Button = MouseButtons.Left Then sender.Left = MousePosition.X - Off.X sender.Top = MousePosition.Y - Off.Y End If End Sub
Private Sub picturebox_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Off.X = MousePosition.X - sender.Left Off.Y = MousePosition.Y - sender.Top End Sub
Any assistance to steer me in the right direction to learn this trick would be greatly appreciated. I need to be able to grab any of the 10 created pictureboxes at random, and drag them around the screen to reposition them...... thanks in anticipation....
Remove the "Handles" clause from the event handlers, as they're not handling events from controls created by the designer:
PrivateSub picturebox_MouseMove(ByVal sender AsObject, ByVal e As System.Windows.Forms.MouseEventArgs)
If e.Button = MouseButtons.Left Then
sender.Left = MousePosition.X - Off.X
sender.Top = MousePosition.Y - Off.Y
EndIfEndSubPrivateSub picturebox_MouseDown(ByVal sender AsObject, ByVal e As System.Windows.Forms.MouseEventArgs)
Off.X = MousePosition.X - sender.Left
Off.Y = MousePosition.Y - sender.Top
Then, use AddHandler to attach the event handlers to the controls as you create them:
Dim Shapes(10) As PictureBox
For i = 1To10
Shapes(i) = New PictureBox
Shapes(i).Name = "PictureBox"
Shapes(i).Location = New Point(10 + 100 * i, 20)
Shapes(i).Size = New Size(50, 50)
Shapes(i).Visible = True
Shapes(i).Enabled = TrueAddHandler Shapes(i).MouseMove, AddressOf picturebox_MouseMove
AddHandler Shapes(i).MouseDown, AddressOf picturebox_MouseDown
I tried that pressing the mouse button and slide the cursor over a control, it receives the MouseDown event. Without releasing the mouse button when entering another control, it receives the MouseDown event.
Something similar to slide your finger across the keys of a piano.
Thank you :-D