Posts by bp002 • 527 points
28 posts
-
1
votes3
answers1002
viewsA: Namespace Serialization with link
Personal beauty, I will post an example of serialization, with this feature I can mount quickly and without complication my xmls. A partial class I assembled from the layout of an Nfe import using…
-
0
votes3
answers1108
views -
0
votes3
answers1002
viewsA: Namespace Serialization with link
The best way to work with Nfe is to use serialization and deserialization of objects. Another tip the version "2.00" was disabled this month, now it is 3.10 @rubStackOverflow I chose to use…
-
0
votes3
answers4420
viewsA: Error when signing a SHA256 Hash using Digital Certificate
Look at this simple example, running SHA256 directly in a text, debug the methods to add the certificate, in case, the certificate id right? to use as a keyword. Private Function Encriptar(ByVal…
-
1
votes1
answer407
viewsA: How to create a new configSections in App.config
Good afternoon, I had to store for some time some information about an application, environment settings of the same, it is very simple //Instanciando e utilizando o app.conf default da aplicação…
-
0
votes3
answers4420
viewsA: Error when signing a SHA256 Hash using Digital Certificate
Try it like this. Dim csp As SHA256 = Directcast(Certificate.Privatekey, Sha256cryptoserviceprovider) I can’t test it now, but I think it’s conflicting with the application RSA x SHA256.…
-
1
votes1
answer67
viewsQ: Problem with product update
In the query the goal is to update the unit of the product, with a subquery which retrieves the current unit from the bank and subtracts by checking by code. UPDATE loja.produto SET UNIDADE =…
-
1
votes3
answers203
viewsA: Return Time.zone.now in C#
Here a possible solution with some concatenations: MessageBox.Show(DateTime.Today.DayOfWeek.ToString() +", "+ DateTime.Now.ToString("dd MM yyyy hh:MM:ss") +" "+TimeZoneInfo.Local.ToString()); exit:…
-
0
votes4
answers2688
viewsA: How to add the ninth digit, fixed, using jQuery Mask?
Dude has an example of good, another similar question from here in the stack: How to create input masks with Javascript? Exactly with this example, do not fix the Ninth digit more force the user to…
-
6
votes1
answer2687
viewsA: String signature in Base64
Dude, I’m developing solutions for NF-e, I have the following signature code, I don’t know if for the CPF can be the same pattern if yes, works like this: var xml = new XmlDocument(); // <----…
-
1
votes3
answers7352
viewsA: Query Status Nfe C#
Face the problem is authentication on the recipe server, they ask certified your application when trying to connect to them to consume. Example of Binding service Recepcaoeventosoap which sits on…
-
0
votes4
answers7507
viewsA: Arduino and Android Bluetooth Connection (Java) - Inputstream storing old data
Create a function to listen to the serial from time to time, assign the serial value to an example variable: "current", this variable stores the current value in the serial, so if you don’t send…
-
1
votes3
answers145
viewsA: Problems when displaying javascript string
Cara modified the controller function with the hint of @Marcusvinicius. var controller = { getNomeCurso : function() { return window.decodeURIComponent(itens[0]); <--…
-
1
votes3
answers145
viewsA: Problems when displaying javascript string
try like this: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-
0
votes2
answers550
viewsA: Logic with date in excel
Yes, it is possible using vba, imagine a list of size N where you add the OPS to the machines, and a thread that looks at that list, takes a position from the list, processes, and marks with 0,…
-
0
votes3
answers5020
viewsA: How to make an inline form with bootstrap without using tables
Simple form for sending message in contact <form method="post""> <div class="row 50%"> <div class="6u"><input type="text" name="nome" placeholder="Nome" /></div>…
-
3
votes1
answer625
viewsQ: Serialization of lists in C#classes
Good afternoon guys, I’m running an Nfe project for emission, so I opted, after searching use class serialization to mount xml. Everything works very well, from a class structure that defined the…
-
0
votes2
answers147
viewsA: How to save app data to smartphone?
You can store in an xml file as it is a standard for android, like activitys, manifest etc.
-
1
votes3
answers1002
viewsQ: Namespace Serialization with link
I’m working with Serialization, I’m adding Namespace to two tags, nfeProc and Nfe. I can normally add the following: [XmlRoot("nfeProc", Namespace = "http://www.portalfiscal.inf.br/nfe")] In XML:…
-
1
votes1
answer361
viewsA: How does Digital Subscription work in the Healthcare System?
Hello, do not know for sure, more as reported on e-CPF, should be similar to the scheme of a company that has its CNPJ and digital certificate to issue valid notes(NF-e), the digital certificate…
-
0
votes1
answer424
viewsQ: Class Order to Serialize C Object#
I am working on an Nfe project, and have chosen to use serialization of a class based on the xml structure I want. I implemented the class, everything worked as expected, root, nodes etc, but I have…
-
0
votes1
answer1226
viewsQ: Problem when exporting data from c# datagridview to excel spreadsheet
Good morning guys, I have the following code below, in it I am taking the data from the datagridview and exporting to one . xls, I’m going through everything like String, the texts, names, which are…
-
0
votes1
answer646
viewsQ: Assign Listbox values in vector
By playing the items one by one within an array, position 0 with 0 and so on, it works correctly. But the code has a malfunction because ,in the first iteration is normal in the second of the error:…
-
0
votes0
answers1338
viewsQ: XML Header Electronic Invoice Note
I’m having a problem formatting the message we sent to the web service of the service to consume the Nfe service. Upload this String to the web service: var sbXml = new StringBuilder();…
-
1
votes2
answers12040
viewsA: How to store a pdf file in a Mysql database?
Dude, a viable alternative is to use a directory to store the PDF s and save in the flock their path, then you mount a function that searches the path of such a file with such name, if it is with…
-
0
votes3
answers3144
viewsA: AVD does not carry
I thought of two things, first the emulator is weighing, depending on the machine may take time to start, and other the correct creation and configuration of emulator, display, processor,…
-
1
votes2
answers2115
viewsA: CSS for different browsers
Cara I think can help you, insert in your css a code to reset the elements of the browsers as soon as you upload your page, there are some templates, among them the following below: reset css…
-
12
votes4
answers7973
views