Search results for query: *

  1. P

    How can I escape block string to add byte in to it as byte

    Hi their, I have a block string of code in my program, and I'm trying to Escape a portion of it to add a byte in so when the block string is run the data in the byte is compiled with the block string, string MyCollectiveStrings = @" using System.Linq...
  2. P

    I am in dire need of help with a solution

    Sounds like you have place code outside the code block and broken the main() entry point, either place the code in the int main() block or make a new function to load said text file, //add string variable to just under int main() so you can get it globally string StringfromTextfile = null...
  3. P

    Build a json editor program

    Hi, I see every one here has answered you, but I'm going to try elaborate a bit, using System.Text.Json; static string _json = File.ReadAllText($@"{Application.StartupPath}\{_MyPath}"); _RulesRoot _cont = JsonSerializer.Deserialize<_RulesRoot>(_json); public class...
  4. P

    Resolved Working with Json

    It's ok folks, I've figured it out what it was I needed to do, in this code: string MySpacer = Environment.NewLine; foreach (var MyItem in _cont._Customer) { if (MyItem._Name == CustomerName.Text) {...
  5. P

    Resolved Working with Json

    Hi , I'm just trying to figure out how to get the data as I wish, I have a Json file I made and checked in an online formatter, here's my code I'm using to get the inline selection needed string MySpacer = Environment.NewLine; foreach (var MyItem in _cont._Customer)...
  6. P

    Resolved Trying to send a string to a console application with whitespaces.

    I've already thought of that, i was using "-" as an example, I'm actually going to use "•" or maybe some other ASCII none standard so it can't be used on regular file names or folders, but still usable via code.
  7. P

    Resolved Trying to send a string to a console application with whitespaces.

    Thanks for all the help people, With your help and more looking more in to what was said gave my brain a kick in the right gear, also on the Console side of things I'm using //Add this in both Solutions. using System.Text.RegularExpressions; //In the argument receive. _RecieveDescription =...
  8. P

    Resolved Trying to send a string to a console application with whitespaces.

    Hi, I have Googled until my eyes bleed , I have two programs I'm working on, One is a Desktop Forms Application and the other is a Console Application, I'm trying to pass a string to the console app as an argument which is got from the Desktop Application from is MyStrings = "Block" + " " +...
  9. P

    How to detect when client delete license file desktop app ?

    My Short Answer is, Write it in to a Licence.dll and require the main form when it loads that is requires the dll and reads required License with in the DLL, so if the DLL is deleted then the Program Won't Load as you can have some of the main functions in their also like core elements and if...
  10. P

    Resolved If Commands Problem!!!!

    Dear nikegamerjjjj, This forum and others like it, love to help people with their coding problems, I've had help from their other forum "VBdotnet forums" many times, What they are not here to do, is give you code so you just Copy & Paste it in, they try to help you to figure it out by giving...
  11. P

    Can we host Dot .net core web app on free Hosting Services like https://app.infinityfree.net/

    I think the way you have Asked your question is a bit misunderstood, If I'm right in thinking what you are asking is, If you can host a Website for free using ASP.NET, So you can have a custom Website then the answer is yes, just Google FREE ASP.NET Hosting's, the other way is to get your self a...
  12. P

    Question CodeDom Related in Manipulating a string(s)

    Yes this would work great for single lines of code as you have displayed, But the problem is as i tried to state is the code above is all treated as a Block String all of is as it's basically a template in side my main form this is why i mentioned the @" Code In between here " which makes it a...
  13. P

    Question CodeDom Related in Manipulating a string(s)

    In sitting here with a nice cup of Coffee steaming away and analyzing my code this morning, I have Figured it out, so for those looking for maybe an answer here it is bellow: @" using System; namespace MyProgram { class MyStringsProgram { static void Main(string[] args)...
  14. P

    Question CodeDom Related in Manipulating a string(s)

    Hi, I've been programming for quite a few years, but only fluctuating in and out of it, with various languages, Here' goes anyway , I have created a form with various labels and textboxes and a button, once information is entered in to a textbox then I need to change the text in a multiline...
Back
Top Bottom