Posts by Joelias Andrade • 509 points
27 posts
-
0
votes1
answer43
viewsQ: How to get the result value of divValue. result[2] in the mvc controller?
$(document).ready(function(){ $("#btnSend").click(function(){ $.ajax({ url:'@Url.Action("VerificaCep","ConsultaCep")', type: "GET", contentType:"application/json", …
-
1
votes1
answer381
viewsQ: include decimal places Value 1500 and leave it as 1500.00 without comma!
I have an integer value of 1500 in the monetary value variable and want to send to another value variable like 1500.00 . How to do in c#. I have tried conversions and nothing happens... In the end,…
-
4
votes1
answer415
viewsQ: Static public variables in C#
How can I organize my code? When programming there are variables that I am leaving in the same code at the top as: namespace myData.MySql { public partial class teste { public static string…
-
0
votes1
answer967
viewsQ: Open or Form1 or form2 on winform program startup
I have a program in vb6 and has two buttons - A scanner and another for scanning images. I created a program in c# winform where the project has 2 Forms - a Form1 for the scanner and another form2…
-
1
votes0
answers219
viewsQ: Files with extension . XLX of excel have converted to extension .xlx.crypt on my desktop where saved. What to do?
The xlx file extension in excel went to .xlx.crypt. I think it caught a virus. Would you know how to remove and not lose the files? Thanks for your help in advance
-
2
votes1
answer807
viewsQ: Custom Installation Path via SETUP
When I publish the windows form application, it already generates the Setup by the visual Studio 2010 which when running, installs in "program files" in windows 7 the Installation. I would like to…
-
0
votes1
answer70
viewsQ: How to put 0x0D 0x0A at the end of a txt file
I have the end of the code of my txt file below and according to the recipe manual, asks me to put the characters 0x0D 0x0A at the end of the record. How could I do that? ATT01 =…
-
5
votes2
answers4914
viewsQ: How to delimit a string field in c#
I have a string field for example address in the code. This address field receives a 60 character data. What I want is to delimit the address size so that it only receives 30 characters and not…
-
1
votes1
answer718
viewsQ: How to convert image size to A4 format with iTextSharp
Please, I am generating several images in a single PDF and it is running correctly. What I can’t do is leave the A4 size on the images because they’re too big, like 80% of the standard size. How can…
-
1
votes0
answers140
viewsQ: Launch PDF files in VB6
I have a directory on the server that is created according to the book and sheet, where when scanning images it is saved through the book and physical sheets. example: I have a book that I have…
-
2
votes1
answer328
viewsQ: How to convert multiple images. jpgs to a single pdf file in c#
What I have is a directory with for example 10 scanned images.I would like to read these images in this directory and convert them into a single file .PDF.I know that there are Dlls in the market…
-
1
votes1
answer395
viewsQ: To delimit a txt file, that is, the line size should be 700 characters for all subsequent lines
I created a routine that reads some tables and generates lines as read. It’s all right at first. but the generated txt exceeds the size of the fields, for example, a field has size 10 and another…
-
3
votes2
answers3060
viewsQ: Delete line from a list in C#
I have a list as described below I would like to delete a line from the list mylistnova1 as condition is true. I try to do as described below but it generates error! Could you please help me? Abs.…
-
1
votes1
answer542
viewsQ: Transfer List from one class to another
I want to handle a list in a method of another class and then return the treated list. I would like to know how to transfer this list to the other class. I did it this way: Main class: DataTable…
-
3
votes1
answer551
viewsQ: Load txt file through a list c#
I make a query in the bank and put it in a list, then see each item of the list through the foreach to view other tables according to the Id of each row traveled. If found, I would like to upload a…
-
2
votes2
answers581
viewsQ: Get the ID of a line from a Gridview query
I made a query where it is populated a gridview, the columns are code, category, noprazo, foradoprazo. In the columns noprazo and foradoprazo, I left them as linkbuttom that by clicking on the…
-
2
votes2
answers1202
viewsQ: Instantiate dll created in C# . net for VB6
I have a dll that I want to consume, developed in c#, and I want to upload this dll to VB6. How can I do this? What steps should I follow? Inside the VB6 code below you already have a call to this…
-
2
votes1
answer1215
viewsQ: Convert a file . pdf or . P7s to Base64 in C#
I want to convert a file . pdf or . P7s to Base64 in C# which should be loaded in XML. How can I do? EX: <conteudoArquivoP7S>…
-
1
votes3
answers5685
viewsQ: How do I open a file from a specific directory in . PDF in Visual Basic 6?
I created an application which saves files in a specific directory. What I would like is to click a button, I can open this file . pdf.
-
1
votes1
answer786
viewsQ: Generate PDF images using Pdfsharp -Windows Form
I am using window form . net and would like to convert scanned images to PDF thus generating images pages in PDF. I’m using the Pdfsharp. I have the following code but it only generates a page.…
-
1
votes0
answers327
viewsQ: Upload PDF or P7S file to XML
I have the following XML line of an XML Schema. {**<nomeArquivoP7S><nomeArquivoP7S>**} and I want to include a file in p7s of name copia1.pdf.p7s in this line, that is I want to upload…
-
1
votes1
answer315
viewsQ: Read JPEG image, convert it to PDF and save to disk - Visual Basic 6
I will create a button, which when clicking it, it reads a JPEG image and can convert it to PDF and save to disk. I would like a tip in source code so I can start this project. Thank you very much.…
-
1
votes1
answer230
viewsQ: Transfer date value from Form1 to class c# windows form . net
I’m working with windows form . net c# but I don’t have much practice and would like a help... I have a calendar component in a Form1 and after running the application, a date is selected which is…
-
0
votes1
answer114
viewsQ: Convert VB6 application to C# Webforms with Entity
I have an application in VB 6 and would like to migrate it to WebForms using preference c# with entity. I wonder if there is any tool that helps me in this conversion(migration).…
-
0
votes1
answer611
viewsQ: Select from two tables and insert into two other at the same time
I have four tables tabela A aic002 campos : codigo data nome especie valor rg cpf exped Tabela B excli campos codigo nome rg cpf exped tabela C imovel Campos codigo imovel rua bairro cidade estado…
-
1
votes1
answer821
viewsQ: Update with JOIN in Mysql
I am updating to table A which will receive values from Table B in accordance with a.codigo = B.folha When you run the routine below, it is slow and nothing happens for a long time. It is 500,000…
-
0
votes1
answer476
viewsQ: Select Format yyyyyy-MM-dd HH:mm:ss in MYSQL table column
Date 2014-12-01 10:52:38 2014-12-01 10:52:14 2014-12-01 10:51:57 2014-12-01 10:35:34 2014-12-01 10:23:17 2014-12-01 10:22:18 2014-12-01 09:03:49 2014-12-01 08:53:51 I have this column with these…