Posts by Bruno Rodrigues • 394 points
15 posts
-
-1
votes1
answer271
viewsQ: How to remove treatment from a Datetimepicker
I use the Datetimerpicker component to use the heater and set the date, but I would like to remove the treatments of the component, because it makes it difficult to use the user, I already gave an…
c#asked Bruno Rodrigues 394 -
0
votes1
answer171
viewsA: Error converting Bigint to integer using lambda
Int64 procod = Int64.Parse(string);
-
0
votes1
answer171
viewsQ: Error converting Bigint to integer using lambda
In the database the guy is BigInt and in C# I’m trying to convert to int and he can convert, but when it comes to instruction lambda, makes a mistake. long codpro =…
-
1
votes1
answer186
viewsQ: Error in SQL 2008 Express installation (Silent Mode)
The installation parameters are as follows, but when trying to do it gives error and the installation is aborted. C:\Setup.exe /QS /ACTION="Install" /FEATURES="SQL" /INSTANCENAME="SQLEXPRESS"…
-
4
votes1
answer1801
viewsQ: Picking specific amount of characters from a textbox
I am trying to get a specific amount of typed characters in a texbox, the current code is as follows: novaconfiguracao.CupomEstabelecimento = tb_NomeFantasia.Text.Substring(0,48).ToString(); In the…
-
3
votes1
answer1746
viewsQ: How to align a string in a 42-character space
I am generating a text file and have to align the company name to the center, but the company name will vary for each customer, the default amount of characters are 42. texto="lb_NomeEmpresa.text";…
-
1
votes1
answer2717
viewsQ: Check File Creation Date and Delete
I created a Backup application, it saves the files in zip format DD-MM-YYY - 00-00-00.zip, but would like to know how I would do to check creation date for deletion, because the name of the files…
-
4
votes3
answers1158
viewsA: 'NT ANONYMOUS LOGON AUTHORITY' failure in SQL Server 2012 on remote server
Check the settings of SQL TCP services at:All SQL Managment programs SQL Server Configuration Tools Configurartion SQL Network Configuration Protocols for MSSQLSERVER TCP/IP in the ip address tab…
-
0
votes1
answer98
viewsQ: C# application does not load XML file when putting the application to start with Windows
I have an application that reads an XML file when opening, done this manually works, but if you put the application to start with windows the same does not read the file.
-
2
votes2
answers9326
viewsA: How to read the data of a.xml file and display in a textbox
The answer is this:` XmlTextReader x = new XmlTextReader(@".\\SS-BACKUP.xml"); while (x.Read()) { if (x.NodeType == XmlNodeType.Element && x.Name == "banco") cb_Banco.Text =…
-
3
votes2
answers9326
viewsQ: How to read the data of a.xml file and display in a textbox
I have an application that generates an XML file, but I’m not able to read the XML file and insert it in Textbox. <?xml version="1.0"?> <parametros> <banco>rango</banco>…
-
4
votes2
answers1234
viewsQ: How to generate a file in the same exe directory
I am generating an XML file and I want it to generate with exe. XmlTextWriter writer = new XmlTextWriter(@"c:\dados\filmes.xml", null); instead of putting the directory to save with exe.…
c#asked Bruno Rodrigues 394 -
1
votes1
answer4456
viewsQ: Component to select files or directories
What is the name of that component in Visual Studio / C# that selects the directory and takes the file path?
-
1
votes3
answers335
viewsA: Layout Messagebox WPF
If you do not want to use the WPF option you can make a form and assign the buttons and functionalities and create the Dialogresults.
-
0
votes1
answer838
viewsQ: How to list sql server databases in a combobox
How to list SQL Server databases in a C application combobox#