Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
i have following code in a c# class and would need its vb.net equivalent. All online translation tools i found translate this part wrong. A research on the web did not bring me any progress.
public event EventHandler<UploadProgressChangedLibArgs> UploadProgressChanged;
whatever I do I keep getting that uploadprogresschangedlibargs is not defined.
any help appreciated thanks
additional information:
http://sourceforge.net/projects/dotnetftplib/files/
this is the library i am trying to translate
The problem is exactly what the compiler said: the UploadProgressChangedLibArgs type couldn't be found. That's another type within the same library - so you need to port that before you can port an event which uses it.
As noted in comments, I'd advise you to avoid porting C# to VB or vice versa unless you really need to. One of the benefits of .NET is that you can call C# from VB or vice versa - and if you just want to make minor changes to an existing code base, you don't need to port the whole thing - you just need to understand enough of the language it's written in to make that change.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Improve this question
i am writing a program in C# which generates a text file containing the information of a Graph, i like to find its K-Cores,
i have found a C++ library to do that, but i don't know how to use it.
the name of the library is Kcore.h and i put it in the same folder of my project.
but how to pass my text file to it and call it's KCore function?
KCore.h is one of the libraries of SNAP project which can be accessed at http://snap.stanford.edu/snap/
Thank you for your help
kcore.h is just a header file. You will need to build the library as a dll first then use the C# external dll import feature to use the routines. The link you have given, doesn't provide libraries: you will need to create a solution to build it: look at the makefile for help.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Exists a way of request a device for his coordinates from the server code (Ex: C# .NET)?
Your question is unclear. You need to clarify on what platform you want. Perhaps you are getting things mixed up.
Do you really mean to run a server on an iPhone using C# code?!? I don't know anyone who's coded a webserver for an iPhone in C#, if that's what you really mean. (But it is possible for someone or a team to do this.)
But more likely you mean you want a C# webpage, running on a webserver to get a client's device coordinates, where the client device is an iPhone. But in this case, I don't believe C# has much to do with it, because this would be the webpage which would do the request, which would be HTML and JavaScript, not C#.
i think what Edward means is "No". :P
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
It is possible that such a program written with C #?
if yes how we can?
If you have links or information on this I say thank you.
I'd say you'd probably be looking at setting up a proxy on your local network, pointing the machines you want parental control on to that proxy, and filtering the "allowed" traffic by either:
Checking website address against a predefined blocklist,
and/or
Reading through the HTML looking for naughty words or phrases.
How to create a simple proxy in C#? has a fair bit of detail about setting up a proxy in C#.
Also found http://www.codeproject.com/Articles/92512/Writing-a-Parental-Control-Software-for-Windows. An old project but might be worth looking at if you're researching a project like this.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I am writing an app with a friend, that knows C#.
I want to code that in the most hard-to-decompile code.
What are the security differences between C# and C++? (In terms of viewing the code in a compiled executable)
Pretty short and simple to explain, assuming release builds without debug information:
C/C++: You'll get assembler code and that's it. Based on the knowledge of the one decompiling, this can be rather easy to understand or simply impossible. There's no general answer here, as this also depends on complexity of the code itself (i.e. "what is it actually doing?").
C#: As for all .NET languages decompiling is a lot easier, because the resulting binary essentially only contains immediate language code you can decompile into readable code. This won't necessarily result in the same code you've had the first place (variable names might be lost, there are no comments and optimizations might obscure some code), but in the end it's far easier to understand and modify.
There are code obfuscators available making reading decompiled .NET code harder to understand, but in general you should always assume there's always someone who'll be able to understand and reverse engineer your code, even if your code is just a black box.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to visually display my data on asp.net website as www.visualthesaurus.com display for thesaurus. When the user click on the node then next child node displayed
I want to know is this possible in asp.net. Give me some idea or any api by which we can achieve this functionality in our website. Some sourcecode also welcome.
They have written it in Java.
Asp.net is a server side language and could be used to do the server side code. But thats the easy part.
To do a front end like that using pure html / javascript might be possible if you were very good. I would use JQuery to do the graphics and animation, cos that makes it easy to deal with these tricky areas cross-browser.
You would have to really craft your code to be as optimised as possible to get any sort of performance out of javascript.
Maybe silverlight could do it.. I dont know much about it.