Posts by Fabio C • 381 points
13 posts
-
4
votes1
answer267
viewsQ: Accept only one comma in Textbox c# WPF
Hello I have my decimal textbox like this: <TextBox x:Name="TextBox" KeyDown="TextBox_KeyDown" Style="{StaticResource MeuTextBoxValor}" Height="23" Margin="1" Text="{Binding Peso,…
-
1
votes2
answers4479
viewsQ: Safest way to encrypt passwords in Mysql ? And the easiest?
What would be the safest way to encrypt passwords in Mysql ? And the easiest way? I am using a mysql database, with the removal of the function PASSWORD would like to know another way to encrypt.…
-
1
votes1
answer425
viewsQ: Error executing PASSWORD IN MYSQL SERVER function ( ERROR 1064 SQL SYNTAX)
Error while executing function PASSWORD IN MYSQL SERVE I have the following query: SELECT * FROM users WHERE login = 'FABIO' AND pwd = PASSWORD('2018') LIMIT 0, 50000 You’re making that mistake:…
-
1
votes1
answer512
viewsQ: Menu Icon change color by hovering over WPF c#
Hello, I’m trying to get that when pass the mouse change color. Menu icon should be white as the letter (header) as shown in the image down below: My menu code and that <Menu…
-
3
votes1
answer560
viewsQ: Textbox masks value from 2 to 4 decimal places in WPF C#
I wish my Textbox had the following "mask" When I put two houses after the comma: 0,00 or when I put three: 0,000 or when I put 4: 0,0000 My code in WPF C# and the following: <TextBox…
-
1
votes2
answers72
viewsA: Textbox changes the value to decimal (EN) when pressing the TAB, however I want to leave currency (REAL) the field
I solved this by putting a Converterculture! <TextBox x:Name="TbTotalICMS" Style="{StaticResource MeuTextBoxValor}" Text="{Binding Vicms, ConverterCulture='pt-BR'}" />…
-
3
votes2
answers72
viewsQ: Textbox changes the value to decimal (EN) when pressing the TAB, however I want to leave currency (REAL) the field
I have a field <TextBox x:Name="TbTotalICMS" Style="{StaticResource MeuTextBoxValor}" Text="{Binding Vicms}" /> My Vicms is a decimal. By pressing the TAB key, the value that is 1.00 (example)…
-
1
votes0
answers60
viewsQ: Update Page( windows) during Button Click, Spinner stops working on WPF C#
I’m making a WPF application in c#, that when I click the query button on the bank. It starts spinning a "Spinner" that is inside the Usercontrol; private void BtnBusca_Click(object sender,…
-
1
votes0
answers24
viewsQ: Error publishing UWP to WINDOWS STORE
I’m having the following error when publishing to Windows store (microsoft). API Createfilew in kernel32.dll is not supported for this application type. Mysql.Data.dll calls this API How to remove…
-
3
votes2
answers224
viewsQ: Loading the web version of a website and not the mobile version into a Webview
How to press the WebView do Xamarin.Android a full site? It is bringing the mobile version. Example: I’m talking to WebView go to https://www.meusite.com.br And it’s bringing:…
-
3
votes2
answers655
viewsQ: Mysql parameter error with C#
string sql = @"UPDATE ivendas SET nritem=(@rank:=(@rank+1)) where id_venda = 20"; try { MySQLBase basemysql = new MySQLBase(); MySqlCommand cmd = basemysql.connection.CreateCommand();…
-
1
votes1
answer488
viewsQ: Notification with C# Framework, is it okay?
I wonder if you have a way for me to use hub notification or other type of notifications with the C# Framework? If there’s a way someone has an example?
-
2
votes1
answer1327
viewsQ: How to do GROUP BY in UNION ALL?
I have the following code: String select1 = @"SELECT CODIGOB, DESCRICAO, QUANTIDADE FROM " + path + @"\IVENDA.DBF WHERE DATA BETWEEN {^" + datainicial + "} AND {^" + datafinal + @"} "; String…