Search results

  1. Sheepings

    Question Opening Doors with script

    Is the problem on line 23 on the second block of code? RaycastHit hit; ? Or somewhere else ???
  2. Sheepings

    Question Opening Doors with script

    You're welcome. Now this is where you tell us where the error is, and what you are expecting to happen; that is obviously not happening. Please be clear and descriptive. Dumping a wad of code and expecting us to zip through it is likely not going to happen. So please specifically narrow down the...
  3. Sheepings

    Question Opening Doors with script

    No. I am not downloading that just to read it. Post your code on the forums in code tags, like everyone else. Then we will check it.
  4. Sheepings

    Application with API not working on server

    That's not what he asked you. He asked you if the 'system' is listening on your local machine to the same ports? If your API works locally. You need to contact your server provider, and have them trace the problem for you. Until you can prove that there is an issue with C# or your programming...
  5. Sheepings

    Resolved Retrieve attribute information from c# text file

    Start here : Retrieving Data Using a DataReader - ADO.NET And explain this more : Why does the database store C# code? The help you may receive will only be as good as the effort you put into explaining what you're trying to do and why. If we don't understand what your task is, you will...
  6. Sheepings

    Resolved How can I exit my program from a function in another class?

    Read the threading link in my signature. It explains everything you need to know... then read the linked pages also. Simply to answer your question, no. It's not. If you don't want to use the thread, then replace this : Thread RunApp = new Thread(() => RunOptions())...
  7. Sheepings

    Resolved How can I exit my program from a function in another class?

    You may ask why the thread. Nothing more than preference. I run everything on new threads. If you don't want it, remove it with RunOptions();
  8. Sheepings

    Resolved How can I exit my program from a function in another class?

    Declare at class level. If you are in another thread for example and a loop is running based on the above boolean being true, you can set it as false from another thread. This will stop the current loop from running. Set your boolean to false. Ideally, I would prefer to run your loop on a new...
  9. Sheepings

    Application with API not working on server

    By any chance, are you running any applications like PeerBlock? If your API works on TCP, then download and run this : TCPView for Windows - Windows Sysinternals Then tell us what the service is that runs on your port when your application starts. Once we know that much, we should be able to...
  10. Sheepings

    Answered Music Library Desktop App

    You're starting at the deep end. That type of application would be geared towards semi-intermediate programmers. Pick an easier task like the hello world app, and start there. You can then work towards expanding it. There are links for getting started in both mine and JM's signatures.
  11. Sheepings

    Resolved Best ORM for working with SQLite

    No problem. And now you know why I opted to make this new library. :cool: If you need any other help. Let us know.
  12. Sheepings

    FYI Repository Pattern C#

    Moved to articles of interest.
  13. Sheepings

    Resolved Best ORM for working with SQLite

    The problem with your code is that it leaves you open to SQL injection attacks and if you ever at a later point decided to move from a local db to a remote db, your database can be exploited. What you could do is; create your own array of parameters and then once you construct them based off...
  14. Sheepings

    Application with API not working on server

    That doesn't tell us what application is using the port. So I think its safe to assume something else is probably running on the port if you can't access it. Double check all firewall rules. Use this in Elevated CMD : tasklist | findstr YOUR EXECUTABLE NAME Or better : netstat -ano | findStr...
  15. Sheepings

    add two new columns and delete a column

    Hi, welcome to the forums. A good place to start would be a search engine rather than a forum. We will mostly only help when we have seen you to be making an attempt and then we offer guidance based on what you've already tried. But since you haven't tried, there is nothing to help you with...
  16. Sheepings

    Resolved Best ORM for working with SQLite

    The above seems Ok, but where are your parameters? Just because its a local db, that doesn't mean you should slack on security. Why not remove this and call on a new connection from whatever method needs it? Here's how I wrote out mine for testing a customer app which had a user registration...
  17. Sheepings

    Answered I need to write a program that automatically

    Judging by the OP's code on #3 - It looks like they want to close the window without any possibilities of the user being prompted though, and hence why they are calling kill. We all know there are procedures for closing windows, but for right or wrong, I assume there is a reason why the OP is...
  18. Sheepings

    Answered I need to write a program that automatically

    You're close. You can try something like this : public class Launcher { public void Run_Timer() { Timer timing_Scheduler = new Timer(1000); timing_Scheduler.Elapsed += Timer_Elapsed; timing_Scheduler.Start(); } private...
Top Bottom