I use VC and I'd like to load a bitmap file on my user Dialogue.
But when I choose the picture item and add it into my Dialogue.
I found that the picture item can't be access by its property.
I can only show the bitmap by adding a bitmap item and I
can not use the picture item. why? Could have anyone else tell me
how to enable the picture item in my Dialogue , so that I can edit
the picture item 's property??
Lovely everybody, I found my soloution, And Now I
can show different Bitmap in my Dialogue without
use any source code.
Here is the Website that I found the problem:
http://www.functionx.com/visualc/applications/displaybitmap.htm
Hope it help
Related
I know this has been asked many times, I apologize for that. but i couldn't solve the problem.
I need to export data from excel to chrome web page. but when I press a button on the web page, the small screen opens and I can't find what I'm looking for there.
to be more specific, this is the page I opened. here I click on the button marked red.
enter image description here
A screen like this opens. I need to add data here.
enter image description here
my selenium code is like this.
Public Function kursiyergiris()
Dim tc As Integer
Dim Findby As New Selenium.By
Dim tcekle As Selenium.WebElement
bot.SwitchToNextWindow
Set tcekle = FindElementById("txtTCKimlikNo") // the part where i got the error
tcekle.SendKeys ("12345678")
note: when I search, I can see the "txtTCIDID" part.
thank you for the help.
1: https://i.stack.imgur.com/SXE4T.png
2: https://i.stack.imgur.com/SjnPb.png
Actually "bot.SwitchToNextWindow" is not for the mini window in the 2nd picture. for another window, the login screen. The screen that opens does not have a name. div has name. With the code "Debug.Print bot.IsElementPresent(Findby.ID("RadWindowWrapper_ctl03"))" I can see the div. but I need to write "txtTCIDID" in it.
The 1st photo below is the main screen. The screen where I want to save the second photo. Could you please review it.
enter image description here
enter image description here
It could be that the code bot.SwitchToNextWindow is not switching to the popup window.
Can you replace that code with bot.SwitchToWindowByTitle "{title of the popup window}" and see if that works?
When im getting application error in DefaultFailurePage.pcf while Policy center page navigation
But i can't to identifying that page button where mentioned in designing in DefaultFailurePage.pcf and referenced page.
Please let me know how to change that button Label and where ?
DefaultFailurePage has ErrorTabBar.pcf.
You can change the button labels directly in PCF file or change the display key for your language, (displaykey.Web.TabBar.Help, displaykey.Web.TabBar.About, displaykey.Web.TabBar.Logout(entity.User.util.CurrentUser), displaykey.Web.TabBar.PartialLogout)
I am facing one simple problem-- there is one Add button in the web page, After clicking that a small pop up window (Not in another browser tab , without title) opened having 3 text box. These id/xpath is getting changed whenever will click on Add button. I need to to enter few data and then save.
Could you please help me how we can handle this dynamic xpath/id ---text box in robot selenium framework. Is there any way we can input on text box based on label. Please share any pointer or sample code.
Thank you very much for the help.
I need to create a couple of message boxes in blue prism for a demo. This is how far I have gotten:
1. I am using the code stage
2. In the Inputs tab I have declared my Message and have given it a value
3. In the Code tab I have declared: `MessageBox.Show(Message)`
When I validate the code I get a compiler error: "
'MessageBox' is not declared "
Guidance is greatly appreciated. Thanks in advance!
You need to import System.Windows.Forms to your namespace in order to reference the MessageBox object the way you currently have in your code.
Open the initialize page of your object. Right-click the Description box (located in the upper-left of your page, by default) and select "Properties".
Click over to the Code Options tab.
Add a Namespace Import by clicking the Add button to the right of the "Namespace Imports" table. Set the new line item's value to "System.Windows.Forms".
Reset and re-run and you should be good to go to use MessageBox().
I know this is a common problem, and I tried a few solutions already, but the problem I have right now with my current code is that even though the attachments show in the computed for display field, I get the error "Note Item not Found" when I try to open them.
The form is built with two fields, in a programmable table that displays the editable one or the computed for display one.
The trick I found with Google's help was to delete the computed for display item in the queryopen event, so Notes regenerates the cfd item when opening the document. Visually, this works, as I see the text and attachments, but the attachments can't be opened.
Here is the code that removes the item in the QueryOpen of the form:
...
Set item = doc.GetFirstItem("dspDescription")
If Not item Is Nothing Then Call item.Remove()
...
Has anyone successfully achieved that functionality? Is there another way of doing this? I already tried with subforms, and because of the way the application is built, I need to be able to switch from editable to read only on the flick of a radio button, so subforms are out of the question as they can't be displayed dynamically.
Why don't you simple put the richtext item in a controlled access section and make that section editable / not editable with a computed for display formula. Select "always expand" and hide the section title, so that nobody can collapse it, et voila.
Regarding your comment: With this properties:
for this section in designer:
You get this result:
You see: No twisty, no "visible" section