## I need a little help with my user code

Experiences, small talk, and other automation gossip.
kilmey
Posts: 1
Joined: Mon Sep 20, 2021 1:41 pm

### I need a little help with my user code

Hi folks, I need a little help, I think I did something wrong, because I can't understand this error code, there is a "; expected" in the middle of my user code.
You do not have the required permissions to view the files attached to this post.

odklizec
Ranorex Guru
Posts: 7469
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

### Re: I need a little help with my user code

Hi,

In my opinion, you are mixing a VB.Net and C# code The code should look like this:

Code: Select all

IO.StreamWriter file= new IO.StreamWriter("c:\path\to\file.txt",  True);
Pavel Kudrys
Ranorex explorer at Descartes Systems