Posts by Luciano • 31 points
5 posts
-
1
votes0
answers143
viewsQ: Error while converting Delphi function to C#
Good evening, everyone! I’m trying to convert a Delphi function to c# and I’m getting it, where am I going wrong? Delphi code: function TCriptografa.CriptoBinToText(SText: string): string; var SPos:…
-
1
votes1
answer46
viewsQ: Javascript: Function is not returning the correct value
What could be wrong with this function? Where is the alert, is coming the correct result but is returning 0. function AprovaCotacao(numForn) { var forn_aprovado = $("#cot_fornecedor" +…
-
1
votes1
answer37
viewsQ: c# - uploading file to ftp works only the first time
I have a function that sends files to an ftp, the first time I use it works perfectly, but when I use it for the second time it gets stuck on the line: using (Stream Writer =…
-
0
votes1
answer264
viewsQ: Jquery Fancybox: Pass a parameter to an inline window
I have 5 buttons that open a window using Fancybox modal inline, and the moment I open this window I need to take a parameter or some way to show which was the button that triggered the event: <a…
-
0
votes1
answer45
viewsQ: Image resizing
I am using the following routine below to resize images, it is working, however the resulting files are getting a very large size, for example when I resize an image from 1400x700 from 500kb to…