Posts by Anderson • 701 points
27 posts
-
0
votes1
answer88
viewsQ: Mongodb integration with ASP.NET MVC 5 and Postgresql
I am building a project in ASP.NET MVC 5 with Postgresql database, in this database there is a history table that will grow in about 500,000 lines per month and we will have reports that will gather…
-
1
votes1
answer209
viewsQ: Checkbox checked according to string
I have a string in the format ["0,1,0,1,0,1,0,0"]. Where 1 is checked and 0 is unchecked. I also have a grid where I still have a checkbox at the first Oluma. I need to mark the checkboxes according…
-
2
votes1
answer1127
viewsQ: Imageview - Defining Drawable by path
Hello I’m starting on Android and I’m with a small project that would be a memory game. So to "shuffle the cards" I created a function that stores in an array of integers called codimg numbers from…
-
3
votes1
answer891
viewsQ: Trigger that calculates and updates age
I want to create a Rigger that when firing calculates the customer’s age on each table row and updates itself. I tried it this way: create trigger Atualiza_Idade on cliente for insert,update,delete…
-
0
votes3
answers2429
viewsA: Calling event from within code
Try using Eventhandler https://msdn.microsoft.com/pt-br/library/system.eventhandler%28v=vs.110%29.aspx Or create a method that uses Radiobutton as a parameter. protected void…
-
6
votes3
answers23896
viewsA: Difference between type text and type varchar in SQL Server
Text: Non-unicode data of variable length on the server code page and with a maximum character string length of 2 31-1 (2,147,483,647). When the server code page uses two-byte characters, the…
-
1
votes2
answers231
viewsA: Effect (animation) on clicking on Windows Phone apps
In the XAML code there are Clickmode options: <Button Content="Button" HorizontalAlignment="Left" Margin="191,161,0,0" VerticalAlignment="Top" ClickMode="Hover"/> <Button Content="Button"…
-
2
votes2
answers674
viewsQ: Passing parameter between pages
How to pass parameter between pages in Windows Phone 8 . 1? In the previous version it was made like this: Pag 1: private void Button_Click(object sender, RoutedEventArgs e) { string uri =…
-
1
votes2
answers106
viewsA: Windows Phone 8.1 Saving Toggleswitch Status
I got! I created Toggle in Behind code, I needed to stop it before trying to assign some property.…
-
0
votes2
answers106
viewsQ: Windows Phone 8.1 Saving Toggleswitch Status
I have a code where I need to save the state of Toggleswitch. So that when starting the page it is with the Ison property active or inactive, according to how the user had selected. But when…
-
0
votes1
answer166
viewsQ: Sql CE 3.5: Data generation probelma
When trying to generate Datacontext to a Windowsphone 8.1 project, through the SQL Server Compact Toolbox interface: -Generate Code (EF/LINQ to SQL/Syncfx) >> Add Windows Phone Datacontext to…
-
5
votes1
answer68
viewsQ: Isolated Storage or SQL Server Compact
I’m making for Windows Phone 8.1 something similar to a dictionary where there will be a lot of text with sort, search, sort by name. Bearing in mind that there will be this large amount of…
-
3
votes1
answer78
viewsQ: How It Fires Vibration in My Device
How Vibrator fires in my Windows Phone 8.1 app ? For example : if(==0) { VIBRAR APARELHO; }
-
2
votes1
answer360
viewsQ: How to observe user inactivity and enable or disable the lock screen on Windows Phone 8.1
How do I turn off automatic screen lock on windows phone 8.1 ? phoneService.UserIdleDetectionMode = IdleDetectionMode.Disabled; Before the use of the line above met, but the same is no longer valid…
-
4
votes2
answers376
viewsQ: How do I handle the event generated by the Windows Phone 8.1 back button?
In previous versions it was possible to make such manipulation over writing Onbackkeypress. protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e) { . . . } However, two…
-
3
votes1
answer401
viewsQ: Windowsphone - How does one event "inside" another?
I defined the visibility of my combobox as Collapsed, for visual reasons and since Appbarbutton is more presentable. I want to know if it is possible to call the combobox event by firing an…
-
3
votes2
answers206
viewsQ: Messagebox error
I tried to implement the code below in a Windows Phone 8.1 project, the same had already been implemented in Windows Forms successfully. What should I change to be valid for Windowsphone 8.1?…
-
1
votes1
answer206
viewsQ: Modify default source
It is possible to modify the default font of my Windowsphone 8.1 application? Because I do the font change, inside Visual Studio is the font I chose, but when I run on the device the font this is…
-
1
votes1
answer622
viewsQ: How to do random image uploading?
How do I randomly upload images to the background of a app, so that each time the user enters a given page the background changes between the images ? How should I proceed to do this?…
-
3
votes1
answer56
viewsQ: Guidance control
I set the orientation of a page of my app as landscape, but it was static. If the user turns the screen 180º continues as a landscape but stays upside-down. How do I so that when the device is…
-
1
votes1
answer474
viewsQ: How to present app in full screen / fullscreen on Windows Phone 8.1?
I want my application to run in full screen mode. I have tried using the codes below, however, are giving some errors. The code is not recognized by the emulator: <phone:PhoneApplicationPage ...…
-
1
votes1
answer33
viewsQ: Error:Build Solution - Visual Studion
When trying to build the solution VS2013 presents the following error: Error 1; Could not copy the file "obj/Debug/Win8appbox.exe" because it was not found. I noticed that the file . exe is deleted…
-
5
votes2
answers6164
viewsQ: Grab information from object Sender
How does the search for information through the Nder object work and in what situations can I use it, with what types of events? This is to avoid event redundancy. Where can I explore these…
-
1
votes3
answers13945
viewsA: How to compare the difference between two dates in Delphi?
Use the function decodeDate(). In it, you pass 4 parameters: The first is the date; In the second you pass a variable to where the function will extract the date YEAR; In the third you pass a…
-
0
votes2
answers1220
viewsA: Error povoar combobox - An unhandled Exception of type 'System.Invalidoperationexception' occurred in mscorlib.dll
Follow the answer code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using…
-
6
votes4
answers438
viewsQ: "Clean" way to modify the "Visible" attribute of a Picturebox
I have 5 background images for my application and that will be visible to the user’s taste. What is the simplest way (clean code) to get the user to choose? private void…
-
0
votes2
answers1220
viewsQ: Error povoar combobox - An unhandled Exception of type 'System.Invalidoperationexception' occurred in mscorlib.dll
This is a Cod. to fill a combobox with a list that will be populated by the insert event that will redeem a value from a textbox, and will cause the name selected in combobox1 not to appear in…